Log in

View Full Version : Buttons >INSERT>HOME>PAGE UP>DELETE>END>PAGE DOWN how to switch off



rusek
03-06-2016, 01:39 PM
Hello every one im new user of xenobot do u know how to switch off this buttons coz when im press it this cast me set hotkeys from shift+ f1 to shift f6 i want to switch off this coz im use this buttons for different tools like fraps to recording and team speak to talk button on insert im use xeno bot just to lotting and play manually. Thanks.

Jontor
03-06-2016, 02:33 PM
Try this


for i = 1, 255 do
UnRegisterHotkey(i)
end

rusek
03-08-2016, 04:51 AM
whare paste it and how to use with alrady loaded lotting script

Jontor
03-08-2016, 07:11 AM
Paste it on top in the looter script

rusek
03-08-2016, 08:03 PM
i dont wanna this hotkeys in bot how to switch off your script not working....

Jontor
03-09-2016, 07:32 AM
i dont wanna this hotkeys in bot how to switch off your script not working....

This works


for name, value in pairs(Hotkeys) do
if (type(value) == "number") then
Hotkeys.Register(value)
end
end

rusek
03-10-2016, 07:31 AM
Jontor
I really thanksfull for your trying but unfortunantelly this scripts above switch of all hotkeys even f1-f12,shift+f12,ctrl f1+f12. Yes when im press insert, home, pageup, pagedown, delete, end is not press this is exacly want but i want to have hotkeys in tibia while im playing
Question is
how to made it to do working all standart hotkeys from tibia but dont add xenobot extra things like press insert, home, pageup, pagedown, end, delete coz im relly no needed anyway if u find right way to discovery i will I will be very grateful. rusek

Jontor
03-11-2016, 05:55 AM
rusek


removeHotkeys = {}

removeHotkeys.PAGEUP = 0x21
removeHotkeys.PAGEDOWN = 0x22
removeHotkeys.INSERT = 0x2D
removeHotkeys.DELETE = 0x2E
removeHotkeys.END = 0x23
removeHotkeys.HOME = 0x24

for name, value in pairs (removeHotkeys) do
if (type(value) == "number") then
Hotkeys.Register(value)
end
end