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

[EXTENSION] Hacks


Post New Thread Reply   
 
Thread Tools Display Modes
Stinkyfax
BANNED
Join Date: Aug 2007
Old 01-23-2008 , 13:58   Re: [EXTENSION] Hacks
Reply With Quote #31

What am i doing wrong?
Code:
public TraceAttack(client, inflictor, attacker, damage, hitbox, hitgroup)
{
  damage=RoundToNearest(float(damage)/5.0);
  PrintToServer("executed, total dmg = %i",damage);
  return Hacks_Continue;
}
when i write return 0; it's working fine but i get no damage at all, i need to take 5 times less damage.
And when it's return Hacks_Continue, damage isn't reduced.

Last edited by Stinkyfax; 01-23-2008 at 16:52.
Stinkyfax is offline
raydan
Senior Member
Join Date: Aug 2006
Old 01-24-2008 , 08:48   Re: [EXTENSION] Hacks
Reply With Quote #32

Quote:
Originally Posted by Stinkyfax View Post
What am i doing wrong?
Code:
public TraceAttack(client, inflictor, attacker, damage, hitbox, hitgroup)
{
  damage=RoundToNearest(float(damage)/5.0);
  PrintToServer("executed, total dmg = %i",damage);
  return Hacks_Continue;
}
when i write return 0; it's working fine but i get no damage at all, i need to take 5 times less damage.
And when it's return Hacks_Continue, damage isn't reduced.
this is a "const"
Code:
TraceAttack(CTakeDamageInfo const&, Vector const&, CGameTrace*)
raydan is offline
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 03-08-2008 , 02:16   Re: [EXTENSION] Hacks
Reply With Quote #33

Is it possible, that plugins that use this ext may cause hitreg problems?
__________________
LocutusH is offline
Fredd
Veteran Member
Join Date: Jul 2007
Old 03-11-2008 , 11:55   Re: [EXTENSION] Hacks
Reply With Quote #34

Knagg0@: if you are still active, could we get more hooks?
i would like some of the folllowing,
1. entity think
2. player think
3. player post think
3. some CBaseGrenade hooks would be very awesome!!
4. a hook to catch model changes, not sure if this exists, something like SetModel but a hook
5. a 'Use' hook when ever an entity gets used..

im not sure if all of these hooks exist for the hl2, but im sure some of them do.

thanks, your hard work is appreciated.
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 03-11-2008 , 13:28   Re: [EXTENSION] Hacks
Reply With Quote #35

I talked to Knagg, he said he doesn't do anything for sourcemod anymore
berni is offline
Box Cutter
SourceMod Donor
Join Date: Dec 2006
Location: Arizona
Old 03-19-2008 , 17:41   Re: [EXTENSION] Hacks
Reply With Quote #36

Quote:
Originally Posted by berni View Post
I talked to Knagg, he said he doesn't do anything for sourcemod anymore
Did he say why? Is he supporting a different mod?
Box Cutter is offline
Fredd
Veteran Member
Join Date: Jul 2007
Old 03-19-2008 , 18:50   Re: [EXTENSION] Hacks
Reply With Quote #37

Box Cutter@: sm 1.0 was just released. sm 1.1 sdktools will support some type of dynamic hooking you just need to wait a few weeks/months/years
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline
1695
Senior Member
Join Date: Jan 2006
Old 03-23-2008 , 06:17   Re: [EXTENSION] Hacks
Reply With Quote #38

I cannot load hacks extension !?
It was listed in meta list but didn't work, so I restarted the serveur (many times) and now it's not even listed in meta list !? impossible to start it.
I never had problem with that before... Any idea ?

Last edited by 1695; 03-23-2008 at 06:30.
1695 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 03-23-2008 , 13:13   Re: [EXTENSION] Hacks
Reply With Quote #39

You don't use metamod to load this. You stick it in the <mod>/addons/sourcemod/extensions folder.
bl4nk is offline
1695
Senior Member
Join Date: Jan 2006
Old 03-23-2008 , 14:58   Re: [EXTENSION] Hacks
Reply With Quote #40

yeah, but SM extensinos are listed in meta list AND sm exts list ;-).
In my case, neither meta list or sm exts list display "hacks". never had problems with this extension in previous installations...
1695 is offline
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 18:42.


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