Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > C and C++

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
C and C++
hacking programming reversing
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

Old 09-05-2009, 03:51 PM   #21
retired moderator

JoshRose's Avatar

Threadstarter
Join Date: Nov 2007
Location: London
Posts: 1,360
Reputation: 10674
Rep Power: 185
JoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server spaceJoshRose 's rep takes up 1 gig of server space
Air Shooter Champion
Points: 14,708, Level: 15
Points: 14,708, Level: 15 Points: 14,708, Level: 15 Points: 14,708, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Quote:
Originally Posted by FreakBoy View Post
Question,

Does the "main.cpp" go into the "Header Files" (Folder) or just sit out all alone by it self?

Also will and injector basically work to inject this .dll?

Any help would be appreciated.




UPDATE:

I think I found my answer, lol I just had to re-read all these posts 3 more times.

Thanks
main.cpp goes in the "source" folder
__________________
Regards and happy
Josh

__________________
JoshRose is offline

Reply With Quote


Old 09-06-2009, 01:40 PM   #22
n00bie

FreakBoy's Avatar

Join Date: Sep 2009
Posts: 19
Reputation: 3
Rep Power: 0
FreakBoy has a near-average in quality posting ability
Nice work man,

I got it to inject just fine, I would like to learn how to make a in game pop up menu to activate the cheats.... any links? I can learn fast from others source's even if they are detected, old or not. I just want to learn. thanks again man for posting your source code it helped me get my foot in the door to possibly make hacks someday
FreakBoy is offline

Reply With Quote

Old 09-06-2009, 02:50 PM   #23
Retired Admin

learn_more's Avatar

Join Date: Sep 2006
Posts: 5,249
Reputation: 93628
Rep Power: 1106
learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
sieg heil Nazi
Points: 70,490, Level: 39
Points: 70,490, Level: 39 Points: 70,490, Level: 39 Points: 70,490, Level: 39
Activity: 24.7%
Activity: 24.7% Activity: 24.7% Activity: 24.7%
Last Achievements
Award-Showcase
if you can learn fast, than i think you can also learn fast how to use a search function, and look for one of the atleast 5 sources on here
__________________
learn_more is offline

Reply With Quote

Old 01-09-2010, 06:19 PM   #24
Hacker Supreme

4Nt0N!N's Avatar

Join Date: Jan 2010
Location: HEADSHOT!!
Posts: 226
Reputation: 482
Rep Power: 34
4Nt0N!N has just learned Packet Editing Doesnt Involve food toppings anymore4Nt0N!N has just learned Packet Editing Doesnt Involve food toppings anymore4Nt0N!N has just learned Packet Editing Doesnt Involve food toppings anymore4Nt0N!N has just learned Packet Editing Doesnt Involve food toppings anymore4Nt0N!N has just learned Packet Editing Doesnt Involve food toppings anymore
ty for sharing this cause i try to learn hackin in c++ with d3d stuff and that helps a lot =D
4Nt0N!N is offline

Reply With Quote

Old 01-16-2010, 01:25 AM   #25
n00bie

rolandsh's Avatar

Join Date: Dec 2009
Posts: 21
Reputation: -3
Rep Power: 0
rolandsh has sub-par posting abilities
Thanks , now just gotta buy a book and read it

Would be awesome if some1 post a tutorial how to get offsets or pointers or what ever they are, thanks
rolandsh is offline

Reply With Quote

Old 01-16-2010, 01:27 AM   #26
Super Moderator

Kiwinz's Avatar

Join Date: Jan 2008
Location: New Zealand
Posts: 2,553
Reputation: 73932
Rep Power: 840
Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!
Points: 47,223, Level: 32
Points: 47,223, Level: 32 Points: 47,223, Level: 32 Points: 47,223, Level: 32
Activity: 26.4%
Activity: 26.4% Activity: 26.4% Activity: 26.4%
Last Achievements
You are looking for offsets. There are pentiful tutorials on the forums on how to get them, as well as an impressive list stickied in the forum.
__________________



"Those who seek revenge must dig two graves, one for his enemy and another for himself."


On the internet I will - in no shape or form - take personal offence to peoples comments, idea's or views, I assume the people who I reply to won't either.
Kiwinz is online now

Reply With Quote

Old 01-17-2010, 07:58 AM   #27
h4x0!2

Chuy's Avatar

Join Date: Apr 2009
Location: Bolingbrook, Illinois
Posts: 97
Reputation: 210
Rep Power: 38
Chuy has just realized Source Code isnt a magazineChuy has just realized Source Code isnt a magazineChuy has just realized Source Code isnt a magazine
Points: 1,548, Level: 3
Points: 1,548, Level: 3 Points: 1,548, Level: 3 Points: 1,548, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Hang on, if I did this, would it be detected by Punkbuster?
Chuy is offline

Reply With Quote

Old 01-17-2010, 01:22 PM   #28
Super H4x0r

iExclusive's Avatar

Join Date: Jan 2009
Posts: 318
Reputation: 1550
Rep Power: 59
iExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overloadiExclusive -- Warning: My rep could overload
Alloy Arena Champion Booty Champion The Collector Champion Frantic Killer Champion
Obviously yes, it's a "first C++ dll hack", bit implausible it'll prompt up advanced concepts on the way.
iExclusive is offline

Reply With Quote

Old 01-23-2010, 11:01 PM   #29
Level 3

Eleethal's Avatar

Join Date: Jul 2003
Posts: 1,293
Reputation: 4272
Rep Power: 171
Eleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating communityEleethal is a legend in the cheating community
l33tes tut EVAAAAAAR
Eleethal is offline

Reply With Quote

Old 01-23-2010, 11:04 PM   #30
Senior Member

dedead3232's Avatar

Join Date: Oct 2008
Location: United States
Posts: 75
Reputation: 1821
Rep Power: 59
dedead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all diededead3232 -- If this mans rep is lowered; we will all die
Points: 3,564, Level: 5
Points: 3,564, Level: 5 Points: 3,564, Level: 5 Points: 3,564, Level: 5
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
I thought i've searched all over these forums, nice thank you so much for this.
dedead3232 is online now

Reply With Quote

Old 07-25-2010, 02:48 AM   #31
n00bie

iq100iq100's Avatar

Join Date: Jul 2010
Posts: 1
Reputation: 10
Rep Power: 20
iq100iq100 has made posts that are generally average in quality
Thanks for the thorough tutorial to guide beginners like me. I've done basic programming with C++ (console stuff, not win32) and a few other languages before but never anything with game hacking. I understood everything except the part with the WriteProcessMemory lines as well as
Code:
BYTE StandingON[] = {0x8B, 0x02, 0x90};
    BYTE CrouchingON[] = {0x8B, 0x11, 0x90};
    BYTE ProneON[] = {0x8B, 0x08, 0x90};
    BYTE StandingOFF[] = {0x8B, 0x42, 0x4C};
    BYTE CrouchingOFF[] = {0x8B, 0x51, 0x50};
    BYTE ProneOFF[] = {0x8B, 0x48, 0x54};
Do you mind explaining briefly what these bytes do and why them being written
to the memory would make xhair on? Thanks!
iq100iq100 is offline

Reply With Quote

Old 07-25-2010, 11:35 AM   #32
Posting Well

weakspider's Avatar

Join Date: Jun 2010
Posts: 32
Reputation: 205
Rep Power: 22
weakspider has just realized Source Code isnt a magazineweakspider has just realized Source Code isnt a magazineweakspider has just realized Source Code isnt a magazine
Points: 1,488, Level: 3
Points: 1,488, Level: 3 Points: 1,488, Level: 3 Points: 1,488, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
I wish this had been posted when I started learninig c++ very usefull
weakspider is online now

Reply With Quote

Old 07-25-2010, 01:06 PM   #33
h4x0!2

G36KV's Avatar

Join Date: Nov 2009
Location: Germany
Posts: 116
Reputation: 3743
Rep Power: 66
G36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating communityG36KV is a legend in the cheating community
Points: 3,381, Level: 5
Points: 3,381, Level: 5 Points: 3,381, Level: 5 Points: 3,381, Level: 5
Activity: 14.1%
Activity: 14.1% Activity: 14.1% Activity: 14.1%
Last Achievements
Quote:
Originally Posted by iq100iq100 View Post
Do you mind explaining briefly what these bytes do and why them being written
to the memory would make xhair on? Thanks!
In fact this tutorial is good for a short feeling of success: copy/paste/compile/inject/play a little, but nothing more. It is just like the topic says "Creating your first C++ dll hack".
Understanding the WriteProcessMemory part, especially the bytes which you are writing to the game memory is much more difficult. A beginner can hardly understand this. You need much more explanations.

You should look for some other tutorials. I saw some nice tutorials which cover all parts. Finding offsets in a game and writing a hack.
G36KV is offline

Reply With Quote

Old 08-13-2010, 05:52 PM   #34


xxxxhackerxxxx's Avatar

Join Date: Aug 2010
Posts: 6
Reputation: 10
Rep Power: 0
xxxxhackerxxxx has made posts that are generally average in quality
how can i add more hack to this
xxxxhackerxxxx is offline

Reply With Quote

Old 08-13-2010, 05:55 PM   #35
*_*

HOOAH07's Avatar

Join Date: Apr 2008
Location: H.M.P
Posts: 5,438
Reputation: 92853
Rep Power: 1083
HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!HOOAH07 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 68,717, Level: 38
Points: 68,717, Level: 38 Points: 68,717, Level: 38 Points: 68,717, Level: 38
Activity: 66.7%
Activity: 66.7% Activity: 66.7% Activity: 66.7%
Last Achievements
Award-Showcase
by learning instead of wanting C/P code
you have been told many of times and you get perfect answers.

if you read code you would see exactly where his code was and how to add to it
__________________
┐(_)

°º¤ø„¸¨°º¤ø„¸¸„ø¤º°¨¸„ø¤º°¨

¨°º¤ø„¸ MONKEY „ø¤º°¨

„ø¤º°¨ FOREVER `°º¤ø...
xTc charging me up like a battery, Like 1000 volts rushing through my body
HOOAH07 is online now

Reply With Quote

Old 08-13-2010, 10:39 PM   #36
n00bie

frost92's Avatar

Join Date: Aug 2010
Posts: 15
Reputation: 10
Rep Power: 19
frost92 has made posts that are generally average in quality
What If i wanted to use it for a differnt game how do I do that?
frost92 is offline

Reply With Quote

Old 08-13-2010, 10:55 PM   #37
Super Moderator

Kiwinz's Avatar

Join Date: Jan 2008
Location: New Zealand
Posts: 2,553
Reputation: 73932
Rep Power: 840
Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!Kiwinz has a huge epeen!
Points: 47,223, Level: 32
Points: 47,223, Level: 32 Points: 47,223, Level: 32 Points: 47,223, Level: 32
Activity: 26.4%
Activity: 26.4% Activity: 26.4% Activity: 26.4%
Last Achievements
Change the Operation Codes and offsets for the game you wish to hack.

BYTE StandingON[] = {0x8B, 0x02, 0x90};
BYTE CrouchingON[] = {0x8B, 0x11, 0x90};
BYTE ProneON[] = {0x8B, 0x08, 0x90};
BYTE StandingOFF[] = {0x8B, 0x42, 0x4C};
BYTE CrouchingOFF[] = {0x8B, 0x51, 0x50};
BYTE ProneOFF[] = {0x8B, 0x48, 0x54}

These are OP Codes.

WriteProcessMemory(bf2142, (void*)(0x05E2C88), &StandingOFF, 3, 0);

This is the offset where the OP Code StandingOFF is going to be written.
__________________



"Those who seek revenge must dig two graves, one for his enemy and another for himself."


On the internet I will - in no shape or form - take personal offence to peoples comments, idea's or views, I assume the people who I reply to won't either.
Kiwinz is online now

Reply With Quote

Old 09-03-2010, 02:14 AM   #38
A God

Tatez's Avatar

Join Date: Nov 2009
Location: NC
Posts: 195
Reputation: 3189
Rep Power: 62
Tatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating communityTatez is a legend in the cheating community
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (1)
Very nice. I have to admit that some of these replies are ridiculous.
Tatez is offline

Reply With Quote

Old 09-04-2010, 01:22 PM   #39
XyN
n00bie

XyN's Avatar

Join Date: Sep 2010
Posts: 2
Reputation: 10
Rep Power: 18
XyN has made posts that are generally average in quality
Awesome tutorial, helped me alot. But I've got a question.
What is
Code:
if (GetAsyncKeyState(VK_F1)&0x80000)
good for?
XyN is offline

Reply With Quote

Old 09-04-2010, 02:06 PM   #40
I see what u did there

scrapdizle's Avatar

Join Date: Jun 2009
Location: pbcl.dll
Posts: 1,183
Reputation: 36186
Rep Power: 417
scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!scrapdizle has a huge epeen!
Commando Arena Champion George Wants Beer Champion Domino Champion Shotgun: Defend The Flag Champion Elroy Learns To Fly Champion Mini Putt 2 Champion Lumpy Artist Champion Homerun Frenzy Champion Dr.Strangeblix Champion Export Extreme Champion Americas Army Champion X-Training Champion YetiSports 8 - Jungle Swing Champion
Points: 22,478, Level: 21
Points: 22,478, Level: 21 Points: 22,478, Level: 21 Points: 22,478, Level: 21
Activity: 1.1%
Activity: 1.1% Activity: 1.1% Activity: 1.1%
Last Achievements
Quote:
Originally Posted by XyN View Post
Awesome tutorial, helped me alot. But I've got a question.
What is
Code:
if (GetAsyncKeyState(VK_F1)&0x80000)
good for?
GetAsyncKeyState(Determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState.)


&H8000 is known as a bit mask. Here, it is used to determine the high order
bit for keystate (using AND operator) which was set by GetAsyncKeyState Api
function.

&H8000 = 1000 0000 0000 0000 = 32768
scrapdizle is online now

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
creating, dll, hack
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 04:44 PM.