Stendhal FAQ: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara add npc and player tags, and links to zones and quests |
imported>Kymara |
||
| Line 274: | Line 274: | ||
:* What java version you have. In Linux, type <pre>java --version</pre> in a command line. Windows users, check [http://www.java.com/en/download/installed.jsp?detect=jre&try=1 here]. |
:* What java version you have. In Linux, type <pre>java --version</pre> in a command line. Windows users, check [http://www.java.com/en/download/installed.jsp?detect=jre&try=1 here]. |
||
; How do I avoid going offline because of an Out Of Memory Error? |
; How do I avoid going offline because of an Out Of Memory Error? |
||
: If you already start your client from a ''command line'' this is easy. You will be starting it like |
: *If you already start your client from a ''command line'' this is easy. You will be starting it like |
||
java -jar /path-to/stendhal-0.XX.jar |
java -jar /path-to/stendhal-0.XX.jar |
||
: so replace this with |
: so replace this with |
||
java -Xmx200m -jar /path-to/stendhal-0.XX.jar |
java -XX:+HeapDumpOnOutOfMemoryError -Xmx200m -jar /path-to/stendhal-0.XX.jar |
||
: or a bit higher than 200MB if you have plenty memory. |
: or a bit higher than 200MB if you have plenty memory. |
||
: *If the game does crash again with an out of memory error, a file ending with <code>.hprof</code> is created in the current directory, we would love to see this file to diagnose the error, so please join {{irc-arianne}} so that we can get it from you. |
|||
: If you use windows and you normally start stendhal by double clicking on the stendhal-0.XX.jar icon we have a bit of work to do. Open a text editor (NotePad will do) and paste in the line |
: *If you use windows and you normally start stendhal by double clicking on the stendhal-0.XX.jar icon we have a bit of work to do. Open a text editor (NotePad will do) and paste in the line |
||
java -Xmx200m -jar stendhal-0.XX.jar |
java -XX:+HeapDumpOnOutOfMemoryError -Xmx200m -jar stendhal-0.XX.jar |
||
: then save this as a document called start.bat, in the same directory as the stendhal-0.XX.jar icon which you normally double click. Now to start the client you double click start.bat. You'll see a DOS prompt open and then the client will load as normal. If this hasn't worked the likely reason is that Windows is hiding your file extensions, so that your text file has been saved as start.bat.txt and isn't recognised as a batch file, and your client is only referred to as stendhal-0.XX as the .jar is hidden. Anyway, to fix this try one of the guides found by googling ''windows unhide file extensions'' such as [http://support.mfm.com/support/std_procedures/unhidefileextensions.html] for up to Windows XP and [http://www.tech-recipes.com/rx/1269/vista_show_unhide_file_extensions/] for Vista. <small>Disclaimer: external sites are not our responsibility and are not necessarily tested, written or maintained by the Stendhal team. What you do to your own computer is your responsibility</small>. |
: then save this as a document called start.bat, in the same directory as the stendhal-0.XX.jar icon which you normally double click. Now to start the client you double click start.bat. You'll see a DOS prompt open and then the client will load as normal. If this hasn't worked the likely reason is that Windows is hiding your file extensions, so that your text file has been saved as start.bat.txt and isn't recognised as a batch file, and your client is only referred to as stendhal-0.XX as the .jar is hidden. Anyway, to fix this try one of the guides found by googling ''windows unhide file extensions'' such as [http://support.mfm.com/support/std_procedures/unhidefileextensions.html] for up to Windows XP and [http://www.tech-recipes.com/rx/1269/vista_show_unhide_file_extensions/] for Vista. <small>Disclaimer: external sites are not our responsibility and are not necessarily tested, written or maintained by the Stendhal team. What you do to your own computer is your responsibility</small>. |
||
; Everyone says the server is really lagging. We're getting 'instant replays'. |
; Everyone says the server is really lagging. We're getting 'instant replays'. |
||