summaryrefslogtreecommitdiff
path: root/README.md
blob: 2b779725585024fbb499f3178b5dd5a882434fc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
THE MANA CLIENT
===============

With the Mana client you can play The Mana World and related games. The Mana
World is a free 2D open source MMORPG. This client supports games hosted by
either tmwAthena or manaserv.

The Mana client is written in C++ and builds upon:

- SDL2, SDL2\_image, SDL2\_mixer, SDL2\_ttf, SDL2\_net (Media framework)
- Guichan (GUI framework)
- libxml2 (XML parsing and writing)
- PhysicsFS (Data files)
- ENet (UDP networking library)
- libcurl (HTTP downloads)
- zlib (Archives)

See the `AUTHORS` file for the list of developers.


Account Creation
----------------

To create an account you can usually press the "Register" button after choosing
your server. When this doesn't work, visit the website of the server you'd like
to register on, since they may be using an online registration form instead.

Keyboard and Mouse Input
------------------------

Use arrow keys to move around. Other keys:

```
- Ctrl               attack
- F1                 toggle the online help
- F2                 toggle profile window
- F3                 toggle inventory window
- F4                 toggle equipment window
- F5                 toggle skills window
- F6                 toggle minimap
- F7                 toggle chat window
- F8                 toggle shortcut window
- F9                 show setup window
- F10                toggle debug window
- Alt + 0-9          show emotions / usuable at skill level 2.
- Alt + S            sit down / stand up / usuable at skill level 3.
- Alt + F            toggle debug pathfinding feature
- Alt + P            take screenshot
- Alt + T            turns on anti-trade function / usuable at skill level 1.
- A                  target nearest monster
- H                  hide all non-sticky windows
- G or Z             pick up item
- Enter              focus chat window / send message
```

Left click to execute default action: walk, pick up an item, attack a monster
and talk to NPCs. Right click to open a context menu. Holding left Shift
prevents walking when attacking.


Chat Commands
-------------

Certain server interaction requires the use of slash-commands in the chat
window. Here's a list of common commands:

```
- /help              Displays the list of commands
- /clear             clears the chat window
- /where             displays the map name your currently on
- /whisper           send a private msg to another player
                        (format: /whisper <charname> <message>)
                     If the <nick> has spaces in it, enclose it in double
                        quotes e.g. /whisper "char name" <message>
- /record            Records the Chat output
                     (format: /record <filename to write to> starts the record
                        session /record again
                      stops the session)
- /party             <command> <params>: Party commands
 - /party new         creates a new party /party new <party name>
 - /party create      creates a new party /party create <party name>
 - /party prefix      This commands sets the party prefix character
                         /party prefix <prefix-char>
                      "/party prefix" reports the current party prefix
                         character
 - /party leave       This command causes the player to leave the party.
Type /help party <option> for further help.
- /present           This command gets a list of players within hearing
- /toggle            make the chatlog lose focus on a blank line or after
                       message. (format: /toggle <option>, where option can be
                       '1', 'y' or 't' to make the chatlog lose focus on a
                       blank line, and '0', 'n' or 'f' to make the chatlog lose
                       focus after every message.  /toggle displays the status)
```

For more information, type `/help <command>`.


Support
-------

If you're having issues with this client, feel free to report them to us.
There is a bug tracker at https://github.com/mana/mana/issues and you can find
us on IRC on irc.libera.chat in the #mana channel.

If you have feedback about a specific game that uses the Mana client, be sure
to contact the developers of the game instead.

Compiling the Client
--------------------

Installing the dependencies on Ubuntu:

    sudo apt install build-essential cmake \
                     libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev \
                     libsdl2-net-dev libsdl2-ttf-dev \
                     libcurl4-openssl-dev libphysfs-dev libxml2-dev \
                     libguichan-dev libpng-dev gettext

Installing the dependencies on macOS (with Homebrew):

    brew install sdl2 sdl2_image sdl2_mixer sdl2_net sdl2_ttf \
                 physfs curl

Installing the dependencies on Fedora:

    sudo dnf install gcc-c++ cmake physfs-devel libcurl-devel guichan-devel \
                     SDL2_image-devel SDL2_mixer-devel SDL2_net-devel \
                     SDL2_ttf-devel

Once the dependencies are installed, use CMake:

    cmake -B build .
    cmake --build build

This produces an executable in `build/src/mana`. If running it without
installing, be sure to run it from the repository root so that it can find its
data files.

See `README.cmake` for additional information.