Redwall: Warlords

Discussion => Help / Bugs => Topic started by: Sharktooth on September 07, 2013, 01:02:41 PM

Title: What the hell is this?
Post by: Sharktooth on September 07, 2013, 01:02:41 PM
Your Army breaks through Risk's defenses and captures 1,358 Acres of Land! In the effort, you lost:
1,314 Stoats
In their defense, Risk lost:
36 Stoats
Economic Status
Income:    $5,353,592
Expenses:    $2,909,083
War Tax:    $0
Loan Pay:    $61
Net:    +$2,444,448
   
Food Status
Produced:    nan
Consumed:    nan
Net:    -+nan
   
Workers and Army Status
Recruited Workers:    -+nan
New Workers:    -+nan
Leaders:    -19,091
Loyalty:    +2,099
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:    $61
Net:    -$+$nan
   
Food Status
Produced:    nan
Consumed:    nan
Net:    -+nan
   
Workers and Army Status
Recruited Workers:    -+nan
New Workers:    -+nan
Leaders:    -17,592
Loyalty:    +2,099
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'

What happened?!
Title: Re: What the hell is this?
Post by: Sharktooth on September 07, 2013, 01:10:58 PM
it just got fixed.
Title: Re: What the hell is this?
Post by: Sharktooth on September 07, 2013, 01:11:58 PM
and it happened again!
Title: Re: What the hell is this?
Post by: windhound on September 07, 2013, 01:28:46 PM
nan is likely "not a number"

Why?  Not a clue.
I'll look it over tonight unless Shadow would like to giv'r a go first
Title: Re: What the hell is this?
Post by: Sharktooth on September 07, 2013, 01:36:45 PM
okay. its stoped, so i think its fixed. its strange because i had more than enough food...
Title: Re: What the hell is this?
Post by: Shadow on September 07, 2013, 02:19:30 PM
Oh right, that's why I stopped using half land ^_^

land discrepancies cause weird glitches sometimes.
Title: Re: What the hell is this?
Post by: Shadow on September 11, 2013, 08:23:15 AM
Incidentally it's interesting how gracefully the game (SQL really) handles NaN: http://dev.mysql.com/doc/refman/5.1/en/out-of-range-and-overflow.html

I guess we're working in strict mode, otherwise it wouldn't be so graceful.
Title: Re: What the hell is this?
Post by: Sharktooth on September 11, 2013, 04:29:58 PM
Speaking of which:

Clan Crier
Something Has Occurred
MySQL Query Error (1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?>' at line 1

This game is full of bugs.
Title: Re: What the hell is this?
Post by: windhound on September 11, 2013, 05:03:45 PM
And it is.
Title: Re: What the hell is this?
Post by: Sharktooth on September 11, 2013, 05:20:21 PM
could this be fixed?
Title: Re: What the hell is this?
Post by: windhound on September 11, 2013, 05:22:56 PM
Plausible.
That's a low priority bug however, the killer bots are on tonight's todo list.
Title: Re: What the hell is this?
Post by: Shadow on September 14, 2013, 07:10:11 AM
The White Knight (#9)   9,923    15,508    -5,585    
Redfish (#5)   1,548    79,376    -77,828

Pretty huge discrepencies...