#894 closed defect (invalid)
Javascript errors and warnings when using Alt, Ctrl or Shift keys
Reported by: | frapell | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 7 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
I get this messages each time i press the "Alt", "Ctrl" or "Shift" keys:
Alt: WARNING: JavaScript warning: gui/session/input.js line 1143 reference to undefined property g_Groups.groups[groupId] ERROR: JavaScript error: gui/session/input.js line 1143 TypeError: g_Groups.groups[groupId] is undefined
performGroup("snap",(void 0))@gui/session/input.js:1143 handleInputAfterGui([object Object])@gui/session/input.js:682
Ctrl: WARNING: JavaScript warning: gui/session/input.js line 1161 reference to undefined property g_Groups.groups[groupId] ERROR: JavaScript error: gui/session/input.js line 1161 TypeError: g_Groups.groups[groupId] is undefined
performGroup("save",(void 0))@gui/session/input.js:1161 handleInputAfterGui([object Object])@gui/session/input.js:682
Shift: WARNING: JavaScript warning: gui/session/selection.js line 390 reference to undefined property this.groups[groupName] ERROR: JavaScript error: gui/session/selection.js line 390 TypeError: this.groups[groupName] is undefined
((void 0),[object Array])@gui/session/selection.js:390 performGroup("add",(void 0))@gui/session/input.js:1155 handleInputAfterGui([object Object])@gui/session/input.js:682
This happens in the following scenarios:
- When no units nor buildings are selected
- When a building is selected
- When a single unit is selected
- When a group of units are selected
This does not happen when i have a single unit or a group of units selected and i have a building to build.
The keys work despite of these errors.
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I always compile from SVN and i'm experiencing this errors for quite some time now...
i currently am in revision 9808
after svn up i did: make clean under "gcc" ./clean-workspaces.sh ./update-workspaces.sh and finally make CONFIG=Release
comment:3 by , 13 years ago
Sounds like your config files may be broken. Check the hotkey definitions in ~/.config/0ad/config/local.cfg
and binaries/data/config/default.cfg
.
comment:4 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Yes, sorry, it was caused by old local config :(
i removed ~/.config/0ad
comment:5 by , 13 years ago
Milestone: | Backlog → Alpha 7 |
---|
Hmm, what version of the game do you have?