Bug Reporting

I know this one has been reported some time ago, I'm just wondering if the cause was ever detected/quick-fixed. When some people run Bat 3.0 for example, the entire GUI is stripped off the screen, (tech screen pops up first on load-up). However, you can still see the known world though.
 
In merging BUG into Final Frontier Plus I have found an issue:

If a civ has no unit that it can build that is draftable, the domestic advisor page that shows draft related things fails. This would be because it does not check to see if a valid unit is returned by the city.getConscriptUnit() function in calculatePotentialConscriptUnit, it just goes ahead and trys to get the UnitInfo for whatever that returns as it is all done in compound one-liner.

Existing code:
Code:
	def calculatePotentialConscriptUnit (self, city, szKey, arg):
		
		szReturn = unicode(gc.getUnitInfo(city.getConscriptUnit()).getDescription() )
		return szReturn
It ought to call "city.getConscriptUnit()" separately and check its validity (i.e. make sure it isn't -1) before doing anything with it.

Something like this:
Code:
	def calculatePotentialConscriptUnit (self, city, szKey, arg):
		iUnit = city.getConscriptUnit()
		if iUnit != -1:
			szReturn = unicode(gc.getUnitInfo(iUnit).getDescription() )
		else:
			szReturn = u""
		return szReturn

There was also some similar issue with specialists that I don't remember the details of. FFP doesn't have any specialists (yet, anyway), so something that was trying do display something about them was failing. I don't remember where exactly since when doing the merge I just commented out a lot of stuff related to specialists (which, in retrospect, was not the best plan).
 
I know this one has been reported some time ago, I'm just wondering if the cause was ever detected/quick-fixed. When some people run Bat 3.0 for example, the entire GUI is stripped off the screen, (tech screen pops up first on load-up). However, you can still see the known world though.
It's been fixed in BAT 3.0.1 You will need to re-download. Sorry.
 
Yes, it does indeed seem the newer version fixed it. I'm curious what was the problem in the first place?

Anyhow, another old problem I'd like to fix. For some reason I could hardly ever get things like the advanced combat odds to work right in Bull, amongst other missing text, etc.

I tried to install buffy today instead, but it also is giving me problems, not only stripped GUI, but errors like this at startup:

BugConfig - failure parsing C:\Users\blah\Documents\My Games\Beyond the Sword\CustomAssets\Config\init.xml


Repeated installs don't seem to help.
 
Well, I did a full re-install of Bull 1.2 again and this time things are working finally (for now)...

So don't worry about the Buffy as who knows, it may have been something to do with a bad install of something months earlier.
 
I think you got a little mistake in BULL. But I didn't check BULL itself. I think so because it is there in RevDCM. I fear your airport char is broken. Repaired it for CCV some minutes ago. The button art in Gamefont and related stuff was missing. And there seems to be a typo in CvGameTextMgr!

Please check the line:

PHP:
if (getBugOptionBOOL("CityBar__AirportIcon", true, "BUG_CITYBAR_AIRPORT_ICONS"))

It should be:

PHP:
if (getBugOptionBOOL("CityBar__AirportIcons", true, "BUG_CITYBAR_AIRPORT_ICONS"))
 
This probably comes from my editing some files, but as far as I know, I've replaced everything with the original... Random events still work, so what exactly is the error, and how can I fix it?
 

Attachments

  • Error404.jpg
    Error404.jpg
    158.7 KB · Views: 78
If you follow the instructions on the Troubleshooting page in my sig and post PythonErr.log, I can take a quick look. However, the easiest fix is to reinstall BUG as I have no way to know if you still have local changes that are causing this.
 
I thought that... Well, ok then. Thanks anyway.
 
Hi all,

Running Bat 2.3, sorry haven't upgraded but don't have any other issues with game other than this.

I have a strange error with my city info screen. Over the year I've tweaked the info screen down to what I want and recently I must have upset something because I have a strange display error on the right edge of the screen.

Here's the image Sorry for the size I needed to show it all just in case the error is on the left side.

As you can see in the yellow circle area, I still have some room for more info but anything I add after that point doesn't show up and it will start eating back to the left if I delete and add to the right. No more columns can be added after that point no matter how much room I re-size for on the left or even if I delete columns from the left.

I probably borked it somehow with all the re-sizing I've done over the year on individual columns but was wondering if any one has a quick suggestion to fix, other than uninstalling, or recognizes the error from experience.

If you need a shot of the edit page I'll add that too if need be.

Thanks
 
I'm not aware of any limits on number of columns. If you remove some of those narrow columns and add more wide columns, does it start chopping at the same pixel width or number of columns? It might help to see the edit page (scroll and post multiple shots as necessary), but at this point I'm at a loss. You could also post your CustDomAdv.txt file so I could try it here.
 
Sorry, I thought you might not want to dig back into older versions. I already uninstalled 2.3 and installed 3.0.1.

But I haven't started editing that page so as soon as I do I'll post back. I'll keep notes of what I edit as well in case I bork it again.
 
Sorry, I thought you might not want to dig back into older versions. I already uninstalled 2.3 and installed 3.0.1.

But I haven't started editing that page so as soon as I do I'll post back. I'll keep notes of what I edit as well in case I bork it again.
If you wind up in BAT's Sevopedia, there are a couple of tweaks that I made for the female units. I'm not at home, but I think it's in the "sevomain.py" file. It's marked, but it might cause a problem if you start editing in there and don't see it. It caused me much weirdness when I started trying (unsuccessfully) to fiddle with an info screen. :mischief:

No, I don't remember what that was, and I'm a little pickled atm, but best of luck.
 
O.K. Problem found under BAT, posted under bat.

here is NO LEADER_HEAD folder for Roosevelt


It goes Ramesses II
To Saladin


Looked in Custom assets removed, not there either, so is this a problem with Bug, or Bat?? (Need pesticide spray, no problem) Err no, I have a problem.


Ideas or suggestions appreciated.



Solution:

Franklin_Roosevelt, Not Roosevelt and not Theodore_Roosevelt, of which all 3 are mentioned in various folders.

Note: Amended to be Franklin, Theodore is Error, wrong initial posing.

Problem solved, another minor annoyance;


the Go to Sentry mode or X, doesn't work, I think because if any unit is visible ANYWHERE on the map, it immediately stops, or just won't plain move. Go to works just as well....maybe remove option??


Hints dialogue, the window is too small to accommodate all the text, cuts off after 1 or 2 lines.



3rd is Female units still use the male voice when conducting action, ie, spreading a Corporation, religion, merging with city, etc. Fine when you click on them to give orders, acting on orders is a different matter, typical women!



Gratuitous praise now:


BAT TEAM, I love the 3.0 graphics, the new wonder movies, national wonder movies, the quests, etc its all great.


Heh heh, I played a game under plain ole BTS.. HO hum....only thing that Kept me going was popping Bronzeworking from a hut, I had 4 workers BEFORE I started the great wall. Needless to say, that save is now currupted,


BAT STILL works, so not to worried. (What me worry :gripe:)
 
the Go to Sentry mode or X, doesn't work, I think because if any unit is visible ANYWHERE on the map, it immediately stops, or just won't plain move. Go to works just as well....maybe remove option??
I haven't noticed this, but that would be a BUG thing, I think...
Hints dialogue, the window is too small to accommodate all the text, cuts off after 1 or 2 lines.
I know, it bugs me too. I was trying to come up with a solution.
3rd is Female units still use the male voice when conducting action, ie, spreading a Corporation, religion, merging with city, etc. Fine when you click on them to give orders, acting on orders is a different matter, typical women!
This happened because SaibotLieh's female units didn't have all of the sounds completed yet, when I was ready for the last build of BAT. I have to yak with him when I get home, and see if his sound fellow has finished them up.

And since when are women not difficult? :p


Gratuitous praise now:
Always appreciated. Thank you. :D
 
I've turned off the ability to add anonymous bug reports to our sourceforge tracker as we were getting spam.
 
Hi!

I've installed the latest BUG mod (using BTS 3.13 here) and I've got a problem.
For some reason, most of the icons (food, beakers, hammers, things like that) are missing from the map screen and the city screen. I can post a printscreen if needed (if I figure out how, that is).

Using windows7 here. I don't think I had any other mods installed. Version I installed was 4.4, I did go to the troubleshooting page but I got no Python-related errors at all.

Thanks for your help,

Máté

edit: http://sourceforge.net/apps/mediawiki/civ4bug/index.php?title=Known_Issues <-- I did find smth here, I hope it shall solve my problem

solved it: the MyGames directory contained non-latin characters, thats all
 
Back
Top Bottom