Editing Dev:How to Develop (section)
Preview
Remember that this is only a preview. Your changes have not yet been saved!
Running and Administrating the Server
The TMWAthena is in fact 3 servers:
- tmwa-login which manages accounts and connection to char server.
- tmwa-char which manages characters and connects them to the map server.
- tmwa-map which manages game content (maps, monsters, items, scripts...) and their interaction with characters
- Start the servers: Open a terminal and run all the local servers. To stop them, either close the terminal or type control-C.
cd ~/tmwAthena/tmwa-server-data/ ./run-all
- In a new terminal, Launch tmwa-admin the administration tool, add yourself as an user and make yourself a GM:
cd ~/tmwAthena/tmwa-server-data/login tmwa-admin add <username> M <password> gm <username> 99
Note : Be sure that you are running tmwa-admin from within
the "login/" directory. Check that the config files are correct: the
connection port should be 6901 for tmwa's configuration, not 6900, which
is the hard-coded default.
See also: GM Commands
Magic: First open this folder in a terminal /home/someone/tmwAthena/tmwa-server-data/world/map/conf
then ./build-magic.sh if it says you do not have permission, then do this chmod +x build-magic.sh and repeat ./build-magic.sh
then replace spells-build text file with correct spells-build text file
and do chmod +x spells-build
then again do ./build-magic.sh
You can find a spells-build text file to use -here would go a link to it-