Bug Reporting

1. I install BTS 3.17 + BlueMarble 3.5 + BUG SVN + BetterAI
2. Update file CvAltRoot.py
3. Load game and receive error (at screen 1)
4. All work right, but all ini files created at install Civ folder
5. research line corrupted (at screen 2)

What i may do to fix this?
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    17 KB · Views: 161
  • Civ4ScreenShot0001.JPG
    Civ4ScreenShot0001.JPG
    22.8 KB · Views: 64
what is wrong with the new tick marks - not corrupted at all.
 
3. Load game and receive error (at screen 1)

I don't have access to the files, so could you please post the lines around 1462 of CvWBDesc.py. This is a file in the Assets directory of your BTS install--not BUG. Also, what is the AltRoot that you use? I suspect it contains non-ASCII characters, and CvWBDesc is trying to write it out, though I don't know how it would get a hold of it.

How did you install BUG? Did you grab the ZIP of the latest SVN from the website, or did you use an SVN client like TortoiseSVN to directly access our code repository as per the directions in the Download thread?

4. All work right, but all ini files created at install Civ folder

Do you mean the folder where the EXE is or the CustomAssets folder (AltRoot)? This is the last place BUG will put the files if it cannot find its own "BUG Mod" folder. If you installed the ZIP version of the SVN snapshot, it should contain a "BUG Mod" folder that you place alongside CustomAssets.

what is wrong with the new tick marks - not corrupted at all.

I think KLex was saying that they realized the "corruption" was the new tick mark feature. IOW, ignore the corruption comment.
 
1. CvWBDesc.py:
def write(self, f, sign):
"write sign data"
f.write("BeginSign\n")
f.write("\tplotX=%d\n" %(sign.getPlot().getX(),))
f.write("\tplotY=%d\n" %(sign.getPlot().getY(),))
f.write("\tplayerType=%d\n" %(sign.getPlayerType(),))
f.write("\tcaption=%s\n" %(sign.getCaption(),)) //line 1462
f.write("EndSign\n")

I have Sign mark at Cyrillic but before last SVN release i do not receive any error.

2. text CvAltRoot.py (at CustomAssets\python)
rootDir = "D:/KLex/Games/Civ4"
3. I grab the ZIP of the latest SVN from the website
4. I place "BUG Mod" folder alongside CustomAssets. Help file from mod open inside game correct. But search path i think wrong (at screen)
5. I found what that is new tick mark and disable it (at post Dec 18, 2008 11:28 PM)
 

Attachments

  • Civ4ScreenShot0002.JPG
    Civ4ScreenShot0002.JPG
    71.2 KB · Views: 89
I have Sign mark at Cyrillic but before last SVN release i do not receive any error.

What is "Sign mark at Cyrillic"? BUG includes EventSigns, but this doesn't involve any changes to CvWBDesc.py. Do you know what file that module is writing to and why?

4. I place "BUG Mod" folder alongside CustomAssets. Help file from mod open inside game correct. But search path i think wrong (at screen)

That should work fine. Do you have any of your own changes in CustomAssets? BUG uses both CvAltRoot.py and CvModName.py to locate its INI files. What is the value of "modName" in Python/BUG/CvModName.py?
 
I am not sure if this is a BUG bug or just a local problem due to the save (it has been log-fixed) on my machine, but the diplo dialog initiated by an AI just wouldn't go away. I had to press Ctrl-Alt-Del to get out. As after I installed the mod 3.5.1, I was only playing AW games until now, not sure if this is a problem due to BUG mod. But when I downgraded to 3.0.0 and reloads the autosave, the problem is no longer there.

For details, please see the description somewhere in the middle of this post.

If you want the autosave, let me know.
 
What is "Sign mark at Cyrillic"? BUG includes EventSigns, but this doesn't involve any changes to CvWBDesc.py. Do you know what file that module is writing to and why?

That should work fine. Do you have any of your own changes in CustomAssets? BUG uses both CvAltRoot.py and CvModName.py to locate its INI files. What is the value of "modName" in Python/BUG/CvModName.py?

1. I mean that module writing sign mark "Мыс" or city name "Москва" at Civ4lerts events. Before last SVN release a have not any error.
2. I install BlueMarble and BetterAI. I copy all need files to CustomAssets without owerwrite.
3. CvModName.py located at Python\Contrib\
modName = "BUG Mod" - i not change it.
 
If you want the autosave, let me know.

Please, that would help immensely.

1. I mean that module writing sign mark "Мыс" or city name "Москва" at Civ4lerts events.

Civ4lerts displays alert messages on the screen in the event log (top of the screen, disappearing over time, and in ctrl-tab log). BUG doesn't have any code that will put those on the map.

The EventSigns mod will put signs on the map, but I believe it uses only English for its descriptions of the events (truffles, tin, etc). I'll check later today.

2. I install BlueMarble and BetterAI. I copy all need files to CustomAssets without owerwrite.

Did you use the Python files that came with BetterAI (AI Autoplay)? If so, what are their names?

3. CvModName.py located at Python\Contrib\
modName = "BUG Mod" - i not change it.

That's how it should be. I'll do some testing later today. Thanks for the information.
 
Please, that would help immensely.

Civ4lerts displays alert messages on the screen in the event log (top of the screen, disappearing over time, and in ctrl-tab log). BUG doesn't have any code that will put those on the map.

The EventSigns mod will put signs on the map, but I believe it uses only English for its descriptions of the events (truffles, tin, etc). I'll check later today.

Did you use the Python files that came with BetterAI (AI Autoplay)? If so, what are their names?

That's how it should be. I'll do some testing later today. Thanks for the information.

1. I disable Civ4lerts and EventSigns - error present. She appear once on load the game.
2. I not use any Python files from BetterAI (It not work correct for me)
3. At screen System in search patch's present back and forward slash for example
"D:/KLex/Games/Civ4\CustomAssets"
"D:/KLex/Games/Civ4\Bug Mod"
It is right?
 
1. I disable Civ4lerts and EventSigns - error present. She appear once on load the game.

That's because the signs are already added to the map. Disabling EventSigns only prevents future signs being created. You could load the game, enable EventSigns, and then hide the signs (difference checkbox from turning it off), save the game, quit, reload the game. Do you still get the error? If not, it's not a sign from EventSigns but from your own sign.

In the end, there's not a lot I can do because CvWBDesc isn't designed to understand Cyrillic signs. This bug should have nothing to do with BUG itself. Did you create your own signs on the map?

3. At screen System in search patch's present back and forward slash for example
"D:/KLex/Games/Civ4\CustomAssets"
"D:/KLex/Games/Civ4\Bug Mod"
It is right?

Yes, that's actually fine. Python is able to understand both types. You can move all of the BUG INI files to the "BUG Mod" folder and see if it finds them. The correct path is in the list, so it should find them there.

Are those the "search paths" or "assets search paths" that you posted? They look like a mix of the two, actually. "CustomAssets" should only be used to look for assets (images, XML, etc). The second one is used only for INI files.
 
That's because the signs are already added to the map. Disabling EventSigns only prevents future signs being created. You could load the game, enable EventSigns, and then hide the signs (difference checkbox from turning it off), save the game, quit, reload the game. Do you still get the error? If not, it's not a sign from EventSigns but from your own sign.

In the end, there's not a lot I can do because CvWBDesc isn't designed to understand Cyrillic signs. This bug should have nothing to do with BUG itself. Did you create your own signs on the map?

Yes, that's actually fine. Python is able to understand both types. You can move all of the BUG INI files to the "BUG Mod" folder and see if it finds them. The correct path is in the list, so it should find them there.

Are those the "search paths" or "assets search paths" that you posted? They look like a mix of the two, actually. "CustomAssets" should only be used to look for assets (images, XML, etc). The second one is used only for INI files.

1. I delete all signs (my and events) from map, save and reload - error present. Ergo - signs is not reason for that error. I create my signs without any error, but i receive error after install latest SVN release. 3.5.1 work without error. Later i test it.
2. I move all ini files to directory Bug Mod and all settings work fine, tnx.
 
In the end, there's not a lot I can do because CvWBDesc isn't designed to understand Cyrillic signs. This bug should have nothing to do with BUG itself. Did you create your own signs on the map?
I forget one sign. I delete last my sign, reload game, and error not appear...
 
Hmm. I can't reproduce the error with either the current SVN or using the 3.5.1 assets; in both cases the Ragnar dialog doesn't cause me any problems. If you have the autosave from the Hammurabi trade request I'd like to see that too since that was definitely a problem and might have been the ultimate cause of the Ragnar dialog becoming stuck.
 
I guess it is my own local problem then.

Unfortunately, the autosave for Hammy one is gone. But here's the deal, I will continue to use 3.5.1 (great mod, I love it) since 3 out of 4 of my current games are AW, so even if the diplo thing is affected, it won't affect most of my games. Once I get the same error again, I will report back.

--
 
Do you see a blank diplo screen (no choices below the leaderhead), or do you see choices but can't click any? The former happens when the event fired by a diplo request/response fails. I've seen it on occasion and fix the problems, but it's hard to cause all cases to occur.

I have found that hitting escape sometimes works, and sometimes alt-tabbing out and back in to the game. Maybe that can allow you to continue your game.
 
Well, both happens, as detailed here. But the Hammy case (which is no text below the leader head), the autosave is gone, sorry. The Ragnar case (diplo can't be clicked away), I tried Ctrl Alt Del to get to task manager, and returned back to the game but it doesn't work, so I guess Alt-Tab doesn't work either. But since Dresden can't reproduce the error, it must be my local problem.

Let's see if the problem occurs again. Thanks for everything.
 
I'm having trouble with BAT 1.1 and config files. I recently set up alternate root folders for BAT and Fall from Heaven 2 (described here) and I noticed that BUG looks for option files under the default root directory (My Games\Beyond the Sword) rather than the one specified on the command line. I hope that can be fixed, by the way. My problem is that if I move the config files to Mods\BAT Mod 1.1\BUG Mod, the mod no longer creates files under My Games, but it still doesn't read the files under the mod folder or save changes made in-game.

I could just leave the files under My Games\Beyond the Sword, but one of the reasons why I had to figure out how altroot works was that I thought I might want different BUG options for BAT 1.1 and other mods that include BUG. Also, apparently the older versions of BUG included in other mods can have trouble finding the config files. BAT 1.1 will find them in My Games\Beyond the Sword\BUG Mod, but Rise of Mankind 2.4 will just create new files in My Games\Beyond the Sword.
 
The first bug is strange. Someone told me, he got attacked by a barbarian Special Forces unit. I did not believe... until I saw this on my screen (stock BUG with stock Better BTS AI and XML changes, no custom python files):

attachment.php



This could be produced by BUG files, but I don't know.


...and I got these errors which should be produced by BUG mod:

attachment.php


attachment.php
 
Back
Top Bottom