Bug Reporting

Yes. And now, after a game restart, it works again. Very strange...

Ok, more about this strange stuff.
After a fresh BUG install, the "àèìòù" are messed up in the log created automatically.
If I enter some "àèìòù" manually (using Alt+E), they and the following ones (also the automatically-created ones) are OK.
More testing in the future.
 
If I enter some "àèìòù" manually (using Alt+E), they and the following ones (also the automatically-created ones) are OK.
More testing in the future.

Can you please post or email the file after each of these steps?

  • Generate some automatic (broken) entries.
  • Add a custom entry.
  • Add some automatic entries that work.
 
Can you please post or email the file after each of these steps?

  • Generate some automatic (broken) entries.
  • Add a custom entry.
  • Add some automatic entries that work.

For sure.
But you'll have them when you'll come back, because in this week I'm changing home and I can't play anymore (CD already packed) :D
Furthermore maybe I'll be without internet for some days, so no worries if you don't hear me for a week or so...
 
An old bug returned with your latest changes:

Code:
..\WARLORDS\ASSETS\PYTHON\SYSTEM\xmllib.py:9: DeprecationWarning: The xmllib module is obsolete.  Use xml.sax instead.
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface

I was seeing that when attempting various ways to fix the Python reloading problem. Can you please explain what you did to make that happen? Did you change Python while the game was running, or did this happen merely by starting/loading a game?
 
For me it happens, when starting BtS playing BUG as a mod.

Were you able to get your merge to work? I haven't had this issue crop up for me using stock BUG yet. If not, can you post your merged CvMainInterface file?
 
It doesn't only show up with my merge.

It also shows up, if I take BUG and try to start it as a standalone mod (svn 1586).
I wasn't able to test your latest svn yet.
Just tested 1596, there's this message also.
 
I successfully played about 50 turns with BUG as a mod. Here's how I did it:

  • Created the folder "Mods/BUG Mod SVN"
  • Checked out the latest SVN version into that folder.
  • Renamed CustomAssets to Assets
  • Copied "BUG Mod/CvModFolder.py" to "Assets/Python" and changed the value of modFolder in it to "BUG Mod SVN"
  • Launched Civ and loaded the mod "BUG Mod SVN"
  • Started a new Custom Game
 
I am able to play BUG, but, when starting the game (doubleklicking on desktop) while checking Python this error shows up (only once, then never while playing, only if you restart/relaunch the game itself, it comes up again).
 
When exactly does the error pop up? While loading Python or after loading/starting an actual game?
 
That is really weird. No events should be firing during the startup phase. BUG doesn't get involved until a game is loaded or started. :(

How are you loading BUG at startup? A shortcut? CivilizationIV.ini's mod setting?
 
This is my link: "D:\Civilization 4\Beyond the Sword\Civ4BeyondSword.exe" -mod="BUG Mod"
(just added >>-mod="BUG Mod"<< to a copy of the standard bts-link)

I just doubleclick this shortcut and the attached message appears.
 

Attachments

  • 1.jpg
    1.jpg
    51.4 KB · Views: 83
That's just a warning that the XML parser included with Civ4 is old, but it works fine. I'll see if I can get rid of the warning.

You originally posted an error about loading CvEventInterface. I assume that's gone now?
 
Okay, the latest SVN should no longer report a deprecation warning about xmllib. Are you seeing any other errors still?
 
The BUG 3.5.1 search for config files at My Documents folder. When I run Civ with command line parameter /Altroot - he can't find it.
 
The BUG 3.5.1 search for config files at My Documents folder. When I run Civ with command line parameter /Altroot - he can't find it.

The latest development version of BUG in our code repository (see first post of Download thread for instructions) contains a fix for using /AltRoot. Unzip the contents of the attached archive to [Custom]Assets/Python/BUG, replacing BugPath.py and adding CvAltRoot.py. Modify the CvAltRoot.py file to put in the full path of your /AltRoot folder.

Please let me know if this works for you.
 
Back
Top Bottom