what's addon can assist me to write a bot moving to StormWind automatically menu

User Tag List

Results 1 to 2 of 2
  1. #1
    ranassa's Avatar Member
    Reputation
    1
    Join Date
    Oct 2010
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    what's addon can assist me to write a bot moving to StormWind automatically

    i use the code below to let my character move,can any1 points me how to get my character moved to Stromwind?
    when i run this code,the character move without stopping,i am wondering is there any addon assist me with "x" and "y"?
    it would be better if someone share me some code like MoveTo(x,y),i am really a noob of this.


    public static void ClickToMove(float newX, float newY)
    {
    uint CTM = 0x997E38;
    uint CTM_PUSH = CTM + 0x1C;
    uint CTM_X = CTM + 0x8C;
    uint CTM_Y = CTM_X + 0x4;
    uint CTM_Z = CTM_Y + 0x4;
    Hook.Memory.WriteFloat(Hook.wowBaseAddr + CTM_X, newX);
    Hook.Memory.WriteFloat(Hook.wowBaseAddr + CTM_Y, newY);
    Hook.Memory.WriteUInt(Hook.wowBaseAddr + CTM_PUSH, 4);
    }

    ---------- Post added at 01:53 AM ---------- Previous post was at 01:43 AM ----------

    or should i use this code?but even i don'g know how to get the parameter guid,action,and precision

    public static void ClickToMoveTmp(Single x, Single y, Single z, UInt64 guid, Int32 action, Single precision)
    {
    // Offset:
    CGPlayer_C__ClickToMove = 0x727400;
    uint ClntObjMgrGetActivePlayerObj = 0x4038F0;

    // Allocate Memory:
    UInt32 Pos_Codecave = Hook.Memory.AllocateMemory(0x4 * 3);
    UInt32 GUID_Codecave = Hook.Memory.AllocateMemory(0x;
    UInt32 Precision_Codecave = Hook.Memory.AllocateMemory(0x4);

    // Write value:
    Hook.Memory.WriteUInt64(GUID_Codecave, guid);
    Hook.Memory.WriteFloat(Precision_Codecave, precision);

    Hook.Memory.WriteFloat(Pos_Codecave, x);
    Hook.Memory.WriteFloat(Pos_Codecave + 0x4, y);
    Hook.Memory.WriteFloat(Pos_Codecave + 0x8, z);

    // BOOL __thiscall CGPlayer_C__ClickToMove(WoWActivePlayer *this, CLICKTOMOVETYPE clickType, WGUID *interactGuid, WOWPOS *clickPos, float precision)
    string[] asm = new string[]
    {
    "mov edx, [" + Precision_Codecave + "]",
    "push edx",

    "call " + (uint)ClntObjMgrGetActivePlayerObj,
    "mov ecx, eax",

    "push " + Pos_Codecave,
    "push " + GUID_Codecave,
    "push " + action,

    "call " + (uint)CGPlayer_C__ClickToMove,
    "retn",
    };

    MyHook.InjectAndExecute(asm);

    Hook.Memory.FreeMemory(Pos_Codecave);
    Hook.Memory.FreeMemory(GUID_Codecave);
    Hook.Memory.FreeMemory(Precision_Codecave);
    }

    what's addon can assist me to write a bot moving to StormWind automatically
  2. #2
    LogicWin's Avatar Master Sergeant
    Reputation
    51
    Join Date
    Mar 2011
    Posts
    103
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The first code is fine, what you will need is to gather the XYZ position of the path to Stormwind, so you need to create a tool that reads you're XYZ and saves in into a file every 5sec.

    So basically you will need to program a bot that can follow a profile.

Similar Threads

  1. any ideas for what else i can add in my pvpbot addon
    By charles420 in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 12-22-2012, 10:37 PM
  2. Replies: 23
    Last Post: 09-29-2007, 09:19 AM
  3. What how much can i get for a scammed account?
    By cirko in forum Members Only Accounts And CD Keys Buy Sell
    Replies: 3
    Last Post: 08-31-2007, 07:13 AM
  4. What wow addons work best for you? I recommend...
    By marick626 in forum WoW UI, Macros and Talent Specs
    Replies: 5
    Last Post: 07-09-2007, 09:19 PM
  5. Whats this addon ? +rep if you find out for me
    By Victor in forum Community Chat
    Replies: 3
    Last Post: 06-14-2007, 09:58 PM
All times are GMT -5. The time now is 03:58 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search