[Release] Fix Client become Hell Slow at big spawns!

09/17/2010 19:21 jackpotsvr#1
Fix Client become Hell Slow at big spawns!
Q:Why do the FPS go to 00-01-02?
A: Because there are to many items to load.
Q: How to fix that?
A: Easily make them disapear faster cause 90 seconds is extreme long, you could also decrease loot rate. But we do the first way in this Release/Tutorial.

5017

Search for
Code:
DestroyTimer.Interval =
Change the amount what ever it is to about 15000 , like this

PHP Code:
DestroyTimer.Interval 30000
This should be good enough to have spawns with about 150 monsters in one screen.

I don't know if this works in other sources, look if there is a DroppedItems.cs there, if it is you have to search for a time.interval and then you'll find it fast ;)
09/17/2010 19:58 FrontBoy#2
Thank YOu MAn!
09/18/2010 00:16 dowhatuwant#3
i dont think this is the fix.
and i never had any problems with fps in 5017.
09/18/2010 00:23 pro4never#4
You may have less of a shitty computer.

Main problems..

A: Not splitting game objects per map (more calculations to send screen to client)

B: sending needless information to client (items not actually visible)

C: Dropping too much shit! (do smaller/more spread out spawns, less items, etc)

D: It's lotf...
09/18/2010 00:27 dowhatuwant#5
Quote:
Originally Posted by pro4never View Post
D: It's lotf...
/win
09/18/2010 08:52 jackpotsvr#6
Quote:
Originally Posted by pro4never View Post
You may have less of a shitty computer.

Main problems..

A: Not splitting game objects per map (more calculations to send screen to client)

B: sending needless information to client (items not actually visible)

C: Dropping too much shit! (do smaller/more spread out spawns, less items, etc)

D: It's lotf...
Quote:
Originally Posted by ☆★Zuper★☆ View Post
/win
I think a 6 core 3.4 GHz PC isn't shitty and never if it has SSD, and a perfect GPU :)
And i can show every source get this bug if you hunt long on one spot with much drops.. This is how I fixed it..

C<- Is the problem yea, but the spawn i made, was meant so you don't have to move,, you also can change drop rate, but then we'll have to less drops :)
Now a drop time of 90 secs is even higher than in real co, and when i tested it 15000 was more than enough.
09/18/2010 12:19 Korvacs#7
Seems to me that 90 seconds wasnt enough if your hunting and not picking everything up in that amount of time, 15 seconds is no way near enough time, if something decent drops and you jump off screen its gone, you wont be back in time to pick it up.

Conquer's drops stay for around 60 seconds i beleive, however i agree with pro4never, ive personally never had an issue like this with dropping too many items (and ive a screenshot which would blow your mind from a bugged proxy) but my pc could handle it, something tells me your "6 core 3.4ghz PC SSD with 'perfect GPU'" PC is complete BS, since my pc is slightly lower spec and has no issues with large numbers of items.
09/18/2010 12:22 dowhatuwant#8
my pc sux and i never had lagged in lotf lmao
09/18/2010 17:10 pro4never#9
the only time I've seen any fps lag is when you are loading mass numbers of mobs/items at the same time... thing is if you go much past that level I'm fairly sure you can crash the client from too many packets being sent in the same amount of time (I remember crashing w/ my proxy once from fs updating client too much lol)


That being said... if your drops are such that the floor is getting COATED in items then there is a serious problem.

If your spawns are large enough that the floor is COATED in monsters then there is a serious problem.


Those are simply signs the balance of your server is off... re-tool things so there is less monsters/items needed (raise exp rates but lower spawn rates... lower cost of things but also lower drop rates... etc)

Again... the only time I've seen this become an issue is during massive, MASSIVE amounts of objects being spawned by the client all at once. The client does not handle large, fast updates effectively.
09/18/2010 17:25 jackpotsvr#10
Quote:
Originally Posted by pro4never View Post
the only time I've seen any fps lag is when you are loading mass numbers of mobs/items at the same time... thing is if you go much past that level I'm fairly sure you can crash the client from too many packets being sent in the same amount of time (I remember crashing w/ my proxy once from fs updating client too much lol)


That being said... if your drops are such that the floor is getting COATED in items then there is a serious problem.

If your spawns are large enough that the floor is COATED in monsters then there is a serious problem.


Those are simply signs the balance of your server is off... re-tool things so there is less monsters/items needed (raise exp rates but lower spawn rates... lower cost of things but also lower drop rates... etc)

Again... the only time I've seen this become an issue is during massive, MASSIVE amounts of objects being spawned by the client all at once. The client does not handle large, fast updates effectively.
I can't say else than "you're totally right."
But 90 seconds of Destroy time is much.
09/18/2010 22:01 pintser#11
Realco= 30 seconds..(dropped)
b4 dissapear :)..
09/19/2010 11:16 jackpotsvr#12
Quote:
Originally Posted by pintser View Post
Realco= 30 seconds..(dropped)
b4 dissapear :)..
30 second should be fine and i changed it to that on my server,, i will edit this thread