CleanCore CastSpell Issue Resolved....  Sort of.... menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    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)

    CleanCore CastSpell Issue Resolved.... Sort of....

    I have been using the CleanCore CastSpell (Labeled CastSpell2 in TomRuss IDA database) method for a while.

    I get my spell Ids from the ActionBar data so it already has the SpellOveride Id applied, as oppose to getting them from the Spellbook data which I read does not have the override Ids applied.

    With the latest patch I noticed a problem, namely when in Druid Guardian Spec Thrash did not cast correctly. I get a red message saying that I have not Learned that Spell.

    If i click the action button, it works fine.

    If I call it via the Lua Routine CastSpellByName and it works fine.

    I traced CastSpellByName to it's call of CastSpell2 and compared the stack to the stack calling via the CleanCore Method and noticed that the 9th parameter was not zero.

    For Thrash it was 0x1a150 which equals 106832 and is the "specialization" spell Id according to wowhead.

    When I dump the spell overrides I see that Thrash is one of the spells that is over-ridden. Basically spell 106832 is over ridden by 77758.

    I was calling with 77758.

    I also tried calling with 106832 and that did not work either.

    If i replace the CleanCore call with the ninth parameter being 0x1a150 the cast works correctly.

    I have not figured out why Swipe which is also Overridden works with the ninth parameter being zero but Thrash does not.

    I am going to do some testing and see if always putting the original spellbook ID in the ninth parameter and the override spell id in the second parameter will work all the time.

    I will post my results later in this thread.

    -counted

    If this was helpful try the +rep button

    CleanCore CastSpell Issue Resolved....  Sort of....
  2. #2
    Valmere's Avatar Contributor
    Reputation
    166
    Join Date
    Apr 2007
    Posts
    362
    Thanks G/R
    16/31
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by counted View Post
    If this was helpful try the +rep button
    I'd remove that line
    wat

  3. #3
    hankerspace's Avatar Sergeant
    Reputation
    18
    Join Date
    Sep 2012
    Posts
    23
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your offsets are up to date with 5.0.5 release ?

Similar Threads

  1. [Selling] Service to resolve any WoW Account Issue, including baning, locked, payment dispute
    By jasoncash in forum World of Warcraft Buy Sell Trade
    Replies: 5
    Last Post: 09-05-2012, 01:10 AM
All times are GMT -5. The time now is 09:52 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