BFR bug!

Post bugs or suggestions to the game here. Or discuss development topics.
Post Reply
Arthus
I get a title finally!? Yuppy!
Posts: 1716
Joined: Sat Mar 25, 2006 10:04 pm

Post by Arthus »

I just lost 120mil trebuchets on BFR. I bought 5 mil infantry and suddenly all of my trebuchets went down to 1. Please help.
User avatar
Freenhult
13th Division Captain
Posts: 3380
Joined: Mon Jan 02, 2006 2:30 am
Location: Valparaiso
Contact:

Post by Freenhult »

My guess is the number rolled over. You hit the limit. :P
Nami kotogotoku, waga tate to nare. Ikazuchi kotogotoku, waga yaiba to nare. Sōgyo no Kotowari!

波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !

Every wave be my shield, every lightning become my blade!
Arthus
I get a title finally!? Yuppy!
Posts: 1716
Joined: Sat Mar 25, 2006 10:04 pm

Post by Arthus »

120 mil is the limit? Crap, I just lost 10mil cash worth of trebs then, hehehe. Will be sure to keep that in mind.
User avatar
Slasher
The FAF Forums SMEGHEAD!!! lol
Posts: 2635
Joined: Mon May 03, 2004 5:08 pm
Location: http://florida4us.com/
Contact:

Post by Slasher »

Still a bug though, if the limit was hit, it should say something to the user like "You already have the maximum ammount of x"
I do not have a signature, you must be imagining

http://florida4us.com/

Image
User avatar
bjornredtail
Warbands Admin
Posts: 821
Joined: Tue Apr 20, 2004 12:07 am
Contact:

Post by bjornredtail »

Intresting... Troops is of type varchar(210).

Now... The way that troops are stored is like this:
#of troop1|#troop 2|#troop3|#troop4...
And so on.

So... If you have 120 mil of each...

120000000|120000000|120000000|120000000

That's a lot short of 210 characters... Darn. So much for the easy fix.

What's your warband number on BFR? PM it to me if you'd like... I'd like to see what that is set to.
0===)=B=j=o=r=n==R=e=d=t=a=i=l==>
Warbands Admin

"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
User avatar
Freenhult
13th Division Captain
Posts: 3380
Joined: Mon Jan 02, 2006 2:30 am
Location: Valparaiso
Contact:

Post by Freenhult »

I adjusted his numbers already. He's Murder... on BFR Nev.
Nami kotogotoku, waga tate to nare. Ikazuchi kotogotoku, waga yaiba to nare. Sōgyo no Kotowari!

波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !

Every wave be my shield, every lightning become my blade!
User avatar
bjornredtail
Warbands Admin
Posts: 821
Joined: Tue Apr 20, 2004 12:07 am
Contact:

Post by bjornredtail »

So... This wasn't simply an overflow of the field on the DBMS?
0===)=B=j=o=r=n==R=e=d=t=a=i=l==>
Warbands Admin

"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
Arthus
I get a title finally!? Yuppy!
Posts: 1716
Joined: Sat Mar 25, 2006 10:04 pm

Post by Arthus »

Um, infantry now reduced to 1. I capped them at 120mil, but they still dropped to that. This is becoming highly annoying, lol. Empire name is Murder...
If the infantry can be restored like the trebuchets were, that would be nice.
User avatar
Shadow I
Addict
Posts: 1163
Joined: Fri Nov 16, 2007 12:45 am
Location: New Brunswick

Post by Shadow I »

Cap isnt 120mil, I have more than that on WoA all the time. I think I was over 200mil in T1 for a while.
Phillip says:
Tell me more about your Undefined
User avatar
bjornredtail
Warbands Admin
Posts: 821
Joined: Tue Apr 20, 2004 12:07 am
Contact:

Post by bjornredtail »

The thing isn't so much a cap on an individual troop, but on all troops. See above where I described how troops are stored by the DBMS. (On an asside, I'm halfway tempted to re-implement that as a table join, but that would be a royal pain to do on a running game. In fact, it would be a royal pain to do no matter what...)

mysql> select empire, troops from bfr_players where num = 7;
That seems to reveal that none of the troop numbers read 1 in the database. So, this is most certainly NOT a database overflow... (I'm almost tempted to post the results of that query, but I don't want to reveal anything about his troopcounts!)

EDIT: Sure enough, viewing it through the admin account ingame seems to show nothing wrong. Have any of my fellow admins done anything again?
0===)=B=j=o=r=n==R=e=d=t=a=i=l==>
Warbands Admin

"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
User avatar
Freenhult
13th Division Captain
Posts: 3380
Joined: Mon Jan 02, 2006 2:30 am
Location: Valparaiso
Contact:

Post by Freenhult »

Nami kotogotoku, waga tate to nare. Ikazuchi kotogotoku, waga yaiba to nare. Sōgyo no Kotowari!

波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !

Every wave be my shield, every lightning become my blade!
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members