Bug Reporting

hmm i know for a fact i have installed the 3.17 patch
sometimes when i try to do it, i am told its already installed and i choose to do it anyway

CURSES.jpg
 
Well, that's definitely the problem. I just checked the 3.03-compatible version of BUG, and it uses a different method to acquire a unit's icon. The new function above must have been added in 3.13.

Have you reinstalled BTS? Perhaps you installed it and upgraded it before, but when you uninstalled it the 3.17 registry keys weren't removed. Thus it now thinks you already have 3.17 installed.

Run regedt32 (Start : Run..., type "regedt32" without quotes, hit <enter>) and navigate to HKEY_LOCAL_MACHINE/Software/Firaxis. Check HKEY_CURRENT_USER if it's not there. Then expand the BTS tree and see if it has keys for 3.17.

If so, I recommend uninstalling BTS, deleting the entire BTS registry subtree (make a backup of your registry first!) and installing BTS again. If you wanna live dangerously, try removing just the 3.17 and 3.13 keys and running the patch.
 
well i am stuck at run
i type what you said in and it just throws a cannot locate error back at me
yeah when i would try to apply the patch it would say 3.17 is already installed and i would tell it to install 3.17 anyway, i would think that would fix it up

i should probably just rewipe the whole harddrive, that should clear things up :(


PS well i managed to get to it without the 32 or whatever and all it has is 3.03
so what should i do then?

PSS: Trying what you said about reinstalling right now, should i always restart the computer after each install/uninstall?
 
Hopefully wiping the HD won't be necessary. You got into regedit (the 32 version should not have an "i" in it in case that's what you typed), so maybe check the other HKEY path I posted. I'm pretty sure it uses the registry to determine what version is installed (that's the point of those keys), so it must be finding the 3.17 key somewhere.

You also don't have to restart, but it won't hurt. Changes to the registry take effect immediately.
 
nah im just going to wipe, im making back ups of stuff right now, i will come back here if it dosent work out still!, i just tried to reinstall bts and did everything i had done before and it started giving me that 3.17.000 detected crap again! i did everything ive ever done to keep that from happening but somehow it didnt work so... I'll be back
 
Are there any patches i should apply before installing BTS? or anything i should do? I have Civ IV Gold** am presently in the stage of backing up 12 gbs onto an old hard drive
 
I would update CivGold first to whatever is the latest patch and then install and patch BTS. I suspect that you don't have to patch CivGold, but I figure better safe than sorry.
 
Finally got a save showing a bad vote prediction. Here's the situation:

  1. Cyrus builds AP
  2. Cyrus gets voted AP Leader
  3. I take AP from Cyrus, make him my vassal
  4. New AP Leader vote comes up with me and Jaio II as candidates
  5. Before vote is decided, MEMBERS tab shows correct candidates but predicts Cyrus as the winner!
 
yeah - so ... what is wrong with that?

Ok, I will take a look at it.
 
yeah - so ... what is wrong with that?

Um, it should be smart enough to predict that one of the two candidates will win--not someone who isn't in the running!
 
Um, it should be smart enough to predict that one of the two candidates will win--not someone who isn't in the running!
Fixed in version 1648.
 
Few days ago I downloaded BUG's SVN version (30th january probably) and did some testing with it and I managed to get couple errors with it:

When pressing alt+x in city screen and placing few red dots to city plots:

Traceback (most recent call last):

File "CvScreensInterface", line 901, in mouseOverPlot

File "CvOverlayScreenUtils", line 128, in mouseOverPlot

File "CvDotMapOverlayScreen", line 267, in onMouseOverPlot

File "CvStrategyOverlay", line 370, in highlightCity

File "CvStrategyOverlay", line 472, in eraseDot

RuntimeError: unidentifiable C++ exception
ERR: Python function mouseOverPlot failed, module CvScreensInterface



After strategy map has been set in main screen and then pressing alt+x:


Traceback (most recent call last):

File "CvEventInterface", line 30, in onEvent

File "BugEventManager", line 289, in handleEvent

File "BugEventManager", line 294, in _dispatchEvent

File "BugEventManager", line 318, in _handleConsumableEvent

File "BugEventManager", line 368, in onKbdEvent

File "BugUtil", line 479, in __call__

File "BugUtil", line 476, in call

File "CvStrategyOverlay", line 165, in toggleDotMapEditMode

File "CvStrategyOverlay", line 100, in toggleEditing

File "CvStrategyOverlay", line 269, in edit

File "CvOverlayScreenUtils", line 33, in showOverlayScreen

File "CvDotMapOverlayScreen", line 198, in interfaceScreen

File "CvDotMapOverlayScreen", line 267, in onMouseOverPlot

File "CvStrategyOverlay", line 370, in highlightCity

File "CvStrategyOverlay", line 472, in eraseDot

RuntimeError: unidentifiable C++ exception
ERR: Python function onEvent failed, module CvEventInterface


Also in CvMainscreen.py file (BUG 3.51) there was small "typo" in plotlist code for getRow, getCol and in GetI functions. It might be of course intentional as after I had changed it to use correct value, then all the unit + plot list images weren't aligned correctly.

The code block:
Code:
def getRow(self, i):
		return i / self.getMaxCol()
Shouldn't it be self.getMaxRow?

and
Code:
def getI(self, nRow, nCol):
		return ( nRow * self.getMaxCol() ) + ( nCol % self.getMaxCol() )
Shouldn't it be nRow * self.getMaxRow?

One last thing from Mainscreen.py. I've managed it to cause couple times now divide by zero error and the python error log said it was this code block:

Code:
def getMaxRow(self):
		return ((self.yResolution - 160) / PleOpt.getVerticalSpacing())
I didn't write down what I was doing in game just at the moment when this error happened, so I can't give more details this time.
 
zappara - Can you please give me more information? I've never gotten an error there with the Strategy Layer, and I just verified that it works with the city screen up (if that's a good thing, I dunno, but it doesn't break). Can you repeat it? If so, can you please post the steps to reproduce the problem?

Regarding getMaxCols(), the code is indeed correct as it is in BUG. To find which row you are on, you have to divide the index of the item by the number of items per row, and that number is getMaxCols().

The reason you're getting that divide by zero is because an error is occurring while BUG is loading, and it doesn't get a chance to load all its settings. Since the getMaxCols() setting is zero (unloaded), if fails. I'll look into making that fail more gracefully.
 
Well all is good now, wiped the hard drive reinstalled the game and the patch applied correctly. The tech tree functions properly and dosent pop up first thing in the game. The problem with the Russian helicopters i found out was because the model didn't update until after exiting the world builder, although I am a bit disappointed that its an Mi-28 and not a Mi-24 HIND
 
There is a little bug with civ4lerts. Immediately after beginning of a war, civ4lert shows that the AI "Will Sign Peace Treaty".
 
There is a little bug with civ4lerts. Immediately after beginning of a war, civ4lert shows that the AI "Will Sign Peace Treaty".

It's not a bug with BUG but rather a limitation of the Civ4 Python API. You cannot tell from Python that an AI refuses to talk. If you could talk to the AI, they would sign a peace treaty, but you can't and BUG doesn't know that.

I have exposed this information with the BUG DLL, and BUG will use it if it's available.
 
For the first time, I dl'd the svn for BUG. I immediately strated getting a graphical error where the resource tabs were displayed 3 tiles south of where they should have been displayed.

I assume this has something to do with the new world display feature.
 

Attachments

  • resource tag0000.JPG
    resource tag0000.JPG
    298.5 KB · Views: 57
For the first time, I dl'd the svn for BUG. I immediately strated getting a graphical error where the resource tabs were displayed 3 tiles south of where they should have been displayed.

I have never seen that, and I have no clue how BUG could cause such behavior. Do you have any other mods installed? How did you have BUG installed before (as a mod or in the CustomAssets folder)? Did you uninstall it before installing the SVN version? Where did you install the SVN version?

I assume this has something to do with the new world display feature.

Do you mean the Strategy Overlay that allows you to do dotmapping? That only draws borders similar to what you see around all your existing cities when you select a Settler. It doesn't have anything to do with Resource Markers.

This is a very strange problem indeed!
 
Back
Top Bottom