Strife: Performance

Published May 04, 2013
Advertisement
Legends of Strife

Spend the last week on performance optimisation. Up to now I've never giving it any priority so there was allot to do. I have managed to get the framerate (on my pc) 4 times faster in general. But even so its still running too slow for what its doing but I will get it there eventually. For now I might leave it as it is since it runs acceptably on most pc's I've tested on and instead focus on finishing the game features.

I have also fixed a few bugs that caused crashes. Of course its very likely that some still remain.

All feedback appreciated. Would be especially nice if you could make a necromancer (skull icon) and try to raise some dead creatures. Also you can try its bone shield which it gains at level 2 (You'l have to drag it from the spellbook to your cast bar).

http://www.distantmelody.net/legends-of-strife/play.html
1 likes 11 comments

Comments

Bacterius

OK, I don't CTD anymore :) but I always spawn on a light blue background, as if the world never loaded, for every character (existing or new). Also, after a while Java freezes and starts leaking memory (was up to 1GB when I terminated it). Is it possible the old files from the previous versions are not being recognised? I will try in a clean virtual machine later.

May 06, 2013 02:03 AM
Wilhelm van Huyssteen
hmm. I have now seen that blank world issue on some other pc's as well. Although it was only happening sometimes and other times it was logging in fine. But I am tracking that down now. As for the 1 gig memory usage. Thats normal. The applet is set to allocate 1024m on startup but 1024m is also the maximum.

Also I'm going to put a downloadable application version of the game on my site later today or tomorrow. I like the game running in a java applet but its creating more problems than its worth (unresponsive keyboard input, considerably performance hit and certain crashes that never happen with the stand alone application version).
May 06, 2013 07:44 AM
apatriarca

I'm unable to either create a new account or login in the game. I press on the buttons but nothing happen. I tried the applet again today. It looks like I simply had to wait a little longer for feedback. I have successfully logged in the game but the Java VM freezes when I try yo play the game. I waited for 10-15 minutes but nothing happened.

If you really want to appreciate the performance difference between different versions I suggest to use the frame time instead of using the frame rate. This is linear and you can also compute it as the sum of the time taken by your different modules.

May 06, 2013 10:43 AM
Wilhelm van Huyssteen

Thnx for the feedback. I have now created an application version of the game that should perform considerably better and in the event that it crashes it wont freeze the browser and it will write a crashlog to crash.txt in the folder of the exe

http://www.distantmelody.net/data/legends-of-strife/strife.exe

if you run the exe it will patch in the rest of the game.

May 07, 2013 10:52 PM
Bacterius

I was not able to get past the login screen for strife.exe. Neither button seems to be working :(

May 08, 2013 04:28 AM
Wilhelm van Huyssteen

The server seems to have crashed. I did restart it. Cant think of another reason why you wont be able to connect. If it still happens can you check the applet version again to see if that still lets you connect? the link in the original post will still work. But I'm pretty sure it was just the server or a network issue.

May 08, 2013 07:54 AM
apatriarca

The game crashes when loading the game world. The content of crash.txt is the following

Display Thread Crashed with java.lang.Exception
Opengl error: 1285
strife.Screen.display(Screen.java:315)
core.DMEngine.renderCycle(DMEngine.java:538)
core.DMEngine.run(DMEngine.java:484)
java.lang.Thread.run(Unknown Source)
May 08, 2013 01:10 PM
Wilhelm van Huyssteen

May I ask. How much ram do you have on your pc?

May 09, 2013 07:14 AM
apatriarca

I have 4 GB of system RAM and the GPU is a Nvidia Quadro K1000M with 2 GB of VRAM.

May 09, 2013 08:26 AM
Wilhelm van Huyssteen

I have tweaked the java memory alocations. can you try again? Just run the exe again and it should patch itself.

May 09, 2013 09:01 PM
apatriarca

It still crashes.

May 11, 2013 02:51 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement