Raised This Month: $7 Target: $400
 1% 

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
FudgePoly
Senior Member
Join Date: Jul 2011
Old 03-18-2012 , 10:37   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #11

Code:
[14] <FAILED> file "dhooks.ext.so": Could not find interface: IGameHelpers
Using TF2, fully updated, CentOS.
FudgePoly is offline
psychonic

BAFFLED
Join Date: May 2008
Old 03-18-2012 , 11:09   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #12

Quote:
Originally Posted by FudgePoly View Post
Code:
[14] <FAILED> file "dhooks.ext.so": Could not find interface: IGameHelpers
Using TF2, fully updated, CentOS.
What version of SM are you running?
psychonic is offline
FudgePoly
Senior Member
Join Date: Jul 2011
Old 03-18-2012 , 11:29   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #13

Latest stable release.
FudgePoly is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 03-18-2012 , 14:18   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #14

Quote:
Originally Posted by KyleS View Post
<KyleS> Drifter, Are you aware of any leaks in DHooks? D:
* ViolentCrimes has quit (Read error: Connection reset by peer)
<KyleS> Drifter, http://pastie.org/private/vxdnhepkmhi7wowytmydcg - If the client is kicked, if the plugin or ext is unloaded, the memory still isn't freed. I'm not sure where it's occuring. I could fire up Valgrind though if you can't reproduce it.
<KyleS> Hit about 2.5gb in 12h lol D:
I have fixed a few. There was one in the actual hooking, and another in getting the params/return values. If there is more feel free to run valgrind since I couldnt see anymore. I tried running valgrind but not sure if I did it correctly since I never used it

Quote:
Originally Posted by FudgePoly View Post
Code:
[14] <FAILED> file "dhooks.ext.so": Could not find interface: IGameHelpers
Using TF2, fully updated, CentOS.
Try 1.0.3-alpha it should be fixed.

Also anyone running anything before 1.0.3-alpha should update to it, since the memory leak was pretty big.
Dr!fter is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 03-24-2012 , 14:52   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #15

how can i hook css SwitchTeam signature and stop it?

Last edited by Despirator; 03-24-2012 at 14:52.
Despirator is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 03-24-2012 , 17:41   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #16

Quote:
Originally Posted by Despirator View Post
how can i hook css SwitchTeam signature and stop it?
Its not virtual so you cant use this method. You need to detour the function. What exactly are you trying to do? as their might be other hooks that can be used.
Dr!fter is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 03-25-2012 , 14:09   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #17

i want to handle players switch and stop that for certain players
Despirator is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 03-25-2012 , 14:53   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #18

Well, you can hook manual team changes with join_team, which stops most of the issues in general. If you want to take into consideration plugin swapping or admin interference, it's relatively easy to hook player_team, set the broadcast to false, and swap them back.
__________________
thetwistedpanda is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 03-26-2012 , 09:23   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #19

Quote:
Originally Posted by Despirator View Post
i want to handle players switch and stop that for certain players
There dosnt seem to be anything virtual to do with switching teams.

Quote:
Originally Posted by thetwistedpanda View Post
Well, you can hook manual team changes with join_team, which stops most of the issues in general. If you want to take into consideration plugin swapping or admin interference, it's relatively easy to hook player_team, set the broadcast to false, and swap them back.
Best method ^

Last edited by Dr!fter; 03-26-2012 at 09:24.
Dr!fter is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 03-26-2012 , 12:33   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #20

Quote:
Originally Posted by thetwistedpanda View Post
Well, you can hook manual team changes with join_team, which stops most of the issues in general. If you want to take into consideration plugin swapping or admin interference, it's relatively easy to hook player_team, set the broadcast to false, and swap them back.
i want to override autobalance function of the hide'n'seek's mod
Despirator is offline
Reply


Thread Tools
Display Modes

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 04:38.


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