VisualGuideToInstallingStendhalStep5: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara No edit summary |
imported>Hendrik Brummermann added navigation menu |
||
| (142 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navigation for Stendhal Top|Building & Hosting}} |
|||
==Step 5. Install Stendhal server== |
|||
==Step 5. Install and run the Stendhal client to play in your local Stendhal server== |
|||
Note: if you have already installed the client to connect to the official server, you can use it if it is the same version. However, '''this time''' you have to connect to '''Server name:''' ''localhost'' and create a new account there. |
|||
Go to arianne website [http://arianne.sourceforge.net/?arianne_url=games/game_stendhal#downloadsection] and download the latest Stendhal server binary. |
|||
To run the client: |
|||
Here is a direct link to 0.61: |
|||
[http://prdownloads.sourceforge.net/arianne/stendhal-server-0.61.zip?download Stendhal-server-0.61] |
|||
if there is a later version at the time that you read this guide, please browse the downloads link given previously to find it. |
|||
Go to arianne website and download the [http://sourceforge.net/project/platformdownload.php?group_id=1111&sel_platform=410 Stendhal client zip file] |
|||
Whatever version you have, the steps below are the same. This guide was written for stendhal-server-0.47.1.zip. |
|||
[[File:InstallStendhalClient01.png]] |
|||
Unzip the ''stendhal-server-0.47.1.zip'' file. |
|||
Unzip the folder that you get, wherever you choose. |
|||
===Step 5.1. Move binary server files to marauroa folder=== |
|||
Copy the 3 server binary ''*.jar'' files: |
|||
*''stendhal-maps-0.47.1.jar'' |
|||
*''stendhal-server-0.47.1.jar'' |
|||
*''stendhal-xmlconf-0.47.1.jar'' |
|||
[[File:InstallStendhalClient02.png]] |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step51MoveServerFiles/Step51MoveServerFiles01.png |
|||
Double-click the ''stendhal-{{version}}.jar'' file in the client. |
|||
inside the marauroa-1.31.1 folder. |
|||
[[File:InstallStendhalClient03.png]] |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step51MoveServerFiles/Step51MoveServerFiles02.png |
|||
Create a new account (because your new local Stendhal server doesn't have any player account yet). |
|||
===Step 5.2. Edit the marauroad.bat file=== |
|||
Edit the marauroad.bat file by including in the path the name of the stendhal-server and velocity files, version included |
|||
[[File:InstallStendhalClient04.png]] |
|||
;stendhal-server-0.47.1.jar |
|||
Type as '''Server name:''' ''localhost'' instead of the default server. |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step52EditMarauroadBatFile/Step52EditMarauroadBatFile01.png |
|||
[[File:InstallStendhalClient05.png]] |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step52EditMarauroadBatFile/Step52EditMarauroadBatFile02.png |
|||
And the same '''every time you log in to the game''' in your local server. |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step52EditMarauroadBatFile/Step52EditMarauroadBatFile03.png |
|||
[[File:InstallStendhalClient06.png]] |
|||
Edit the marauroad.bat file by removing the version in the name of the ''marauroa-1.31.1.jar'' file. |
|||
Choose the ''localhost'' server. |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step52EditMarauroadBatFile/Step52EditMarauroadBatFile04.png |
|||
[[File:InstallStendhalClient07.png]] |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step52EditMarauroadBatFile/Step52EditMarauroadBatFile05.png |
|||
'''Warning:''' Check that, as indicated in a previous step, ''marauroa-1.31.1.jar'' filename has been changed to ''marauroa.jar'' |
|||
==How to set up a player account as admin== |
|||
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step3MarauroaInstall/Step3MarauroaInstall03.png |
|||
There's a folder called ''data'' inside the Stendhal server folder. |
|||
Note for the future: If you choose: |
|||
*not to rename ''marauroa-1.31.1.jar'' file to remove the version from its filename and |
|||
*not to edit the ''mararoad.bat'' file |
|||
Go into ''data'' |
|||
Then, when you want to recompile Stendhal, you will really need to do it or you will have to edit ''build.xml'' file (don't count on me for that, at least for now). |
|||
[[File:SetUpPlayerAdmins01.png]] |
|||
Note for the future: If you choose: |
|||
*to rename ''stendhal-server-0.47.1'' file to remove the version from its filename and |
|||
*edit the ''mararoad.bat'' file consequently |
|||
Go into ''conf'' |
|||
Then, everytime you recompile Stendhal, the version suffix will be generated again , so it is more comfortable and faster leaving it. |
|||
[[File:SetUpPlayerAdmins02.png]] |
|||
Edit the ''admins.txt'' file with your favourite text editor, e.g. Notepad. |
|||
[[File:SetUpPlayerAdmins03.png]] |
|||
Add the player names to the list and hit [enter] at the end of the last one. Save this file. |
|||
[[File:SetUpPlayerAdmins04.png]] |
|||
Now restart your server, and it will read the names from ''admins.txt'' and give them [[Stendhal:Administration|adminlevel]] 5000! |
|||
Go to [[VisualGuideToInstallingStendhalStep6|Step 6. Run MySQL as a service (if it is not running already)]] |
|||
<br> |
<br> |
||