VisualGuideToInstallingStendhalStep4: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Javydreamercsw
imported>Javydreamercsw
Line 1: Line 1:
==Step 4. Configure marauroa to access the MySQL database==
==Step 4. Configure marauroa to access the MySQL database==
--[[User:Javydreamercsw|Javydreamercsw]] 09:35, 5 March 2008 (PST) (Update: eliminated the screens no longer used by marauroa while creating ini file)
Now you will generate a marauroa *.ini file so that marauroa knows where and how to access the database with the user accounts and other info.
Now you will generate a marauroa *.ini file so that marauroa knows where and how to access the database with the user accounts and other info.


Line 6: Line 7:
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration01.png
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration01.png


Cd to ''marauroa'' folder (that contains ''marauroa.jar'')
cd to ''marauroa/libs'' folder (that contains ''marauroa.jar'')


http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration02.png
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration02.png
Line 12: Line 13:
At prompt, copy from here:
At prompt, copy from here:


java -cp marauroa.jar;stendhal-server-0.6X.jar games.stendhal.server.core.engine.GenerateINI
java -cp marauroa.jar;stendhal-server-0.XX.jar games.stendhal.server.core.engine.GenerateINI


which is Case SenSiTivE! And remember to change the 0.6X to whatever version you have. (the photos below are outdated so they look a little different - don't worry!)
which is Case SenSiTivE! And remember to change the 0.XX to whatever version you have. (the photos below are outdated so they look a little different - don't worry!)


Now USE your mouse and right-click anywhere inside the window and choose paste.
Now USE your mouse and right-click anywhere inside the window and choose paste.
Line 25: Line 26:


'''Warning:''' depending on how you have copied it maybe there's no need to press <tt>enter</tt> this time after you paste (you might have copied the <tt>enter</tt> character too).
'''Warning:''' depending on how you have copied it maybe there's no need to press <tt>enter</tt> this time after you paste (you might have copied the <tt>enter</tt> character too).

When prompted for the name of the *.ini file:
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration05.png

just press <tt>enter</tt> and this way you accept the default ''marauroa.ini''


When prompted for the name of the database:
When prompted for the name of the database:
Line 66: Line 62:


Here, like I have just done, it reminds you that you should have granted all permissions to access the marauroa database to the user ''stendhal_user'' with password ''stendhal_passwd''. And that is precisely what we have just done already when [[VisualGuideToInstallingStendhalStep2#CreateMySQLDatabase_SetUserPassword|creating the database at Step 2]].
Here, like I have just done, it reminds you that you should have granted all permissions to access the marauroa database to the user ''stendhal_user'' with password ''stendhal_passwd''. And that is precisely what we have just done already when [[VisualGuideToInstallingStendhalStep2#CreateMySQLDatabase_SetUserPassword|creating the database at Step 2]].

When prompted for the number of the UDP port used by the database you have to use the UDP port that is the default when running the client (if it is easy why complicate it...). So copy from here:

32160

and USE your mouse and right-click anywhere inside the window and choose paste. Then press <tt>enter</tt>

http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration11.png

When prompted for the name of the game (yes, you just intended to install Stendhal server after all... I haven't forgot that) obviously, copy from here:

stendhal

and USE your mouse and right-click anywhere inside the window and choose paste. Then press <tt>enter</tt>

http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration13.png

When prompted for the number of the turn time (Ok, I confess I don't really understand the message that has appeared but.. who cares? Not me!) Copy from here:

300

and USE your mouse and right-click anywhere inside the window and choose paste. Then press <tt>enter</tt>

http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration14.png


Note: Depending on the power and memory of your PC you can get warnings (later in the server window) of turn time overflow (I do) if you set it this value or lower but that does not hurt (I think).
Note: Depending on the power and memory of your PC you can get warnings (later in the server window) of turn time overflow (I do) if you set it this value or lower but that does not hurt (I think).

When prompted for the path for logs:
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step4MarauroaConfiguration/Step4MarauroaConfiguration15.png

Press <tt>enter</tt> to accept default

Also when Prompted for the path for statistics press <tt>enter</tt> to accept default.


When prompted for the size for the RSA key:
When prompted for the size for the RSA key: