Bug Reporting

FWIW, I haven't been seeing any Worst Enemy messages in the game log since installing BAT 2.2. I see the indicators every where else but the messages are no longer appearing even with the option turned on.
 
I can now confirm that I am not getting WE messages: One turn that AI has no WE, next turn it's me. I get the message that the player won't trade the 2 techs he has anymore, but that's it.
Python folder should be almost identical to BUG's (r2169) only the 3 BBAI files are there too.
 
Little mistake (not just a bug, I think) in Planet_Generator_0_68.py: the constant value for Continents is 2 when it must be 4 (the default option), line 149. It is:

2 = ["FT Random (1 - 5 continents)",[1,2,3,4,5],False],
4 = ["FT Random (2 - 5 continents, default)",[2,3,4,5],False],

as it say default (and I prefer this option :D)
 
Little mistake (not just a bug, I think) in Planet_Generator_0_68.py: the constant value for Continents is 2 when it must be 4 (the default option), line 149.

I can take a look at fix it in BUG, but this is a community map script. You should definitely post this bug to its thread (search forum for Planet Generator).
 
Few days ago Strategyonly reported this small bug when he was testing my modpack's new beta version which includes BUG 4.3:

Traceback (most recent call last):
File "BugEventManager", line 378, in _handleConsumableEvent
File "autologEventManager", line 307, in onKbdEvent
AttributeError: 'CvColorInfo' object has no attribute 'getXmlVal'

Any idea what might be the cause?
 
When I started out with this, I didn't think the DLL had anything to do with it (since I thought it didn't explicitly require BULL to use it), so I thought it was safe to call this a defect. The fact that I'm using a BULL/BetterAI mix of my own adds an unknown, so it's no longer appropriate to call this a defect.

I suggest we simplify the problem. As I said, I started this issue with too many unknowns. I know better than that. :spank:

Does this save work for you? I started a new game with only BUG r2170 (PLE branch 2166 still merged in, but I highly doubt that matters). No BetterAI or BULL, just the 3.19 DLL. Played about 80 turns and confirmed on multiple occasions that worst enemies were changing on the F4 relations screen. Not one alert was posted to the log or screen. Played with the same BUG options I posted earlier (if that even matters).

Attached ZIP has the save game. Also included is my crazy CIV4VoteInfo.xml and my backup of the 3.19 DLL in case you don't have it handy. I didn't compile this DLL, it was left by the firaxis patch. You'll notice that Gilgamesh has no worst enemy in 775 BC. Advance one turn; it's now 750 BC and Gilgamesh is now the worst enemy of Mansa. I do not get an alert on my end.
 
Update on the worst enemy alert: BUG r2074 broke the alert.

Started a new game with clean 3.19 DLL. Found out early on that BUG 4.2 was working fine and BUG 4.3 wasn't. Divide & conquered revisions in between and found that BUG r2073 works fine, but r2074 doesn't.

Luckily, there's nothing much to r2074.

Of course I could have searched the BUG SVN revisions for phrases like "worst" or "enemy" and tried those three first. That's ok, the hard way was fun too. :lol:
 
Excellent, thanks aB. That will make it much easier to figure out what's wrong. Very strange since I could swear I had the alerts in my current game, but I have been focusing on speeding up my playing lately by spending less time deliberating on decisions. It's possible I have just stopped paying close attention to the alerts. :(
 
I have as small possible bug or just wronly installed the mod.

I met sevreal civs with this mod but they all have TXT_ATTITUDE_FIRSTIMPRESSION written when I hover over the civs in Scoreboard? I doubt that's ok?

P.S - Do I have to have the Unofficial Patch installed o.O?
I also installed BULL after I installed BUG
 
I also appear to have half of the lines missing, including TXT_WORST_ENEMIES_IS and other stuff.... is there any location where I could get the most of those XML files?
 
I tried to download them (by copying the info and saving the file in Unicode) but did nothing, maybe it's a common bug (fingers crossed).

Or it has something to do with the fact that the BULL is installed under CustomAssets
 
I tried to download them (by copying the info and saving the file in Unicode) but did nothing.

Can you explain exactly what you mean by this? What you should do is click first on each file's name in the list (the three .xml files) and then click the "download" link to the right of where it says "Links to HEAD." This should allow you to save the files to disk one-by-one.

Or it has something to do with the fact that the BULL is installed under CustomAssets

You obviously have BULL installed and running or you wouldn't see those missing text keys. Just place the files above into CustomAssets/XML/Text.
 
Final update to WE alert issue:
I completed a reverse merge of BUG r2170 & r2074. Not sure if r2170 was necessary, but it made it easier. Working like a champ now with BULL and BetterAI on my current (real) game.
 
aB: you probably meant r2054? r2074 was the revision that broke it.
So what was breaking, too many isHuman checks? I don't understand why those are there at all anyway, maybe it was meant to be activeTeam (because you really don't need to care about your own teammates' WEs)?..
Anyway, the one bug I found was not from r2074 but from r2170:
getWorstEnemyTeam(player) == enemy.getID()
which should be
getWorstEnemyTeam(player) == enemyTeam.getID()
With 1 player per team, which is how most people play anyway, this bug probably didn't do anything though.
 
Back
Top Bottom