HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

My map started taking the wc3 speed to ZERO ... ?!

01-20-2003, 03:54 PM#1
Guest
Hey..

For some reason my map takes ALOT of system ressources. In an early version, my friend complained bout unplayable lag.. now after i added more stuff i have the same..
first i removed some weather effects - no change
then I put all graphic options down to low/off - abit better, but still unplayable
(512 ddr ram, 1800 athlonxp, gf4 - shouldnt be my system)
well, with low graphics all was fine until 10+ units spawned.. unplayable again (and ugly)

I think the units i made take down the speed..
..but i would be very happy if someone already had this problem or would take a look at the map..

I didnt even add much in this map. Im making a mix between survival/def/rpg. its still a very easly version..
- Small map 64x64
- Whole map modified with "apply height" thingy, most forests are high, the ways are low.. looks cool. Half of the map is filled with trees and other doods - but mainly trees
- weather effects removed :-(
- units edited: like 2
- new custom units: like.. 10? (4 heroes)
- 17 new spells, some bXXX entries of org spells changed
- lots of trigger stuff

someone has an idea? or time to look at the map?

im lost :-(
01-20-2003, 03:58 PM#2
MrDoomMaster
attach the map i'll play it for you
01-20-2003, 04:04 PM#3
Berry2K
Too many doodads might be a problem, even trees; but on a 64x64 map that's prolly not it. If you attach the map I can take a look. A problem with the triggers is also quite likely, but I can't really help you if I can't see the triggers myself.
01-20-2003, 04:07 PM#4
Guest
still bugs and stuff in >_<
After the crappy lvl-3 intro its over, you can leave the graveyard with the command "-free"

little comment, some of the triggers will maybe look wierd :-P thats cause i still test alot on that map, most of em need a little rework >_<
01-20-2003, 07:00 PM#5
ph33rb0
I would definitely say your problem lays in having either too many periodic triggers or too many triggers that fire too quickly.

EDIT: Recently I was fooling around in AbilityData.slk and imported it into a map of mine. I had changed one thing - Trueshot Aura. I set the values insanely high like for the first level 3, then 5, and finally 10. This caused the map to slow down tremendously. It was actually just a copy of Ice Crown with a modded abilitydata, but after I had finished playing that I played the normal Ice Crown and all went well.

If you have a modded AbilityData.slk in your map that may be the cause.
01-21-2003, 04:05 PM#6
Guest
bump..... need still help
01-21-2003, 04:52 PM#7
FyreDaug
I'd be willing to bet your problem is in AbilityData.slk if you set a property of an allied effect (IE an aura) too high, war3 won't be able to set it to a proper value for the unit, check your AbilityData.slk
01-21-2003, 05:29 PM#8
Guest
hmm hmm .. abilitydata... ok.. ill take a look and to save your time, i will copy all the CHANGES here, if i cannot find it :-)
01-21-2003, 05:37 PM#9
BoddoZerg
Do you have a lot of special effects?

Even though many Special Effects, like explosions and Blizzard spikes, seem to disappear after they play, they are really still there, using up memory. If your map uses heavy amounts of special effects, you will have to make an array to keep track of all of them, and delete them when they are over.
01-21-2003, 06:56 PM#10
Guest
i used 4 special effects... all 4 are created during the intro and get deleted 2 secs later
01-21-2003, 07:10 PM#11
Guest
I took a look at my abilitydata.slk

Only 16 new spells, NO "real" aura

Fire Claws: Searing Arrow Edit, melee attack
Burning Aura: Perma Immolation with long range
Explosion: Nova with no target dmg
Rain of fire: starfall with new graphic and minor changes
transform: meta into a dragon

siren cry: long range warstomp
charm: item command (scepter) edit as skill
cold kiss: nova without nova dmg ;-)
ghostform: invul with a new graphic and only 1 lvl
sacrifice: extreme unholy frenzy lasts like 5 minutes, does lots of dmg but also lots of attack speed increase

deadly strike: critical strike edit
shadowmaster: mirror image that does same dmg and holds same dmg, 1 lvl only
whirlwind: 3 lvl bladestorm
spiked net: entangle edit
shadow: 1 lvl windwalk

lvl up stats: used as button to enter the "statpoint" menu, based on water ele, summons a flying critter with a 0 sec duration

displace: unused, mirror image that has 0 mirrors, it teleports the hero abit :-)


can anybody see a problem there? :-( i will look at my triggers now
01-21-2003, 07:20 PM#12
Guest
1x map initialization
1x player enters chat
6x unit enters region
1x unit leaves region (this is the WHOLE fighting area, maybe dying units count as leaving and decaying corpses also???)
1x player left (x4)
2x unit gains a lvl
2x unit is summoned
6x no event
2x dialog button pressed
1x after 1 sec gametime, after 4 sec, after 5 sec, after 9 sec, after 14 sec, after 20 sec, after 22, after 25, after 30, after 32 secs, after 25 secs
1x unit dies
1x unit is attacked
1x times expires

^--- they are ALL activated at the starting

4 empty trigger disabled and initially off

the following are all initially off and get enabled before the are used:
1x unit dies
9x no event
2x unit enters
5x timer expires (wait doesnt work multi >_< so i use timer)
01-22-2003, 05:52 PM#13
Guest
dump...
still need help :-(
01-23-2003, 11:01 AM#14
Guest
nobody any idea or the wish to help? :-(
01-24-2003, 04:49 AM#15
Guest
I noticed that weibbe's spell editor seems to randomly corrupt the AbilityData.slk file, so if you've ever exported from it atleast one time and are using that same file, that's probably the cause of the problem.

Why do I say this? I had the same exact problem. I have 16 custom spells, and I had used the editor a few times, eventually settling to just edit with Excel. Once I re-extracted the AbilityData.slk file from the MPQ, and copy/pasted my abilities from my previously edited file into it, it had ZERO LAG PROBLEMS. Granted, due to Excel 2k and its whole infatuation with Symbolic Link, I lost the comments on some of the data fields. But most importantly, the lag was gone, and my abilities worked.

I hope this helps, and I hope the corruption from weibbe's editor wasn't in your custom abilities - else you may have to just re-do them.

peace