The Game Modding Community - Since 2001

Memory Hack Module

A Mod for Counter-Strike 1.6

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)

Files

Posts

  • 9mo
    hellmonja avatar
    hellmonja username pic Joined 3y ago
    X
    CS:GO Ports Flag Affiliation: CS:GO Ports
    3,937 points Ranked 1265th
    36 medals 3 legendary 7 rare
    • 30 submissions featured Medal icon
    • 2017 Top Contributor Medal icon
    • Reached 100 subscribers Medal icon
    • Received thanks 50 times Medal icon
    • Returned 1000 times Medal icon
    • Thanked 50 submitters Medal icon
    hellmonja avatar
    hellmonja
    CS:GO Ports Flag
    Affiliation
    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...
    AMXX Gunsmith avatar
    Mantra
    AMXX Gunsmith
  • 9mo
    papaschlange avatar
    papaschlange username pic Joined 2y ago
    in straitjacket
    5,505 points Ranked 883rd
    19 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.
    Stop water fluoridation

Embed

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

Credits

Key Authors
Twilight Suzuka
Coder
DS
Coder

Submitter

Sneaky.amxx avatar
Sneaky.amxx username pic Joined 8y ago
Moderator
Offline
1,576 points Ranked 3280th
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
Affiliation
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!

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 263 Downloads
  • 2,129 Views
  • 4 Posts
  • 9mo Submitted
  • 9mo Modified

Scores

90 bScore
10 Rating

1 voter

Sign up to access this!

Hey, you! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Join the community! Sign up now!

Already a Bananite? Login

bcp.crwdcntrl.net tracking pixel