View previous topic :: View next topic |
Author |
Message |
Bakas
Seaman
Posts: 162
232 Gold -
|
Posted: Mon Apr 11, 2005 1:48 am Post subject: OMG!!!WTH?? |
|
|
ok, i just attacked Havana when it was controlled by the English after they had captured it. I over ran them 186 to -2678!!! how can you have negative soldiers??? WHAT THE HECK??? is this just a really weird bug? _________________ May you be forever touched by his Noodly Appendage!
WWAPD?
WWFSMD? |
|
Back to top |
|
|
Kristian95
Boatswain
Posts: 3091
4687 Gold -
|
Posted: Mon Apr 11, 2005 6:04 am Post subject: |
|
|
it is one of those "we haven't made the byte size for the soldier counter big enough" bug..... thus there's been an overflow and it's gone back to negative numbers _________________ HaP! Real Pirates hang out there! |
|
Back to top |
|
|
DrBeast
Cutthroat
Posts: 489
5316 Gold -
|
Posted: Mon Apr 11, 2005 9:47 am Post subject: |
|
|
Yah...the maximum number of soldiers that can be garrisoned are 2520. If that number is increased somehow (eg a troop ship arrives with more troops) that number will become negative. Something similar will happen if the city is crowded to the max (46000 or 48000, don't remember): if another immigrant ship arrives the number will reset, not to negative values, but to the minimum of inhabitants (whatever that is, can't remember right now!). _________________ Let the Beast inside you free! |
|
Back to top |
|
|
Vulture
Gunner
Posts: 501
606 Gold -
|
Posted: Mon Apr 11, 2005 11:04 am Post subject: |
|
|
Just be glad they didn't have negative gold!!! There is a negative gold bug effecting ships out there too. _________________
32 brightly polished cannons, a bottle o'rum, ahh..... a pirates life for me! |
|
Back to top |
|
|
DrBeast
Cutthroat
Posts: 489
5316 Gold -
|
Posted: Mon Apr 11, 2005 2:13 pm Post subject: |
|
|
Vulture wrote: | Just be glad they didn't have negative gold!!! There is a negative gold bug effecting ships out there too. |
I'm fully aware of that! Happened to me a couple of times! _________________ Let the Beast inside you free! |
|
Back to top |
|
|
QBRADQ
Seaman
Posts: 134
4756 Gold -
|
Posted: Tue Jun 21, 2005 6:43 pm Post subject: |
|
|
Yesh, what ever happened to 16-bit intergers? These are the kind of bugs that occur when a peice of software is targeted at too low a minimal system.
Also, why would a city or ship ever have a negitive amount of anything? HELLO! Unsigned variables, please! I swear, I will never understand why they call those types of practices "Professional".
Kay, thought I would rant a bit.
QBRADQ _________________ Tell him about the Twinky.
What about the Twinky? |
|
Back to top |
|
|
headrock
Rigger
Posts: 1512
354 Gold -
|
Posted: Tue Jun 21, 2005 6:51 pm Post subject: |
|
|
QBRADQ wrote: |
Kay, thought I would rant a bit.
QBRADQ |
rant welcome and correctly applied. Never seen a city with more than 700 though - what were you guys doing, making life hard for yourselves?! _________________ Blondebeard: "Madre de Dios! Es el Pollo Diablo!!"
<Spanish Guitar Riff>
Guybrush: "Si! He dejado en libertad los prisioneros, y ahora vengo por TE!"
|
|
Back to top |
|
|
rupertlittlebear
Helmsman
Posts: 4434
10381 Gold -
|
Posted: Tue Jun 21, 2005 6:54 pm Post subject: |
|
|
headrock wrote: | QBRADQ wrote: |
Kay, thought I would rant a bit.
QBRADQ |
rant welcome and correctly applied. Never seen a city with more than 700 though - what were you guys doing, making life hard for yourselves?! | I've seen 1800 or was it 18000!! |
|
Back to top |
|
|
QBRADQ
Seaman
Posts: 134
4756 Gold -
|
Posted: Tue Jun 21, 2005 7:02 pm Post subject: |
|
|
Wow, I go to the bathroom to wash my hands, and there's already two more replies. Holy cow!
The most I've ever seen was 1600 in Panama (1680, on Rouge), and I thought that was obsurd enough!
I suppose if I ever manage to get 1Mil in gold (and thus can keep a crew of 1000) I'll sack the place. But that doesn't seem likely. I'll probly move up to Swash before that happens.
Q-MAN-CHEW!
QBRADQ _________________ Tell him about the Twinky.
What about the Twinky? |
|
Back to top |
|
|
TheDon
Rigger
Posts: 1289
16718 Gold -
|
Posted: Tue Jun 21, 2005 7:19 pm Post subject: |
|
|
Hmmm... the negative number bug must be active on ship damage, too. I've pounded ships to splinters before and then, once boarding and capturing, the ship shows 0 damage to sails and hull. _________________ TheDon
Never interrupt your enemy when he is making a mistake. - Napoleon Bonaparte
|
|
Back to top |
|
|
QBRADQ
Seaman
Posts: 134
4756 Gold -
|
Posted: Tue Jun 21, 2005 10:02 pm Post subject: |
|
|
Speaking from a programming point of view, that seems very unlikly. Ranges for values include:
Signed Character: -127 - 0 - 127
Unsigned Character: 0 - 255
Signed Short: - 32767 - 0 - 32767
Unsigned Short: 0 - 65535
And it goes up from there. Unless they are using some application-defined floating point value with custom opperators and such (read, Unless they are using something way to complicated to be benificial), I don't think that would be caused by rollover.
Then again, it's quite possible they are using something like this. Seems programmers (myself included, though I'ma amature) tend to think the more complicated something is, the better it is.
Perhaps this is realted to some other, less identifyable bug. Could you post some specifics on when this usualy occurs, and what the situation is? That is, if you can recall.
I know that after quite a few battles in which I took shot after shot from large war vessels, I had not suffered any damage. I chalked this up to lower difficulty levels and iron reinforcements. Never seen it with an enemy ship though.
Blogs are bad, m'kay?
QBRADQ _________________ Tell him about the Twinky.
What about the Twinky? |
|
Back to top |
|
|
TheDon
Rigger
Posts: 1289
16718 Gold -
|
Posted: Tue Jun 21, 2005 10:10 pm Post subject: |
|
|
It happened just last night. I was attacking a Spanish Treasure Galleon that had a Sloop of War escort. I pounded the 20-gun escort til she had 3 guns left, then demasted her. She was a floating hulk of splinters with massive amounts of smoke pouring out of her. When I captured her to get her booty (67 tons of Luxuries and 68 tons of Spice, plus just under 1000 gold), she showed NO damage. I took her to port and sold her, but I don't remember if she showed damage then. In fact, I think I remember she did, something like 98% Hull damage because I was surprised that with that much damage it didn't just sink. _________________ TheDon
Never interrupt your enemy when he is making a mistake. - Napoleon Bonaparte
|
|
Back to top |
|
|
rupertlittlebear
Helmsman
Posts: 4434
10381 Gold -
|
Posted: Tue Jun 21, 2005 10:15 pm Post subject: |
|
|
TheDon wrote: | It happened just last night. I was attacking a Spanish Treasure Galleon that had a Sloop of War escort. I pounded the 20-gun escort til she had 3 guns left, then demasted her. She was a floating hulk of splinters with massive amounts of smoke pouring out of her. When I captured her to get her booty (67 tons of Luxuries and 68 tons of Spice, plus just under 1000 gold), she showed NO damage. I took her to port and sold her, but I don't remember if she showed damage then. In fact, I think I remember she did, something like 98% Hull damage because I was surprised that with that much damage it didn't just sink. | Takes 100% damage to sink.
Game mechanics. |
|
Back to top |
|
|
TheDon
Rigger
Posts: 1289
16718 Gold -
|
Posted: Tue Jun 21, 2005 10:23 pm Post subject: |
|
|
rupertlittlebear wrote: | TheDon wrote: | It happened just last night. I was attacking a Spanish Treasure Galleon that had a Sloop of War escort. I pounded the 20-gun escort til she had 3 guns left, then demasted her. She was a floating hulk of splinters with massive amounts of smoke pouring out of her. When I captured her to get her booty (67 tons of Luxuries and 68 tons of Spice, plus just under 1000 gold), she showed NO damage. I took her to port and sold her, but I don't remember if she showed damage then. In fact, I think I remember she did, something like 98% Hull damage because I was surprised that with that much damage it didn't just sink. | Takes 100% damage to sink.
Game mechanics. |
I understand that part. It was the Zero damage showing when I captured it that I didn't understand. I've seen it before, also. _________________ TheDon
Never interrupt your enemy when he is making a mistake. - Napoleon Bonaparte
|
|
Back to top |
|
|
QBRADQ
Seaman
Posts: 134
4756 Gold -
|
Posted: Sun Jun 26, 2005 4:13 am Post subject: |
|
|
Perhaps this is realted to the odd behaviors one can observe with escort ships. I'll see if I can't reproduce this inconsitenet damage reporting. _________________ Tell him about the Twinky.
What about the Twinky? |
|
Back to top |
|
|
|