CastSpellById with simple memory write menu

User Tag List

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

    CastSpellById with simple memory write

    Hi,

    First, if you have working DoString method, this method is useless, but i'm sure it can be usefull for someone.

    Credits go to PocketGnome Mac bot which use this method, and thanks to Nonowmana for give me the idea

    Well ok it's really simple, the goal is to get the static address of the action bar slot that you want to use, here i will use Action Bar 1, Slot 1.

    The current address of Spell Id in the action bar 1 slot 1 is : 0x011F5E70 (3.2.0) ( Then +0x4 for slot 2, etc... ).


    Then just write the spell id of the spell you want to cast at the specified address, and press the right key in WoW ( action bar 1, slot 1 here ).


    The best things to do with this method, is to get all your spell id in your spell book, again, it's only simple memory reading, the pointer is 0x011297E0 for the first spell id in spell book, add +0x4 for next spell id until spell id = 0.

    Hope it can help someone =)

    CastSpellById with simple memory write
  2. #2
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    awesome. 10x

  3. #3
    Cheatz0's Avatar Member
    Reputation
    14
    Join Date
    May 2009
    Posts
    36
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, that's pretty smart! +Rep if/when i can

  4. #4
    LegacyAX's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2009
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    was wondering if anyone would post this method :P also if you hate sending keys to in-active windows (bg mode) then you can also use the same type of method for API ActionButtonDown instead.
    +Rep

  5. #5
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Must I be the only one who thinks this method is very ugly?

  6. #6
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're not alone.


  7. #7
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Definitely not alone.

  8. #8
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Definetly not

  9. #9
    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)
    Reporting in
    "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

  10. #10
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To me it just sounds like the smoothest way to do it out-of-process.

    Backup value, write new value, press key, restore old value.

  11. #11
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flo8464 View Post
    To me it just sounds like the smoothest way to do it out-of-process.

    Backup value, write new value, press key, restore old value.
    Except that it's easily detectable. So not really appropriate for a public bot (or really even a private one now that it's publicly disclosed and likely to be used by a public bot).

    You're better off doing what Glider did. Just make the user put the spells on their bars, and you enumerate all the bars and buttons and match spells to keybinds. Fully passive, no memory writing necessary.

  12. #12
    ramey's Avatar Member
    Reputation
    45
    Join Date
    Jan 2008
    Posts
    320
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    Except that it's easily detectable. So not really appropriate for a public bot (or really even a private one now that it's publicly disclosed and likely to be used by a public bot).

    You're better off doing what Glider did. Just make the user put the spells on their bars, and you enumerate all the bars and buttons and match spells to keybinds. Fully passive, no memory writing necessary.
    This.

    Don't be lazy, especially for a public bot. Private bot.. I guess, but.. As Cypher said, it's public now.

  13. #13
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    Except that it's easily detectable. So not really appropriate for a public bot (or really even a private one now that it's publicly disclosed and likely to be used by a public bot).

    You're better off doing what Glider did. Just make the user put the spells on their bars, and you enumerate all the bars and buttons and match spells to keybinds. Fully passive, no memory writing necessary.
    Cypher, I'd actually like to do it this way, but yes, have been lazy

    Are the keybindings stored in memory? Or do you read the key bindings text file (I'm assuming this is like the macro file in that it isn't written to until wow is closed)?

  14. #14
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lanman92 View Post
    Must I be the only one who thinks this method is very ugly?
    Ya. I understand that it's rather ugly. But as for now it's the only one way i know how to do it (out-of-process of course). I would be grateful for any info about another methods.
    But 10x TS for spell id pointers!

  15. #15
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, the keybinds are stored in memory. A good start would be searching for the spell id's of keybinds then change the spell and search for that spell id. It's an array of structs.

Similar Threads

  1. [Hack] [No Memory Write] Simple Fly Hack
    By DarkLinux in forum World of Warcraft Bots and Programs
    Replies: 330
    Last Post: 01-15-2015, 07:39 AM
  2. SetFacing with memory writes
    By fish2k in forum WoW Memory Editing
    Replies: 31
    Last Post: 12-03-2009, 01:33 PM
  3. [3.1.1] Movement with simple memory writes
    By barthen in forum WoW Memory Editing
    Replies: 65
    Last Post: 07-04-2009, 04:26 PM
  4. [c++] problem with reading memory
    By Lucani in forum WoW Memory Editing
    Replies: 3
    Last Post: 05-08-2008, 03:41 AM
  5. Request: More Info about Memory Writing
    By Lindoz12 in forum WoW Memory Editing
    Replies: 12
    Last Post: 04-18-2008, 11:58 AM
All times are GMT -5. The time now is 03:20 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search