placing aoe spell menu

User Tag List

Results 1 to 9 of 9
  1. #1
    seasick's Avatar Sergeant
    Reputation
    16
    Join Date
    Aug 2013
    Posts
    49
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    placing aoe spell

    Hi

    Is it possible to place an aoe circle the same way you do click to move, by just writing to memory? or do I have to hook and call a function?

    placing aoe spell
  2. #2
    Sacred's Avatar Contributor
    Reputation
    207
    Join Date
    Dec 2007
    Posts
    152
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can call this function.
    Code:
    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
    private delegate bool Spell_C_HandleTerrainClick(IntPtr a1, IntPtr a2, Vector3 location);
    
    Spell_C__HandleTerrainClick = 0x78F6B8 //17956, not rebased

  3. #3
    seasick's Avatar Sergeant
    Reputation
    16
    Join Date
    Aug 2013
    Posts
    49
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx but is there no other way than calling a function? dont feel like hooking and stuff

  4. #4
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No (filler)

  5. #5
    yellow82's Avatar Site Donator
    Reputation
    1
    Join Date
    Aug 2010
    Posts
    22
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
    private delegate bool Spell_C_HandleTerrainClick(IntPtr a1, IntPtr a2, Vector3 location);
    How can I assign the delegate the address? Does anyone have an example for me?

    Thanks in advance!

  6. #6
    counted's Avatar Contributor Authenticator enabled
    Reputation
    203
    Join Date
    Mar 2008
    Posts
    183
    Thanks G/R
    11/108
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I just added this to my bot (which is based on WoWX - thanks Bobby!!)

    Note that previous info did not have as much padding floats at the beginning. I am assuming that the padding increase when Blizz switched to bigger GUID data format. So basically the padding is for a GUID, which is not needed to place the spell.


    bool CGWorld::HandleTerrainClick(CVec3 loc) const
    {
    struct HTCData
    {
    float a; //0x0
    float b; //0x4
    float c; //0x8
    float d; //x0c
    float x; //0x10
    float y; //0x14
    float z; //0x18
    } data;

    data.a = 0;
    data.b = 0;
    data.c = 0;
    data.d = 0;
    data.x = loc.fX;
    data.y = loc.fY;
    data.z = loc.fZ;

    typedef bool(__cdecl * tHandleTerrainClick)(HTCData * pHTCdata, CVec3 * pXYZ);
    tHandleTerrainClick htc = reinterpret_cast<tHandleTerrainClick>(gpWoWX->ReBase(Spell_C_HandleTerrainClick));

    bool result = htc(&data, (CVec3 *) & data.x);
    return result;
    }
    Last edited by counted; 12-19-2014 at 12:33 PM.

  7. #7
    yellow82's Avatar Site Donator
    Reputation
    1
    Join Date
    Aug 2010
    Posts
    22
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by counted View Post
    I just added this to my bot (which is based on WoWX - thanks Bobby!!)

    Note that previous info did not have as much padding floats at the beginning. I am assuming that the padding increase when Blizz switched to bigger GUID data format. So basically the padding is for a GUID, which is not needed to place the spell.


    bool CGWorld::HandleTerrainClick(CVec3 loc) const
    {
    struct HTCData
    {
    float a; //0x0
    float b; //0x4
    float c; //0x8
    float d; //x0c
    float x; //0x10
    float y; //0x14
    float z; //0x16
    } data;

    data.a = 0;
    data.b = 0;
    data.c = 0;
    data.d = 0;
    data.x = loc.fX;
    data.y = loc.fY;
    data.z = loc.fZ;

    typedef bool(__cdecl * tHandleTerrainClick)(HTCData * pHTCdata, CVec3 * pXYZ);
    tHandleTerrainClick htc = reinterpret_cast<tHandleTerrainClick>(gpWoWX->ReBase(Spell_C_HandleTerrainClick));

    bool result = htc(&data, (CVec3 *) & data.x);
    return result;
    }
    Thank you for the great example. But I seriously do me so that for example in C# to implement! :confused:

  8. #8
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by yellow82 View Post
    Thank you for the great example. But I seriously do me so that for example in C# to implement! :confused:
    You're going to have to inject either compiled assembly code or a library and run it internally. The former being the easier option. I can't recommend any particular guides which might be relevant to you, but if you search this forum for "assembly injection" you'd probably find something useful.

  9. #9
    counted's Avatar Contributor Authenticator enabled
    Reputation
    203
    Join Date
    Mar 2008
    Posts
    183
    Thanks G/R
    11/108
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Noticed that my comment on float z was wrong. It was 0x16, i fixed my post to 0x18, but i can not fix the other post referencing it

Similar Threads

  1. No global cooldown on melee/AoE spells
    By Eddii3 in forum WoW EMU Exploits & Bugs
    Replies: 16
    Last Post: 07-13-2009, 01:51 AM
  2. [MANGOS] getting an npc to use AoE spells on friendly players
    By resinate in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 05-11-2009, 07:27 PM
  3. Help! Cast aoe Spells
    By starfish99 in forum WoW Memory Editing
    Replies: 1
    Last Post: 11-21-2008, 04:36 AM
  4. AOE Spell Circle BLOWOUT!
    By apple4life in forum World of Warcraft Model Editing
    Replies: 4
    Last Post: 08-31-2008, 09:47 PM
  5. [SERVICE] AOE Spell Shadow RESKINS
    By apple4life in forum World of Warcraft Model Editing
    Replies: 11
    Last Post: 08-29-2008, 07:42 AM
All times are GMT -5. The time now is 04:00 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