1.18 released

I think I just found a nasty error in the BUG dotmap function (which might be entirely internal to BUG, or might be caused by some interaction with HR). If you click on one of the palette's 'empty' color blocks, the applicator changes from a BFC shape to a single tile square. If you then click on a tile, the dotmap locks and trying to close it results in the following error message:

"Error in kbdEvent event handler <bound method BugEventManager.onKbdEvent of <BugEventManager.BugEventManager instance at [alphanumeric string that I think ID's the tile clicked on]>>"

Ooh, just tested this and, yeah, all sorts of errors being thrown. Seems to be something to do with defined colours; it's possible I've inadvertently removed or renamed a colour definition that BUG relies on. I actually need to rebuild the entire colour definitions file (as part of solving the Mac <-> PC multiplayer incompatibility) so I'll examine this at the same time. Good catch.

On an unrelated topic, is it possible to change the default hotkeys? Specifically, is it possible to change the screenshot hotkey from "Print Screen" to something that actually exists on my keyboard? If so, how?

It is possible to change many hotkeys, but the screenshot key doesn't seem to be one of them. I suspect that it's defined by Windows and not BTS. OSX's Shift-Ctrl-3 and Shift-Ctrl-4 do work though.

Btw, I'm redefining several hotkeys for 1.19, Improvement ones in particular (as suggested).
 
I've found that the percentage of religion influence which shown in in Victory Status (F8) & Religion Advisor (F7) is different.
Any way to fix it?
 

Attachments

  • 1.jpg
    1.jpg
    303.2 KB · Views: 232
  • 2.jpg
    2.jpg
    260 KB · Views: 137
  • Weixin AD-0125.CivBeyondSwordSave
    Weixin AD-0125.CivBeyondSwordSave
    218.2 KB · Views: 150
I've found that the percentage of religion influence which shown in in Victory Status (F8) & Religion Advisor (F7) is different.
Any way to fix it?

I noticed that the other day too, I'll investigate.
 
Well, I've been playing a long running 1.18 Odyssey game as the Thai, and aside from slowing *way* down once I started sending out caravels and buying maps, it's been pretty stable... until I hit the Renaissance, that is. The very turn that I got Economics and opened the era (only a few turns ahead of my nearest rival), I had my first crash to desktop in a long while after doing nothing more than closing a city screen.

In hopes of helping finally chase down whatever is causing these persistent Renaissance era crashes, I've enabled the following line in the .ini file:

"; Create a dump file if the application crashes
GenerateCrashDumps = 1"

Now the question is, where does it put this dump file? I can't seem to find it.
 
In hopes of helping finally chase down whatever is causing these persistent Renaissance era crashes, I've enabled the following line in the .ini file:

"; Create a dump file if the application crashes
GenerateCrashDumps = 1"

Now the question is, where does it put this dump file? I can't seem to find it.

I'm not sure about that setting in the .ini file (possibly a Windows only setting) but OSX keeps a crash log that you can access using the Console utility, under User Diagnostic Reports.
 
I discovered that the length of Golden Ages is capped at 64.
I assume that this is a BTS feature.

I had a Golden Age in progress and it had about 35 turns to go.
(I had a Humane leader and was playing at Oddysey speed so that Golden Ages start at 48 turns duration.)

I completed the Tah Mahal, and rather than adding another 48 turns, the Golden Age instead now had a remaining duration of 64.

Just thought I would mention it, in case there was an easy fix for the next version of HR.
 
I'm not sure about that setting in the .ini file (possibly a Windows only setting) but OSX keeps a crash log that you can access using the Console utility, under User Diagnostic Reports.

Okay, I finally opened up the Console after my last crash. The first thing I noticed was that there were a bunch of the following (differing only by timestamp):

"9/19/12 4:37:16 PM [0x0-0x20020].com.aspyr.civ4bts[215] Wed Sep 19 16:37:16 (redacted).local Civilization IV Beyond the Sword[215] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer"

The last entry, though, finally pointed me to where its been putting the crash logs. I've zipped up a folder with the last ten and attached it to this post.
 
I discovered that the length of Golden Ages is capped at 64.
I assume that this is a BTS feature.

I had a Golden Age in progress and it had about 35 turns to go.
(I had a Humane leader and was playing at Oddysey speed so that Golden Ages start at 48 turns duration.)

I completed the Tah Mahal, and rather than adding another 48 turns, the Golden Age instead now had a remaining duration of 64.

Just thought I would mention it, in case there was an easy fix for the next version of HR.

It's definitely not a cap, I did some tests and I was able to force golden ages that were 100 turns or more. I think what might be happening is that the code that causes golden age length to double for Humane leaders isn't being called when you're already in a golden age. So you only got 24 turns appended instead of the expected 48.

I'll have to do some more testing to see if this happens with golden ages triggered by both buildings and great people. Hopefully just the former, otherwise I'm not sure if I can fix it.

Okay, I finally opened up the Console after my last crash. The first thing I noticed was that there were a bunch of the following (differing only by timestamp):

"9/19/12 4:37:16 PM [0x0-0x20020].com.aspyr.civ4bts[215] Wed Sep 19 16:37:16 (redacted).local Civilization IV Beyond the Sword[215] <Error>: kCGErrorIllegalArgument: CGSCopyRegion : Null pointer"

The last entry, though, finally pointed me to where its been putting the crash logs. I've zipped up a folder with the last ten and attached it to this post.

Some of those are audio crashes and, as far as I can tell, are caused by a bug in Mac BTS itself. However, let me know if you get any that are repeatable (happen again at the exact some point after loading a saved gave).

The other crashes refer to 'setStackedBarColorsAlpha' which is almost certainly related to the dotmap/strategy layer problem mentioned earlier. Something is clearly broken in the colour definitions file in 1.18; I'm going to rebuild it from scratch for 1.19 and hopefully that will clear up these issues.
 
Apologies for being a bit quiet on here the last couple of weeks. Getting very little free time at the moment but things should settle down in a week or so.
 
The madness of the past few weeks is finally starting to subside and I'll be able to resume working on HR again at last. I'll try get a beta of 1.19 out as soon as possible.
 
In my current game I just noticed that I'm getting double Great General points for experience earned within my own borders even though I do *not* have the Great Wall. As far as I can tell, I don't have any traits, civics, or wonders that should be causing this. First attached save should demonstrate (just use the active Heavy Horseman to kill one of the Sioux Horsemen next to Saxon).

Another possible problem cropped up a few turns later when I captured Wood Lake, but did *not* get the Totem Pole unique building even though I have the Hagia Sophia! Second attached save should be the autosave from the beginning of that turn.
 
Back
Top Bottom