Raised This Month: $51 Target: $400
 12% 

gMultiDamage Hook


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
razermamba
Member
Join Date: Aug 2010
Old 06-16-2015 , 18:45   gMultiDamage Hook
Reply With Quote #1

Hello. I am interested in memory hacking and I would like to find out how to get the adress of gMultiDamage struct in loaded dynamic library under gnu/linux. If I get the adress I can dereference it and change the values. Please post C/C++ example code useable under module. Thanks for help.

Last edited by razermamba; 06-16-2015 at 18:46.
razermamba is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 06-17-2015 , 14:28   Re: gMultiDamage Hook
Reply With Quote #2

You have to use signatures (you may use symbols on linux).

Here's the struct

typedef struct {
class CBaseEntity * pEntity; /* 0 4 */
float amount; /* 4 4 */
int type; /* 8 4 */

} MULTIDAMAGE;
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
razermamba
Member
Join Date: Aug 2010
Old 06-17-2015 , 20:04   Re: gMultiDamage Hook
Reply With Quote #3

Thank you but could you please post the calculation of index in cs library?
razermamba is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 06-18-2015 , 09:51   Re: gMultiDamage Hook
Reply With Quote #4

Quote:
Originally Posted by razermamba View Post
Thank you but could you please post the calculation of index in cs library?
wot?

gMultiDamage it's a non-array struct, used for firebullets and radiusdamage. It's not linked to anything, it's just used temporary each time
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode