VisualGuideToInstallingStendhalStep7

From Arianne
Revision as of 19:58, 29 June 2009 by imported>Kymara (classpath. put data script and conf in from beginning incase user wants to use scripts. maps doesn't need to be in classpath.)
Jump to navigation Jump to search

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:

http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step7StendhalServerRun/Step7StendhalServerRun01.png

Now modify marauroa.bat as follows:

set LOCALCLASSPATH=.;data/script/;data/conf/;stendhal-server-0.xx.jar;commons-lang.jar;marauroa.jar;mysql-connector.jar;log4j.jar
java -cp "%LOCALCLASSPATH%" marauroa.server.marauroad -c server.ini -l

Save it and double click marauroad.bat.

http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step7StendhalServerRun/Step7StendhalServerRun02.png

http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step7StendhalServerRun/Step7StendhalServerRun03.png

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.

http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step7StendhalServerRun/Step7StendhalServerRun04.png


Go to Step 8. Install and run Stendhal client as localhost


Any problems? Try the general server troubleshooting guide.


Back to Visual Installation Guide Step-By-Step
Back to stendhal main wiki page