BFR bug!
- Slasher
- The FAF Forums SMEGHEAD!!! lol
- Posts: 2635
- Joined: Mon May 03, 2004 5:08 pm
- Location: http://florida4us.com/
- Contact:
- bjornredtail
- Warbands Admin
- Posts: 821
- Joined: Tue Apr 20, 2004 12:07 am
- Contact:
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.
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
Warbands Admin
"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
- bjornredtail
- Warbands Admin
- Posts: 821
- Joined: Tue Apr 20, 2004 12:07 am
- Contact:
- bjornredtail
- Warbands Admin
- Posts: 821
- Joined: Tue Apr 20, 2004 12:07 am
- Contact:
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?
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
Warbands Admin
"Program testing can be used to show the presence of bugs, but never to show their absence!"-Edsger W. Dijkstra
-
Members connected in real time

