cd ~/tmw-ea/eathena-data/
./char-server& ./login-server& ./map-server&

mana --server localhost --port 6901 -u -d ~/tmw-ea/eathena-data/client-data 

ADMIN
cd ~/tmw-ea/eathena-data/login
ladmin (not ./ladmin)
add username M password
gm username 99 

i dont remember the exact procedure, but you have a build-magic.sh in eathena-data/world/map/conf/
the spells-build sed script matches "strange" magic spell names like #G01 as #abizit, etc
however, the original one you have when you clone the server data, does not make this actual translation.
hmm im trying to find out how to run it :/
the build-magic.sh will use the spells-build sed script.
just run build-magic.sh as a normal shell script.
:/ im a noob...whats the command for that?
with your terminal, use the cd command to go in the directory with the script.
then do ./build-magic.sh
if it says you dont have permission to run it, do chmod +x build-magic.sh before.
spells-build has been updated; please provide invocations for spells and/or teleport anchors.
does this mean it worked? ^
i cant remember for sure you are 100% done, but i had that message yes.
hmm spells still dont work, i restarted my server
try #G01. it should be a abizit.
alright, that worked
ok. so i ll send you a file, and you ll put in place of your spells-build. then run ./build-magic.sh again.
alright, ty :)
https://filetea.me/t1sb7b50
and before doing the ./build-magic.sh, do again  "chmod +x spells-build" on that new one.


chmod +x map-server
chmod +x char-server
chmod +x login-server
do this once backup is done

#Configuring Online Server

I had to configure 3 files. I've also been told that one can edit the lan_support.conf files, but I can tell you only what I did to make it work. :)
I edited local world/conf/char_local.conf
world/map/conf/map_local.conf
and login/conf/login_local.conf
in char_local.conf, set "login_ip:" to 127.0.0.1
login_port: 6901
char_ip: (your public IP address)
char_port: 6122
in map_local.conf:   char_ip:127.0.0.1
char_port: 6122
map_ip: (your public IP address)
map_port: 5122
in login_local.conf, set     login_port: 6901
server_name: some cool name for your server
login_ip:127.0.0.1
login_port: 6901
char_ip: (your public IP address)
char_port: 6122
if you want to use the ladmin tool to manage some things (accounts and GM levels) from the command line, you'll also need to configure "admin_pass:" in login_local.conf
ty Frost :)
and make it match what's in login/conf/ladmin_local.conf
FWIW, I use a dynamic DNS service and so instead of an IP address, I put my DDNS hostname as the public IP address.
This way, each time the server starts up, it looks up that hostname and automatically converts it to whatever it is at that time.
most people ive seen do that..but thats $30 a year isnt it?
If you want to get your own domain, yes, but just for a hostname it's free.
oh, thats great! ty :D
caliban.homeip.net doesn't cost a penny
haha i was gonna wind up just using my ip
dyndns.org is starting to demand money, though, so check out no-ip.net for a free name
oops.  www.no-ip.com  that is

netstat -an | grep LIST | grep 6901
netstat -an | grep LIST | grep 5122
netstat -an | grep LIST | grep 6122

ifconfig
forward port to LAN IP
inet is LAN IP

route -n

no-ip.com

sudo killall map-server
sudo killall login-server
sudo killall char-server
