HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A Map with ONE trigger lags? Say what?

01-04-2008, 07:32 PM#1
Wensey
My map lags. A lot. Not on my end, but on the end of thepeople playing with me. The internet speed in my house also goes to hell. The weird thing is, I only have ONE trigger, and it does not create special effects, buffs...all it does is remove units when theyre finished training and replace with a random creep equal to their level.

One thing I did do was, to get more creeps, go to the editor-tileset value under each and every creep and set it to "all". Could this cause lag, even though I'm only using the default Icecrown Glacier tileset?

Again, I have ZERO special effects going on, no music, no custom buffs or anything, normal amounts of units...

I PREVIOUSLY had about 45 minutes worth of imported music, but I have removed that. That used to cause ungodly long saving times.
01-04-2008, 07:44 PM#2
Zandose
Post the map or the trigger. Also large maps with a lot of creeps require more computer resources and may slow the game down, and there is also first time load lag. Anyways, post the trigger or upload the map itself.
01-04-2008, 07:53 PM#3
Wensey
http://www.mediafire.com/?4got9dqoij5
01-04-2008, 09:04 PM#4
Zandose
I looked at the triggers and played the map, and I didn't notice any lag. Does the game lag right away or later on into the game? I think I found a trigger which leaks and would cause problems later on in the game. "GetUnitLoc" creates a location which is not removed. Set "GetUnitLoc" to a variable first then remove when done with it. I've uploaded a map with the fix. Give it a try and see if it helps.
Attached Files
File type: w3x(2)GlacialThaw.w3x (176.6 KB)
01-04-2008, 10:15 PM#5
Jazradel
Definitely not the creep thing, I use that in a whole heap of my maps.
Quote:
One thing I did do was, to get more creeps, go to the editor-tileset value under each and every creep and set it to "all".
I sure hope you didn't use the object editor and do every every creep manually.
01-05-2008, 04:50 AM#6
Wensey
As I spent twenty minutes doing exactly that, I was constantly thinking "There has to be a better way, but I bet by the time I figure it out I could have been done by then."
I feel really stupid.

The lag was periodic "waiting for host..." by the person I was playing with. It might be unrelated to the map, but thanks for the memory leak fix.