Really slow

29 Replies
THS RavFour
23 January, 2016, 6:36 AM UTC

The real players here are the dev team, of course. I sent this tonight in reply to some support emails and hopefully they can narrow it down... the other games have NO LAG, keep that in mind!!


Instead of installing programs I don't want to use, I have some important observations and suggestions about this lag issue. 

 While debugging Nords I noticed a few very apparent problems. I'm using my 3.0ghz dual core AMD with 4gb memory, latest chrome browser. 

 #1 - The fps of Nords at rest is all over the place, from 6-15 fps. TD and Sparta are steady 30fps while Soldiers and Stormfall are steady 17fps. This tells me you have too many interrupts in your main program loop. 

 #2 - The game has the worst problems when loading the Blood Pact and some of the Clan Hall windows, it falls to 1 or less fps!. My Items window works perfectly, Daily Offerings is OK. Compare the code between the bad Blood Pact and Clan Hall windows to the windows that work OK and you'll be well on your way to fixing this problem! No other windows in TD, Sparta, Soldiers or Stormfall have this problem. 

 #3 - In general, every one of your flash programmers should memorize this article... http://www.adobe.com/devnet/flash/articles/optimizing-flash-performance.html 

If you focus in these directions you will SOLVE the lag issue! 

Good luck

I would imagine in the middle of all this lag mess they'll find memory problems that cause it to gradually max out and REALLY bring everything to a halt, like 5 second delays in typing in chat. Whatever, they just need to FIX IT.


MOD EDIT:  Link Removed. FaZi


RavFour
UTC -4:00
Blasphemy
Moderator
23 January, 2016, 3:06 PM UTC

Nice information, i don't have the same issues loading the bloodpact, mine comes in more or less in the map while raiding or 

daily offerings while in full screen ....


this is where we are having the problem coming up with the right solution, certain players with different game issues

while some would agree with me, others would agree with you, 

then balancing the two...
 
I am a daughter of a High King who is not moved by this world for my God is with me and goes before me, I do not fear because im his
UTC +2:00
THS RavFour
23 January, 2016, 5:42 PM UTC

Blasphemy said:


Nice information, i don't have the same issues loading the bloodpact, mine comes in more or less in the map while raiding or 

daily offerings while in full screen ....


this is where we are having the problem coming up with the right solution, certain players with different game issues

while some would agree with me, others would agree with you, 

then balancing the two...
 

No, I'm talking universal issues with the game code. I'm using a programming tool that reports fps (frames per second), which helps troubleshoot underlying problems within the code. I'm not talking about loading bloodpacts either, just the behaviour and timing of the code loops while certain windows are open.

RavFour
UTC -4:00
Blasphemy
Moderator
23 January, 2016, 6:45 PM UTC

im sure you already shared this with the help desk.... hopefully they will look into more...

great work... we should recruit you into the plarium mod team, lol
I am a daughter of a High King who is not moved by this world for my God is with me and goes before me, I do not fear because im his
UTC +2:00
Scald the Bard
Administrator
26 January, 2016, 11:28 AM UTC

THS RavFour said:


Blasphemy said:


Nice information, i don't have the same issues loading the bloodpact, mine comes in more or less in the map while raiding or 

daily offerings while in full screen ....


this is where we are having the problem coming up with the right solution, certain players with different game issues

while some would agree with me, others would agree with you, 

then balancing the two...
 

No, I'm talking universal issues with the game code. I'm using a programming tool that reports fps (frames per second), which helps troubleshoot underlying problems within the code. I'm not talking about loading bloodpacts either, just the behaviour and timing of the code loops while certain windows are open.

Greetings! Nice analytic, thank you! I bet that you are a QA Software Engineer, aren't you? What programs do you usually use for debugging? Just curious :) 


UTC +3:00
THS RavFour
30 January, 2016, 5:14 AM UTC
Scald the Bard said:

Greetings! Nice analytic, thank you! I bet that you are a QA Software Engineer, aren't you? What programs do you usually use for debugging? Just curious :) 


I've been involved with most phases of corporate software development. For 16 years I was a member of lean, six sigma software teams as a programmer and data analyst for a multinational marketing company. For the findings I discuss above I simply used an FPS (frames per second) browser tool, which clearly uncovers serious issues, but beyond that I have no flash debugging tools installed. If I did I would REALLY get to the bottom of it :)
RavFour
UTC -4:00
Scald the Bard
Administrator
2 February, 2016, 4:22 PM UTC

THS RavFour said:


Scald the Bard said:


Greetings! Nice analytic, thank you! I bet that you are a QA Software Engineer, aren't you? What programs do you usually use for debugging? Just curious :) 


I've been involved with most phases of corporate software development. For 16 years I was a member of lean, six sigma software teams as a programmer and data analyst for a multinational marketing company. For the findings I discuss above I simply used an FPS (frames per second) browser tool, which clearly uncovers serious issues, but beyond that I have no flash debugging tools installed. If I did I would REALLY get to the bottom of it :)

Wow, amazing! 

The issue is that the Flash technologies consume the outstanding amount of RAM memory and running the game like Nords almost impossible, but somehow we are doing this. Nords are more complex then other games, so the fps drops are absolutely possible. 

UTC +3:00
Blasphemy
Moderator
3 February, 2016, 2:56 PM UTC
Scald the Bard said:                                                                                                                                          The issue is that the Flash technologies consume the outstanding amount of RAM memory

haha i believe i said the same in a previous post and im no wizard when it comes to computers lol


I am a daughter of a High King who is not moved by this world for my God is with me and goes before me, I do not fear because im his
UTC +2:00
THS RavFour
5 February, 2016, 7:52 PM UTC

Scald the Bard said:


The issue is that the Flash technologies consume the outstanding amount of RAM memory 


That is absolutely false to conclude that Nords lag is caused by that... you are merely repeating what the devs are telling you. I would not expect non-programmers to understand how my tests prove that point, so I'll leave out the tech talk from now on and continue to encourage players to complain about this huge problem. The dev team needs as much pressure put on them as possible, so I'll work to that end.

RavFour
UTC -4:00
FaZi
6 February, 2016, 3:15 AM UTC

Well rav4 gotta agree with you on that.


I have done programming in past & based on my lil experience i can tell there is a whole lot of code where the standards were not met. I know flash do take lot of ram memory but there are lot of solutions to optimize the performance with less ram usage. 


I am sorry but i have to say the Q&A department of plarium is very very weak.


I can name few things that will really boost the performance of this game

1- Partial Blitting

2- Stage Blitting

3- Pool object (replace instead of garbage collectors)

4- Basic Display objects 

5- Reusing of objects instead of creating them again

6- Avoid Filters as much possible

Th' rougher th' seven seas, th' smoother we sail. Ahoy! ahead ye coward
UTC +3:00
1723304 users registered; 42953 topics; 272555 posts; our newest member:Commander #2690114