[help] what is Fishing bobber status address? menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    arynock's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    knyox, think you could kinda go into detail a little more on your CastSpellByName function ya got there?

    [help] what is Fishing bobber status address?
  2. #17
    korknob's Avatar Active Member
    Reputation
    29
    Join Date
    May 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    arynock, in case you're interested heres how i handle it. its non injection based.

    Code:
    void PressString(char *buf)
    {
    	for (int x = 0; x < strlen(buf);x++)
    	{
    		if (buf[x] == '/')
    			Press(AsciiToVK('*')); // if special character, convert to VK_ then press
    		if (buf[x] == '*') // '*' is for enter key
    			Press(AsciiToVK(buf[x]));
    		else
    			Press(buf[x]);
    	}
    };
    
    void Press(int key)
    {
    	Sleep(20); // to keep from sending keys too fast
    	SendMessage(hwnd, WM_KEYDOWN, key, 0); // Using SendMessage so key presses arent system wide (like with keybd_event)
    	SendMessage(hwnd, WM_CHAR, key, 0);
    	Sleep(20); // pause between pushing a key down and releasing
    	SendMessage(hwnd, WM_KEYUP, key, 0);
    };
    then to cast i use PressString("/cast fishing*"); or you can do PressString("/cast maul*"); or etc

  3. #18
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by korknob View Post
    arynock, in case you're interested heres how i handle it. its non injection based.

    Code:
    void PressString(char *buf)
    {
        for (int x = 0; x < strlen(buf);x++)
        {
            if (buf[x] == '/')
                Press(AsciiToVK('*')); // if special character, convert to VK_ then press
            if (buf[x] == '*') // '*' is for enter key
                Press(AsciiToVK(buf[x]));
            else
                Press(buf[x]);
        }
    };
    
    void Press(int key)
    {
        Sleep(20); // to keep from sending keys too fast
        SendMessage(hwnd, WM_KEYDOWN, key, 0); // Using SendMessage so key presses arent system wide (like with keybd_event)
        SendMessage(hwnd, WM_CHAR, key, 0);
        Sleep(20); // pause between pushing a key down and releasing
        SendMessage(hwnd, WM_KEYUP, key, 0);
    };
    then to cast i use PressString("/cast fishing*"); or you can do PressString("/cast maul*"); or etc

    Rofl. Kynox's code is to be used in injection.

    I use GetSpellIDByName to get the spell ID I want:
    .text:004C41D0 GetSpellIdByName proc near ; CODE XREF: Lua_CastSpellByName+8Bp
    .text:004C41D0 ; IsValidSpell+Cp ...
    .text:004C41D0

    Then CastSpellByID:
    .text:006FC520 CastSpellById proc near ; CODE XREF: sub_495810+Cp
    .text:006FC520 ; sub_4A1380+7Cp ...
    .text:006FC520

    Or if you prefer to use LUA and have the appropriate offsets you can use Blizz's API:
    .text:004C42E0 Lua_CastSpellByName proc near ; DATA XREF: .data:00B9C0F4o
    .text:004C42E0

    The offset you need:
    .text:00706C80 lua_dostring proc near ; CODE XREF: sub_495E90+35p
    .text:00706C80 ; sub_701AC0+353p ...
    .text:00706C80

    I think that's the only one....

  4. #19
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @korknob: NoMorePasting.com & NoMorePasting.com

    My initial injection, while it seemed correct in theory, caused crashes from time to time for me. I changed it a few weeks ago and apparently never updated it in public.

    Anyway, as we all know, this is an ugly and inefficient way of doing it. Whenever I stop being quite as busy, I think I'm going to go with DLL injection so I don't have to worry about managing codecaves and creating threads and the overhead that is inherent in either and/or both. I'd suggest others go in the same direction and stay away from these kinds of unprofessional and newbie hacks (yes, even though it's mine, I know it's poor).
    Last edited by Shynd; 08-09-2008 at 11:06 AM. Reason: Added other NMP link

  5. #20
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    @korknob: NoMorePasting.com & NoMorePasting.com

    My initial injection, while it seemed correct in theory, caused crashes from time to time for me. I changed it a few weeks ago and apparently never updated it in public.

    Anyway, as we all know, this is an ugly and inefficient way of doing it. Whenever I stop being quite as busy, I think I'm going to go with DLL injection so I don't have to worry about managing codecaves and creating threads and the overhead that is inherent in either and/or both. I'd suggest others go in the same direction and stay away from these kinds of unprofessional and newbie hacks (yes, even though it's mine, I know it's poor).
    Dude, if you're gonna use C# rather than C++ at least write yourself an ASM class or something. So rather than injecting raw hex you can inject the mnemonics, would make it a LOT more readable.

  6. #21
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    Dude, if you're gonna use C# rather than C++ at least write yourself an ASM class or something. So rather than injecting raw hex you can inject the mnemonics, would make it a LOT more readable.
    Yeah, I thought about it, but it'd be far easier to just go in a different direction and use C/++ for the injection and C# for the logic handling. Shared DLL / named pipes / socket communication between the injected DLL and the C# app == more fun to write, easier to do, and more powerful by far.

  7. #22
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    Yeah, I thought about it, but it'd be far easier to just go in a different direction and use C/++ for the injection and C# for the logic handling. Shared DLL / named pipes / socket communication between the injected DLL and the C# app == more fun to write, easier to do, and more powerful by far.
    o.O

    More powerful? What the hell are you smoking.

    Whats wrong with hooking WoW's LUA engine and doing a UI in LUA, or hooking DX and using CEGUI. I fail to see how having to worry about IPC is more 'fun' and 'powerful' than just doing an injected UI (which has the added benifit you don't need to alt+tab to use it).

  8. #23
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    o.O

    More powerful? What the hell are you smoking.

    Whats wrong with hooking WoW's LUA engine and doing a UI in LUA, or hooking DX and using CEGUI. I fail to see how having to worry about IPC is more 'fun' and 'powerful' than just doing an injected UI (which has the added benifit you don't need to alt+tab to use it).
    Hi, more powerful than the way I did it that was linked above. Duh, hooking the LUA engine and having an in-game UI is the best way--I've never said it wasn't, never even alluded to it being inferior to anything--but I just don't want to do it that way yet. Trust me, I remember bubba's teleporting cheat, back in the day, and I was wow-ed by it just like most other people and have understood the allure of an in-game UI ever since. I understand that you feel some stupid need to constantly be contrary, but, really, I'm sitting here agreeing with you on just about everything; there's no need to be combative.

    IPC is a huge headache and alt-tabbing is an even bigger headache (one that affects the user as well as the developer) and I'll get to the point where I'm done with the core parts of my tool and ready to go on to making it more user-friendly sooner or later but, for now, this is the direction I'm going out of a combination of ease-of-design and power. Is that okay with you?
    Last edited by Shynd; 08-11-2008 at 06:01 PM. Reason: clarification

  9. #24
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    Hi, more powerful than the way I did it that was linked above. Duh, hooking the LUA engine and having an in-game UI is the best way--I've never said it wasn't, never even alluded to it being inferior to anything--but I just don't want to do it that way yet. Trust me, I remember bubba's teleporting cheat, back in the day, and I was wow-ed by it just like most other people and have understood the allure of an in-game UI ever since. I understand that you feel some stupid need to constantly be contrary, but, really, I'm sitting here agreeing with you on just about everything; there's no need to be combative.

    IPC is a huge headache and alt-tabbing is an even bigger headache (one that affects the user as well as the developer) and I'll get to the point where I'm done with the core parts of my tool and ready to go on to making it more user-friendly sooner or later but, for now, this is the direction I'm going out of a combination of ease-of-design and power. Is that okay with you?

    Is this contrary enough for you??


  10. #25
    arynock's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol.... that is some funny shit...

  11. #26
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by arynock View Post
    lol.... that is some funny shit...
    Heh, I do what I can.

  12. #27
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quite amusing; would've been moreso if the implied accusation was accurate, but, still, worthy of the guffaw it got out of me.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [HELP] Bobber Status offset
    By snip_78 in forum WoW Memory Editing
    Replies: 6
    Last Post: 06-24-2009, 05:26 AM
  2. Fishing Bobber Color?
    By TwistedKarma7 in forum WoW ME Questions and Requests
    Replies: 5
    Last Post: 06-14-2007, 09:08 AM
  3. Replies: 0
    Last Post: 05-31-2007, 04:23 PM
  4. Fishing Bobber Color Change
    By =sinister= in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 03-25-2007, 06:41 PM
  5. help with ultimate fishing bot
    By ragingazn628 in forum World of Warcraft Bots and Programs
    Replies: 12
    Last Post: 11-25-2006, 02:53 PM
All times are GMT -5. The time now is 06:22 PM. 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