InitialStepsWithMarauroa: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
No edit summary
imported>Kymara
m Create server.ini file: can't remember how to do wiki links, blah
 
(122 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?
Basicly, 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.
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.
If you are none of the above it is possible you are looking for http://arianne.sourceforge.net instead.

If none of the above apply it is possible you are looking for http://arianne.sourceforge.net 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.
To create the marauroa.ini file you need to can write it by hand, copy from another place or use game application to generate it.<br>

Please refer to game documentation about how to write it.
To create the marauroa.ini file you need to can write it by hand, copy from another place or use your game application to generate it.<br>
Please refer to your game documentation about how to write it.

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 -jar marauroa.jar -c <game.ini>
java -classpath .;mysql-connector-java-3.0.7-stable-bin.jar;log4j.jar;marauroa.jar marauroa.server.marauroad -c &lt;server.ini&gt;
</pre>
</pre>


''NOTE'': On Linux use : instead of ; to define the classpath.
''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>


Make sure that you have the MySQL server running too. Marauroa will build all the needed table structure for itself.

Make sure that you have the MySQL running too. Marauroa will build all the needed table structure for itself.


This will start Marauroa.
This will start Marauroa.


Now refer to game documentation about how to start the game server and how to create accounts and so on.
Now refer to game documentation about how to start the game server and how to create accounts and so on.

[[Category:Marauroa]]
{{#breadcrumbs: [[Marauroa]] | [[Navigation for Marauroa Users|Using]] | [[InitialStepsWithMarauroa|Initial Steps]]}}