StendhalLocalhostServerOnLinux: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara No edit summary |
imported>Kymara out of memory errors |
||
| Line 94: | Line 94: | ||
This is the extras section! Here you have trouble shooting, and hints & tips |
This is the extras section! Here you have trouble shooting, and hints & tips |
||
== Troubleshooting == |
== Troubleshooting == |
||
===Out of memory error=== |
|||
If while executing the server you get an out of memory error like: |
|||
Exception in thread "marauroad" java.lang.OutOfMemoryError: Java heap space |
|||
You can solve it by modifying marauroad as |
|||
#!/bin/bash |
|||
if [ $# -eq 0 ]; then |
|||
echo "Missing params." |
|||
echo "Usage: $0 <game-server-plugin> <server.ini>" |
|||
exit 1 |
|||
fi |
|||
export |
|||
LOCALCLASSPATH=.:libs/marauroa-2.4.jar:libs/jython.jar:libs/mysql-connector.jar:libs/log4j.jar |
|||
java -Xmx256m cp $LOCALCLASSPATH marauroa.server.marauroad -c $2 |
|||
=== Can't login! === |
=== Can't login! === |
||
You try logging in with the account you made when you first got Stendhal. It doesn't work in your server! You see, the MySQL database we created is the user and some other info database, meaning that we have a list of users, while the main server has it's own list. Until access is publicly granted to the MySQL database over there, we must click on Create An Account and choose localhost as the server to join. 2 different accounts. That, well, sucks. |
You try logging in with the account you made when you first got Stendhal. It doesn't work in your server! You see, the MySQL database we created is the user and some other info database, meaning that we have a list of users, while the main server has it's own list. Until access is publicly granted to the MySQL database over there, we must click on Create An Account and choose localhost as the server to join. 2 different accounts. That, well, sucks. |
||