Jump to content

April 2017 »

232425262728 29
- - - - -

Strife: Performance

Strife Legends of Strife MMORPG Distant Melody
4: Adsense

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).


May 05 2013 08:03 PM

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 01:44 AM
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 04:43 AM

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 07 2013 04:52 PM

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 




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

May 07 2013 10:28 PM

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

May 08 2013 01:54 AM

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:10 AM

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
java.lang.Thread.run(Unknown Source)
May 09 2013 01:14 AM

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

May 09 2013 02:26 AM

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

May 09 2013 03:01 PM

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

May 11 2013 08:51 AM

It still crashes.

Note: GameDev.net moderates comments.