how to start marauroa(-3.9.2)?

Help
hermetic
2012-08-16
2013-06-06
  • hermetic
    hermetic
    2012-08-16

    If I download marauroa from sourceforge:
    http://sourceforge.net/projects/arianne/files/marauroa/3.9.2/marauroa-3.9.2-src.tar.gz/download
    I can compile with 'ant'.
    But how to start the server and client(s) from there?

    Where are the tutorials for this?

    If I try to get marauroa with GIT and eclipse
    git://arianne.git.sourceforge.net/gitroot/arianne/marauroa.git
    Do I need all the default checked-projects, or only MARAUROA_VERSION_03_RELEASE_09?

    I get 'newmarauroa', but with a red ' ! ' on it.
    So how to compile there successful and how to start server and client, or do I really need to write own code first, to get something working, like some tutorials tell?
    (Wouldnt it be better, to have something that works out-of-the-box first, like 'Stendhal', and then show new folks how to edit and write own code?)

     
  • Katie Russell
    Katie Russell
    2012-08-16

    Hi, please see the guides at http://stendhalgame.org/wiki/Marauroa, and I'll point you to specific ones below:

    You can run Marauroa as it is, following http://stendhalgame.org/wiki/InitialStepsWithMarauroa. It 'runs' out of the box, but it's not a game itself, it is a framework.

    If you'd like to implement a very simple server and client using Marauroa, there is a tutorial at http://stendhalgame.org/wiki/Marauroa_Chat_Tutorial. You should be able to use the version you compiled with ant.

    Using the downloaded version you linked to is fine. It is built from the git branch  MARAUROA_VERSION_03_RELEASE_09

     
  • Katie Russell
    Katie Russell
    2012-08-16

    P.s. there are some instructions for use with Eclipse and Git on http://stendhalgame.org/wiki/Marauroa_on_Eclipse

    If you want to continue with that rather than use ant, please give us some hints as to what your errors are (try the error view in eclipse?) and we can try to help

     
  • hermetic
    hermetic
    2012-08-16

    Yes I have read http://stendhalgame.org/wiki/Marauroa_on_Eclipse
    but I dont have a URI: ssh://USERNAME@arianne.git.sourceforge.net/gitroot/arianne/marauroa.git because I'm not a marauroa developer, right?
    But if I try without a username I get an -ls exception

    If I try like http://stendhalgame.org/wiki/Arianne_Source_Code_Repositories tells with
    read-only access: git://arianne.git.sourceforge.net/gitroot/arianne/marauroa.git
    I geht throu, but only to end with an empty /src folder when I use 'Use the New Projects wizard'.

    If I use 'Import existing projects' instead it downloads the src…

     
  • hermetic
    hermetic
    2012-08-16

    However if I run the starter application
    Project: newmarauroa
    Main class: marauroa.server.marauroad

    I get:

    2012-08-16 16:36:14 WARN   Configuration            (202 ) - Configuration file not found: server.ini
    java.io.FileNotFoundException: server.ini (Datei oder Verzeichnis nicht gefunden)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:97)
    at marauroa.common.io.FileSystemPersistence.getInputStream(FileSystemPersistence.java:63)
    at marauroa.common.Configuration.<init>(Configuration.java:100)
    at marauroa.common.Configuration.getConfiguration(Configuration.java:122)
    at marauroa.server.marauroad.main(marauroad.java:223)
    ERROR: Marauroa can't find configuration file.
    Run game configuration to get a valid "server.ini" file

     
  • You can use -c as command line argument to point to your server.ini file.

    You did create one, didn't you?

     
  • hermetic
    hermetic
    2012-08-18

    I have now created a server.ini file and also created 'Rule.java' and 'World.java' like it is told in
    http://stendhalgame.org/wiki/Marauroa_Chat_Tutorial/Server
    (But I still don't understand why one has to create them and why that simple example is not included in marauroa)

    I get a little further now but get this then:

    Configuring Log4J using marauroa/server/log4j.properties
    INFO   AbstractDatabaseAdapter  (122 ) - Connected to jdbc:h2:~/clientserverchat/database/h2db;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE: H2 1.2.128 (2010-01-30) with driver H2 JDBC Driver 1.2.128 (2010-01-30)
    INFO   AbstractDatabaseAdapter  (122 ) - Connected to jdbc:h2:~/clientserverchat/database/h2db;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE: H2 1.2.128 (2010-01-30) with driver H2 JDBC Driver 1.2.128 (2010-01-30)
    INFO   AbstractDatabaseAdapter  (122 ) - Connected to jdbc:h2:~/clientserverchat/database/h2db;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE: H2 1.2.128 (2010-01-30) with driver H2 JDBC Driver 1.2.128 (2010-01-30)
    INFO   AbstractDatabaseAdapter  (122 ) - Connected to jdbc:h2:~/clientserverchat/database/h2db;AUTO_RECONNECT=TRUE;DB_CLOSE_ON_EXIT=FALSE: H2 1.2.128 (2010-01-30) with driver H2 JDBC Driver 1.2.128 (2010-01-30)
    INFO   UpdateScript             (122 ) - Checking database structure and updating it if needed.
    INFO   UpdateScript             (122 ) - Completed database update.
    WARN   RPServerManager          (202 ) - ABORT: Unable to create RPZone, RPRuleProcessor or RPAIManager instances
    java.lang.ClassNotFoundException: World
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:186)
    at marauroa.server.game.rp.RPServerManager.initializeExtensions(RPServerManager.java:166)
    at marauroa.server.game.rp.RPServerManager.<init>(RPServerManager.java:136)
    at marauroa.server.marauroad.init(marauroad.java:356)
    at marauroa.server.marauroad.run(marauroad.java:281)
    ERROR  marauroad                (67  ) - Marauroa can't create RPServerManager.
    Reasons:
    - You haven't specified a valid configuration file
    - You haven't correctly filled the values related to game configuration. Use generateini application to create a valid configuration file.
    - There may be an error in the Game startup method.

    java.lang.ClassNotFoundException: World
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:186)
    at marauroa.server.game.rp.RPServerManager.initializeExtensions(RPServerManager.java:166)
    at marauroa.server.game.rp.RPServerManager.<init>(RPServerManager.java:136)
    at marauroa.server.marauroad.init(marauroad.java:356)
    at marauroa.server.marauroad.run(marauroad.java:281)

    I have tested with Rule and World in marauroa.server and other places. Seems they are not found…
    Hmmm… hard start for a newbie.

     
  • Damas
    Damas
    2012-12-08

    I have a problem in  Marauroa.
    I am using this page to guide me  : http://stendhalgame.org/wiki/InitialStepsWithMarauroa
    I am in the step "Configuration" ,I don't know how to do it .. plz any help ???
    sorry for my English

     


Anonymous


Cancel   Add attachments