What causes the "command buttons don't show up"-Bug?

Ryika

Lazy Wannabe Artista
Joined
Aug 30, 2013
Messages
9,393
This one here:

attachment.php


I know that for some reason fiddling around with promotions sometimes (always?) causes this bug (like my old explorer mod did or the Enhanced Promotions-Mod), but the mod I'm currently working on doesn't really do that. It does all kinds of other things though, so I can't really see what exactly the cause for that issue is (and having to completely restart the game before making some changes to figure it out starts to become really annoying. :D).

Search Function doesn't really bring up ANY threads about this issue, though it seems to be quite well known on the workshop. Any other known factors other than promotions?
 
The problem lies with the "GameInfoActions" lua table not syncing with the updated SQL tables after mods are loaded. It is a very specific bug but there can't be a fix without access to the game's source or a patch.
 
I had this problem after a patch and some mods I was using caused this. I found when I used the downloaded mods and my mod this sometimes happened but if I used the mods individually they always worked fine. Also the mods had no overlap or conflict so it would seem like a random error that happens, the mods sometimes work all together fine without this issue so I'm hoping fraxis will patch it soon.

If you load a game and this has happened you can still use the key commands rather than the UI, so If you are creating and testing a mod that adds an improvement, promotion ect to a unit, be sure to assign a keyboard command in the mod.
 
Yes, the testing itself isn't s much the problem (after all it can be fixed for me by just going back to the menu once after activating the mod) - the problem was finding out what caused the problem and having to completely restart the game everytime because that bug only shows up once. But reading lilgamefreeks comment and even understanding half of it I decided just to accept that that annoyance will exist and went all-out with promotions and other stuff. Much easier than trying to work around that problem. 8)

Anyway, thanks to both of you. :)
 
Back
Top Bottom