November 6, 2001, 08:51
|
#31
|
Settler
Local Time: 00:08
Local Date: November 1, 2010
Join Date: Nov 2001
Posts: 14
|
Well they should be using 32-bit integers I think (that's the default integer length in my Linux, I don't program in Windows ), so overflow shouldn't happen so early
|
|
|
|
November 6, 2001, 10:02
|
#32
|
Chieftain
Local Time: 16:08
Local Date: October 31, 2010
Join Date: Nov 2000
Posts: 68
|
francium, under Win32 integers (int) are considered 32-bit as well as variables of type long and float.
|
|
|
|
November 6, 2001, 11:07
|
#33
|
Chieftain
Local Time: 11:08
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Fantasy land
Posts: 94
|
A couple of points
1) I was not looking to cheat when i discovered the bug. I noticed the Americans had 99 gold. Seeing them over the pork barrel i figured i might as well demand it all yet i accidenatlly typed 999 and they accepted.. WTF.. I reloaded to see if it was a bug or just my game and entered 99999999. And presto!!
2) sorry about the lack of spoiler warning.. LOL I know how you feel bummed me out to find such a stooopid bug too!
3) Cause.. Actually i dont think its overflow at all I think its just somtheing soo basic.. lack of a valid input test. Ive seen beginner programmers and or programmers in a hurry forget simple error trapping liek thsi all the time.
the solution is simple
if (demand_cash > AI_civ_cash + AI_civ_revenue+AI_civ_improvements_value)
{
blurbbox("Are you friggin' nuts!!!!");
}
LOL .. Just check if the civ can basically cough up the cash (incl. selling improvements..etc)
Z
__________________
"Capitalism is man exploiting man; communism is just the other way around."
|
|
|
|
November 6, 2001, 13:23
|
#34
|
Chieftain
Local Time: 16:08
Local Date: October 31, 2010
Join Date: Nov 2001
Posts: 46
|
bah... i thought that such things couldn't happen. thats some public debt that the gov't will have
as long as i can trust my short term memory to forget this, i'm ok
btw, kudos on the spelling. and i thought my spelling suced ass
|
|
|
|
November 6, 2001, 13:30
|
#35
|
Warlord
Local Time: 08:08
Local Date: October 31, 2010
Join Date: Sep 2000
Location: La Habra CA
Posts: 151
|
God we can only hope this is fixed in the first patch.... ...
__________________
Remember kids: The higher your post count or the faster your computer, the larger your penis!
|
|
|
|
November 6, 2001, 13:49
|
#36
|
Settler
Local Time: 11:08
Local Date: October 31, 2010
Join Date: Nov 2001
Location: Pennsylvania
Posts: 12
|
I don't see the problem. No one is making you ask for 1 million gold. Don't do it. I don't see how people can shout, "This ruins the game." Don't ask the enemy for obscene and unrealistic amounts of money and you won't have the problem!
|
|
|
|
November 6, 2001, 13:56
|
#37
|
Chieftain
Local Time: 10:08
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Central Illinois
Posts: 45
|
Except it sounds like the AI CIV's may pay too much, even within their means, for no good reason. Like perhaps the entire concept is broken.
So a CIV with 20 per turn will pay all 20 to you even though it (usually) should not. How do we know if the CIV determined it really should pay it based on the amount asked and if it can make up for the loss (by decreasing science or luxury expenses, for example) ....or if its just auto accepting whatever we ask for because of the bug?
|
|
|
|
November 6, 2001, 16:18
|
#38
|
Settler
Local Time: 16:08
Local Date: October 31, 2010
Join Date: Nov 2000
Location: UK
Posts: 17
|
Fair point, but it's not all that important. We all know the AI cheats, so it doesn't matter if it might be cheating here, as long as it isn't outrageous. The fact that people can beat it shows that the cheating obviously isn't outrageous, even if it cheats at all in this manner. That means we are left with the possibility of using a cheat like this actually ruins the game, and that is simply idiocy because all games come with single player cheats. You have cheat modes in earlier civs, and they didn't ruin the game, so neither should this bug. If you don't like the cheat don't use it, it's easily avoided, unlike corruption.
|
|
|
|
November 6, 2001, 17:13
|
#39
|
King
Local Time: 11:08
Local Date: October 31, 2010
Join Date: Nov 2000
Location: Sunshine State, USA
Posts: 1,104
|
Well, I think this cheat is alot different from cheats in previous civs, like Civ 2.
In Civ 2, if you cheated, it said so right on your score. With this bug, if someone wins on deity and is all proud of it , there will always be doubt that he may have cheated.
I know that isn't important to some people, but I just think things would be better off if they just got rid of the thing.
|
|
|
|
November 6, 2001, 17:16
|
#40
|
Emperor
Local Time: 11:08
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
|
Quote:
|
Originally posted by Jeff George
I don't see the problem. No one is making you ask for 1 million gold. Don't do it. I don't see how people can shout, "This ruins the game." Don't ask the enemy for obscene and unrealistic amounts of money and you won't have the problem!
|
...out come the spin doctors.
And Grumbold's statement is of even more concern, because if the AI is not even losing any gold from any request, then that nullifies the whole concept of gold trading hands - now it may appear that the AI does not lose any gold if it does end up giving you some.
Of couse that can be justified as another help for the AI, so some players might be comfortable with letting the AI have that bonus.
But it does raise the question what are the other unadvertised cheats.
__________________
Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
...aisdhieort...dticcok...
Last edited by hexagonian; November 6, 2001 at 17:30.
|
|
|
|
November 6, 2001, 18:41
|
#41
|
King
Local Time: 16:08
Local Date: October 31, 2010
Join Date: Apr 2007
Location: Voorburg, the Netherlands, Europe
Posts: 2,899
|
This bug kind of reminds of the debt turnover bug in the original Railroad Tycoon. If you timed it right you could take over an AI company by getting a shareholders majority. The moment the AI lost control you could plunder his assets, dump all the shares and leave the AI with a major debt from which it could never recover.
The funny thing is that once the AI reached a level so far in debt (-30 mil or so) it would jump to +100 mil! So if you took over that company again just before it happened you would jump straight to the top of the list!
You should note this bug is over 10 years old, some people never learn...
|
|
|
|
November 6, 2001, 18:48
|
#42
|
Warlord
Local Time: 11:08
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Baltimore, MD USA
Posts: 146
|
Re: .
Quote:
|
Originally posted by MonarchyMajor
I think this guy is lieing cause I cannot understand what the heck he is saying. His grammer is of a 11 year old.
|
ROTFL!!!!! Talk about the pot calling the kettle black!
Marc
|
|
|
|
November 7, 2001, 00:22
|
#43
|
Prince
Local Time: 16:08
Local Date: October 31, 2010
Join Date: Jan 2000
Posts: 604
|
I just found that, that if you asks the AI for 99999999999999 gold, and at the same time, the AI would accept all demand from you.
I tried this in my game, I asked the Japanese for 99999999999 golds, and all of his cities, all of his techs, all of his maps, and my god, he accepted.
__________________
==========================
www.forgiftable.com/
Artistic and hand-made ceramics found only at www.forgiftable.com.
|
|
|
|
November 7, 2001, 01:21
|
#44
|
Chieftain
Local Time: 18:08
Local Date: October 31, 2010
Join Date: Apr 2001
Location: of the Dark Hole
Posts: 32
|
Quote:
|
Originally posted by Dida
I just found that, that if you asks the AI for 99999999999999 gold, and at the same time, the AI would accept all demand from you.
I tried this in my game, I asked the Japanese for 99999999999 golds, and all of his cities, all of his techs, all of his maps, and my god, he accepted.
|
Oh my. I *really* hope that they get a patch out before the european release.
__________________
:p:p:p|__Hakkapeliitta/Jeki__|:p:p:p
You wanna see me spank my monkey?
I'll shake your hand later, I have an...itch.
Last edited by Hakkapeliitta; November 7, 2001 at 07:49.
|
|
|
|
November 7, 2001, 01:44
|
#45
|
Chieftain
Local Time: 10:08
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Fort Wayne, Indiana
Posts: 53
|
The bug doesn't seem to affect me...
I can demand 99999999 gold per turn from someone, but they just get all pissed off.
- Nobody
|
|
|
|
November 7, 2001, 01:46
|
#46
|
King
Local Time: 08:08
Local Date: October 31, 2010
Join Date: Aug 1999
Posts: 2,079
|
i was sceptical about this, but it's true, and it works on regent
Probably works on all levels.
However, after asking ~ 99999999 / turn from 4 civs (and they all agreed), my income was no long in the +millions / turn ... I was deep in the red at -millions per turn.
Obviously it's buggy territory having too much money... My solution: I won't ask for that much
|
|
|
|
November 7, 2001, 03:46
|
#47
|
Settler
Local Time: 08:08
Local Date: October 31, 2010
Join Date: Oct 2001
Location: Redondo Beach, CA
Posts: 23
|
Re: Re: .
Quote:
|
Originally posted by tmarcl
ROTFL!!!!! Talk about the pot calling the kettle black!
Marc
|
Hey where did I see that comment before??
|
|
|
|
November 7, 2001, 22:54
|
#48
|
Settler
Local Time: 18:08
Local Date: October 31, 2010
Join Date: Oct 2001
Posts: 12
|
Quote:
|
Originally posted by Hakkapeliitta
Oh my. I *really* hope that they get a patch out before the european release.
|
The game will be available in Finland this friday
|
|
|
|
November 8, 2001, 04:56
|
#49
|
Warlord
Local Time: 11:08
Local Date: October 31, 2010
Join Date: Feb 2001
Location: Columbus OH
Posts: 234
|
Re: .
Quote:
|
Originally posted by MonarchyMajor
I think this guy is lieing cause I cannot understand what the heck he is saying. His grammer is of a 11 year old.
|
The original poster made a mistake or two, but it was easy to understand. You, on the other hand, are in no position to accuse anyone of having the "grammer of a 11 year old." He certainly didn't make as many mistakes as you did in a single sentence.
If you would like to criticize, I suggest you do so in the following manner:
I think this guy is lying 'cause I cannot understand what the heck he is saying. His grammar is like that of an 11-year-old.
__________________
To secure peace is to prepare for war.
|
|
|
|
November 8, 2001, 06:18
|
#50
|
Prince
Local Time: 16:08
Local Date: October 31, 2010
Join Date: Apr 2000
Location: Frankfurt, Germany
Posts: 312
|
Quote:
|
Originally posted by francium
Well they should be using 32-bit integers I think (that's the default integer length in my Linux, I don't program in Windows ), so overflow shouldn't happen so early
|
I believe that Soren confirmed in the chat that it is an overflow bug and that they were looking at it, and (hopefully) fixing it in the next patch. To be sure, look at the Soren chat log once it comes out.
Not that this does me any good, since the game still isn't out in Germany. Grrrrrr!
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 12:08.
|
|