Reply
Logi Nu
BenBlank
Posts: 4
Registered: ‎07-19-2009
0

G13, modes, scripts, and WoW

I have an idea in my head which I'm not sure how best to implement; my G13 is still very new.  :-)

 

I'd like to have a particular key (G22) put my keys into a "shift" mode which ends whenever I press any other key.  For example, if I bind G1 to "A" and press-and-release G22, then G1, it should send the keys "A", then "Shift-A" and leave me (or put me back) in mode 1.

 

I've had a few ideas as to how to do this.  At first, I wanted to use G22 as a "toggle" for the Shift key, but that only seems to be possible through the repeat options, which are only available for the joystick, it appears.  I then set up G22 to change the mode to M2 and started mapping the M2 keys to the shifted equivalents of my M1 keys, but this leaves me in M2 after pressing any of them.

 

Looking at the script API, it actually looks pretty straightforward to accomplish exactly what I want via a script (and just map every key in M2 to the script), but I'm worried that using the script might trigger World of Warcraft's "Warden" program, as scripts can also be used to violate the game's TOS.

 

Is there a way to get what I want without scripting?  Does WoW even care whether you use a script?

Logi Guru
Trusselo
Posts: 1,323
Registered: ‎04-04-2009

Re: G13, modes, scripts, and WoW

[ Edited ]

7 posts down from the top, when you wrote this was this thread: Fist 2 words of the title "SHIFT STATE"

http://forums.logitech.com/logitech/board/message?board.id=gserieskeyboards&thread.id=4180

wow that was easy

Message Edited by Trusselo on 07-19-2009 10:48 PM


My G13 Pofile Folder

Help me out. Get a Drop box account!
Logi Nu
BenBlank
Posts: 4
Registered: ‎07-19-2009

Re: G13, modes, scripts, and WoW

I saw that post, and was hopeful when I saw the title, but we're not talking about the same thing.  He wants to change modes while he holds a key down.  I want to either set up a modifier toggle key or append a mode change to every key.
Logi Guru
Trusselo
Posts: 1,323
Registered: ‎04-04-2009
0

Re: G13, modes, scripts, and WoW

and that would be the thread to ask for the simple modifacation to whats already there. im not a scripter but its a small change. ask them there.


My G13 Pofile Folder

Help me out. Get a Drop box account!
Logi Nu
BenBlank
Posts: 4
Registered: ‎07-19-2009
0

Re: G13, modes, scripts, and WoW

As I said, I'm pretty sure I can do it via a script now — I'm pretty handy with Lua — but I'm worried that it will trip the anti-cheat protection built into WoW and was hoping someone could either suggest a non-script solution or verify that WoW doesn't check for G-series devices using scripts.
Logi Guru
Trusselo
Posts: 1,323
Registered: ‎04-04-2009
0

Re: G13, modes, scripts, and WoW

someone once used a script in WOW to walk around in some forest killing wild boars all day while he was at work to build XP. he did it for 3 months.


My G13 Pofile Folder

Help me out. Get a Drop box account!
Logi Nu
BenBlank
Posts: 4
Registered: ‎07-19-2009
0

Re: G13, modes, scripts, and WoW

And that has what to do with the price of tea in China?  :-D

 

I believe that story's been floating around since before Blizzard rolled out the Warden (WoW's cheat-detector).  And even if not… was that a G-series script?  The fact that some scripts don't get caught and banned even though they're harmful doesn't mean that it's impossible for a harmless script to get banned unfairly.  I've sunk quite a bit of time into my WoW characters and I don't relish the idea of risking what I've built on a slightly more convenient keyboard layout.

Logi Guru
Trusselo
Posts: 1,323
Registered: ‎04-04-2009
0

Re: G13, modes, scripts, and WoW

not a g-series script but was just making conversation.  why not google wow warden system and see what it allows?


My G13 Pofile Folder

Help me out. Get a Drop box account!
Logi Browser
Peasodecesar
Posts: 13
Registered: ‎08-07-2009
0

Re: G13, modes, scripts, and WoW

Hi all,

 

Just the idea, if final code is needed I will do it on next days if you request it:

 

ShiftStatus = 0;     <<- Global Variable

 

 

function onevent

  if G_Pressed == G22 then

    ShiftStatus = 1;

  end

  if G_Pressed == G1 then

    if ShifStatus = 0 then

      -----whatever you want to do in normal mode----

    else

      -----whatever you want to do in shifted mode----

       ShiftStatus = 0;

    end

  end

end

 

 

Best regards!