Python Performance and Interface Overhaul (PPIO)

Cool, unbuildable things are separated from buildable ones.

Spoiler :

Civ4BeyondSword 2018-08-26 13-22-09-07.jpg


Maybe that change affected somehow action buttons on units?
 
Name of city could be displayed somewhere, if you are outside of city when added things to build queue.
Before it wasn't hidden by this panel.
 
Completly unrelated.
Btw, unavailable unit action buttons are properly grayed out for me.
Looks like this bug is induced when I choose smallest size of action buttons.

Spoiler :

Civ4BeyondSword 2018-08-26 13-47-19-53.jpg
Civ4BeyondSword 2018-08-26 13-47-15-55.jpg



Got one python error.
Traceback (most recent call last):
File "BugEventManager", line 313, in _handleDefaultEvent
File "CvEventManager", line 1439, in onBuildingBuilt
NameError: global name 'iPop' is not defined

Here is autosave.

This one likes to pop sometimes too - it happens randomly when hovering over units.

Spoiler :

Civ4BeyondSword 2018-08-26 14-15-03-49.jpg

 

Attachments

Last edited:
BUG option "inverse shift on queing" is not working with latest update.
I know, I remember thinking: "inverse queuing.... I'll get back to that later", while working on the last big release.
It will be fixed soon.
Looks like this bug is induced when I choose smallest size of action buttons.
I guess it's an engine limitation for multi-list UI elements.
Got one python error.
Traceback (most recent call last):
File "BugEventManager", line 313, in _handleDefaultEvent
File "CvEventManager", line 1439, in onBuildingBuilt
NameError: global name 'iPop' is not defined

This one likes to pop sometimes too - it happens randomly when hovering over units.
Noted.
 
I guess it's an engine limitation for multi-list UI elements.

Darnit, next smallest icons are too big on my screen.
Using smallest sized icons worked correctly when it came to greying out stuff.
 
PPIO v0.5.9.6.0.6 ▬ Hotfix
  • Fixed both errors reported by Raxo above.
    • The first one has been around since long before v0.5.9.6 and it happens when the silk road wonder is built, breaking the silk road map effect.
    • The second one was a new one, a derp I recently made.
Darnit, next smallest icons are too big on my screen.
Using smallest sized icons worked correctly when it came to greying out stuff.
I think the smallest size is now smaller than what it used to be, I'll look into what size used to be smallest.

Edit: Ok, smallest size used to be 36x36 pixels. Now it is 32x32.
 
PPIO v0.5.9.6.0.6 ▬ Hotfix
  • Fixed both errors reported by Raxo above.
    • The first one has been around since long before v0.5.9.6 and it happens when the silk road wonder is built, breaking the silk road map effect.
    • The second one was a new one, a derp I recently made.

I think the smallest size is now smaller than what it used to be, I'll look into what size used to be smallest.

Edit: Ok, smallest size used to be 36x36 pixels. Now it is 32x32.
Hmm can you add back 36x36 size?
I guess something didn't except buttons being smaller than that :p
 
If you can figure out how to replicate it, then I could fix it real fast. Right now I have no theory on how that could happen.
This happened fairly regularly when you tried to queue actions of worker without moving it first.
 
PPIO v0.5.9.6.0.7 ▬ Hotfix
  • Tweaked the option choices for the "unit action icon size" BUG option.

Hi,
first of all I want to thank you for your great work. You made the C2C much more enjoyable for us bu tweaking its biggest weakness. Really appreciate the effort!

I want to give you a quick feedback reg newest changes:
  • I've also experienced the bug that rexo is mentioning. It happened only once after loading the game so it's barely any inconvenience. Couldn't replicate it though
  • There is another bug: While on the city screen with building window opened I've pressed next city arrow and almost simultaneously ESC to exit the view. The city screen closed but I wasn't able to select anything in the main map. Not a unit or city. I was to restart the game.
  • The great person bar next to the tech bar at the main screen is missing city name now
  • While mousing over building there used to be something like Actual effects part of the tooltip. It showed computed effects of bonuses of the building. Now it is gone. Is it be possible to bring it back?
Reg last one: As I am a software dev and I've got a bit of experience in python I was trying to find a way to add it myself by comparing the old and the new City interface file. I didn't manage to find a way to bring back the tooltip, but it was because of so little time I've got yesterday. If I will spend more time reading the code I am sure I will be able to understand it and maybe be of any help in the future.

Anyway, great job! Keep it up!
 
Last edited:
When new window for building, units and wonders are on city screen, some tooltips of the city screen don't work. Tooltip on building queu works, but specialist don't, also when mousing over production, food, no tooltip.
 
I want to give you a quick feedback reg newest changes:
  1. I've also experienced the bug that rexo is mentioning. It happened only once after loading the game so it's barely any inconvenience. Couldn't replicate it though
  2. There is another bug: While on the city screen with building window opened I've pressed next city arrow and almost simultaneously ESC to exit the view. The city screen closed but I wasn't able to select anything in the main map. Not a unit or city. I was to restart the game.
  3. The great person bar next to the tech bar at the main screen is missing city name now
  4. While mousing over building there used to be something like Actual effects part of the tooltip. It showed computed effects of bonuses of the building. Now it is gone. Is it be possible to bring it back?
Reg last one: As I am a software dev and I've got a bit of experience in python I was trying to find a way to add it myself by comparing the old and the new City interface file. I didn't manage to find a way to bring back the tooltip, but it was because of so little time I've got yesterday. If I will spend more time reading the code I am sure I will be able to understand it and maybe be of any help in the future.
1. Ok, if you manage to replicate it later, do tell how.
2. Interesting glitch, I'm sure I can tighten that loose screw somehow.
3. Oh, I hadn't noticed, I'll have to look into what changes I made that could be related.
4. That one should be easy to fix, I'll handle it. I'm not a software dev. so I would appreciate any help you could provide if you obtain an insight in the python coding.
When new window for building, units and wonders are on city screen, some tooltips of the city screen don't work. Tooltip on building queu works, but specialist don't, also when mousing over production, food, no tooltip.
It's by design, there is a large invisible button covering all those things that don't show tooltips, the button close the city tab window when clicked.
I could of course bring some stuff to the other side of the large invisible button so that they can be interacted with.
Is there something in particular that you consider vital to be able to interact with when a city tab is open?
 
Last edited:
I used to watch production tooltip to look for buidings to construct, but the filters in the build menu can perform that role too, and are easier to use now with the big new menu.

report: when I open city screen and go to build unit menu, I can't exit city screen pressing Esc, I must switch first to building or wonder contruction menu.
 
Those buttons don't move reliably to top left corner of menu, when you build buildings/wonders - sometimes they shift back and sometimes they leave empty space.
 
Back
Top Bottom