How to Cast AOE Spell like Blizzard? menu

User Tag List

Results 1 to 10 of 10
  1. #1
    phthegreat's Avatar Corporal
    Reputation
    3
    Join Date
    Mar 2010
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to Cast AOE Spell like Blizzard?

    I try this
    http://www.mmowned.com/forums/world-...thout-ctm.html
    but it won't work
    Here is how I do it :
    call HandleTerrainClick and then call Lua function CastSpellByID
    But nothing happened.
    Is there any hints? Thanks!~

    How to Cast AOE Spell like Blizzard?
  2. #2
    boredevil's Avatar Active Member
    Reputation
    46
    Join Date
    Feb 2008
    Posts
    166
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hm. tbh never tried this. but what about doing it just like a player would do it?

    1. cast spell
    2. send the terrainclick

    would somehow make a little bit more sense in that order

  3. #3
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cast spell. Click terrain.

    Works flawlessly for me.
    Don't believe everything you think.

  4. #4
    Xelper's Avatar ★ Elder ★
    Reputation
    1024
    Join Date
    Mar 2007
    Posts
    860
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I assume you are trying to do this for botting purposes, so my answer probably isn't relevant.

    I wanted to create a single hotkey that would use my frost trap (trap launcher) and launch it at my current mouse position, so I did the following: (Probably could have done it better, but it works for me!)
    Code:
                clsMyMemory.DoString("CastSpellByID(77769)"); //Trap Launcher
                Thread.Sleep(300);
                clsMyMemory.DoString("CastSpellByID(82941)"); //Ice Trap(Frost - Trap Launcher)
                Thread.Sleep(100);
                clsMyMemory.DoString("CameraOrSelectOrMoveStart()");
                clsMyMemory.DoString("CameraOrSelectOrMoveStop()");
    Two things to note:
    1)The 300ms delay is only because Trap Launcher sends a cast to the server to get the buff that allows you to cast the trap launcher version of the trap. Its probably better to handle this with a loop to check UnitBuff("player", "Trap Launcher") but I was being lazy when I was writing this.
    2) I am not so sure how necessary the 100ms sleep is, my thought when I was writing this is that I would have to give the client time to register that the spell was ready to cast before trying to click the terrain. This may or may not be necessary.

    EDIT: Btw, wouldn't you have to call TerrainClick AFTER calling CastSpellByID? Your OP has it the other way around.
    Last edited by Xelper; 01-24-2011 at 11:09 AM.

  5. #5
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I send a CMSG_CAST_SPELL packet with the target coördinates.
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  6. #6
    phthegreat's Avatar Corporal
    Reputation
    3
    Join Date
    Mar 2010
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry~
    I call in the wrong order
    Thank you guys

  7. #7
    j_clairol's Avatar Private
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How to call HandleTerrainClick?
    can anyone make a complete code?

  8. #8
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by j_clairol View Post
    How to call HandleTerrainClick?
    can anyone make a complete code?
    Code:
    HandleTerrainClick();
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  9. #9
    NewNerr's Avatar Member
    Reputation
    1
    Join Date
    Jun 2011
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks all, I'll try it.

  10. #10
    dook123's Avatar Active Member
    Reputation
    21
    Join Date
    Oct 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ------------------------------
    If not me than who?

Similar Threads

  1. How to use AOE spell at a world position?
    By airjqqq in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 02-23-2015, 09:34 AM
  2. Does it possible cast aoe spell click with CTM?
    By NewNerr in forum WoW Memory Editing
    Replies: 6
    Last Post: 07-03-2011, 11:22 PM
  3. OOP - Casting AOE Spells (Protected LUA)
    By Tanaris4 in forum WoW Memory Editing
    Replies: 8
    Last Post: 04-04-2011, 02:39 PM
  4. How to Cast AOE Spell like Blizzard by memorywrite?
    By j_clairol in forum WoW Memory Editing
    Replies: 0
    Last Post: 02-16-2011, 10:27 PM
  5. Help! Cast aoe Spells
    By starfish99 in forum WoW Memory Editing
    Replies: 1
    Last Post: 11-21-2008, 04:36 AM
All times are GMT -5. The time now is 07:24 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