1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

[JB2004 SP2 @ 3369] Tie in round-breaking arena match considered as a blue team win

Discussion in 'Jailbreak Support' started by _Lynx, Dec 16, 2005.

  1. _Lynx

    _Lynx Strategic Military Services Staff Member

    Joined:
    Dec 5, 2003
    Messages:
    1,965
    Likes Received:
    8
    If the round winner is determined in arena match (all other players are jailed, in my case there were one free player in both teams and right after arena match has started, they killed each other) and that match is tied, instead of counting a draw, game gives victory to the blue team. In my case red player even killed his opponent in arena, but within a second fell into lava and died. There was a message saying that the arena match is tied and both teams gathered in their jails. I guess in this case code just as usual checks if one of the team jailed and just as usual team with index 0 is checked first. If true, blue team isn't checked. I remember there was similar bug in Onslaught, when both cores blow up simultaneosly due to draining.
     
  2. Vatcilli zeitchef

    Vatcilli zeitchef Dead and back

    Joined:
    May 16, 2005
    Messages:
    665
    Likes Received:
    0
    That can certainly break a match....
    Lynx you know a way to fix that?
     
  3. _Lynx

    _Lynx Strategic Military Services Staff Member

    Joined:
    Dec 5, 2003
    Messages:
    1,965
    Likes Received:
    8
    should be quite simple.

    By default the code is smth like (haven't looked but that's the only way that may cause that):
    Code:
    if (team[0].bIsJailed)
    BlueWinRoundStuff;
    else
    RedWinRoundStuff;
    and it must be done like that:
    Code:
    if (team[0].bIsJailed && !team[1].bIsJailed)
    BlueWinRoundStuff;
    else if (team[1].bIsJailed && !team[0].bIsJailed)
    RedWinRoundStuff;
    else 
    RoundTiedStuff;
     
  4. _Lynx

    _Lynx Strategic Military Services Staff Member

    Joined:
    Dec 5, 2003
    Messages:
    1,965
    Likes Received:
    8
    holy cow, developers, where are you?
     
  5. tarquin

    tarquin design is flawed

    Joined:
    Oct 11, 2000
    Messages:
    3,945
    Likes Received:
    0
    There's just Mychaeel and Wormbo really. Both are known to be busy with real life and haven't been seen around here in a while.
     
  6. Mychaeel

    Mychaeel New Member

    Joined:
    Oct 3, 2001
    Messages:
    3,830
    Likes Received:
    0
    I'm here. I don't see any cow around, though, holy or otherwise.

    There is code in Jailbreak that allows for ties, e.g. when both last players kill each other with their rocket launchers. There should not be an execution when both teams are considered "captured" at the same time; nor when the capturED team's release is active; nor when somebody from the capturING team is still in the arena (see function ExecutionInit in Jailbreak.uc). There can't even be a race condition in there -- UnrealScript isn't multi-threaded.

    If the red player went back to jail first, there'd still have been a blue player in the arena before he respawned in jail too. If both players had already respawned in jail when the capture check came to pass, there would have been a tie.

    I'm stumped as to why what you experienced could have happened. :hmm:
     
  7. Vatcilli zeitchef

    Vatcilli zeitchef Dead and back

    Joined:
    May 16, 2005
    Messages:
    665
    Likes Received:
    0
    Ahh mych, long time since you posted here, some of us were starting to get worried ;)
     
  8. Jrubzjeknf

    Jrubzjeknf Registered Coder

    Joined:
    Mar 12, 2004
    Messages:
    1,276
    Likes Received:
    0
    Lynx, can you reproduce this problem under different circumstances and post the results?
     
  9. _Lynx

    _Lynx Strategic Military Services Staff Member

    Joined:
    Dec 5, 2003
    Messages:
    1,965
    Likes Received:
    8
    I'll try to recreate it but not sure of the result.
     

Share This Page