Guide for getting console printoutsA simple guide for getting the console to show up as it can be used to track bugs.
First you have to open the run.bat. Right click your run.bat and click edit. Alternatively you can open it in any word editing tool.
You should see something like this.
- Code: Select all
java -Xms512m -Xmx1024m -jar haven.jar moltke.seatribe.se -r ./res -v script
pause
The first word is java and opens the game with the console. If you edit the "java" to "javaw" with a w you won't get any console to open. You can also have "start" to the left of "javaw", this is useful if you do not want a console to show up. If you simply don't care about reporting any bugs and want to remove the console simply edit the first word to "start javaw" and you will never see any console showing up.
The second part is the memory allocation. I would personally run it at "-Xms512m -Xmx1024m". You can increase the memory allocated to the game but there are rumors that java reduces the speed of programs if to much memory is allocated. If your computer doesn't have extra memory to spare it can cause problems. For the lower end PCs you can reduce the memory allocated to "-Xms256m -Xmx512m".
The rest of the text is simply for the client to recognize haven.jar as the file it needs to start the program with. "moltke.seatribe.se" is the address to the game server and lastly "-r ./res" is used to tell the client to use extra resource files from the res folder.
For those that wish to hack the client and use scripts. Add "-v script" to the end of the line.
TL.DR. Skip hereFor anyone having issues with the client, do this.
Add a pause at the very end if you wish the client to keep the console open after it have crashed. This can be useful if your client crashes without warning or instantly closes after starting.
How to copy paste test from the console1. Right click the console.
2. Select "Mark".
3. Select the text you wish to copy.
4. Right click on the console.