Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

The 7 menu buttons disappear all the time. #1405

Closed
wzdev-ci opened this issue Jan 11, 2010 · 15 comments
Closed

The 7 menu buttons disappear all the time. #1405

wzdev-ci opened this issue Jan 11, 2010 · 15 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by hao


During skirmish games, this hexagonal set of 7 buttons in the bottom left corner of the screen disappears after several minutes of playing, though comes back when I save and reload the game.

The stderr contains a lot of messages like this:

error   |08:12:06: [widgSetButtonState] Couldn't find button or clickable widget by ID
error   |08:12:06: [widgSetButtonState] Assert in Warzone: widget.c:1095 (!"Couldn't find widget by ID"), last script event: 'N/A'
```(sometimes the last event is different).

___
_Issue migrated from [trac:1405](https://developer.wz2100.net/ticket/1405) at 2022-04-15 20:53:18 -0700_
@wzdev-ci
Copy link
Contributor Author

Dylan Hsu commented


Did you try pressing tab...

@wzdev-ci
Copy link
Contributor Author

hao commented


I've cleaned my ~/.warzone2100-2.3 and the problem disappeared. :S

Did you try pressing tab...
Sorry, I've already reassigned tab to a different action, and then got lost in the keymapping menu. By the way, the tab key also removes other controls (the dock on the bottom and the menus itself), but during the 'bug' I could still access them with function keys.

@wzdev-ci
Copy link
Contributor Author

hao commented


Oops! Back again.

I should have mentioned that I use multiple mods; that might be the reason; I'll make some further investigations.

Pressign the tab key still works but doesn't bring back the menu buttons (only toggles other controls).

@wzdev-ci
Copy link
Contributor Author

hao commented


It has just happened when I played with only DyDo AI 1.26b mod. Here is what I saw in the stdout when it happened:

info    |09:29:58: [main] (global) mod (dydo-ai_1.2.6b.wz) is enabled
error   |09:30:42: [scrAddStructure] scrAddStructure: tile already occupied by structure
error   |09:30:42: [scrAddStructure] Assert in Warzone: scriptfuncs.c:1920 (0), last script event: 'N/A'
error   |09:30:53: [scrAddStructure] scrAddStructure: tile already occupied by structure
error   |09:30:53: [scrAddStructure] Assert in Warzone: scriptfuncs.c:1920 (0), last script event: 'N/A'
error   |09:30:54: [scrAddStructure] scrAddStructure: tile already occupied by structure
error   |09:30:54: [scrAddStructure] Assert in Warzone: scriptfuncs.c:1920 (0), last script event: 'N/A'

@wzdev-ci
Copy link
Contributor Author

hao commented


Sorry, not stdout but stderr.

@wzdev-ci
Copy link
Contributor Author

hao commented


Well, Without the mod the game works fine, so i guess it's the mod problem, though it wasn't present in beta6.

@wzdev-ci
Copy link
Contributor Author

kenalcock commented


I saw the same thing, and I do not play with any mods. I also have some keys remapped though, so perhaps that is the common thing?

@wzdev-ci
Copy link
Contributor Author

DylanDog commented


this is a problem related to DyDo (and BP) as at the start of the games they both place sensor turrets all around the map to discover oilResources. Such errors are not affecting the AIs is any way. Just ignore them (unless the game crashes -> it shouldn`t by the way...)

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 12, 2010

kenalcock commented


Replying to Warzone2100/old-trac-import#1405 (comment:7):

I saw the same thing, and I do not play with any mods. I also have some keys remapped though, so perhaps that is the common thing?

I played another long game and I haven't been able to recreate this yet.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 13, 2010

hao commented


Replying to Warzone2100/old-trac-import#1405 (comment:8):

this is a problem related to DyDo (and BP) as at the start of the games they both place sensor turrets all around the map to discover oilResources. Such errors are not affecting the AIs is any way. Just ignore them (unless the game crashes -> it shouldn`t by the way...)

Well, that explains the error messages in my second attempt to post them, but not the problem itself.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 17, 2010

hao commented


Replying to Warzone2100/old-trac-import#1405 (comment:7):

I saw the same thing, and I do not play with any mods. I also have some keys remapped though, so perhaps that is the common thing?
Yes, I've noticed it too. This also happens without the DyDo AI, though it's much more rare. The error log is similar to what I've posted in the first message.

@wzdev-ci
Copy link
Contributor Author

Per changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Per set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

Per commented


I think I've fixed this in [9325], please try the forthcoming beta.

@wzdev-ci
Copy link
Contributor Author

hao commented


Yes, it seems to be working fine now. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant