Food without units... WTF?

Status
Not open for further replies.
Level 27
Joined
Oct 18, 2008
Messages
955
in my map both teams spawn a random unit on random arena for every player and they fight. when either team is all dead (food is 0), there is a new round.

the bug happens randomly. a player gets food when he has no units. i added -showall command to see if a unit had somehow got in a different area. sometimes the trigger seems to spawn in 2 arenas but ff'ing removes them as supposed.

sometimes someone gets food when he has absolutely no units. ff'ing does nothing and -showall finds nothing.
 

Attachments

Last edited by a moderator:
  • Angry
Reactions: Rui
Mh I had no time to check your map but for me it seems like it would be much easier to use an integer to check the numbers of dying units...

Agreed.Try to use it like this.Then if the same problem occurs try it again yourself.If there is still no solution make a post here again and we will help you as much as we can.
 
do your dummy units have a food count and are you properly removing them when they are done? either giving them a general expiration timer or a negative health regen so they die shortly after spawning.
do you have buildings in your map and do they cost food for players?
every time it happens write down what units you have done and skills used. odds are a trigger is making an invisible unit that isnt being removed (commonly a dummy unit)
 
Yeah thats most likely, if you can't find any of that, try to do as much debugging to find exactly when the extra food occurs, that should give more information as to how to solve the problem.
 
So, if I understand correctly, the map spawns a random unit for each player, and then players fight to the death?

When exactly does this bug occur, then? When the unit is spawned? After the unit has died?
 
Status
Not open for further replies.
Back
Top