You don't need memory hacks to do this. You can just
restore ammo values when you've detected low/depleted
clips in the CurWeapon network message.
Assuming it's Counter-Strike you're dealing with, of
course. If that's the case, you may want to take a
look at the AMX Mod X code for hacking common
Counter-Strike properties:
http://svn.alliedmods.net/viewvc.cgi/trunk/dlls/cstrike/cstrike/?root=amxmodx
---David "BAILOPAN" Anderson
http://www.amxmodx.org/
--- altpluzf4 <altpluzf4@...> wrote:
> Hello. I'm new to this group (or any group
> actually.)
>
> Does anyone have any idea how I could use a metamod
> plugin to 'search'
> and/or 'alter' memory in Half-Life?
>
> I used to have a plugin that did this (or something
> similar) to 'lock'
> the ammo count in the current clip of whatever gun
> you were using. The
> result being infinite ammo without needing to
> reload.
>
> It's been several years, and I just keep drawing
> blanks when trying to
> recall how it was done. The original code (for the
> altering of the
> ammo) was given to me by someone, and I have no way
> of contacting them
> now.
>
> Thanks for any help or suggestions!
>
>
________________________________________________________________________________\
____
Don't get soaked. Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather