Staredit Network

Staredit Network -> UMS Assistance -> Victory trigger sometimes ends game in failure
Report, edit, etc...Posted by Viett on 2005-08-24 at 18:42:10
Problem:
Whether or not the winning team ends up in Victory is completely random. Most of the time the winning team ends in Victory, but there is a small chance that for some unknown reason they end in failure.

These are my Victory Triggers for my 4v4 UMS Map:

Players:
Home

Conditions:
Away commands exactly 0 Protoss Nexus

Actions:
Comment: Victory
Set 'Home Wins'
Play 'transmission.wav'
Display for current player: Enemy Destroyed
Wait 1500 milliseconds
Display for current player: [Credits go here]
Wait 1500 milliseconds
End scenario in victory for current player

The same trigger is used for the opposite team. There are no defeat triggers used. The switch activates a trigger that displays credits for the losing team, but no defeat trigger is used with it.
Report, edit, etc...Posted by uberfoop on 2005-08-24 at 18:46:03
all players that dont get a victory trigger at the same time as another victory trigger automatically lose.
Report, edit, etc...Posted by Gigins on 2005-08-24 at 18:46:11
Do you get "opposing team wins" when winers end in failure?
Report, edit, etc...Posted by Oo.Vic.oO on 2005-08-24 at 19:22:16
when 1 person get a victory, all other players who doesnt ally victory to that player will get a lose
Report, edit, etc...Posted by Viett on 2005-08-24 at 19:57:15
QUOTE
when 1 person get a victory, all other players who doesnt ally victory to that player will get a lose


I think I understand all of that, but if what I think is correct, there is nothing wrong with my triggers. What should I do to fix the problem?
Report, edit, etc...Posted by SacredElf on 2005-08-24 at 20:04:14
games shorter than 2-4 mins ends on defeat (b.net)
Report, edit, etc...Posted by Viett on 2005-08-24 at 20:08:25
QUOTE(SacredElf @ Aug 24 2005, 08:04 PM)
games shorter than 2-4 mins ends on defeat (b.net)
[right][snapback]297579[/snapback][/right]


I've had this happen on long games (5 minutes +)

Can anyone help me out here? I just double checked my triggers and they seem fine.
Report, edit, etc...Posted by SacredElf on 2005-08-24 at 20:29:21
attach the map so we can see what happend
Report, edit, etc...Posted by Oo.Vic.oO on 2005-08-24 at 20:45:47
QUOTE
games shorter than 2-4 mins ends on defeat (b.net)


doesnt it end with a draw??
Report, edit, etc...Posted by Viett on 2005-08-24 at 20:54:13
The map's attatched.
Report, edit, etc...Posted by Oo.Vic.oO on 2005-08-24 at 21:45:55
its...protected
Report, edit, etc...Posted by SacredElf on 2005-08-24 at 22:00:22
QUOTE
doesnt it end with a draw??


Aww, Draw defeat w/e angry.gif

QUOTE
its...protected


use trigger viewer closedeyes.gif
Report, edit, etc...Posted by Urmom(U) on 2005-08-24 at 22:35:30
wait, if current player commands 0 nexuses, wouldnt that make him lose? or is that suposed to happen
Report, edit, etc...Posted by Viett on 2005-08-25 at 18:58:28
QUOTE(urmom @ Aug 24 2005, 10:35 PM)
wait, if current player commands 0 nexuses, wouldnt that make him lose?  or is that suposed to happen
[right][snapback]297716[/snapback][/right]


No. I used no defeat triggers, just victory. If Home get victory, Away automatically loses and vice-versa.

ADDITION:
Can anyone help me out here? I really don't get what's wrong with my triggers.
Report, edit, etc...Posted by PCFredZ on 2005-08-25 at 20:11:21
QUOTE
Whether or not the winning team ends up in Victory is completely random. Most of the time the winning team ends in Victory, but there is a small chance that for some unknown reason they end in failure.

Do you remember doing anything differently in the different tests?
Report, edit, etc...Posted by AFL-InuYasha on 2005-08-25 at 20:58:13
ppl, ppl, ppl, cmon

only problem i can think is that he didnt use any trigs to set alliance status to allied victory, but he has thoses triggers, i think maybe the ally stuff may hav to b done for ea player instead of a force, this happened to me once, i had to chk player 1-3 instead of force 1 for allying
Report, edit, etc...Posted by Neiji on 2005-08-25 at 21:04:04
I think that when you lose, you lose control of your buildings. And, maybe teheres's a trigger that says that if he has 0 unit or building, you lose. And, victory takes a while to pop up, so I think that's the problem... But I'm a noob...
Report, edit, etc...Posted by Viett on 2005-08-25 at 22:53:57
The games that ended in victory ended in the same way as the games that ended in failure.

And I forgot to note, I had the following trigger running during the game (No hypertriggers):

Players:
Home

Conditions:
Always

Actions:
Set Home to Ally
Set Home to Allied Victory
Preserve trigger

I used a similar trigger for away as well.

ADDITION:
QUOTE(Neiji @ Aug 25 2005, 09:04 PM)
I think that when you lose, you lose control of your buildings. And, maybe teheres's a trigger that says that if he has 0 unit or building, you lose. And, victory takes a while to pop up, so I think that's the problem... But I'm a noob...
[right][snapback]298348[/snapback][/right]


As I said earlier, I have no Defeat triggers.
Report, edit, etc...Posted by PCFredZ on 2005-08-25 at 22:58:11
QUOTE(AFL-InuYasha @ Aug 25 2005, 08:58 PM)
ppl, ppl, ppl, cmon

only problem i can think is that he didnt use any trigs to set alliance status to allied victory, but he has thoses triggers, i think maybe the ally stuff may hav to b done for ea player instead of a force, this happened to me once, i had to chk player 1-3 instead of force 1 for allying
[right][snapback]298342[/snapback][/right]

He has allying and allied victory. Doing them individually won't solve anything.

I thought maybe Hyper Triggers would mess up the Waits, but it doesn't look like he used Hypers anyway.
Report, edit, etc...Posted by Viett on 2005-08-26 at 23:46:11
I found some things seriously wrong with my strings [Most likely caused by StarForge Plus] and I'm going to assume something there caused a problem. I replaced the currupted strings with new ones. I hope it will work now, but I have yet to test it out.

ADDITION:
Didn't work, so I put in a whole new set of triggers. I hope the new ones will work.

ADDITION:
I figured out the problem. Though my strings were messed up, they weren't the problem. My waits were (can't believe I didn't see it earlier). Though I haven't written up the triggers yet, this is what I'm planning on doing:

Trigger 1:
Set deaths of [Unit] to 1

Conditions for Victory 1:
Opposing team commands 0 Protoss Nexus
Actions for Victory 1:
[Credits]
Set Deaths of [Unit] to 0

Conditions for Victory 2:
Team has sufferend 0 Deaths of [Unit]
Opposing team commands 0 Protoss Nexus
Actions for Victory 2:
Victory!

This way the Victory trigger waits until all of the players are done viewing the credits, instead of handing a defeat to those who haven't.

ADDITION:
Didn't work. I'm clueless.

ADDITION:
I just played a game with NO WINNER. WHAT THE ****!?

Let's look over the facts:

THERE ARE NO DEFEAT TRIGGERS USED
THERE WAS NO WINNER

HOW THE ****!?!
Report, edit, etc...Posted by PCFredZ on 2005-08-27 at 00:01:41
QUOTE(Viett @ Aug 26 2005, 11:46 PM)
ADDITION:
I just played a game with NO WINNER. WHAT THE ****!?

Let's look over the facts:

THERE ARE NO DEFEAT TRIGGERS USED
THERE WAS NO WINNER

HOW THE ****!?!
[right][snapback]299040[/snapback][/right]

You're not being specific enough.

How many players tested on each force? How long was the game? What did you mean "NO WINNER"?

Saying "WHAT THE ****" a hundred times doesn't help you, and only annoys us, your helpers.
Next Page (1)