VisualGuideToInstallingStendhalStep5: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Gummipferd
m VisualGuideToInstallingStendhalStep5 moved to VisualGuideToInstallingStendhalStepX
imported>Hendrik Brummermann
added navigation menu
 
(121 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Navigation for Stendhal Top|Building & Hosting}}
==Step 5. Install Stendhal server==


Now let's install the Stendhal server that will run over the marauroa 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.67:
[http://prdownloads.sourceforge.net/arianne/stendhal-server-0.67.zip?download Stendhal-server-0.67]
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.67.zip.


[[File:InstallStendhalClient01.png]]
Unzip the ''stendhal-server-0.67.zip'' file.


Unzip the folder that you get, wherever you choose.
===Step 5.1. Move binary server files to marauroa===
Copy these 3 server binary ''*.jar'' files to your marauroa folder.
*''stendhal-maps-0.67.jar''
*''stendhal-server-0.67.jar''
*''stendhal-xmlconf-0.67.jar''


[[File:InstallStendhalClient02.png]]
Copy these 3 server binary ''*.jar'' files to your marauroa\libs folder.
*''groovy.jar''
*''commons-lang.jar''
*''simple.jar''


Double-click the ''stendhal-{{version}}.jar'' file in the client.
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step51MoveServerFiles/Step51MoveServerFiles01.png


[[File:InstallStendhalClient03.png]]
inside the marauroa/libs folder.


Create a new account (because your new local Stendhal server doesn't have any player account yet).
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step51MoveServerFiles/Step51MoveServerFiles02.png


[[File:InstallStendhalClient04.png]]
===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


Type as '''Server name:''' ''localhost'' instead of the default server.
;stendhal-server-0.67.jar


[[File:InstallStendhalClient05.png]]
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step52EditMarauroadBatFile/Step52EditMarauroadBatFile01.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/Step52EditMarauroadBatFile02.png


[[File:InstallStendhalClient06.png]]
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step5StendhalServerInstall/Step52EditMarauroadBatFile/Step52EditMarauroadBatFile03.png


Choose the ''localhost'' server.
http://arianne.sourceforge.net/wiki_images/visual_guide_server/Step3MarauroaInstall/Step3MarauroaInstall03.png


[[File:InstallStendhalClient07.png]]
Note for the future: If you choose:
*not to rename ''marauroa-2.5.jar'' file to remove the version from its filename and
*not to edit the ''mararoad.bat'' file


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).


==How to set up a player account as admin==
Note for the future: If you choose:
*to rename ''stendhal-server-0.67'' file to remove the version from its filename and
*edit the ''mararoad.bat'' file consequently


There's a folder called ''data'' inside the Stendhal server folder.
Then, everytime you recompile Stendhal, the version suffix will be generated again , so it is more comfortable and faster leaving it.


Go into ''data''

[[File:SetUpPlayerAdmins01.png]]

Go into ''conf''

[[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>

Latest revision as of 17:07, 16 February 2012


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.

To run the client:

Go to arianne website and download the Stendhal client zip file

Unzip the folder that you get, wherever you choose.

Double-click the stendhal-1.48.jar file in the client.

Create a new account (because your new local Stendhal server doesn't have any player account yet).

Type as Server name: localhost instead of the default server.

And the same every time you log in to the game in your local server.

Choose the localhost server.


How to set up a player account as admin

There's a folder called data inside the Stendhal server folder.

Go into data

Go into conf

Edit the admins.txt file with your favourite text editor, e.g. Notepad.

Add the player names to the list and hit [enter] at the end of the last one. Save this file.

Now restart your server, and it will read the names from admins.txt and give them adminlevel 5000!






Back to Visual Installation Guide Step-By-Step
Back to stendhal main wiki page