Map Lag
Apr 20 2009, 1:56 am
By: Pinky  

Apr 20 2009, 1:56 am Pinky Post #1



Hey all got an annoying problem well my map has accumulated a lot of triggers now and when playing it single player no problem but as soon as I jump on with a friend b.net/LAN it doesn't matter I experience disgusting lag!

Why is this happening and how can I stop it?



None.

Apr 20 2009, 1:58 am samsizzle Post #2



its probably not the map but maybe your connection or someone elses connection.



None.

Apr 20 2009, 1:58 am Falkoner Post #3



How many triggers do you have, because if it's under like 10000, that's not directly the issue, more likely the issue is that you have lots of triggers constantly creating/moving/ordering/doing anything related to units.



None.

Apr 20 2009, 2:05 am Pinky Post #4



No. It is not a connection problem, it has something to do with my map other maps work fine.

Uhh I am fairly sure it is under 10 000 I haven't counted them I know I have a lot but I wouldn't imagine they are over 10 000.

Yeah I have several triggers moving locations to follow other units with the ALWAYS command.
I heard Sprites cause lag as well? Could that be an issue? What about number of units in the game?



None.

Apr 20 2009, 2:07 am Falkoner Post #5



Use MapStats on it and post a screeny so we can see other things, sprites MAY cause lag depending on which ones you use, and if units are moving and there are a lot of them that is one of the best ways to cause lag.



None.

Apr 20 2009, 2:08 am Riney Post #6

Thigh high affectionado

Quote from Pinky
No. It is not a connection problem, it has something to do with my map other maps work fine.

Uhh I am fairly sure it is under 10 000 I haven't counted them I know I have a lot but I wouldn't imagine they are over 10 000.

Yeah I have several triggers moving locations to follow other units with the ALWAYS command.
I heard Sprites cause lag as well? Could that be an issue? What about number of units in the game?

Does your game have 1000 buildings that move (Example Supply Depots)? Combine that with 256x256 map size, and close to CCMU, there WILL be lag. If you can cut some buildings out.



Riney#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

Apr 20 2009, 2:20 am Pinky Post #7



What is MapStats?? WHat do you mean buildings that move? Supply Depots don't move?

Keep in mind that my map ONLY lags when a second player is present, playing solo and there is no lag whatsoever.



None.

Apr 20 2009, 2:22 am Falkoner Post #8



Multiplayer always lags more, but this most likely means it's not a graphical issue, but more of a pathfinding lag issue or something like that, you can get MapStats here.



None.

Apr 20 2009, 2:22 am Riney Post #9

Thigh high affectionado

Quote from Pinky
What is MapStats?? WHat do you mean buildings that move? Supply Depots don't move?

Keep in mind that my map ONLY lags when a second player is present, playing solo and there is no lag whatsoever.

Thats becuase the connection is lagging or that SECOND person who seams to be the same person has a wicked firewall. Supply depots DO move, look at the little fans on the front of it. LAGASMIC.



Riney#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

Apr 20 2009, 2:51 am Pinky Post #10



No it isn't anything to do with the connection as I mentioned above we play other SC maps fine it is only mine, forget about all that stuff with firewalls...

Ok yeh I got a fair few Supply Depots, and Missle Turrents, but how many of them creates lag? 50? 100? 500? 1000?

I will get this program and get back to you guys.

EDIT:
Here it is. What do you guys make of it? Picture attached.

Attachments:
MapStats.jpg
Hits: 25 Size: 28.38kb

Post has been edited 1 time(s), last time on Apr 20 2009, 6:09 pm by NudeRaider. Reason: merged posts



None.

Apr 20 2009, 3:05 am Riney Post #11

Thigh high affectionado

Quote from Pinky
Here it is. What do you guys make of it? Picture attached.

Are you testing with the same person over and over again? Its hard to CONFIRM you arent lagging if its the same person.



Riney#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

Apr 20 2009, 3:08 am ClansAreForGays Post #12



you have waaaaaay too many pre-placed units. I'm 90% sure that's it.

The only other thing it could be other than that is how many triggers are firing a second. It is possible, but very unlikely for your map to be lagging because you are having too many conditions needing to be checked, and too many actions firing every trigger cycle. The solution to that would be to have a deathcounter counting down from 6 and restarting when it reaches zero. you give half your triggers the condition that they only fire when this DC is at 2, and the other half only fire when the DC is at 6. Still, the only map that I know of that experienced this unique "trigger lag" was astro gears. You should play that map and see if the lag felt in that map has the same 'feel' as the one in yours.




Apr 20 2009, 3:11 am l)ark_ssj9kevin Post #13

Just here for the activity... well not really

It couldn't be player based, he's on LAN.



guy lifting weight (animated smiley):

O-IC
OI-C

"Oh, I see it"


Apr 20 2009, 4:12 am rockz Post #14

ᴄʜᴇᴇsᴇ ɪᴛ!

starcraft lags on my 1.6 GHz computer. Can your partner run the game without lag alone?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Apr 20 2009, 4:26 am Kaias Post #15



Quote from ClansAreForGays
you have waaaaaay too many pre-placed units. I'm 90% sure that's it.
This is probably it- tons of units with 256x256 dimensions are generally prone to lag. Order action is one of the most lag inducing actions (esp for ground units) and constant creating/killing/giving is another good way to crank up the lag.



None.

Apr 20 2009, 8:53 am Falkoner Post #16



If it's not because of a slow computer, then it the real problem is that there is a lot of shared information passed between computers in relation to units, and since he is so close to the limit on units, things like pathfinding, orders, and positions are really causing the majority of the lag as there is so much information being passed back and forth.



None.

Apr 21 2009, 5:31 am Pinky Post #17



Come on guys how many times do I have to say it, I'm 100% sure it isn't my friend. I've testd with several different players via LAN and always experience lag. Also playing on the same connection with different maps. SO let's just forget that theory, it's DEFINITELY my map that has the lag.

Now preplaced units, I do have a lot of them, but they are all buildings, they don't receive any move orders or anything. How many preplaced units should I delete to remove the lag? Is it definitely the preplaced units causing the lag?

I do have a lot of locations being centred on units, around 20 or so.
I have around 60 units spawning and Junk Yard DOgging around also.

I have a couple of Pylon Aura Sprites. Hmm around 15 I would say.



None.

Apr 21 2009, 5:56 am Riney Post #18

Thigh high affectionado

Quote from Pinky
Come on guys how many times do I have to say it, I'm 100% sure it isn't my friend. I've testd with several different players via LAN and always experience lag. Also playing on the same connection with different maps. SO let's just forget that theory, it's DEFINITELY my map that has the lag.

Now preplaced units, I do have a lot of them, but they are all buildings, they don't receive any move orders or anything. How many preplaced units should I delete to remove the lag? Is it definitely the preplaced units causing the lag?

I do have a lot of locations being centred on units, around 20 or so.
I have around 60 units spawning and Junk Yard DOgging around also.

I have a couple of Pylon Aura Sprites. Hmm around 15 I would say.

Defently your friends/your computer. TONS of buildings + Pylon auras lag like balls. Are you familiar of the map Labrithinos? It lags and has barely any buildings (Just tons of pylon aura sprites)

Play THAT and see if it lags.



Riney#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

Apr 21 2009, 6:00 am Falkoner Post #19



I don't think that's it definitely a computer issue, what sprites do you have, and what buildings do you have? In fact, better yet, post the map and we can settle all argument.



None.

Apr 21 2009, 9:59 am NudeRaider Post #20

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Pinky
How many preplaced units should I delete to remove the lag? Is it definitely the preplaced units causing the lag?
C'mon, how long does it take to test?
Go ahead and try and report back!




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:19 am]
Linekat -- cool
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[2024-4-19. : 10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
Please log in to shout.


Members Online: Oh_Man