Redwall: Warlords

Discussion => Turbo Discussion => Topic started by: Wolf Snare on September 15, 2013, 07:12:30 PM

Title: Bug
Post by: Wolf Snare on September 15, 2013, 07:12:30 PM
Your enemy's defenses are fortified! Your army takes a critical blow and is unable to do full damage to your enemy!
Your Army breaks through Snowy Fir's defenses and captures 3,437 Acres of Land! In the effort, you lost:
8,029,532 Rats
In their defense, Snowy Fir lost:
5,909,134 Rats
You also grabbed 13,630,955 Food!
Economic Status
Income:   $11,030,190
Expenses:   $62,528,265
War Tax:   $0
Loan Pay:   $0
Net:    -$51,498,075
Food Status
Produced:   nan
Consumed:   nan
Clan:   nan
Net:    -+nan
Workers and Army Status
Recruited Workers:    -+nan
New Workers:    -+nan
Leaders:    +908
Loyalty:    +5,077
Rats:    -+nan
Weasels:    -+nan
Stoats:    -+nan
Skiffs:    -+nan
Due to lack of Food, 3% of your Army has left!
Economic Status
Income:   $nan
Expenses:   $nan
War Tax:   $0
Loan Pay:   $0
Clan:   $nan
Net:    -$+$nan
Food Status
Produced:   nan
Consumed:   nan
Clan:   nan
Net:    -+nan
Workers and Army Status
Recruited Workers:    -+nan
New Workers:    -+nan
Leaders:    +1,078
Loyalty:    +5,076
Rats:    -+nan
Weasels:    -+nan
Stoats:    -+nan
Skiffs:    -+nan
Due to lack of Food, 3% of your Army has left!
Something Has Occurred
MySQL Query Error (1054) Unknown column 'NAN' in 'field list'


I have 2b food, why am I getting desertions?
Title: Re: Bug
Post by: Wolf Snare on September 15, 2013, 07:14:36 PM
also: losing 12% health per attack, along with the very inconvenient 6% desertions per attack..
Title: Re: Bug
Post by: Sevz on September 15, 2013, 07:15:57 PM
I'm just a witness and a troll. Well done Shadow you rigged this
Title: Re: Bug
Post by: Shadow on September 15, 2013, 07:20:17 PM
It's a known bug (sort of) to do with land discrepancies. When the game demos buildings to maintain half land it sometimes makes mistakes. I haven't yet been able to isolate under what circumstances it screws up but I have an idea that might avoid the issue entirely. I just haven't had any time to implement it.

In the meantime I fix land discrepancies on a daily basis. You should be good to go again.
Title: Re: Bug
Post by: Sharktooth on September 15, 2013, 07:26:19 PM
the "nan" thing happened to me too.

http://www.redwallwarlords.com/forums/index.php?topic=17234.msg362303#msg362303
Title: Re: Bug
Post by: Shadow on September 15, 2013, 07:28:35 PM
it means that either the game divided by 0 or took the square root of a negative number.
Title: Re: Bug
Post by: Shadow on September 16, 2013, 04:25:32 PM
Turns out bots don't play nice with half land, they've been disabled until we sort that out.
Title: Re: Bug
Post by: Sharktooth on September 16, 2013, 04:40:02 PM
yay! :)