VisualGuideToInstallingStendhalStep7: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Worldofours No edit summary |
imported>Gummipferd edited the text for marauroad.bat |
||
| Line 8: | Line 8: | ||
Now modify marauroa.bat as follows: |
Now modify marauroa.bat as follows: |
||
<code><pre>set LOCALCLASSPATH=. |
<code><pre>set LOCALCLASSPATH=.;stendhal-server-0.67.jar;stendhal-maps-0.67.jar;libs/commons-lang.jar;libs/marauroa-2.5.jar;libs/jython.jar;libs/mysql-connector.jar;libs/log4j.jar |
||
java -cp "%LOCALCLASSPATH%" marauroa.server.marauroad -c |
java -cp "%LOCALCLASSPATH%" marauroa.server.marauroad -c server.ini -l</pre></code> |
||
Save it and double click marauroad.bat. |
Save it and double click marauroad.bat. |
||
Revision as of 21:35, 4 May 2008
Step 7. Run Stendhal server as localhost
Creating a new user account and logging in with the client.
To run the server simply double-click the marauroad.bat file in marauroa folder:
Now modify marauroa.bat as follows:
set LOCALCLASSPATH=.;stendhal-server-0.67.jar;stendhal-maps-0.67.jar;libs/commons-lang.jar;libs/marauroa-2.5.jar;libs/jython.jar;libs/mysql-connector.jar;libs/log4j.jar
java -cp "%LOCALCLASSPATH%" marauroa.server.marauroad -c server.ini -l
Save it and double click marauroad.bat.
Behold! Your new localhost server is up and running!
- The bad news: the only interface you have with the server is that black window showing more or less cryptic messages as time passes.
- The good news: what you surely want is to connect to the server with the client. Come on, you are almost there and you have done this before!
Note: When you have finished using the server (that is, when you want to stop Stendhal) use CTRL + C. But obviously you have to keep it running in that window to be able to connect to it with the client. :P To the question that appears type y (for yes) obviously.
Go to Step 8. Install and run Stendhal client as localhost
Back to Visual Installation Guide Step-By-Step
Back to stendhal main wiki page