shift+8 key bug

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
atan59
Higher
Posts: 71
Joined: Sat May 22, 2010 6:34 pm

shift+8 key bug

#1 Post by atan59 »

When I assign a spell to <shift>+8 it actually gets assigned to <shift>+7, and when I type <shift>+8 it actually executes the talent assigned to <shift>+7. There's no such problem with hotkeys 7 / 8 or <ctrl>-7 / <ctrl>-8
(if you didn't guess yet, I discovered this while playing a mage :-) )

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: shift+8 key bug

#2 Post by darkgod »

Can you check the keybinds menu and check they are not both bound to the same key(s) ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

atan59
Higher
Posts: 71
Joined: Sat May 22, 2010 6:34 pm

Re: shift+8 key bug

#3 Post by atan59 »

Just checked, and this is not the case. It says clearly:

Code: Select all

Third Hotkey 7                 [shift]+7
Third Hotkey 8                 [shift]+8
In fact, I never changed any keybindings, that's the first time I look at this menu.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: shift+8 key bug

#4 Post by darkgod »

Can you uncomment line 195 of game/engine/KeyBind.lua please
then run the game, press both keys and send me the [BIND] lines
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

atan59
Higher
Posts: 71
Joined: Sat May 22, 2010 6:34 pm

Re: shift+8 key bug

#5 Post by atan59 »

Here's the result of a grep on BIND of stdout after the uncommenting:
[KEYBINDER] Loaded keybinds: move
[KEYBINDER] Loaded keybinds: actions
[KEYBINDER] Loaded keybinds: hotkeys
[KEYBINDER] Loaded keybinds: inventory
[KEYBINDER] Loaded keybinds: debug
[BIND] 258 false false false false 2 :=: sym:258:false:false:false:false uni:2 ?=? MOVE_DOWN nil
[BIND] 258 false false false false nil :=: sym:258:false:false:false:false nil ?=? MOVE_DOWN nil
[BIND] 258 false false false false 2 :=: sym:258:false:false:false:false uni:2 ?=? MOVE_DOWN nil
[BIND] 258 false false false false nil :=: sym:258:false:false:false:false nil ?=? MOVE_DOWN nil
[BIND] 264 false false false false 8 :=: sym:264:false:false:false:false uni:8 ?=? MOVE_UP nil
[BIND] 264 false false false false nil :=: sym:264:false:false:false:false nil ?=? MOVE_UP nil
[BIND] 264 false false false false 8 :=: sym:264:false:false:false:false uni:8 ?=? MOVE_UP nil
[BIND] 264 false false false false nil :=: sym:264:false:false:false:false nil ?=? MOVE_UP nil
[BIND] 260 false false false false 4 :=: sym:260:false:false:false:false uni:4 ?=? MOVE_LEFT nil
[BIND] 260 false false false false nil :=: sym:260:false:false:false:false nil ?=? MOVE_LEFT nil
[BIND] 260 false false false false 4 :=: sym:260:false:false:false:false uni:4 ?=? MOVE_LEFT nil
[BIND] 260 false false false false nil :=: sym:260:false:false:false:false nil ?=? MOVE_LEFT nil
[BIND] 262 false false false false 6 :=: sym:262:false:false:false:false uni:6 ?=? MOVE_RIGHT nil
[BIND] 262 false false false false nil :=: sym:262:false:false:false:false nil ?=? MOVE_RIGHT nil
[BIND] 262 false false false false 6 :=: sym:262:false:false:false:false uni:6 ?=? MOVE_RIGHT nil
[BIND] 262 false false false false nil :=: sym:262:false:false:false:false nil ?=? MOVE_RIGHT nil

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: shift+8 key bug

#6 Post by darkgod »

What keys did you press for each of them ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

atan59
Higher
Posts: 71
Joined: Sat May 22, 2010 6:34 pm

Re: shift+8 key bug

#7 Post by atan59 »

Sorry, that was in fact not a relevant part of stdout. Here is what I get pressing shift+7, then shift+8, then shift+7 again:

Code: Select all

[BIND]	304	false	false	false	false	nil	 :=: 	sym:304:false:false:false:false	nil	 ?=? 	HOTKEY_HOTPAGE3	nil
[BIND]	55	false	true	false	false	/	 :=: 	sym:55:false:true:false:false	uni:/	 ?=? 	HOTKEY_THIRD_7	nil
[BIND]	55	false	true	false	false	nil	 :=: 	sym:55:false:true:false:false	nil	 ?=? 	HOTKEY_THIRD_7	nil
[BIND]	56	false	true	false	false	(	 :=: 	sym:56:false:true:false:false	uni:(	 ?=? 	HOTKEY_THIRD_8	nil
[BIND]	56	false	true	false	false	nil	 :=: 	sym:56:false:true:false:false	nil	 ?=? 	HOTKEY_THIRD_8	nil
[BIND]	55	false	true	false	false	/	 :=: 	sym:55:false:true:false:false	uni:/	 ?=? 	HOTKEY_THIRD_7	nil
The game output for this is:

Code: Select all

Aragast casts Illuminate.
Illuinate is still on cooldown for 13 turns.
Illuinate is still on cooldown for 13 turns.
and the keybinds according to the green list on the lower right are:

Code: Select all

31) Illuminate(13)               Key: [shift]+7
32) Nature's Call                Key: [shift]+8

Post Reply