• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 6 of 6
    1. #1
      Respected Hacker
      Learning to hack games!
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340

      [Release] C++ Trainer Class

      Silent VPN
      Hey,

      I coded this trainer class because somebody asked for it, but I couldn't find it for C++. . It supports:

      - (Read and Write) Int8/Int16/Int32/Int64/Float/Double (and also the pointers)

      I will think about adding read/write strings and DLL injection functions.


      Make sure that after adding trainer.h and trainer.cpp you set 'Character Set' To 'Multi-Byte'.

      Thanks for 'Cha0sBG' from MPGH for releasing his GetProcID function:
      https://www.mpgh.net/forum/161-progr...s-id-name.html

      Currently only memory hacking for 32 bit processes is supported.

      As process name you need the full processname. (e.g. "nexuiz.exe")

      Yes that was almost everything that I had to say. Download:
      https://guidedhacking.com/attachment...1&d=1373535796

      Virus scan (It's just a cpp and h file but however)
      https://virusscan.jotti.org/de/scanr...bd62127517ee45


      If you want, leave feedback (whether it works or not).
      Attached Files Attached Files

    2. #2
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      r0man's Avatar
      Join Date
      Jul 2013
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0
      Quote Originally Posted by till0sch97 View Post


      Enumerate process (EnumerateProcess()) -> Get your process ID -> Call OpenProcess -> Call WriteProcessMemory -> CloseHandle....
      I've used something like
      FindWindow>GetWindowThreadProcessId>OpenProcess> then write to memory and then CloseHandle (i've reinstalled my system and forgot to copy my codes //fail)

      https://guidedhacking.com/showthread...-Trainer-Class[/QUOTE]
      thanks for this, gonna check it as fast as i install msvs and shits on my computer

      and regarding to the topic again, i wasn't sure what lpBaseAddress exactly is since im not familiar with offsets and shit.

      Anyways thanks, but don't close this thread, because probaly i'll ask something new soon I believe

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      forivin's Avatar
      Join Date
      Mar 2013
      Posts
      10
      Thanks (-->)
      1
      Thanks (<--)
      0
      Can this even work on Windows 7?
      For ReadProcessMemory you need to set debugging priviledges afaik.
      Also I couldn't find ReadAsciiString() which is mentioned in your header file.

      For me it didn't work.. idk. If you know how how to set debug priviledges tell me please.

    4. #4
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      492
      AdjustTokenRights or whatever was the name of the function to achieve what you want r0man, can't remember exactly :S
      [Release] C++ Trainer Class

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      forivin's Avatar
      Join Date
      Mar 2013
      Posts
      10
      Thanks (-->)
      1
      Thanks (<--)
      0
      Thanks. But it looks like on Windows 8 I don't these privileges.

      One more question:
      Since float values are stored in a very complicated way in the memory, I'm wondering if ReadFloat() can even work correctly.
      If I'm correct, read float values are returned as weird very long integers. Because floats are stored like: [sign][mantissa][exponent]

      edit: aww nvm. It works the way it is.
      Last edited by forivin; 10-26-2013 at 08:05 PM.

    6. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      emptieness's Avatar
      Join Date
      Jan 2013
      Posts
      1
      Thanks (-->)
      0
      Thanks (<--)
      0
      Silent VPN
      Quote Originally Posted by forivin View Post
      Can this even work on Windows 7?
      For ReadProcessMemory you need to set debugging priviledges afaik.
      Also I couldn't find ReadAsciiString() which is mentioned in your header file.

      For me it didn't work.. idk. If you know how how to set debug priviledges tell me please.
      Code:
      	void SetDebugPrivilege()
      	{
      		HANDLE hToken, hProcess = GetCurrentProcess();
      		TOKEN_PRIVILEGES priv;
      		LUID luid;
      		OpenProcessToken(hProcess, TOKEN_ADJUST_PRIVILEGES, &hToken);
      		LookupPrivilegeValue(0, "seDebugPrivilege", &luid);
      		priv.PrivilegeCount = 1;
      		priv.Privileges[0].Luid = luid;
      		priv.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
      		AdjustTokenPrivileges(hToken, false, &priv, 0, 0, 0);
      		CloseHandle(hToken);
      		CloseHandle(hProcess);
      	}
      Working for WinXP, Vista, 7 and 8

    Similar Game Hacker Threads

    1. C# Better Trainer Class
      By till0sch in forum C#
      Replies: 14
      Last Post: 12-15-2016, 06:13 AM
    2. [Release+Video] Fruit Ninja v3.0 Trainer
      By till0sch in forum Other Game Hacks
      Replies: 3
      Last Post: 06-30-2013, 05:19 AM
    3. [Release] A Chuck E Attempt - Orcs Must Die 2 Trainer
      By Chuck E in forum Other Game Hacks
      Replies: 23
      Last Post: 04-20-2013, 04:59 PM
    4. [Release] Torchlight 2 Trainer +22 [All Versions!]
      By Fling in forum Other Game Hacks
      Replies: 4
      Last Post: 04-14-2013, 12:22 PM
    5. [Release] Orcs Must Die 2 Trainer v.1.0.1 ~Update~
      By Crazywink in forum Other Game Hacks
      Replies: 32
      Last Post: 01-17-2013, 01:50 PM

    Tags for this Thread