Page 1 of 1

THE SCAVS LAG SEVERAL GAMES :(

Posted: 17 May 2013, 08:54
by xXSpecialsoulXx
well. since the 3.1 Vercion i realized some maps with scavs ON ... and when in the game reach like 200 global units totals ...the game starts to go slow :( ... i didnt have a cheap PC but...i have this problem... and i noticed most of the players have that probem...anybody knows the why of the problem??

Re: THE SCAVS LAG SEVERAL GAMES :(

Posted: 17 May 2013, 17:21
by aubergine
There's no way for AIs to iterate partial lists of objects in 3.1 branch - so as number of things on map increase they get slower. Scavs tend to build far more buildings that other players, so the problem is more noticeable with them. Should be resolved in 3.2 release where there are new AI functions for getting lists of objects in specific areas, etc.

Re: THE SCAVS LAG SEVERAL GAMES :(

Posted: 17 May 2013, 17:52
by NoQ
What mods do you have installed, what AIs are you using, and what makes you think scavengers are the problem?

Re: THE SCAVS LAG SEVERAL GAMES :(

Posted: 18 May 2013, 18:25
by Originway
aubergine wrote:There's no way for AIs to iterate partial lists of objects in 3.1 branch - so as number of things on map increase they get slower. Scavs tend to build far more buildings that other players, so the problem is more noticeable with them. Should be resolved in 3.2 release where there are new AI functions for getting lists of objects in specific areas, etc.
why would you only find some units and not all?

Re: THE SCAVS LAG SEVERAL GAMES :(

Posted: 19 May 2013, 04:40
by aubergine
@NoQ: I mostly use WZ 3.1.0 with NullBot and Ultimate Scavs. When USM starts building lots of defence structures, that's usually when game lags. Also, if it gets lots of oils it builds lots of factories = lots of vehicles gather around those factories (base defence groups IIRC?).

@Originway: Because iterating through big lists is slower. That being said, knowing where to search becomes the problem when using enumRange() and enumArea().

Re: THE SCAVS LAG SEVERAL GAMES :(

Posted: 19 May 2013, 06:01
by NoQ
I was asking him, exactly because usm is laggy.