Source Code C# AssaultCube Simple Memory Hacking

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

steb

Jr.Coder
Full Member
Nobleman
Aug 16, 2016
63
383
1

AssaultCube Memory Hacking
credits : Steb, Solaire(for the offsets), Fleep (for the memory class), cNoEvil for AdminMode
find your own class ;P

Header:
C++:
public int playerBase = 0x00509B74;
public int adminmodeOFF = 0x220;
public int norecoilOFF = 0x463786;
public int rapidfireOFF = 0x4637E4;
public int unliHealthOFF = 0xf8;
public int unliArmorOFF = 0xFC;
public int fastKnifeOFF = 0x160;
public int fastPistolOFF = 0x164;
public int grenadetimerOFF = 0x180;
public int verticalAngleOFF = 0x44;
public int horizontalAngleOFF = 0x40;
public int mouseclickOFF = 0x224;
public int arifleTimerOFF = 0x178;
public int sniperTimerOFF = 0x174;
public int machinegunTimerOFF = 0x170;
public int shotgunTimerOFF = 0x16C;
public int carbineTimerOFF = 0x168;
public int pistolTimerOFF = 0x164;
public int arifleAmmoOFF = 0x128;
public int arifleClipOFF = 0x150;
public int pistolAmmoOFF = 0x144;
public int pistolClipOFF = 0x13C;
public int grenadeAmmoOFF = 0x158;
public int machinegunAmmoOFF = 0x120;
public int machinegunClipOFF = 0x148;
public int sniperAmmoOFF = 0x124;
public int sniperClipOFF = 0x14C;
public int shotgunAmmoOFF = 0x11C;
public int shotgunClipOFF = 0x144;
public int carbineAmmoOFF = 0x118;
public int carbineClipOFF = 0x140;
FastKnife:
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { fastKnifeOFF }, 0);
FastPistol:
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { fastPistolOFF }, 0);
FastPrimary:
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { arifleTimerOFF }, 1);
Memory.WritePointerInt32(game, playerBase, new int[] { sniperTimerOFF }, 1);
Memory.WritePointerInt32(game, playerBase, new int[] { machinegunTimerOFF }, 1);
Memory.WritePointerInt32(game, playerBase, new int[] { shotgunTimerOFF }, 1);
Memory.WritePointerInt32(game, playerBase, new int[] { carbineTimerOFF }, 1);
Memory.WritePointerInt32(game, playerBase, new int[] { pistolTimerOFF }, 1);
GrenadeTimer:
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { grenadetimerOFF }, 1);
UnliAmmo: (use timers :p)
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { grenadeAmmoOFF }, 10);
Memory.WritePointerInt32(game, playerBase, new int[] { arifleAmmoOFF }, 20);
Memory.WritePointerInt32(game, playerBase, new int[] { arifleClipOFF }, 40);
Memory.WritePointerInt32(game, playerBase, new int[] { pistolAmmoOFF }, 10);
Memory.WritePointerInt32(game, playerBase, new int[] { pistolClipOFF }, 50);
Memory.WritePointerInt32(game, playerBase, new int[] { machinegunAmmoOFF }, 50);
Memory.WritePointerInt32(game, playerBase, new int[] { machinegunClipOFF }, 200);
Memory.WritePointerInt32(game, playerBase, new int[] { sniperAmmoOFF }, 10);
Memory.WritePointerInt32(game, playerBase, new int[] { sniperClipOFF }, 40);
Memory.WritePointerInt32(game, playerBase, new int[] { shotgunAmmoOFF }, 20);
Memory.WritePointerInt32(game, playerBase, new int[] { shotgunClipOFF }, 40);
Memory.WritePointerInt32(game, playerBase, new int[] { carbineAmmoOFF }, 50);
Memory.WritePointerInt32(game, playerBase, new int[] { carbineClipOFF }, 40);
UnliArmor:
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { unliArmorOFF }, 100);
UnliHealth:
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { unliHealthOFF }, 99999);
AdminMode: CREDITS cNoEvil
C++:
Memory.WritePointerInt32(game, playerBase, new int[] { adminmodeOFF }, 1);
NoRecoil: (dont use timer here)
C++:
Memory.WriteNOPs(game, norecoilOFF, 10);
 
Last edited:

cNoEvil

Coder
Full Member
Nobleman
Jun 6, 2016
159
888
1
Dud how dare ye say that all them offsets belong to that their Solaire dude i found the admin offset dude THATS MINE IT"S MINE MINE MINE MINE!
 

cNoEvil

Coder
Full Member
Nobleman
Jun 6, 2016
159
888
1
It makes me mad dude i had to follow a entire and i'll repeat a entire switch statement to find that offset.
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,073
78,998
2,371
It makes me mad dude i had to follow a entire and i'll repeat a entire switch statement to find that offset.
Yeah I know how you feel, I added credits to the post for ya
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,073
78,998
2,371
How to use?
You learn C# and learn how to hack and then you combine those 2 skills with the information in this thread. If you don't have the 2 required skills, you can't use the information in this thread.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods