Bug Reporting

How does the game decide what hover text to show, anyhow? Is it the widget type?

Yes, the WidgetType determines how the hover behaves. Unfortunately, the hover text creation code is in the DLL. There are a bunch of hover text features I'd love to add, e.g. culture and GP turns to the city hover.

The two integer parameters (data1 and data2) after the WidgetType also control the hover text generation sometimes. I suppose if you changed BUG you could have broken the hover text. Make sure you're passing in the target player ID as data1 and -1 as data2 to the setText() call.
 
Yes, the WidgetType determines how the hover behaves. Unfortunately, the hover text creation code is in the DLL. There are a bunch of hover text features I'd love to add, e.g. culture and GP turns to the city hover.
Yep, that explains it. WIDGET_LEADERHEAD (as used on f4) shows the espionage string, attitude string, active deals string, and other relations string. But WIDGET_CONTACT_CIV (used on scoreboard) only shows attitude & espionage.

For what it's worth, the contact civ hover didn't show the other relations info on 3.13/Bhruic either.
 
What happens if you switch the scoreboard to use WIDGET_LEADERHEAD? I suspect you won't be able to declare war by alt-clicking or enter trade by ctrl-clicking nor do a normal contact by clicking.

Instead, you'll have to right-click to enter the normal contact screen and won't have access to trade or war directly. I suppose we could make it optional if you'd prefer the extra hover info in the scoreboard without the ability to go to the trade screen or declare war without first contacting the civ.
 
Just don't forget which is which! When you declare war by alt-clicking, it does not give you a chance to confirm your action.

Every so often I get bored and alt-click every player and watch the mayhem as everyone invades me at once while I just hit end-turn repeatedly. :lol:
 
Every so often I get bored and alt-click every player and watch the mayhem as everyone invades me at once while I just hit end-turn repeatedly. :lol:
:rotfl: :D:D:D
 
What happens if you switch the scoreboard to use WIDGET_LEADERHEAD? I suspect you won't be able to declare war by alt-clicking or enter trade by ctrl-clicking nor do a normal contact by clicking.

Instead, you'll have to right-click to enter the normal contact screen and won't have access to trade or war directly. I suppose we could make it optional if you'd prefer the extra hover info in the scoreboard without the ability to go to the trade screen or declare war without first contacting the civ.

I actually tried changing it once but nothing happened. Given how many different windows I had open at the time I probably made the change in the wrong file or something since by all rights it should have worked. But yes, all the special click functions are handled by the widget processor so they'd change too. As useful as it would be to have the extra information in the scoreboard, I love that darned ctrl-click thing too much to change...
 
I don't get the reason why you can see the information in the scoreboard on peace, but not on war. Thinking it's a bug caused by 3.17. I've had revolution mod for 3.13 too and in 3.13 - with that mod - you could always see the war and worst enemy information - if I'm not wrong.
 
@Cybah: are you sure you can see that information at peace under the original game? As for mods, any mod which uses a custom DLL can change what the widget displays pretty easily.
 
sure. you can see all war opponents or worst enemies from everyone at peace. but when YOU declare war on anyone, you can't see his other opponents or worst enemy anymore.
 
See, the thing is I can't ever see that info in the scoreboard under 3.17.

Here is an example, using the original 3.17 DLL. Note that I am at peace with everyone.
1219255963.jpg


So I'm just simply not seeing the same behavior you are. :dunno:
 
well, then revolution mod is adding this information to the scoreboard (except to your war opponents)
 
See, the thing is I can't ever see that info in the scoreboard under 3.17.

Here is an example, using the original 3.17 DLL. Note that I am at peace with everyone.
1219255963.jpg


So I'm just simply not seeing the same behavior you are. :dunno:
But, how is the behavior, if you declared war?
If I understood Cybah correctly, the mentioned bug occurs after declaring war (not while you are at peace).
 
It is exactly the same when I declare war. Cybah is seeing the scoreboard show less information when at war; what I am saying is that with the standard DLL there's no difference between war & peace because you *always* get less information.

So yeah, blame Revolution for it. :p
 
less information at war is still better than always less information :p
 
again, your hall of fame is damaged (just tested your clean BUG mod [no components from other mods], newest SVN revision):


attachment.php



So, my merge or revolution mod is not the reason. Hall of Fame works fine until you play with BUG mod or any other mods merged with BUG mod.


If there is a replay, you even don't need to play a game. Just click on "hall of fame" on main menue and you will see the python error screen.
 
If there is a replay, you even don't need to play a game. Just click on "hall of fame" on main menue and you will see the python error screen.

I have two replays, and I can see the screen just fine. Please post a replay so I can fix this bug. Without a test case that fails, I can't possibly figure out what's going on.

To be clear, I believe you are having a problem with the screen. But I need some way to replicate the problem on my machine to figure out what's wrong. "Unidentifiable C++ exception" is, er, rather unidentifiable! :confused:
 
well, just play a 1on1, cheat some modern armors and defeat your enemy. :D

but... here is a replay attached.
 
well, just play a 1on1, cheat some modern armors and defeat your enemy. :D

I did that, and it shows up in HoF fine.

but... here is a replay attached.

I'll take a look at this later, but I suspect it was played with a mod that messed up the replay. I can't say for sure of course, but if you play a game with stock BUG and it doesn't show up in HoF, post that replay. For now, just store the broken replays in a different folder.
 
I got 5 replays. the one I attached is the last, I've played with STOCK BUG. I will now delete a replay and try again until I've deleted all replays. I'm sure, HoF will not work, never while BUG is active.


edit: so: I've deleted all replays except the one I've attached to my last post. HoF is still not working (same error message).
 
Back
Top Bottom