kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
346 stars 332 forks source link

Map_Actions numpad keys reprogramming #1730

Open GRoaches opened 5 years ago

GRoaches commented 5 years ago

Sorry if this is already answered... Had a really hard time finding anything on it.

Can anyone give me and everybody else without a numpad a little tutorial on how to reroute the maphack actions (tele to, stop, ect.) ?

5noop commented 5 years ago

Open MapThread.js (under kolbot/tools) and check between lines 450 to 480. Each "case" correspond to a key, so when you have case 96: // Numpad 0, 96 is the key code of numpad 0. You just have to change these numbers, you can find the key codes here for example: http://keycode.info/

GRoaches commented 5 years ago

thank you. wonderfully put. exactly what i wanted to know.

mf022 commented 5 years ago

anyway, a mini guide can be find at - https://github.com/blizzhackers/documentation/blob/master/kolbot/Hotkeys.md

gtoilet commented 5 years ago

but what if i wanted to change the pause key to something like right ctrl key? POS laptop dont have pause key

5noop commented 5 years ago

It's in ToolsThread.js, check mf022's link.

gtoilet commented 5 years ago

yea the link only stated one ctrl i didnt know if there was a difference between left/right