Page 1 of 1

[b19] Hotkey 32 can not be assigned

Posted: Mon Jan 31, 2011 5:34 am
by smuglapse
When I try to assign a skill to hotkey 32 ([shift]+8) it instead assigns it to hotkey 31 ([shift]+7).

I even tried reconfiguring hotkey 32 to a different keyboard press ([shift]+a) and it still does the same thing. I haven't gone through and checked every hotkey to see if this happens with any others--it's just my skill layout happened to run into this particular problem.

Re: Hotkey 32 can not be assigned

Posted: Mon Jan 31, 2011 9:15 pm
by greycat
Is that in beta 19, or some older version? I remember that bug being present a couple releases ago.

Re: Hotkey 32 can not be assigned

Posted: Mon Jan 31, 2011 10:56 pm
by Susramanian
There used to be a typo in game.lua that looked responsible for this bug, but fixing the typo a few betas back didn't fix the bug. It's been mentioned on the forums quite a few times, but seems unkillable. I dub this bug "Agent Smith."

Re: Hotkey 32 can not be assigned

Posted: Mon Jan 31, 2011 11:18 pm
by Susramanian
I've been digging around, and found more occurrences of this typo:

Code: Select all

		HOTKEY_THIRD_6 = function() self:defineHotkey(30) end,
		HOTKEY_THIRD_7 = function() self:defineHotkey(31) end,
		HOTKEY_THIRD_8 = function() self:defineHotkey(31) end,
		HOTKEY_THIRD_9 = function() self:defineHotkey(33) end,
It's present in all of these files:

t-engine4/game/engines/default/engine/dialogs/UseTalents.lua
t-engine4/game/engines/default/engine/dialogs/ShowEquipInven.lua
t-engine4/game/modules/tome/dialogs/UseTalents.lua
t-engine4/game/modules/example/class/Game.lua
t-engine4/game/modules/example_realtime/class/Game.lua

edit: if it turns out that I've finally killed this bug after nineteen betas, I want a Susramanian statue in Last Hope!

Re: Hotkey 32 can not be assigned

Posted: Tue Feb 01, 2011 3:35 am
by smuglapse
greycat wrote:Is that in beta 19...
Yep. Updated title.

Re: [b19] Hotkey 32 can not be assigned

Posted: Fri Feb 04, 2011 1:08 pm
by darkgod
fixed

Re: [b19] Hotkey 32 can not be assigned

Posted: Fri Feb 04, 2011 8:32 pm
by paboperfecto
Bravo I say, Bravo!