Loading...
  OR  Zero-K Name:    Password:   

1.7.8.2 brutal ai won't resign in game preventing victory

10 posts, 181 views
Post comment
Filter:    Player:  
sort
CArankni
12 days ago
Quite frequently while playing skirmish vs 1 brutal AI, it fails to resign when it's defeated.
This is without doing a load of a saved game. In some cases the /cheat command was used to spawn some units earlier in the game maybe this has something to do with it, but regardless, the game should end as normal.

when victory is achived there is something similar to the following printed in the chat:
victory condition DEBUG
ally team 1 met conditions for defeat
team should resign
+0 / -0
12 days ago
when /cheat is used the game simply won't end, an if it's a match on the official servers then the replay will not be recorded online. If you can reproduce it in a game without /cheat that would be helpful(to someone else I don't know how the AI works).
+0 / -0
CArankni
12 days ago
can this be fixed so that the game ends even when /cheat is used?
+0 / -0


12 days ago
There's nothing to fix, that behavior is by design. It's used for testing and debugging purposes.

If you're done playing and want the game to end, say /cheat again to turn cheats off and the game will end.
+1 / -0


12 days ago
USrankCrazyEddie is correct. Typing /cheat (or !cheats in an autohost) toggles cheat mode between enabled and disabled. When cheat mode is enabled there is nothing that can cause the game to end. If the game would have ended then the trigger is printed as debug output. This streamlines development workflow as nobody has to worry about accidentally end the game while testing things in a sandbox.

To make the game end, toggle cheat mode. The game end conditions were previously met then it will end when cheat mode is disabled.
+0 / -0
CArankni
11 days ago
I tried turning it off again, but the cheat button didn't go away so it seems like it wasn't toggled off again.

What is an autohost and why do I have to type !cheats instead of /cheat
+0 / -0


11 days ago
An autohost is what you get when you play a multiplayer game. Press F8 to see whether cheats are toggled.
+0 / -0
CArankni
11 days ago
Also your save/load algorithm also saves the cheat state and loads it. Not sure if it is a good thing to save this or not, and not sure if cheats are disabled, if it will save it as enabled. Something you might want to look into.

Why doesn't the cheat button disappear when you turn cheat mode off?
+0 / -0

11 days ago
quote:
Why doesn't the cheat button disappear when you turn cheat mode off?

Accessibility. The cheat menu allows you to easily turn cheats back on (using a checkbox instead of having to type it manually again) and to see whether various cheat effects (instant build etc) are still enabled (toggling cheats just controls whether you can enable the actual cheat effects but the effects themselves stay enabled even if you disable cheats, you just can't toggle them off).
+0 / -0
CArankni
3 days ago
Thanks for the explanation. Makes sense.
+0 / -0