[source] Simple NameSpoofer in C++ (1.26)

This is a discussion on [source] Simple NameSpoofer in C++ (1.26) within the Warcraft 3 Hacks, bots and tools board part of the Warcraft 3 forum category; A simple namespoofer I made when I was bored. I know there are others around, but mine uses a pointer ...

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    qwertyuiopas is offline Newbie
    Array
    Join Date
    Jan 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    36

    [source] Simple NameSpoofer in C++ (1.26)

    A simple namespoofer I made when I was bored. I know there are others around, but mine uses a pointer instead of scanning the memory for a pattern.




    NOTE: Compile it in Visual Studio C++ 2010 using the Unicode Character set.
    Attached Files
    Last edited by qwertyuiopas; 04-30-2011 at 03:56 PM.

  2. The Following 9 Users Say Thank You to qwertyuiopas For This Useful Post:


  3. #2
    sd333221 is offline Guru
    Array
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    10
    Reputation
    146
    Often the game.dll is not mapped to the memory region 6F******. You might want to check my opensource maphack to see how to dynamically read where the game.dll was mapped to from an external application. Also I would give the FindWindow also the class name instead just the window title "Warcraft III" otherwise just having the wc3 folder open can get you in serious trouble as you application will think that folder is the actual game. Otherwise good job (I still like the pattern search approach more because you don't have to update it for different versions).

    Edit: Also why don't you write the name to memory at once? thats much faster and causes less problems.

  4. #3
    qwertyuiopas is offline Newbie
    Array
    Join Date
    Jan 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    36
    Okay, I've added your suggestions. However, I was already using FindWindow correctly?

  5. #4
    sd333221 is offline Guru
    Array
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    10
    Reputation
    146
    Quote Originally Posted by qwertyuiopas View Post
    Okay, I've added your suggestions. However, I was already using FindWindow correctly?
    Oh yea maybe I was confused with the order of paramters but I meant

    HWND hWnd = FindWindow(L"Warcraft III",L"Warcraft III");
    instead of
    HWND hWnd = FindWindow(L"Warcraft III",0);
    but yeah its a minor issue.

  6. #5
    qwertyuiopas is offline Newbie
    Array
    Join Date
    Jan 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    36
    I think it is best to solely use the class name, as anti-hack procedures can change the window name and this will make the program fail to find the window.

  7. #6
    sd333221 is offline Guru
    Array
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    10
    Reputation
    146
    Quote Originally Posted by qwertyuiopas View Post
    I think it is best to solely use the class name, as anti-hack procedures can change the window name and this will make the program fail to find the window.
    Yea its good as it is right now, as I said I mixed up the order of parameters

  8. #7
    DvS
    DvS is offline Wannabe Member
    Array
    Join Date
    Oct 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Glad you gave the source out, thanks!

  9. #8
    goldjulos is offline Newbie
    Array
    Join Date
    Mar 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    MSVCR100D.dll missing?

  10. #9
    Hendy's Avatar
    Hendy is offline Advanced Hacker
    Array
    Join Date
    Dec 2010
    Location
    Germany
    Posts
    460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    7
    Reputation
    137
    Quote Originally Posted by goldjulos View Post
    MSVCR100D.dll missing?
    install c++

  11. #10
    Dima's Avatar
    Dima is offline La La Land

    Array
    Join Date
    Nov 2008
    Posts
    1,744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    595
    Quote Originally Posted by goldjulos View Post
    MSVCR100D.dll missing?
    you can install vc++2010 or download
    this file and put into folder


Page 1 of 2 12 LastLast

Similar Threads

  1. Simple Cam Distance 1.25b / 1.26a [Source included]
    By DarkSupremo in forum Warcraft 3 Hacks, bots and tools
    Replies: 33
    Last Post: 03-17-2013, 01:55 PM
  2. Simple Namespoofer
    By YourName in forum Warcraft 3 Hacks, bots and tools
    Replies: 50
    Last Post: 05-31-2012, 09:21 PM
  3. [C++] NameSpoofer Source
    By TyranO in forum Development
    Replies: 0
    Last Post: 01-31-2009, 08:02 PM
  4. Open Source Namespoofer Tutorial
    By blub in forum Warcraft 3 Hacks, bots and tools
    Replies: 0
    Last Post: 03-25-2008, 09:03 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
  •