Bug Reporting

No way to make it "locate" and let the user choose which .ini file it would want to load?

Asking the user, no. At the point that the .ini file is being loaded, there is no UI with which to ask the user. Plus, would you want to select that every time you loaded a game? :rolleyes:

Instead, my preference is to have an ordered list of locations in which to look, and take the first one that is found. This would be applied for each .ini file sought, so crazy users are cool to spread them around if they wish.

  1. My Games\BUG Mod
  2. My Games\BtS\Mods\BUG Mod
  3. My Games\BtS
  4. C:\Games\Civ4\BtS\Mods\BUG Mod
  5. C:\Games\Civ4\BtS
The last two of course would be wherever they installed BtS which I get without using the registry (Python's builtin sys.executable conveniently holds the full path to CIV4BeyondSword.exe).

@The Doc - Great to hear! :)
 
hehehehe - GMTA. I was saying the same format, minus directly into the My Games directory, but like having it search the BTS install directory too. This should remove any chance of getting the No Interface issue.
 
Bug in revision 635 ...

Traceback (most recent call last):
File "CvAppInterface", line 56, in onLoad
File "CvEventInterface", line 30, in onEvent
File "CvCustomEventManager", line 124, in handleEvent
File "CvCustomEventManager", line 169, in _handleOnLoadEvent
File "CvCustomEventManager", line 135, in _handleDefaultEvent
File "autologEventManager", line 277, in onLoadGame
File "autologEventManager", line 53, in StartLogger
File "autolog", line 23, in setLogFileName
File "BugAutologOptions", line 204, in setFileName

AttributeError: 'BugAutologOptions' object has no attribute 'setValue'
ERR: Python function onLoad failed, module CvAppInterface

It seems that the underlying BugOptions.py got changed somewhere.
 
Yes, and I'm updating Autolog. I'll go ahead and commit what I have. It runs at least without any errors, but I haven't tested it thoroughly.
 
This is now fixed. All BUG stuff uses BugPath. CvPath is no longer.

As well, I created a new tab in the Options Screen: Config. It shows all of the currently active configuration items:

  • Search paths for configuration files
  • BUG Mod.ini
  • Adv Unit Naming.ini
  • CustomDomAdv.txt
  • Autolog Log File
They get added as they are accessed, so something has to be logged for the last one to show up, and a unit must be built for the third, and you have to open the CDA to see the fourth. I'd like to fix this in the future so the locations show up immediately if that feature is enabled.

I touched a lot of files in this update, so please bang on it extra hard.
 
Bummer, sorry about that. Please post the contents of PythonErr.log (not PythonErr2.log). You may need to enable logging first in CivilizationIV.ini and rerun the game if it's not there. The file is located in your "My Games\BtS\Logs" directory.

Code:
; Enable the logging system
LoggingEnabled = 1
Also, where do you have "BUG Mod.ini" located? The game should now tolerate not finding this file, so more likely it's something wonderful and new. :(
 
from eyeballing the changes, BugUnitNameOptions.py still contains a reference to RuffModControl.py.
 
Crap. Good catch. I forgot that the way I copy changes from my local development environment to the CustomAssets folder doesn't remove deleted files. :(

I've committed the fix and tested after deleting all the old files. My bad. :blush:
 
Hi guys,

I found a graphical glitch I wanted to share with you. Unfortunately I can find no pattern when it occurs - at first I thought it was only in coastal cities, but that didn't prove to be true. It only happens in some enemy cities you have access to - either recently captured ones or via Espionage. The scoreboard is visible in the city screen. I never saw that with the vanilla scoreboard.

civ4screenshot0000pz7.jpg


Also I wanted to ask if there is a chance we see the enhanced trade alert (a notice which tech the AI has to offer actually) soon... :)

Imhotep

P.S.: I've attached a save in case it helps for investigating. This is with revision 640 from the SVN.
 
wow - I also see that BUG has imported the startrek font too!
 
·Imhotep·;6761508 said:
Unfortunately I can find no pattern when it occurs.

Fixed. Nice catch. The problem was caused by a city with a zero GP rate but more than one GP type with points.

wow - I also see that BUG has imported the startrek font too!

You're the one that introduced the Borg naming convention, after all. :)
 
Ok here is a graphical BAT bug ?? I dunno - but found while playing fredrick

Issue is with the heavy footman

3 images, first when training a heavy footman (popup window) notice the small icon next to the text. second is heavy footman selected at bottom also has wrong image.... 3rd is correct attempting to upgrade a swordsman

loving all the new features !! :D

thank you all for the hard work !
 

Attachments

  • Heavy-Footman1.jpg
    Heavy-Footman1.jpg
    39.9 KB · Views: 173
  • Heavy-Footman2.jpg
    Heavy-Footman2.jpg
    235.1 KB · Views: 119
  • Heavy-Footman3.jpg
    Heavy-Footman3.jpg
    244.3 KB · Views: 72
That's very strange. I see a swordsman in my game, not an archer. Would you mind posting this on the Bug tracker for me Anthrax? I'll take a look at it this weekend.
 
ok did that for ya........

[ 1956720 ] Graphic error w/ Heavy Footman

wouldn't let me upload there..... here is the game save...... dunno if it will help.

Check city of Lisbon

Should have an inventory of:
6 Heavy footman
4 Horsemen
2 Longbowmen
1 Pikeman

No archers as the Stack icons would suggest...... :crazyeye:
 

Attachments

@EF - I tried moving the BUG Mod support directory to the BTS folder from My Games, and it wouldn't pull it up. I got the no .ini error, but it won't allow the screen to exit, just says no .ini file is present.

Also Alt + E isn't bring up the Add a Log Entry dialog. Also, Why aren't we using Alt + R for Reminders again? I just tried using it, and it called up nothing. Is it something that is another screen?
 
Alt-R does Rebase when you have air units selected, though I just right-click where I want them to go.

I haven't changed the code to look in the new location. I'll do that now. It should let you exit the screen, however. What is the Python error in the log file?

As for Alt-E, do you have logging turned on?
 
There was no python error. Logging is enabled, but not err files were generated. And I do have logging in the BUG Options screen enabled as well. Have you tried using Alt + E recently?
 
Back
Top Bottom