Switch gear in seconds using logitech keyboard/mouse (g15 g11 g19 g13 g300 g400) menu

User Tag List

Page 4 of 4 FirstFirst 1234
Results 46 to 52 of 52
  1. #46
    Domeno's Avatar Member
    Reputation
    2
    Join Date
    Aug 2012
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whats a simple script for the G11 to equip horn, blow it, then reequip weapon?

    Switch gear in seconds using logitech keyboard/mouse (g15 g11 g19 g13 g300 g400)
  2. #47
    h1kar1's Avatar Member
    Reputation
    1
    Join Date
    Aug 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good day.

    I'm trying to get the "My version" gear swap working however.
    It seems to start the run and the cursor is off the bottom left of the screen. None of the gear swaps at all.

    I'm using
    MacPro. (mountain Lion)
    Apple Cinema Display (1920 x 1200)
    Logitech G19 (version 3.0.6.12

    Letter box is NOT checked.
    I've tired Fullscreen, Windowed and fullscreen windowed with same results.

    Anyone have any thoughts on how to fix this?

  3. #48
    sn4rk's Avatar Active Member
    Authenticator enabled
    Reputation
    48
    Join Date
    Jun 2008
    Posts
    71
    Thanks G/R
    19/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by h1kar1 View Post
    Good day.
    ***
    Apple Cinema Display (1920 x 1200)
    ***
    Anyone have any thoughts on how to fix this?
    Hi.
    The script was for 1920*1080 so you have to find thee coordinates for your resolution 1920*1200 by yourself.
    When you press G2 you'll see them on keyboard's screen so change all coordinates and maybe it'll help you.

  4. #49
    cabinetguy's Avatar Private
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't seem to figure out how to make my 2H bow and quiver swap properly with my 1h MF/GF weapon and shield. When it runs through the script, if either my weapon or off hand is selected, it automatically disarms the other and puts it into the first available slot so when I rerun the script, the replacement is not in the slot where the script is looking because it was automatically disarmed at the same time the weapon/offhand was switched. Any suggestions?

  5. #50
    Clavier's Avatar Private
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice thanks

  6. #51
    calfa's Avatar Private
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi all,

    Altough the script works perfectly, i still felt a bit scared of a possible ban. Due to this, i added some random timers instead of absolute sleep values.

    Code:
    function OnEvent(event, arg)
     if (event == "G_PRESSED" and arg == 6) then
     Letterbox = ""
     Random = "X"
    --Save current cursor position
     x, y = GetMousePosition();
    --Open Inventory
     PressAndReleaseKey("c")
    --Random time since inventory is opened until script starts changing items
     Sleep(math.random(100,333));
    --Equip items by X and Y axis, Item Volume (1 or 2), IsLetterbox(VideoOption in game "X" if set),
    --IsRandom(set "X' if you need random mouse pointer), Modificator ("ralt", etc)
     EquipItemInventory(1, 1, 2, Letterbox, Random) 
     EquipItemInventory(2, 1, 2, Letterbox, Random) 
     EquipItemInventory(3, 1, 2, Letterbox, Random) 
     EquipItemInventory(4, 1, 2, Letterbox, Random) 
     EquipItemInventory(5, 1, 2, Letterbox, Random) 
     EquipItemInventory(6, 1, 2, Letterbox, Random) 
     EquipItemInventory(7, 1, 2, Letterbox, Random) 
     EquipItemInventory(8, 1, 1, Letterbox, Random) 
     EquipItemInventory(8, 2, 1, Letterbox, Random) 
     EquipItemInventory(9, 1, 2, Letterbox, Random)  
     EquipItemInventory(10, 1, 1, Letterbox, Random)
    --Time it takes to close inventory since it finished changing items
     Sleep(math.random(200,500));  
    --Close Inventory
     PressAndReleaseKey("c")
     Sleep(20);
    --Mouse won't go back to previous position
    --MoveMouseTo(x, y)
     end
    -------------------------------------------
    --View current mouse position on LCD screen
     if (event == "G_PRESSED" and arg == 2) then
     ClearLCD ()
     x, y = GetMousePosition();
     OutputLCDMessage("Mouse is at x=" .. x .. "; y= " .. y, 2000)
    -- OutputLogMessage("x=" .. x .. "; y= " .. y .. "\n")
     end
    end
    ----------------------------------------
    --Random clicking inside square limits--
    ----------------------------------------
    function EquipItemInventory (Item_X, Item_Y, SlotVolume, IsLetterbox, IsRandom, Modify)
    --Default values
    
    if IsLetterbox == "X" then
     MinVal_X = {48400, 50600, 51800, 53500, 55200, 56700, 58500, 60200, 61800, 63500}
     MaxVal_X = {49400, 51000, 52700, 54300, 56000, 57700, 59300, 61000, 62700, 64300}
     MinVal_Y = {35700, 38500, 41000, 43800, 46400, 48800}
     MaxVal_Y = {37700, 39800, 42500, 45000, 47700, 50200}
    else
     MinVal_X = {48933, 50610, 52351, 53951, 55630, 57301, 58975, 60580, 62253, 63930}
     MaxVal_X = {48938, 50614, 52353, 53958, 55633, 57304, 58979, 60482, 62256, 63934}
     MinVal_Y = {36200, 39000, 41800, 44800, 48461, 51561}
     MaxVal_Y = {37700, 40500, 43500, 46500, 48468, 51566}
    end
    --Use random function
    if IsRandom == "X" then
     MouseX = MinVal_X[Item_X] + math.random(1, math.abs(MaxVal_X[Item_X] - MinVal_X[Item_X]))
     if SlotVolume == 1 then
     MouseY = MinVal_Y[Item_Y] + math.random(1, math.abs(MaxVal_Y[Item_Y] - MinVal_Y[Item_Y]))
     elseif SlotVolume == 2 then
     MouseY = MinVal_Y[Item_Y] + math.random(1, math.abs(MaxVal_Y[Item_Y+1] - MinVal_Y[Item_Y]))
     end
    else
     MouseX = math.ceil((MinVal_X[Item_X] + MaxVal_X[Item_X])/2)
     if SlotVolume == 1 then
     MouseY = math.ceil((MinVal_Y[Item_Y] + MaxVal_Y[Item_Y])/2)
     elseif SlotVolume == 2 then
     MouseY = math.ceil((MinVal_Y[Item_Y] + MaxVal_Y[Item_Y+1])/2)
     end
    end
    
    MoveMouseTo(MouseX, MouseY)
    if Modify then
     PressKey(Modify)
     Sleep(50);
    end
    --Mouse right click
    PressAndReleaseMouseButton(3)
    --Right click with random time from 200 ms to 350
    Sleep(math.random(200,350));
    if Modify then
     ReleaseKey(Modify)
     Sleep(50);
    end
    end
    It will obviously take a bit longer to do the whole process, but...do u guys think there's still the risk of being banned?

    PS: Thousand thanks to sn4rk for the script! Ihave never seen something like LUA, and didn't even know my G19 could do that :þ

  7. #52
    lostsk8r's Avatar Active Member

    Reputation
    22
    Join Date
    Apr 2009
    Posts
    313
    Thanks G/R
    15/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I wanted to have it equip two weapons instead of sword and shield, how would I get it to go from 2hander to dual weapons? seems to be a conflict with that, maybe use an alt modifier? Anyone that could show me an example of the code, I can just put it in myself and configure it. Thanks

Page 4 of 4 FirstFirst 1234

Similar Threads

  1. Logitech Keyboard
    By Sonho in forum Community Chat
    Replies: 1
    Last Post: 01-15-2011, 02:19 PM
  2. [PvP] How to use Razer Keyboard Drivers for Tol'Barad Honor
    By Iamuser999 in forum World of Warcraft Guides
    Replies: 10
    Last Post: 01-05-2011, 12:55 AM
  3. Replies: 3
    Last Post: 06-16-2010, 03:26 AM
  4. [Tutorial] How to use a Keyboard
    By Mudkips in forum Community Chat
    Replies: 11
    Last Post: 09-22-2009, 06:02 PM
  5. (Exploit\trick) Flying without using the keyboard and mouse!
    By dragoonman in forum World of Warcraft Exploits
    Replies: 19
    Last Post: 07-04-2008, 12:41 AM
All times are GMT -5. The time now is 07:50 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search