Okay first thing if you have a router use this guide: eAthena Router Guide
If you have a firewall, disable it or give the ports which athena uses open!
1 Run the file and install it (default set to C:\ which i recommend!)
2) Open the 'athena' folder (on C:\ , it might be nice to make a shortcut to it n your desktop!) and goto the 'conf' folder, this is the folder in which you will have to be to edit something on your server most of the time!
3) goto www.whatismyip.com and note down your IP
4) Open 'char_athena.conf' with wordpad or notepad and edit the login_ip and char_ip to your IP and save
5) Open map_athena.conf with wordpad or notepad and edit the char_ip and map_ip to your IP and save
7) Open 'grf-files.txt' and change the paths to the correct paths to your data.grf and sdata.grf (they are in your GAME folder)
Running the Server
I included an easy tool which runs the server for you and reboots when it crashes
1) in the 'athena' folder run 'runserver.bat'
Making Normal Accounts:
1) Normal accounts can be made by login in with
for male: |
accountname: requestedaccountname_M password: requestedpassword |
and for female:
accountname: requestedaccountname_F password: requestedpassword |
|
accountname: requestedaccountname password: requestedpassword |
Making GM Accounts:
1) Make a normal account
2) Shut down the server
3) Goto the 'athena' folder
4) Goto the 'save' folder
5) Open account.txt
6) search for the account and note down the first number of the line (which is the account ID).
7) Close the file
goto the 'conf' folder
9) Open gm_account.txt
10) On an fresh line add:
|
Account_ID |
99 = the gm level, 99 is access to ALL commands!
Setting up the client:
1) To download an KRO/SAKRAY CLIENT look here:
http://www.mpcforum.com/showthread.php?t=130016&page=4
How to hex a client:
Here's how to hex your ragexe.exe:
1. You will need a hex editor, you may use Hex Workshop
2. Run hex editor.
3. Open ragexe.exe located in your RO folder
4. Search strings below and replace.
5. Save after editing strings.
6. That's it! You have hexed it. Nice Job!
Notes:
1. Some of these are not working.
2. Make a backup of ragexe.exe before hexing, so when you messed up, you still have the unedited ragexe.exe. (This is a SOP.)
Special symbols
_________________
Search: 80750C40
Replace: 80909040
Multiple client
_____________________________
Search (2x): 0085C074095F5E
Replace (2x): 0085C0EB095F5E
Search: 85C0740E5F
Replace: 85C0EB0E5F
Camera angle
___________________
Search: A0418B96
Replace: 32428B96
Search: A041ACC5
Replace: 3042ACC5
Search: C8C1000082
Replace: 80BF0000B2
Unlimited zoom
____________________
Search: 66430000C843
Replace: 664300008644
9-slot character (for private servers only with 5 character slots.)
___________________
Search: 85C07407C605
Replace: 85C09090C605
Search: C05775508B75
Replace: C057EB508B75
Disable nProtect
________________________________
Search: C05775508B75
Replace: C057EB508B75
Search: 7407E85B6BF1FFEB0EE8
Replace: 74079090909090EB0EE8
Fat-font like Ragnarok Offline
_________________
Search: 80750C40
Replace: 80909040
Have Fun!
Download Hex Workshop here
Hex Workshop 4.23
1. You will need a hex editor, you may use Hex Workshop
2. Run hex editor.
3. Open ragexe.exe located in your RO folder
4. Search strings below and replace.
5. Save after editing strings.
6. That's it! You have hexed it. Nice Job!

Notes:
1. Some of these are not working.
2. Make a backup of ragexe.exe before hexing, so when you messed up, you still have the unedited ragexe.exe. (This is a SOP.)
Special symbols
_________________
Search: 80750C40
Replace: 80909040
Multiple client
_____________________________
Search (2x): 0085C074095F5E
Replace (2x): 0085C0EB095F5E
Search: 85C0740E5F
Replace: 85C0EB0E5F
Camera angle
___________________
Search: A0418B96
Replace: 32428B96
Search: A041ACC5
Replace: 3042ACC5
Search: C8C1000082
Replace: 80BF0000B2
Unlimited zoom
____________________
Search: 66430000C843
Replace: 664300008644
9-slot character (for private servers only with 5 character slots.)
___________________
Search: 85C07407C605
Replace: 85C09090C605
Search: C05775508B75
Replace: C057EB508B75
Disable nProtect
________________________________
Search: C05775508B75
Replace: C057EB508B75
Search: 7407E85B6BF1FFEB0EE8
Replace: 74079090909090EB0EE8
Fat-font like Ragnarok Offline
_________________
Search: 80750C40
Replace: 80909040
Have Fun!
Download Hex Workshop here
Hex Workshop 4.23
2) Download an sclientinfo.xml here:
http://www.filefront.com/14690555/sclientinfo.xml
3) Place the hexedRO.exe in your RO folder
4) Extract the sclientinfo.rar in your RO folder (it will make a new folder called 'data', if not then open the folder 'sclientinfo' and place the 'data' in your RO folder)
5) Open the 'data' then open sclientinfo.xml with wordpad or notepad and set your IP
6) Run the hexedRO.exe to play
Making a patch for players:
1) Make a .rar file of the hexedRO.exe and the 'data' folder (with the sclientinfo.xml (with changed name and IP) in it)
2) Upload it at a free webhost
Any problems!?! READ the next following - i will keep updating it when i help ppl out with new problems
1) You have problems with the cygwin1.dll or cygz.dll
Download here and extract in system32 folder (located in windows folder)
2) The runserver.bat keeps repeating the line with the mapserver.exe all the time
your mapserver.exe is crashing for solution see point 4)
3) The runserver.bat keeps repeating the some error about /abovenormal
i gues you have win98 so just open the runserver.bat with a txt editor (wordpad for example) and delete the /abovenormal (not the whole line!! just /abovenormal)
4) One of your server windows keep closing/crashing
for the .exe that closes itself you will need to run them in an msdos window, so that even when the program is closed you can still see the activity results (and the reason it closed).
Do Start, Run, enter "Cmd". There it's a good old msdos window, chance to the hard disk/folder where are the executables. Iif it is on the partition "F", enter first "F:", it it's in the "F:\athena" folder, do "cd athena", and then enter the program name once you are in the directory
5) Map-server.exe crashes with an error about valkyrie.gat
either update you kRO and Sakray fully
or
open map_athena.conf and delete or add "//" front of this line:
|
map: valkyrie.gat |
this means you do not have enough RAM to run a server with full spawn to solve:
open battle_athena.conf search for this:
|
mob_count_rate: 100 |
mob_count_rate: 50 |
7) The Map Server Gives An Error About adata.grf!
This is NOT the problem! adata.grf is by default DISABLED, unless you enabled it again it wont need it though it says so!
8) The Map Server Gives An Error About data/resnametable.txt not found
1. Open up grf-files.txt
2. Add this line in data_dir: C:\Program Files\Gravity\kRO\ if there isn't any.
3. Point it to your data folder.
4. Run it and install it into your RO folder
YOU CAN ALWAYS COME TO THE CHANNEL (irc.deltaanime.net #athena) FOR HELP BUT FIRST TRY TO SOLVE IT YOURSELF!
All credits goes to Darkchild from eAthena team