Close
Showing results 1 to 6 of 6

Hybrid View

  1. #1

    Default I belive i'm the first linux multiboxer?

    Just set it up for a challenge, and to proove that this stuff really can be done in linux
    It was difficult though, First i made a python script using xlib to broadcast the keystrokes, but wines keyboard implimentation is broken so this didn't work. I had to go about it a very strange way.

    So, i setup autoit in wine, and used it's ControlSend function to send the keystrokes into world of warcraft, that worked. Then i found out wine doesn't support global hotkeys...so i had to use autoit in wine to send the keystrokes, and python linux side to grab the hotkeys. I had them communicate via sockets.

    So, python injects into world of warcraft and hooks the entire keyboard, python then sends all the keystrokes via sockets to autoit, which then sends them to all the open world of warcraft windows! (hacky keyclone for linux lol)

    I ran around ogrimmar for a while, got alot of laughs, killed a few boars and got to level 4, concept prooved :P

    Heres my autoit code: http://cshadowrun.googlepages.com/multicastinjector.au3
    Heres my python code: http://cshadowrun.googlepages.com/keyhooker.py

    I never got modifiers (control, alt, shift) working, i think this is a bug in autoit however. Using something else windows side to inject the keystrokes may make things better.
    Heres a sexy screenshot running 5 instances of world of warcraft with compiz fusion :P


    FPS was ok, although i don't have any numbers. Running around in the troll starting land was not laggy at all. Ogrimmar was a little laggy. But still playable.
    My specs are:
    8800GT 512mb
    Intel core 2 quad Q6600 @ 2.4ghz
    4GB DDR2

    Edit: I just remembered - i think i had all graphics settings set to max, that can't have helped my time in ogrimmar.

    I was however running a windows XP VM, and a few other things while doing this, so no doubt it'd be faster for someone with a faster box and less crap running.

    Now off i go back to my beloved team fortress 2 and counter strike source, FPS games rule, linux rules, concept prooved :P

    Edit: Xzin: lol CS your monitors hover in mid air.. oh wait nevermind.

  2. #2

    Default

    actually... i have been told keyclone works under wine on linux just fine. same on the Mac. run wow and keyclone under the windows emulator on the platform and it works as expected
    (that was a few months ago, sorry)

  3. #3

    Default

    Purdy cool I run Ubuntu on one of my boxes but would never have the patients to try this heh.

  4. #4

    Default

    Quote Originally Posted by 'keyclone',index.php?page=Thread&postID=113840#pos t113840
    actually... i have been told keyclone works under wine on linux just fine. same on the Mac. run wow and keyclone under the windows emulator on the platform and it works as expected
    (that was a few months ago, sorry)
    As far as i was told by the wine people global hotkey hooking doesn't work at all in wine. Are you using another method to grab the keys? (If you wanna grab me on IRC i'm more than willing to test it for you)

    As for not being the first, oh well. It was fun anyway. If there is actually anyone else that has done this in linux please post how you did it, i'm intrested

  5. #5

    Default

    Slick man, slick. I thought about going to linux with MPX (http://en.wikipedia.org/wiki/MPX) but I understand its not exactly production-ready code and I already write enough code at work hehe.

  6. #6

    Default

    Quote Originally Posted by 'Stabface',index.php?page=Thread&postID=113903#pos t113903
    Slick man, slick. I thought about going to linux with MPX (http://en.wikipedia.org/wiki/MPX) but I understand its not exactly production-ready code and I already write enough code at work hehe.
    I don't think this can be done for the same reason i ran into issues with my first python script attempt (wines broken keyboard implimentation)

    Wines keyboard driver watches for input in any of it's windows, and then sends the text to what wine considers to be the active window. For a normal person that uses a computer normally this is obviously fine, because the window they are typing in is always going to be the active one. However with my first attempt at a python script, it tries to inject keys into the windows when they arn't active. The end results was keystrokes getting sent to the wrong window, or not being sent at all. I assume the same thing would happen with MPX.

Similar Threads

  1. What software on linux?
    By hardc0re in forum Software Tools
    Replies: 1
    Last Post: 02-02-2009, 10:26 AM
  2. windows or linux
    By jonodaman in forum General WoW Discussion
    Replies: 2
    Last Post: 04-10-2008, 09:09 PM
  3. Keyclone and Linux
    By Zanjii in forum General WoW Discussion
    Replies: 3
    Last Post: 02-26-2008, 10:43 AM
  4. Linux MPX
    By Scribbler in forum General WoW Discussion
    Replies: 1
    Last Post: 07-16-2007, 02:27 PM
  5. Multi-Box on Linux?
    By elo in forum General WoW Discussion
    Replies: 1
    Last Post: 03-29-2007, 05:57 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •