What the hell is this?

Started by Sharktooth, September 07, 2013, 01:02:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sharktooth

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?!

Sharktooth


Sharktooth


windhound

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
A Goldfish has an attention span of 3 seconds...  so do I
~ In the beginning there was nothing, which exploded ~
There are only 10 types of people in the world: Those who understand binary, and those who don't

Sharktooth

okay. its stoped, so i think its fixed. its strange because i had more than enough food...

Shadow

Oh right, that's why I stopped using half land ^_^

land discrepancies cause weird glitches sometimes.
<=holbs-.. ..-holbs=> <=holbs-..

Shadow

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.
<=holbs-.. ..-holbs=> <=holbs-..

Sharktooth

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.

windhound

A Goldfish has an attention span of 3 seconds...  so do I
~ In the beginning there was nothing, which exploded ~
There are only 10 types of people in the world: Those who understand binary, and those who don't

Sharktooth


windhound

Plausible.
That's a low priority bug however, the killer bots are on tonight's todo list.
A Goldfish has an attention span of 3 seconds...  so do I
~ In the beginning there was nothing, which exploded ~
There are only 10 types of people in the world: Those who understand binary, and those who don't

Shadow

The White Knight (#9)   9,923    15,508    -5,585    
Redfish (#5)   1,548    79,376    -77,828

Pretty huge discrepencies...
<=holbs-.. ..-holbs=> <=holbs-..