Questions about The BUG Mod

There is a bug that I introduced while fixing a different bug. You should not be able to see foreign cities' anger counter from whipping/drafting, but in removing that I accidentally removed the happy/unhappy levels as well. This will be fixed with the next version (I can post you some code to fix it when I get home).

Are you two on the same team? When you open your partner's cities, do you see the number of turns of unhappiness that will occur by whipping when you hover over the whip button in the lower-right of the screen?

EmperorFool,

Thanks for the prompt response! Wow, I had no idea that there was this much support for this mod, I honestly posted that message expecting to just have to suck it up. =)

I'll check this evening if/when we get a game going for the whip unhappiness.
 
Yup, it was a simple mistake. Open

[Custom]Assets/Python/Screens/CvMainInterface.py

in Notepad or some other text editor and modify the following red lines by inserting a single TAB at the beginning of each line. Not spaces--an actual TAB character. The modifications begin near line 5514, but the "Anger Display" comment is unique in the file so Find should find it easily.

Code:
# BUG - Anger Display - start
[B][COLOR="Red"]				if (CityScreenOpt.isShowAngerCounter()
				and pHeadSelectedCity.getOwner() == gc.getGame().getActivePlayer()):
					iAngerTimer = max(pHeadSelectedCity.getHurryAngerTimer(), pHeadSelectedCity.getConscriptAngerTimer())
					if iAngerTimer > 0:
						szBuffer += u" (%i)" % iAngerTimer[/COLOR][/B]
# BUG - Anger Display - end

It should end up looking like this:


Code:
# BUG - Anger Display - start
					if (CityScreenOpt.isShowAngerCounter()
					and pHeadSelectedCity.[B][COLOR="Red"]getTeam[/COLOR][/B]() == gc.getGame().[B][COLOR="Red"]getActiveTeam[/COLOR][/B]()):
						iAngerTimer = max(pHeadSelectedCity.getHurryAngerTimer(), pHeadSelectedCity.getConscriptAngerTimer())
						if iAngerTimer > 0:
							szBuffer += u" (%i)" % iAngerTimer
# BUG - Anger Display - end

If you make the changes by copy-n-paste, you'll also get the fix I just applied that will show the anger counter for team member cities. It makes sense to show this even though it's not shown in the original game since they are on your team.
 
Try grabbing the font file from our online code site. It should be the same as the file you have already, but hopefully there's something wrong with what you have. I would have expected a complete reinstall to have fixed this problem. :(
 
My problem persists...

And it's strange... if I run with BUFFY (and thus can't load custom assets for it to work) all the symbols are there for BUFFY. If i run it with BUG only, they're still missing.

BUFFY is installed in the main programfolder's MOD directory.

Since BUFFY worked I figured I'd just try copying the GameFont_75.tga from that dir into the fontdir that BUG uses (in custom assets/res/fonts). Didn't expect it to work, but at least it did produce error-messages (parsing errors line 35-37 and some screen initialization errors). When I dl'ed the font you pointed at into the custom assets dir, errors were gone, but still no symbols.

In the BUFFY font dir, there is 2 fonts. In Custom Assets there is just 1 (I suppose this is right?).
 
And it's strange... if I run with BUFFY (and thus can't load custom assets for it to work) all the symbols are there for BUFFY. If i run it with BUG only, they're still missing.

Okay, I was unaware that you have both BUFFY and BUG installed, but this shouldn't affect anything related to fonts. It's just good to know. :)

Since BUFFY worked I figured I'd just try copying the GameFont_75.tga from that dir into the fontdir that BUG uses (in custom assets/res/fonts). Didn't expect it to work, but at least it did produce error-messages (parsing errors line 35-37 and some screen initialization errors).

WTH?? They should be the exact same font file! And even if one had some glyphs that the other did not, that should not be able to cause any problems. :confused: I think this is a big clue, but I don't know what it means. Your BUG has an invalid font file, but it won't accept a valid font file.

What happens if you remove the font file entirely? This should bring back the BTS symbols while leaving out the BUG-added ones. This isn't a final solution, but I'd like to see what happens.

When I dl'ed the font you pointed at into the custom assets dir, errors were gone, but still no symbols.

The file I pointed you at is for BUG, but BUFFY uses the same file as I said. This is very strange.

In the BUFFY font dir, there is 2 fonts. In Custom Assets there is just 1 (I suppose this is right?).

Yes, that's because BUFFY includes both BUG (1 font file) and BULL (another font file).
 
What happens if you remove the font file entirely? This should bring back the BTS symbols while leaving out the BUG-added ones. This isn't a final solution, but I'd like to see what happens.

This does bring back the BTS symbols, although the scorepanel and such get a bit out of whack.

And now I can't recreated the error from adding the fontfile from BUFFY, it just loads normally but fails to display the symbols.

Have also tried to edit the cvAltRoot.py and copy it into the correct dir to no avail.

Is there any way for me to check for errors on loading BUG? Like the PythonErr2 file or something? Or is there a debug mode to know what's going on?
 
You could try copying the BUG font file into your core BTS Assets folder after backing it up. As well, can you ZIP and post your BTS font files (both) so I can compare them to what I have. I fully expect them to be identical and be even more perplexed.

Okay, one thing that is different is that BUFFY has our own DLL in it, and in that DLL I've added some new font symbols. You could try installing BULL as that is the essentially the same DLL BUFFY has. Since BUFFY works with the same font file, this is my guess as to the problem.

Also, can you answer here the questions about your installation that I have posted to our Troubleshooting page?
 
You could try copying the BUG font file into your core BTS Assets folder after backing it up. As well, can you ZIP and post your BTS font files (both) so I can compare them to what I have. I fully expect them to be identical and be even more perplexed.

No difference. Except I can't reproduce the parsing errors from the BTS file now. Files attached

Okay, one thing that is different is that BUFFY has our own DLL in it, and in that DLL I've added some new font symbols. You could try installing BULL as that is the essentially the same DLL BUFFY has. Since BUFFY works with the same font file, this is my guess as to the problem.

Tried it, and now I just get no interface at all (similar to what I'd get if BUFFY loaded CustomAssets, I guess?). So Bull messed something up in addition (Or I messed something up, which is possible :)). I Unzipped the Bull install Assets folder, copied the folders inside Assets into the different Custom Assets folders, and Copied the gamecore to the BTS Programfolder / Assets folder.

Also, can you answer here the questions about your installation that I have posted to our Troubleshooting page?

* OS Version: Vista
* BTS version: 3.19
* BUG/BAT version: 4.2 (and Now Bull 1.0)
* Installation source: EXE (zip for Bull)
* Installation method: singleplayer (CustomAssets)
* Merged mods: e.g. BULL
* Anything non-standard about your setup : Just have Buffy as a Mod in the programfolder, and it's working on it's own (also with the new gamecore dll, not loading Custom Assets).


Also included in the zip are the most recent logfiles (after Bull was also installed).
 

Attachments

Are you running the standard Civ4 + BTS or one of the packaged versions (Complete, Gold) or via Steam/Direct2Drive?
 
EmperorFool,

Thanks again for the previous fix. We didn't have a chance until tonight to check it out, and it's all good.

Follow-up question: The dot-mapping feature of BUG is excellent, but is there a way that we can modify it to show the dot-maps across the team? Previously we would just use the terrain signs, but it would be nice to take advantage of the new capabilities.

I know it's a shot in the dark, but figured it wouldn't hurt to ask!
 
No, I can't think of a quick way to make that happen. It can certainly be coded to work that way, probably as an option such as "Show team members' strategy layer." It might be possible with less work to attach the placed dots to the team rather than the player. This would make it so you'd be working with a single, shared strategy layer.

Please add this idea to our Feature Request tracker when you get a chance as I won't get a chance to work on it immediately.
 
Are you running the standard Civ4 + BTS or one of the packaged versions (Complete, Gold) or via Steam/Direct2Drive?

I'm running Civ IV Complete.
 
I'm running Civ IV Complete.

IIRC, at least two of the previous people to have this font issue had Complete as well, but it's been a while since they posted. I'm perplexed how it could work as a mod (BUFFY) but not in CustomAssets or the BTS Assets folder. :confused:
 
I know how to dot map but how do you put the little notes that say "Commerce" or "GP Farm" on the tiles?

Also, I've seen people with different colors on their interface :) how do you change the colors?
 
I know how to dot map but how do you put the little notes that say "Commerce" or "GP Farm" on the tiles?

ALT + S and click to create a sign. Click an existing sign to remove it. Right-click to cancel.

Also, I've seen people with different colors on their interface :) how do you change the colors?

You do this by editing the theme files. BlueMarble is one of the most popular graphics mods people install, and it does this along with the pretty terrain. CivScale is a program that makes this easier (comes with BlueMarble?). Also handy is Ruff_Hi's CustomAssets switching program.
 
Hello!

After a year away from Civ and Bug Mod I seem to have forgot how actually I can see the dot map function of the Bug Mod.
In the options, strategy layer is enabled as well as the dot map function, still I can't make it work.

Any idea?
 
I have a problem using any other mod with the Bug mod installed, I have BUG 4.2.
Basically when I load up a mod like the Mesoamerica one, I have no control interface, and cannot find any way to bring it up, any help would be appreciated, and sorry if this is a question posed before but at 1:30a.m. GMT I'm a bit tired to search.
 
I have a problem using any other mod with the Bug mod installed, I have BUG 4.2.
Basically when I load up a mod like the Mesoamerica one, I have no control interface, and cannot find any way to bring it up, any help would be appreciated, and sorry if this is a question posed before but at 1:30a.m. GMT I'm a bit tired to search.

i had the same problem with Great Generals from Barbarian Combat, but i just assumes it was a problem with the mod it self, not bug or bull
 
Back
Top Bottom