Did they fix that GPT bug in the 1.29 Patch (Part 2)

JFL_Dragon

Civfanatics Staff
Joined
May 15, 2002
Messages
358
Location
Australia (Perth)
1.21f (Buying a tech)

How about 220gp ?
Yes that will be acceptable
How are 230gp plus 5 gpt
No They would never accept such a deal

Did they fix this ?
 
If you've violated/broke any treaties, they will never accept gold/turn. Makes sense, since you've proven that you are likely to break the treaty and get something for practically nothing.

On second thought, yeah they should accept it, as the 230 gold is higher than your original offer of 220. So even if you did break the treaty, they would still come out ahead. I guess it is a flaw in the way they were trying to prevent exploits.

Also, if you are not currently making 5 or more gold/turn profit, they of course won't accept it (fiddle with the science/tax meters to get around this).
 
Yzman- That's not the point. What is the point is that the AI is being dumb by not taking that extra money it is being offered (consider it as a gift).
 
1) The AI would not appreciate you stupid enough to give them more when they will accept it for less.

2) Poor programming. But I see no reason a human player would offer more when they can get it for less.

3) not accepting bcos of bad reputation - valid AI logic, good in fact

4) not accepting bcos player do not have enough gpt - valid logic

So, I see no problem.
 
No 1 Thats funny.

It doesnt matter if you offer more first :) You are making an offer and the AI rejects it but will accept a lower amount.

Do you see a problem now :)
 
Originally posted by Yzman
Why does it matter? Why would you want to offer them more money?
It isn't about money; it's about principle, logic, and all that jazz.:D
 
Not for me. I always had enough gold first. So no problem for me. And it is easy enough to tell if it is rejecting gtp for some other reason --> it goes to never accept rather then I doubt, or insulted.
 
Maybe they notice you are raising your offer and want to see if you'll keep going. ;)

The AI is written to deny gpt (player) for one time (AI) trades if the player hasn't been honest in their dealings. Same way the trading of cities was dealt with. It's the easy way to take care of the problem, so the programmers can allot their time towards other, actually important, game issues.

There's no point wasting their time on a bug like this.
 
Originally posted by Aeson
There's no point wasting their time on a bug like this.
Actually, it would take them less than 30 seconds (not including the time to start up Windows and launch the compiler...) to correct this bug.;) Just add the following code to that subroutine:

if [the golds that you give me is good enough] then [I will accept whatever bonus you throw on top of it].

That's it! Just one little "if" statement would do the trick.;)
 
Could be, but it's not always so easy as that. We don't know how they coded the diplomacy functions. It could end up being very simple, or a somewhat major overhaul. Even the simplest additions to code can introduce bugs of their own as well.

Perhaps they have a function which determines the overall value of the trade, along with a gpt (any per turn item, luxuries and resources along with gold) flag, which gets checked against the players rep with the AI to allow for, or disallow, the trade in whole. Now they'd have to write code to individually check each item for if it's gpt, because before they were only flagging a trade with gpt, not an item. They'd need to flag each of those items, and then subtract the value of those items from the overall value, or just add up the value of non-flagged items. This might require a change to diplomacy item objects to allow for these flags, while the flag for a trade object would be removed. There could be multiple areas in code which need to be altered or to be adjusted.

There are numerous other ways that diplomacy could have been implemented, and some of them definitely could be easy to change. When they first implemented this check, I'm sure they did it in the simplest way they could think of. To me that seems to suggest that it might not be as easy to change as you think.

That aside, it's a petty bug which has no real affect on gameplay. I actually like it, because it gives a very quick barometer of where your trading reputation stands. Even if it only took 30 seconds to fix, then that's 30 wasted seconds.
 
Originally posted by Aeson
.

That aside, it's a petty bug which has no real affect on gameplay. I actually like it, because it gives a very quick barometer of where your trading reputation stands. Even if it only took 30 seconds to fix, then that's 30 wasted seconds.

True it has no effect on game play, it just makes me think how stupid the AI is.:crazyeye:
 
I tend to have good reps with the AI since I don't break treaties, etc. I have noticed similar things on other situations in the 1.21, haven't tried in the 1.29. They would offer x, then I would increase to x + whatever, they would refuse. Then I would take it back to what they offered first; they refused. Yet, when I asked them to make an offer, they go back to the one they just refused. I was trying to help out a good ally by giving them more. I finally just gave it to them as a gift.
 
Back
Top Bottom