Memory Hack Module

A Mod for Counter-Strike 1.6

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Sneaky.amxx points.
  • Post: Give Sneaky.amxx your thoughts on this Game file.
  • Vote: Help Sneaky.amxx win the Monthly Awards.
  • Rate: Give this Game file a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Game file.
  • Watch: Get notified when this Game file is updated.
Mascot

Sound fun?

Sign up

Already a Bananite? Login

MemHack <short for Memory Hacking Module> allows you to hack any part of the memory dynamically using simple functions.

You may hack the mod dll, to directly alter and interface with the mod.
You may also hack the engine dll, and directly interface with that, allowing you to do things even mods can't do.
You can also hack freeform, with no base address.

Allows for simple retreival and patching of memory, as well as a few helper functions. Note: You can, and probably will, crash HL1 with this. Be careful.

This module can emulate any CSHACK native.


Natives : 

#include <memhack_const>

native memhack_get_char(address,baseaddress = MEM_DLLBASE, memtype = MEMTYPE_DATA, signtype = MEM_SIGNED);

native memhack_get_short(address,baseaddress = MEM_DLLBASE, memtype = MEMTYPE_DATA, signtype = MEM_SIGNED);

native memhack_get_long(address,baseaddress = MEM_DLLBASE, memtype = MEMTYPE_DATA, signtype = MEM_SIGNED);

native Float:memhack_get_float(address,baseaddress = MEM_DLLBASE, memtype = MEMTYPE_DATA);

native Float:memhack_get_quad(address,baseaddress = MEM_DLLBASE, memtype = MEMTYPE_DATA);

native memhack_get_pointer(address,baseaddress = MEM_DLLBASE, memtype = MEMTYPE_DATA);

native memhack_set_char(address,baseaddress = MEM_DLLBASE, new_val, memtype = MEMTYPE_DATA, signtype = MEM_SIGNED);

native memhack_set_short(address,baseaddress = MEM_DLLBASE, new_val, memtype = MEMTYPE_DATA, signtype = MEM_SIGNED);

native memhack_set_long(address,baseaddress = MEM_DLLBASE, new_val, memtype = MEMTYPE_DATA, signtype = MEM_SIGNED);

native memhack_set_float(address,baseaddress = MEM_DLLBASE, Float:new_val, memtype = MEMTYPE_DATA);

native memhack_set_quad(address,baseaddress = MEM_DLLBASE,Float:new_val, memtype = MEMTYPE_DATA);

native memhack_set_pointer(address,baseaddress = MEM_DLLBASE, new_val, memtype = MEMTYPE_DATA);

native memhack_get_base(func_addr,&success);

native memhack_get_realaddr(address,baseaddress,memtype = MEMTYPE_DATA);

native memhack_return_addr(baseaddress = MEM_DLLBASE)

Download

Posts

  • 10d
    hellmonja avatar
    hellmonja avatar X
    CS:GO Ports Flag Affiliation: CS:GO Ports
    Member Joined 3y
    1,122 points Ranked 4398th
    32 medals 6 rare
    • Received thanks 50 times Medal icon
    • Returned 1000 times Medal icon
    • Thanked 50 submitters Medal icon
    • 10 submissions featured Medal icon
    • Reached 50 subscribers Medal icon
    • Submitted 20 Gamefiles Medal icon
    hellmonja avatar
    hellmonja
    CS:GO Ports Flag
    CS:GO Ports
    Wait. If this can hack thru the dlls, can it increase the precache limits?
    Sorry in advance if that question sounds retarded...
    PM Me avatar
    Mantra
    PM Me
  • 11d
    papaschlange avatar
    papaschlange avatar in straitjacket
    Member Joined 1y
    4,432 points Ranked 1046th
    16 medals 3 rare
    • Returned 1000 times Medal icon
    • Thanked 50 submitters Medal icon
    • Received thanks 50 times Medal icon
    • One month a member Medal icon
    • Received thanks 5 times Medal icon
    • Returned 100 times Medal icon
    Sounds like some Deus Ex stuff :) I wish I could get what it means.
    Tin Foil Hit Man

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
Twilight Suzuka
Coder
DS
Coder

Submitter

Sneaky.amxx avatar
Sneaky.amxx avatar Offline
Moderator Joined 7y
1,260 points Ranked 3763rd
23 medals 5 rare
  • Submitted 20 Gamefiles Medal icon
  • Received thanks 50 times Medal icon
  • Submitted 50 Maps Medal icon
  • Submitted 20 Maps Medal icon
  • 6 years a member Medal icon
  • Became a Studio Leader Medal icon

Sneaky.amxx avatar
Sneaky.amxx
GlobalModders Development Flag
GlobalModders Development

Redistributor
Are you the owner? Request Ownership
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Stats

Posts
4
Views
531
Downloads
79
Date Added
11d
Date Modified
11d
bcp.crwdcntrl.net tracking pixel