VisualGuideToBuildingStendhalStep5: Difference between revisions
imported>Oslsachem m Quick and dirty update for the guide to reflect directory path changes |
imported>Kymara correct stuff about admins list |
||
| Line 24: | Line 24: | ||
'''Copy''' the 3 server files to ''C:\marauroa-1.31.1\'' folder |
'''Copy''' the 3 server files to ''C:\marauroa-1.31.1\'' folder |
||
'''Copy''' the |
'''Copy''' the client data files to ''C:\stendhal-0.47\lib\'' folder and ''stendhal-0.47.jar'' to ''C:\stendhal-0.47\'' (the client folder) |
||
'''Warning:''' Copy these files and don't remove them from ''/lib'' because this way the next time you recompile Stendhal with <tt>ant</tt>, the compiler will only generate the changed files and not all the 6 files everytime, spending much less time in the process. |
'''Warning:''' Copy these files and don't remove them from ''/lib'' because this way the next time you recompile Stendhal with <tt>ant</tt>, the compiler will only generate the changed files and not all the 6 files everytime, spending much less time in the process. |
||
| Line 30: | Line 30: | ||
==How to become admin== |
==How to become admin== |
||
Go to ''C:\marauroa-1.31.1'' folder, make a folder called ''data'' and another inside it called ''conf'' |
|||
Go to ''C:\Development\stendhal\data\conf\'' folder |
|||
Create a plain text file ''admins.list'' liek this: |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin01.png |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin02.png |
|||
Edit ''admins.list'' file: |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin03.png |
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin03.png |
||
| Line 42: | Line 38: | ||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin04.png |
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin04.png |
||
Add your user name there: |
Add your user name there with a new line under it: |
||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin05.png |
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin05.png |
||
Save the changes |
Save the changes. |
||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin06.png |
|||
Copy this file to ''C:\Development\stendhal\build_server\data\conf'' |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin07.png |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_build/HowToBecomeAdmin/HowToBecomeAdmin08.png |
|||
Recompile, move the new generated binary files to their appropiate place, run the server and client and behold! That user has admin superpowers! |
|||
Revision as of 21:30, 21 July 2008
Step 5. Move compiled files to server and client folders
Look for the 3 client and 3 server generated files at the C:\development\stendhal\build\lib\ folder Warning: I really mean C:\development\stendhal\build\lib\ and not C:\development\libs\
Generated server files:
- stendhal-xmlconf-0.47.jar
- stendhal-maps-0.47.jar
- stendhal-server-0.47.jar
Generated client files:
- stendhal-data-0.47.jar
- stendhal-0.47.jar
- stendhal-sound-data-0.47.jar (this file is not strictly necessary to play the game, only to hear sounds)
Copy the 3 server files to C:\marauroa-1.31.1\ folder
Copy the client data files to C:\stendhal-0.47\lib\ folder and stendhal-0.47.jar to C:\stendhal-0.47\ (the client folder)
Warning: Copy these files and don't remove them from /lib because this way the next time you recompile Stendhal with ant, the compiler will only generate the changed files and not all the 6 files everytime, spending much less time in the process.
How to become admin
Go to C:\marauroa-1.31.1 folder, make a folder called data and another inside it called conf
Create a plain text file admins.list liek this:
Add your user name there with a new line under it:
Save the changes.