Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Annoying glitch in my bound

Creator: Fawkes
Time: Dec 17 2007, 10:25 pm

Post #1     Fawkes Dec 17 2007, 10:25 pm

[Avatar]
 offline contact
In between the levels in my bound, there are bonus games. Im working on the first one, and it's not working properly. At the start of the game, two overlapped msgs are supposed to show up in order. They are, "Game: Dodge the Zingers," and, "Touch the Zingers and you die!" A timer is supposed to start with these messages. After the timer reaches 0, queens appear and try to chase you. One player must survive for 60 seconds in order to win. Instead, this happens:

Game: Dodge the Zingers appears
The timer does not start
The other message does not show up
The 60 second timer starts in 5 seconds and queens appear
About a minute after the bonus game music stops, Game: Dodge the Zingers appears followed by Touch the Zingers and you die!, then a timer counts from 5 to 0 and nothing happens.

Everything except the message (which is put in the same trigger as the timer (maybe this is the problem?)) seems to work. Does anyone know how to fix this.
Top

Post #2     Falkoner Dec 17 2007, 10:28 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
You probably are getting Wait Blocks, since the first thing runs, then it hits a wait, so it doesn't run the rest.
Top

Post #3     Fawkes Dec 17 2007, 10:33 pm

[Avatar]
 offline contact
Err nvm, I fixed it myself =]
Top

Post #4     Fawkes Dec 17 2007, 11:03 pm

[Avatar]
 offline contact
Turns out I didn't fix it. I saw it once (I swear) where it did it correctly. I DID NOT CHANGE IT after that, yet on all test runs after that time, only the first message showed up. However, the timer works. Also, in the run where it worked correctly, the timer showed up after the messages. I don't have a clue why this happened.
Top

Post #5     Fawkes Dec 17 2007, 11:17 pm

[Avatar]
 offline contact
I checked it again. After I died, the two msgs showed up properly. However, it was much faster than before. How do I make it so the msgs show up BEFORE the game starts?
Top

Post #6     NudeRaider Dec 17 2007, 11:35 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
Lol you are not making much sense ;)

However its almost sure you are experiencing wait blocks.
Don't execute ANY wait (includes hypertriggers) while another wait is running.

Replace the waits with Death Counters.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #7     Falkoner Dec 17 2007, 11:48 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Hmm, well, since you have the Hyper Triggers under All Players, I believe, you dying would clear up a wait block, so just move them back down to the bottom of the trigger list.
Top

Post #8     Fawkes Dec 18 2007, 1:29 am

[Avatar]
 offline contact
The hypers are in P7 (P7 has no other triggers). I also switched the txt msgs. to death counts and it still won't work.
Top

Post #9     Falkoner Dec 18 2007, 12:28 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Can you post the map/triggers?
Top

Post #10     NudeRaider Dec 18 2007, 5:56 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
Quote from FawkesThe hypers are in P7 (P7 has no other triggers). I also switched the txt msgs. to death counts and it still won't work.

As I said... some other triggers' condition(s) must be met which is executing a wait.
Find it, remove the wait or fix the condition and it will work fine.

When you can't find it then copy all triggers via scmd's text base trig edit to the notepad and search for all waits.
Ignore the waits in triggers that don't run for the player with the msgs.
The best would be to remove ALL waits and ALL Transmissions (uses wait) to avoid the wait block. Saves you the search. ;)

Or double check all conditions on what they depend. Maybe a 3rd trigger is creating a unit, modifying a dc or w/e when it wasn't supposed to...
Its a bit of work, but we would have to do the same to find it if it isn't obvious.
And when it was obvious you would have found it already. ;)
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #11     Fawkes Dec 19 2007, 2:56 am

[Avatar]
 offline contact
How do I post the map?
Top

Post #12     Cheeseman119 Dec 19 2007, 4:08 am

[Avatar]
 offline contact
on the thread creator click on Add Attachments and find your map then add it
Top

Post #13     Fawkes Dec 19 2007, 10:41 pm

[Avatar]
 offline contact
I cant, the filesize is too big?? Wtf? it's only 1.21 MB, even though the thread creator says the max is 3 MB.
Top

Post #14     Falkoner Dec 19 2007, 10:55 pm

[Avatar]
Taking StarCraft Map Making to the Limit!
 offline contact
Host it at mediafire then.
Top

Post #15     Fawkes Dec 19 2007, 10:57 pm

[Avatar]
 offline contact
Done.

http://www.mediafire.com/?dzs1rrvtltl
Top

Post #16     Fawkes Dec 23 2007, 2:40 am

[Avatar]
 offline contact
I can't find the wait causing the block anywhere.
Top

Post #17     NudeRaider Dec 23 2007, 12:40 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
EDIT: Oops double post (damn slow Staredit)
This post was edited 1 time, last edit by NudeRaider: Dec 23 2007, 12:51 pm.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #18     NudeRaider Dec 23 2007, 12:50 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
Quote from FawkesI can't find the wait causing the block anywhere.

Jeez, I guess you haven't followed my guide on how to find the less obvious wait blocks or you would have found it easily.
In fact I laughed about it when I found it because it's quite obvious.

Now go back to your map and check which preserved triggers for Force 'Diddy KongZ' contain at least 1 wait (ignore the conditions, just check which have waits).
Use the textbased trigedit for this and copy the triggers into notepad and search for 'wait'.
Then you will find out that there's 1 trigger that runs always with a very long wait.
So when your animated text/wait combos kick in you get the block.

The fact that it's a very long wait explains the "random" blocking behaviour you experienced, since the block isn't as long when you hit the wait when it's almost finished.

Replace the long wait with a dc that counts from 1613 down to 0.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top

Post #19     Ahli Dec 23 2007, 6:38 pm

[Avatar]
Master of 239.242 D1 Items
 online contact
a player can only have 1 wait at a time.
use a deathcount (DC) timer for your music, too.
(user posted image)
Top

Post #20     Fawkes Dec 23 2007, 8:02 pm

[Avatar]
 offline contact
I found three waits besides the ones in text messages: one in winning the game, another for losing, and one in the music. I removed the two in the winning and losing triggers. The music wait is the only one that is constantly running. Is that screwing up my map? I don't understand why because it doesn't mess up the intro text messages.
Top
0 members in this topic: None
+ 1 guest(s)


[10:41 pm]
Corbo[MM] -- ...lolwut....?
[10:27 pm]
Centreri -- Hey, why do people say that Russian 'Greetings' as Zdrastviche? It's not that at all. It's Zdrastvuyete. Weird.
[10:26 pm]
[Echo]:] -- Moi Moi l'urine!
[10:26 pm]
[Echo]:] -- BONJOUR!
[10:25 pm]
Centreri -- Amuse me as I work on French Homework!
[10:23 pm]
Centreri -- I can wait a bit more :( .
[10:22 pm]
[Echo]:] -- I have left over Easter jellybeans, yum!
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions