This guide has been written based on the pain of the first volunteers to try the game.
Since version 0.03 jWrestling is bundled with Derby database by default. No database is required for demo purposes.
If you are using the server for demo purposes just ignore this section. Since version 0.03 jWrestling is setup to work with Derby out of the box. No configuration required!
If your only intent is only trying the game this is ok. This is not suggested if you are going to have the server available to others!!! Why? This file has a key in it that right now is know everywhere. So anyone can hack into your system.
Continue only if you want to set up a proper server.
Now that the warning is out there you need to modify the following within the server.ini file:
For a secure server check section Automated Modification
Well, you should be ready to start the server if you followed the above steps. Just double click on marauroad.bat and you should see something like this:
C:\Users\Javier\Documents\jWrestling Project\jWrestling\dist>set LOCAL_CLASSPATH =jwrestling-server-0.02.jar;lib\AbsoluteLayout.jar;lib\derby.jar;lib\derbyclient.jar; lib\eclipselink-2.0.0.jar;lib\eclipselink-javax.persistence-2.0.jar;lib\jarscan_old.jar; lib\log4j-1.2.15.jar;lib\marauroa-2.6.3-jwrestling.jar;lib\marauroa-simple-server.jar; lib\mysql-connector-java-5.1.6-bin.jar;lib\swing-layout-1.0.4.jar; C:\Users\Javier\Documents\jWrestling Project\jWrestling\dist>java -cp "jwrestling-server-0.02.jar;lib\AbsoluteLayout.jar;lib\derby.jar;lib\derbyclient.jar;lib\eclipselink-2.0.0.jar; lib\eclipselink-javax.persistence-2.0.jar;lib\jarscan_old.jar;lib\log4j-1.2.15.jar; lib\marauroa-2.6.3-jwrestling.jar;lib\marauroa-simple-server.jar; lib\mysql-connector-java-5.1.6-bin.jar;lib\swing-layout-1.0.4.jar;" marauroa.server.marauroad -c server.ini -l Marauroa - arianne's open source multiplayer online framework for game development - Running on version 2.6.3 (C) 1999-2007 Miguel Angel Blanch Lardin This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or(at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Configuring Log4J using games/jwrestling/server/log4j.properties INFO [marauroad ] jWrestlingDatabase (243 ) - Starting jWrestling Database INFO [marauroad ] SimpleObjectFactory (243 ) - Using games.jwrestling.server.entity.player.PlayerRPC as client object class. DEBUG [marauroad ] jWrestlingRPClass (124 ) - Creating attribute: xxx in the database... DEBUG [marauroad ] jWrestlingRPClass (124 ) - Creating attribute: xxx in the database... . . . INFO [marauroad ] SimpleRuleProcessor (243 ) - Running jWrestling Server version x.xx INFO [marauroad ] marauroad (243 ) - marauroa is up and running... (startup time: 17.4 s) INFO [marauroad ] Statistics (243 ) - Total/Used memory: 28384/20212
Note: Based on the settings the Debug messages might be displayed or not.