The KGB Oracle
Serving the online gaming community since 1997
Visit www.the-kgb.com
For additional information

Join KGB DISCORD: http://discord.gg/KGB
 
KGB Information
Untitled 1

Visit KGB HQ
www.the-kgb.com

Who's Online Now
0 members (), 60 guests, and 16 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Today's Birthdays
Winter
Newest Members
Luckystrikes, Shingen, BillNyeCommieSpy, Lamp, AllenGlines
1,477 Registered Users
Forum Statistics
Forums53
Topics13,094
Posts116,355
Members1,477
Most Online276
Aug 3rd, 2023
Top Likes Received (30 Days)
None yet
Top Posters(30 Days)
Popular Topics(Views)
2,031,261 Trump card
1,340,662 Picture Thread
478,835 Romney
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: Jun 2008
Posts: 1,036
KGB Arch Duke
****
OP Offline
KGB Arch Duke
****
Joined: Jun 2008
Posts: 1,036
the g18 key for my g15 keyboard is a quick loot button and the g6 key cycles thru all 8 of the left radial buttons the g7 thru all 8 of the right radial buttons
the g14 button cycles thru the first 4 right radial buttons and the g13 button cycles thru the first 6 left radial buttons


G6 = {"1","2","3","4","5","6","7","8"}
G7 = {"1","2","3","4","5","6","7","8"}
G14 = {"1","2","3","4"}
G13 = {"1","2","3","4","5","6"}
function OnEvent(event, arg, family)
if event == "G_PRESSED" and arg == 13 and family == "lhc" then
i13 = (i13 or 0) + 1
if i13 > #G13 then i13 = 1 end
PressKey("lalt")
Sleep(40)
PressKey(G13[i13])
Sleep(40)
ReleaseKey(G13[i13])
ReleaseKey("lalt")
elseif event == "G_PRESSED" and arg == 14 and family == "lhc" then
i14 = (i14 or 0) + 1
if i14 > #G14 then i14 = 1 end
PressKey("lctrl")
Sleep(40)
PressKey(G14[i14])
Sleep(40)
ReleaseKey(G14[i14])
ReleaseKey("lctrl")
elseif event == "G_PRESSED" and arg == 7 and family == "lhc" then
i7 = (i7 or 0) + 1
if i7 > #G7 then i7 = 1 end
PressKey("lctrl")
Sleep(40)
PressKey(G7[i7])
Sleep(40)
ReleaseKey(G7[i7])
ReleaseKey("lctrl")
elseif event == "G_PRESSED" and arg == 6 and family == "lhc" then
i6 = (i6 or 0) + 1
if i6 > #G6 then i6 = 1 end
PressKey("lalt")
Sleep(40)
PressKey(G6[i6])
Sleep(40)
ReleaseKey(G6[i6])
ReleaseKey("lalt")
elseif (event == "G_PRESSED" and arg == 18) and family == "kb" then
x, y = GetMousePosition();
PressMouseButton(1)
Sleep(10)
MoveMouseTo(30000, 60500)
Sleep(800)
ReleaseMouseButton(1)
Sleep(10)
MoveMouseTo(x, y)


end
end


Joined: Jun 2010
Posts: 79
KGB Knight
Offline
KGB Knight
Joined: Jun 2010
Posts: 79
Ok, I understand the key layout, but guess my question is more how do i use this script. I am used to having a seperate script for each key. am I missing someplace in the keyboard commands that I can copy and paste this one long script in that will assign the functions to the aforementioned keys?


KGB Member
Joined: Nov 2010
Posts: 63
Likes: 1
KGB Knight
Offline
KGB Knight
Joined: Nov 2010
Posts: 63
Likes: 1
Yes. If you want to use a script, go to where you configure the GKeys. From there on the profile button on the top, there is a drop-down menu.


Last edited by Ignorance1; 12/26/12 08:57 PM.
Joined: May 2009
Posts: 172
KGB Supreme Knight
***
Offline
KGB Supreme Knight
***
Joined: May 2009
Posts: 172
I am currently using a Razer Mouse. Does anyone know if there is a way to set it up to do an auto loot??

Joined: Jun 2008
Posts: 1,036
KGB Arch Duke
****
OP Offline
KGB Arch Duke
****
Joined: Jun 2008
Posts: 1,036
noticed u can double click to loot in new game i deleted my loot macro


Joined: Jun 2008
Posts: 1,036
KGB Arch Duke
****
OP Offline
KGB Arch Duke
****
Joined: Jun 2008
Posts: 1,036
G6 = {"1","2","3","4","5","6","7","8"}
G7 = {"1","2","3","4","5","6","7","8"}
G14 = {"1","2","3","4","5"}
G13 = {"2","3","4"}
G19 = {"7","6"}
G11 = {}
G12 = {"6","5","1"}
function OnEvent(event, arg, family)
if event == "G_PRESSED" and arg == 13 and family == "lhc" then
i13 = (i13 or 0) + 1
if i13 > #G13 then i13 = 1 end
PressKey("lalt")
Sleep(40)
PressKey(G13[i13])
Sleep(40)
ReleaseKey(G13[i13])
ReleaseKey("lalt")
elseif event == "G_PRESSED" and arg == 14 and family == "lhc" then
i14 = (i14 or 0) + 1
if i14 > #G14 then i14 = 1 end
PressKey("lctrl")
Sleep(40)
PressKey(G14[i14])
Sleep(40)
ReleaseKey(G14[i14])
ReleaseKey("lctrl")
elseif event == "G_PRESSED" and arg == 7 and family == "lhc" then
i7 = (i7 or 0) + 1
if i7 > #G7 then i7 = 1 end
PressKey("lctrl")
Sleep(40)
PressKey(G7[i7])
Sleep(40)
ReleaseKey(G7[i7])
ReleaseKey("lctrl")
elseif event == "G_PRESSED" and arg == 6 and family == "lhc" then
i6 = (i6 or 0) + 1
if i6 > #G6 then i6 = 1 end
PressKey("lalt")
Sleep(40)
PressKey(G6[i6])
Sleep(40)
ReleaseKey(G6[i6])
ReleaseKey("lalt")
elseif event == "G_PRESSED" and arg == 19 and family == "lhc" then
i19 = (i19 or 0) + 1
if i19 > #G19 then i19 = 1 end
PressKey("lctrl")
Sleep(40)
PressKey(G19[i19])
Sleep(40)
ReleaseKey(G19[i19])
ReleaseKey("lctrl")
elseif event == "G_PRESSED" and arg == 11 and family == "lhc" then
i11 = (i11 or 0) + 1
if i11 > #G11 then i11 = 1 end
PressKey("lalt")
Sleep(40)
PressKey(G11[i11])
Sleep(40)
ReleaseKey(G11[i11])
ReleaseKey("lalt")
elseif event == "G_PRESSED" and arg == 12 and family == "lhc" then
i12 = (i12 or 0) + 1
if i12 > #G12 then i12 = 1 end
PressKey("lalt")
Sleep(40)
PressKey(G12[i12])
Sleep(40)
ReleaseKey(G12[i12])
ReleaseKey("lalt")
end
end


Page 2 of 2 1 2

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5