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

DHooks (Dynamic Hooks - Dev Preview)


Post New Thread Reply   
 
Thread Tools Display Modes
Nemdox
Member
Join Date: Aug 2012
Old 07-17-2014 , 17:05   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #201

Quote:
Originally Posted by Powerlord View Post
In that case, can you do me a favor and compile DHooks on Linux for me? Snapshot builds don't seem to exist anywhere... at least not ones that won't already crash on shutdown because SDKHooks tends to unload before DHooks does and then DHooks tries to use an SDKHooks pointer as it shuts down.

Having said that, the only plugins I've tried are ones that use GameRules hooks... PropHunt Redux and Respawn Wave Time Fix. If either are present, MetaMod crashes during shutdown. Perhaps it only happens with DHooks GameRules hooks?
pls give here last version dhook?
Nemdox is offline
Nemdox
Member
Join Date: Aug 2012
Old 07-17-2014 , 17:11   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #202

Players on the server have breakthroughs, the screen twitches. It can be because of this plug-in?
Nemdox is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 07-18-2014 , 17:00   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #203

@Nemdox

You can try disabling the plugin and see if players are still having screen twiches
__________________
...
Oshizu is offline
Nemdox
Member
Join Date: Aug 2012
Old 07-22-2014 , 22:04   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #204

Quote:
Originally Posted by Oshizu View Post
@Nemdox

You can try disabling the plugin and see if players are still having screen twiches
oh problem for rankme plugin =((
Nemdox is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 07-23-2014 , 14:56   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #205

Quote:
Originally Posted by Powerlord View Post
[...]Perhaps it only happens with DHooks GameRules hooks?
I've seen crashes on server shutdown while not using GameRules hooks. I haven't dug deeper nor taken a look at it since I don't particularly care what happens when I shutdown the server, but it might actually be caused by this, so I thought I'd share.
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-30-2014 , 15:09   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #206

So, I saw something new and unexpected today when I logged into my test server's console that's not related to previous bugs.

On a TF2 arena map (ph_hilltop_a2), this appeared in my logs:

Code:
L 07/30/2014 - 14:27:20: "rxg | donawt<68><STEAM_0:0:66154873><>" disconnected (reason "Disconnect by user.")
L 07/30/2014 - 14:27:20: [prophunt.smx] [PH] Automatically unhooking Gamerules SetWinningTeam team switch override from hookid 59
Dropped rxg | donawt from server (Disconnect by user.)
L 07/30/2014 - 14:28:25: "baconomega<67><STEAM_0:0:87565890><Red>" disconnected (reason "Disconnect by user.")
This concerns me for several reasons:
  1. This message is printed from a DHooks DHookRemovalCB function...
  2. ...from a GameRules hook.
  3. The map isn't changing at the time (as shown by the lack of a map change before the final user disconnected).

This is on a MM:S 1.10.1 final / SM 1.6.0 final server.

Quote:
Originally Posted by Dr. Greg House View Post
I've seen crashes on server shutdown while not using GameRules hooks. I haven't dug deeper nor taken a look at it since I don't particularly care what happens when I shutdown the server, but it might actually be caused by this, so I thought I'd share.
Well, if you aren't using one of the recent modifications I made to it (which were merged into Drifter's DHooks and DHooks2 repositories), it'd always crash because SDKHooks would unload first, then during unload DHooks would try to make calls on an invalid SDKHooks pointer.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
floube
SourceMod Donor
Join Date: Jan 2013
Location: Austria
Old 08-01-2014 , 19:01   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #207

@OP:

Gamedata changed for the TF2 example (prevent round end):
Code:
"Games"
{
    "tf"
    {
        "Offsets"
        {
            "SetWinningTeam"
            {
                "windows"    "155"
                "linux"        "156"
            }
        }
    }
}
Just for the ones who needed it ;)
__________________
floube is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-01-2014 , 19:04   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #208

Quote:
Originally Posted by floube View Post
@OP:

Gamedata changed for the TF2 example (prevent round end):
Code:
"Games"
{
    "tf"
    {
        "Offsets"
        {
            "SetWinningTeam"
            {
                "windows"    "155"
                "linux"        "156"
            }
        }
    }
}
Just for the ones who needed it ;)
I probably should have mentioned that. The gamedata file included with PropHunt Redux is this exact same gamedata (even with the same name).

Granted, I use it for a different purpose than most (to change the switch teams argument).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 08-04-2014 , 15:58   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #209

If anyone wants, I've created linux binaries of https://bitbucket.org/Drifter321/dhooks2/src
Note: You will need to modify the ambuild scripts(I recommend powerlord's repo ones for sm 1.6) to compile your own binaries
Edit: These binaries still have crash on shutdown problem and idk why as it contains commits that powerlord made to the dhooks2 repo
Attached Files
File Type: zip dhooks.zip (2.00 MB, 95 views)
__________________

Last edited by WildCard65; 08-04-2014 at 19:13.
WildCard65 is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 08-04-2014 , 16:18   Re: DHooks (Dynamic Hooks - Dev Preview)
Reply With Quote #210

Quote:
Originally Posted by Powerlord View Post
I probably should have mentioned that.[...]
Waste of time. Should rather note in the first post that offsets may have changed.

Different note:
Can we have signature support pretty please?
Very pretty please?

HOMEMADE PIZZA ANYONE?! (Got a pizza stone recently)
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House 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 09:52.


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