Interact with the UI menu

User Tag List

Results 1 to 12 of 12
  1. #1
    grosfilsdepute's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Interact with the UI

    Hi !

    I'm making a injection based fishing bot. Since my last post, I learnt many things on these forums but I can't find anything about my problem.

    I'm fishing in the Wintergrasp zone and there I find many good fishes but the battle reset every 2 hours and if you're not accepting to enter in the battle, you're kicked from the zone.

    So my question is : How to "click" (I mean in injection) to the "Enter" button when a window appear ?

    Do I have to hook LUA to call a specific function ?


    Thanks in advance (and thanks to Apoc for his Memory reading library that helped me in the beginning)

    Interact with the UI
  2. #2
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by grosfilsdepute View Post
    Hi !

    I'm making a injection based fishing bot. Since my last post, I learnt many things on these forums but I can't find anything about my problem.

    I'm fishing in the Wintergrasp zone and there I find many good fishes but the battle reset every 2 hours and if you're not accepting to enter in the battle, you're kicked from the zone.

    So my question is : How to "click" (I mean in injection) to the "Enter" button when a window appear ?

    Do I have to hook LUA to call a specific function ?


    Thanks in advance (and thanks to Apoc for his Memory reading library that helped me in the beginning)
    I think it's Shynd's lib you're talking about. (I've only released a small class to enable generic usage with things)

    Also; you need to either reverse the game engine functions, or call GlueDialog.Button1:Click() from Lua. (Something like that at least)

    I think there's also something like AcceptBattleground(index) in Lua as well. Not sure.

  3. #3
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Apoc is correct (ofc, duh)
    When the dialog appears, mouse over the button (without clicking it) and run this LUA ingame (only do this once to get the name of the button)

    /run print(GetMouseFocus():GetName())

    After you've gotten the name of the button, you can simply call it like this every time it appears:
    ButtonName:Click()
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  4. #4
    Fabolous1's Avatar Member
    Reputation
    2
    Join Date
    Nov 2007
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    Apoc is correct (ofc, duh)
    When the dialog appears, mouse over the button (without clicking it) and run this LUA ingame (only do this once to get the name of the button)

    /run print(GetMouseFocus():GetName())

    After you've gotten the name of the button, you can simply call it like this every time it appears:
    ButtonName:Click()
    I've been searching all over the place, and couldn't figure out how to do this with BlackMagic in C#, how is it done with Shynd's BlackMagic?

    I've basically only been reading memory and it's time to get more done!

    Thanks ahead of time..

  5. #5
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Fabolous1 View Post
    I've been searching all over the place, and couldn't figure out how to do this with BlackMagic in C#, how is it done with Shynd's BlackMagic?

    I've basically only been reading memory and it's time to get more done!

    Thanks ahead of time..
    Call Lua_DoString (FrameScript_Execute). You can call it with ASM, or if you have injected CLR you can get a delegate from the function.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  6. #6
    Creepwalker's Avatar Active Member
    Reputation
    39
    Join Date
    Oct 2008
    Posts
    202
    Thanks G/R
    19/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone happen to know how to do this in Autoit, or could point me in the right direction? Been looking around but couldn't find anything.

    Only thing I could think of using the location provided by amadmonk for DoString(7CE840) is writing to it directly from WoW something like


    Code:
    _MemoryWrite($Dostring, $wowhook, "LeaveBattlefield();")


    I'm probably way off, but this has me stumped
    Last edited by Creepwalker; 09-12-2009 at 09:51 AM.

  7. #7
    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)
    Erm, that is a function address. Writing at that address makes you **** it up.
    You have to call it. Best way is probably DLL-Injection.

  8. #8
    Creepwalker's Avatar Active Member
    Reputation
    39
    Join Date
    Oct 2008
    Posts
    202
    Thanks G/R
    19/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bleh, back to the books for me.

    Thanks

  9. #9
    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 Creepwalker View Post
    Anyone happen to know how to do this in Autoit, or could point me in the right direction? Been looking around but couldn't find anything.

    Only thing I could think of using the location provided by amadmonk for DoString(7CE840) is writing to it directly from WoW something like


    Code:
    _MemoryWrite($Dostring, $wowhook, "LeaveBattlefield();")


    I'm probably way off, but this has me stumped
    I lol'd @ this.

  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)
    Originally Posted by Jadd View Post
    I lol'd @ this.
    ok .

  11. #11
    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 Jadd View Post
    I lol'd @ this.
    Laugh of recognition?
    "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

  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 Jadd View Post
    I lol'd @ this.
    Why haven't you changed your signature?

Similar Threads

  1. Different ways to interact with the WoW client
    By Corthezz in forum WoW Memory Editing
    Replies: 2
    Last Post: 06-28-2015, 01:49 PM
  2. Is there a good Place to Fish with the bot
    By karokekid in forum World of Warcraft General
    Replies: 10
    Last Post: 11-19-2006, 11:41 PM
  3. bug with the karazhan floating over goldshire thing.
    By raamoz in forum World of Warcraft Exploits
    Replies: 9
    Last Post: 07-24-2006, 12:38 AM
  4. Fly with the gryphon freely
    By Matt in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 06-20-2006, 07:57 AM
All times are GMT -5. The time now is 12:34 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