ID:265802
 
Mpt sure where tp rant about this but here the REO 2 CPU Profile. Still not sure whats making it lag but am pretty sure its only the movments of the AI within teh game :/...
How long was that game being profiled for?
And how many zombies were in the world?

(Also, have you noticed that you seem to have a procedure that isn't ending?)
In response to Keeth
umm I rand that for 3 rounds, 600 zombies, moving at a random speed of 5,18, and no I didnt notice :O
In response to Darker Emerald
How long is "3 rounds"?
In response to Keeth
dunno those rounds all together were at least 45 mins long
What is proc/clean_up_the_rest? What does it do? It seems that you could optimize that.

George Gough
In response to KodeNerd
Thats what cleans up whats left at the end of a round say.. deleting zombies, obj, stuff that is unneeded so we can load a diffrent map to play on so thats normal...
In response to Darker Emerald
Make sure that your connection is not the reason that it is slow; but for now I will assume a LAN test.

Try looking at all of the procs that were called 1000+times and seeing if they can be optimized some. That may give you more speed.

George Gough
In response to KodeNerd
KodeNerd wrote:
Make sure that your connection is not the reason that it is slow; but for now I will assume a LAN test.

Try looking at all of the procs that were called 1000+times and seeing if they can be optimized some. That may give you more speed.

Also look at the procs which call those procs and see if you can't make them call those procs less often for the same effectiveness.

For instance, if you call one proc 800 times every minute, that might be on the excessive side. See if you can think of a method that can do the same amount of work of that proc in a more effective way so you don't have to call it so often.
In response to Jtgibson
Jtgibson wrote:
Also look at the procs which call those procs and see if you can't make them call those procs less often for the same effectiveness.

I did not think of that. To bad you could not tell that from the profile.

George Gough