Adblock breaks this site

Making my own WoW scriptable macro program

Discussion in 'Programming General' started by Blupig, Sep 16, 2008.

  1. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    Making my own WoW scriptable macro program

    I'm making a scriptable macro program for World of Warcraft, but need to know how to do the whole scripting part.

    I want to have a textbox, where the user puts in the info, then the script is run from a GetAsyncKeyState such as F10. I only want basic commands like this:

    Cast(Hotkey1)
    (Hotkey1 is the spell hotkey in the actionbars in WoW, so to attack someone would press "1" in-game normally).
    What Cast would do would be to send the key "1" in-game to attack the selected NPC/player.

    Then some other basic commands like:
    Wait(Ms)

    Etc. Once I know how to make commands and have the program read the whole script, I can make more commands and develop off that.

    Anyway, I'd really love some help :D

    Note: I've already checked out Darthatron's source and frankly I just can't seem to piece it together.
     
  2. Swan

    Swan When They Cry...
    Retired Global Moderator

    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner
    Making my own WoW scriptable macro program

    Lua is probably the easiest way to do this if you aren't interested in hours spent writing your own script parser. I've only really used it with C#, but it should be able to be applied to Visual Basic.

    More info: http://www.lua.org/
    http://www.luaforge.net/
     
  3. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    Making my own WoW scriptable macro program

    I would do that, but honestly there's no need. I'm only going to have something like max 3 commands in my program. Take Darthatron's scripter example, it uses MoveMouse (x) (y) etc, without using VBScript. I want to do something like that, but explained a little better. Plus my commands are far more simple.
     
  4. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    Making my own WoW scriptable macro program

    Add me to MSN and I'll try and explain the code to you. ;)
     
  5. Tilex

    Tilex CFZA
    Banned

    Joined:
    Nov 2, 2005
    Posts:
    466
    Referrals:
    4
    Sythe Gold:
    0
    Making my own WoW scriptable macro program

    If you're going to do this, don't do it in VB6. A 3D MMORPG as big as WoW would require asynchronous connections to states and shit, and other big words, etc. You can't control a character effectively through colors and keystates, to put it simply.
     
< Programming Humor | graphics? >


 
 
Adblock breaks this site