Coding MH?

This is a discussion on Coding MH? within the Warcraft 3 Hacks, bots and tools board part of the Warcraft 3 forum category; Oh, now I see. After you've moved to your address in dump, select FIRST 8 bytes (** = 1 byte) ...

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Desu_Is_A_Lie's Avatar
    Desu_Is_A_Lie is offline Hacker
    Array
    Join Date
    Nov 2009
    Location
    Tver', Russian Federation
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    170
    Oh, now I see. After you've moved to your address in dump, select FIRST 8 bytes (** = 1 byte) of it there (as he shows in the picture), right click, and add 'Memory breakpoint on access'. DUMP is NOT the same as CPU View (ASM Code). DUMP (Hex Dump, as it shown in the picture) is located beneath the CPU (ASM) View.


  2. The Following User Says Thank You to Desu_Is_A_Lie For This Useful Post:


  3. #12
    cryptl0rd is offline Mentor
    Array
    Join Date
    Jan 2010
    Location
    Texas
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    66
    Quote Originally Posted by Tracky View Post
    We have several Threads about coding a Hack / Learning C++ :>
    Use the search function or try these:

    How to C++ - Zo8
    Source for an already existing MH - TyranO
    Something about finding Offsets ( To check yours ) - Yellowsnow


    Hope this will help you!
    Whenever you made the Hack, feel free to PM me for testing it.
    My OS: Win XP - SP 3

    Best regards.
    alot Tracky, your replys to my noob hacking questions have been very helpful. I've looked at many C++, mASM, and VB tutorials trying to learn something that would help me understand a language just enough to write a few lines which would patch my offsets for me and so far I know nothing. I'll take a look at these and hopefully they will be a bit more spoon-feeding like since i have no coding knowledge.:love456456d3:


    EDIT: okay so basicly i just did i fast look through the links you provided and they seem so overwhelming to learn, I know my maphack works because ive manually patched the offset with Ollydbg in different games. I just need to see a small open source of the simplist maphack coding possible as this is what im aiming for. VB seems like it would be the easiest for a noob like myself cause its suppost to be "more like english"

    I just need to learn to write "attach to war3, find offset 6F3A2043, and then change the memory from 66:B9 0100 to 66:B90F00" in some coding language so i can make program.

    EDIT2:So i found a simple one written in VB6 by rufus for another noob like myself (http://www.megaupload.com/?d=5Q5PU5EC) it sounded simple enough to update this 1.24c maphack to a 1.24d one just by changing the "offset =" function to my new offset. but it wasnt i then decided i would look at the module coding because i figured i could try and find where it went wrong since he coded in a textbox and different error messages. the one I recieved was "Warcraft 3 is Not Running, or other Patch Error" this tells me that in the coding pHandle = "0", which is probably bad. I tried to solve this by changing the coding here so that it said pHandle = "1". It made me think it worked by saying that it did patch the offsets in the window, but once i opened the game back up i realized that it hadn't. Can someone please help

    EDIT3:
    Dim Start As Integer
    Dim length As Integer
    Dim Patches As Integer
    Dim CurrentPatch As String
    Dim phwnd As Long
    Dim pid As Long
    Dim pHandle As Long
    Dim byteswritten(0)
    Dim patchsize As Integer
    phwnd = FindWindow(vbNullString, window)
    GetWindowThreadProcessId phwnd, pid
    pHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
    If pHandle = "0" Then
    PatchWindow = window & " is Not Running, or other Patch Error."
    Exit Function

    I figured posting the entire section of where the hack goes wrong may be helpful to anyone looking to help.
    Last edited by cryptl0rd; 01-24-2010 at 01:31 AM.

  4. #13
    Desu_Is_A_Lie's Avatar
    Desu_Is_A_Lie is offline Hacker
    Array
    Join Date
    Nov 2009
    Location
    Tver', Russian Federation
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    170
    Ehm, you should change this:
    phwnd = FindWindow(vbNullString, window)
    to this:
    phwnd = FindWindow("Warcraft III", window)
    (or whatever your WC3 window is called).

    But I'd used EnumProcess to find 'war3.exe' and PID.

  5. #14
    pk3d is offline Newbie
    Array
    Join Date
    Jan 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    i dun understand with this statments...

  6. #15
    BongToke's Avatar
    BongToke is offline Member
    Array
    Join Date
    Aug 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    48
    It really is too bad no one has posted concise, comprehensive, and current vb6 hack source code for newbs to tinker with.

  7. #16
    m4st3r is offline Guru
    Array
    Join Date
    Jan 2010
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    65
    Well, I really think C/C++ is the right language to this kind of thing.

  8. #17
    sd333221 is offline Guru
    Array
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    10
    Reputation
    146
    Why don't you just take this:
    http://www.d3scene.com/forum/warcraf...y-offsets.html

    as a help?


    I just need to learn to write "attach to war3, find offset 6F3A2043, and then change the memory from 66:B9 0100 to 66:B90F00" in some coding language so i can make program.
    So easy:

    Code:
    PATCH(0x3A2043,"\x66\xB9\x0F\x00",4); //Patch 6F3A2043 to 66B90F00
                if(dSize == 0)
                {
                    cout << "Failed to patch showunitsingame" << endl;
                }

  9. The Following User Says Thank You to sd333221 For This Useful Post:


Page 2 of 2 FirstFirst 12

Similar Threads

  1. Solution For TyranO MH WC3 Fatal Error Crash
    By McRO in forum Warcraft 3 forum
    Replies: 9
    Last Post: 11-26-2010, 05:49 AM
  2. I want a Working Mh +guide
    By geoga in forum Warcraft 3 forum
    Replies: 9
    Last Post: 07-24-2009, 04:58 PM
  3. [Garena Malaysia Dota] Some war3 MH problem
    By Mapler600 in forum Warcraft 3 forum
    Replies: 0
    Last Post: 11-06-2008, 01:31 PM
  4. ud vs ud... mh vs mh... ghuls vs fiends
    By Meorin in forum Warcraft 3 Strategies and replays
    Replies: 2
    Last Post: 05-01-2007, 06:20 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
  •