Need help with wc3 functions offsets

This is a discussion on Need help with wc3 functions offsets within the Warcraft 3 Hacks, bots and tools board part of the Warcraft 3 forum category; Hi ) First of all, where can i find short and good tutorial how to find such offset by myself ...

Page 1 of 7 123 ... LastLast
Results 1 to 10 of 61
  1. #1
    wc3noobpl's Avatar
    wc3noobpl is offline Hacker Array
    Join Date
    Dec 2011
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    189

    Need help with wc3 functions offsets

    Hi )
    First of all, where can i find short and good tutorial how to find such offset by myself ? Tryed to use ollydbg, didnt understand anything even with some guides... i didnt get how to trace values, even if i know value offset in memory...

    anyway..
    i need some particular help:
    1) SendFeedFunction (action when i press "accept" button on F11 feed dialog box): how can i call it from my C++ (or C#) code, any one knows such wc3 function offset and usage ?
    2) IsChatBoxVisible (chat box that appears when you press enter or shift+enter in game): how can i detect if its shown or not shown (not by pixels) ?

    and else: wc3 somehow detects mouse coords when i press mouse, window message didnt work for me, works only message with mouse clicks without coordinates, that means wc3 detects wc3 coords somehow without window message. So how can i tell to wc3 mouse coordinates ? how can i emulate mouse movement inside wc3 etc ?


  2. #2
    Farid.Agl's Avatar
    Farid.Agl is offline Advanced Hacker

    Array
    Join Date
    Sep 2011
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    322
    So many questions, i can help you about one of them atm.

    To check if user can type or not ( chat box ) you can read this address as 4-bytes ( if you are familiar with Cheat Engine you can understand me ):
    1.24b & 1.24e = Game.dll+AE8450
    1.25b & 1.26a = Game.dll+AD15F0

    If the value of this address is equal to 1 it means user is in chat state and he can type, else ( if value is equal to 0 ) it means user is not in chat stat ( he can't type ).

    Let me know if you want me to explain more.
    http://faridaghili.ir

  3. The Following User Says Thank You to Farid.Agl For This Useful Post:


  4. #3
    oMBra is offline Addict
    Array
    Join Date
    Nov 2008
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    10
    @GoDLiKe.ON3

    Do you know any offset to know if I'm in game or not?

  5. #4
    wc3noobpl's Avatar
    wc3noobpl is offline Hacker Array
    Join Date
    Dec 2011
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    189
    thx alot man, i will try this out, and let you know if it works for me.

    add: ok i tryed, nothing there at this address, only zeroes, for 1.26a. In ladder game. May be you mean channel chat ? cause i mean ingame chat box, when you play.
    Last edited by wc3noobpl; 01-14-2012 at 03:34 PM.

  6. #5
    oMBra is offline Addict
    Array
    Join Date
    Nov 2008
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    10
    No that offset is for the ingame chatbox, I have checked it myself rightnow.
    How are you reading that address?

  7. #6
    Farid.Agl's Avatar
    Farid.Agl is offline Advanced Hacker

    Array
    Join Date
    Sep 2011
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    322
    Quote Originally Posted by oMBra View Post
    @GoDLiKe.ON3

    Do you know any offset to know if I'm in game or not?
    What do you mean exactly?


    Quote Originally Posted by wc3noobpl View Post
    thx alot man, i will try this out, and let you know if it works for me.

    add: ok i tryed, nothing there at this address, only zeroes, for 1.26a. In ladder game. May be you mean channel chat ? cause i mean ingame chat box, when you play.
    If it's 0 it means chat box is not visible, press enter in game once chat box appears it the value of address will change to 1.
    http://faridaghili.ir

  8. #7
    oMBra is offline Addict
    Array
    Join Date
    Nov 2008
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    10
    Quote Originally Posted by GoDLiKe.ON3 View Post
    What do you mean exactly?
    I mean, if there is a way to know whether I'm in game or not like the one you've posted for the chatbox.
    That is reading an address that can tell me if I'm in game or not...

    (if you know other addresses for the lobby and channel would be good)

  9. #8
    Farid.Agl's Avatar
    Farid.Agl is offline Advanced Hacker

    Array
    Join Date
    Sep 2011
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    322
    I got it.
    Game.dll+ACF678
    If you are in game the value is equal to 1, else it's 0.

    This Address is for Patch 1.26a, it should work on 1.25b as well ( I'm not sure ).
    http://faridaghili.ir

  10. #9
    wc3noobpl's Avatar
    wc3noobpl is offline Hacker Array
    Join Date
    Dec 2011
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    189
    sry, definitly Game.dll+AD15F0 doesnt working for 1.26a, you must be mistake.
    also: Game.dll+ACF678 doesnt working for ingame checks.
    Last edited by wc3noobpl; 01-14-2012 at 04:27 PM.

  11. #10
    oMBra is offline Addict
    Array
    Join Date
    Nov 2008
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    10
    Do you mind explaining how did you find that offset?
    Did you just scanned the addresses that were changing value when going ingame?

Page 1 of 7 123 ... LastLast

Similar Threads

  1. 1.4.2 offsets (help please)
    By james666 in forum Starcraft 2 Coding
    Replies: 7
    Last Post: 01-21-2012, 03:13 AM
  2. [1.26] List of all JASS functions (SEACH)
    By Skino in forum Warcraft 3 Hacks, bots and tools
    Replies: 4
    Last Post: 06-29-2011, 03:01 PM
  3. Replies: 0
    Last Post: 03-28-2010, 10:29 PM
  4. Functions of the forums.
    By Kevin in forum Entertainment
    Replies: 15
    Last Post: 07-30-2007, 07:04 PM
  5. About offsets
    By Range in forum Warcraft 3 forum
    Replies: 0
    Last Post: 05-27-2007, 03:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •