InitialStepsWithMarauroa: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin |
imported>Kymara m →Create server.ini file: can't remember how to do wiki links, blah |
||
| (127 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navigation for Marauroa Top|Using}} |
|||
{{Navigation for Marauroa Users}} |
|||
OK, you have successfully compiled Marauroa and are wondering what to do next? |
OK, you have successfully compiled Marauroa and are wondering what to do next? |
||
<pre> |
<pre> |
||
| Line 6: | Line 10: | ||
Nice, isn't it? |
Nice, isn't it? |
||
Basically, if you have built a Marauroa server it must be because you either want to play with the server a bit yourself or because you want to run your own game server or because you are a developer who wishes to develop your own game. |
|||
If you want to run a [[Stendhal]] Server then this is not the guide for you. You do not need to run marauroa separately of the Stendhal Server, please see [[Host a Stendhal Server]] instead. |
|||
| ⚫ | |||
| ⚫ | |||
=Configuration= |
=Configuration= |
||
| Line 36: | Line 42: | ||
== Create server.ini file == |
== Create server.ini file == |
||
If you don't have a game yet, see [[ClientServerChatExample|Marauroa Tutorial]] for how to generate a minimum server.ini and how to write the two required classes. |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
Stendhal Documentation: [[VisualGuideToInstallingStendhalStep5]] |
|||
=Running= |
=Running= |
||
Once you have it configured, just run the server by executing: |
Once you have it configured, just run the server by executing: |
||
<pre> |
<pre> |
||
java -classpath .;mysql-connector-java-3.0.7-stable-bin.jar;log4j.jar |
java -classpath .;mysql-connector-java-3.0.7-stable-bin.jar;log4j.jar;marauroa.jar marauroa.server.marauroad -c <server.ini> |
||
</pre> |
</pre> |
||
''NOTE'': On |
''NOTE'': On Unix use : instead of ; to define the classpath. |
||
''NOTE'': You may change what it is logged by default, so you need to edit the log4j.properties file. |
''NOTE'': You may change what it is logged by default, so you need to edit the log4j.properties file. |
||
| Line 68: | Line 78: | ||
</pre> |
</pre> |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
Now refer to game documentation about how to start the game server and how to create accounts and so on. |
|||
| ⚫ | |||
=Creating accounts= |
|||
Before anything else, you MUST create accounts for your players. The idea is simple enough, you can even wrap it in to a webpage interface, much like we did with http://gladiators.game-server.cc |
|||
<pre> |
|||
<game>.<game>createaccount -i marauroa.ini -u <user> -p <password> -c <character> -e <email> |
|||
</pre> |
|||
For example in mapacman: |
|||
<pre> |
|||
mapacman.mapacmancreateaccount -i marauroa.ini -u root -p pazzw0rd -c MaSSive -e root@localhost.com |
|||
</pre> |
|||
For example in Stendhal: |
|||
[[InitialStepsWithStendhal |Initial Steps With Stendhal]] |
|||
=Testing= |
|||
To test that your connection is working use nullClient. It is a simple client that connects to the server, chooses a character and receives perceptions. If it works it means that everything else is also working. |
|||
<pre> |
|||
java -classpath marauroa.jar marauroa.nullClient root pazzw0rd MaSSive |
|||
</pre> |
|||
[[Category:Marauroa]] |
|||
=Playing with clients= |
|||
{{#breadcrumbs: [[Marauroa]] | [[Navigation for Marauroa Users|Using]] | [[InitialStepsWithMarauroa|Initial Steps]]}} |
|||
Please read the client pages at http://arianne.sourceforge.net |
|||