PDA

View Full Version : frustrating mystery


superspiff
04-10-2005, 1:12 PM
ARGH! I cant seem to fix this stupid problem! :mad2:

I posted this problem pages back, then said that i fixed it, but now found out i really didnt...

Anyway, i hav a huge rpg with many triggers, and when i test it, there's an annoying pause every second. Its very breif and unnoticable in singleplay, but when i play w/ other ppl, its very long, almost as if it is lag.

Its not the one second delay that people usually fix with hypertrigs. Its more like lag. I believe my problem is due to too many "preserve trigger" trigs all at one time:

I had many triggers using
"always"
--------
(tons effects etc)
"preserve trig"

The pauses were horrible even in singleplayer (2 seconds max). I did some trigger work and placed more specific conditions so that the triggers would not be running every second from when the game starts. The strange pauses got a lot shorter but are still there. Ive tested and retested with different triggers deleted, units deleted, and triggers switched around. I only notice that the strange pause gets shorter when i delete gigantic chunks of trigs, which is unplausible. I've been told my computer isnt fast enough to process the map, but its only 143 kb when protected, which is smaller than maps like quests and uprising. either im stupid, my map is full of crap, or my computer sucks.

anyone with an idea or comment is begged to post here... i am desperate:(

Hikari256
04-10-2005, 10:04 PM
Always Condition + multiple actions in the prescence of hyper triggers....... Hello? Isn't there an obvious problem here?

Always Condition + multiple actions in the prescence of hyper triggers = Many many thing shappen at a very fast rate and just keep on going = prodigious use of memory = lag.

Correct me if i err.

UED77
04-10-2005, 10:17 PM
Hikari is right. Try to make your triggers only execute if they must, and make your conditions more logical.

UED77