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

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: dilalmon
Forum: Extensions 08-21-2016, 10:19
Replies: 883
Views: 693,460
Posted By dilalmon
Re: DHooks (Dynamic Hooks - Dev Preview)

Windows. It can happen on any maps. I'll explain since I found when it exactly crashes.

When you return pretty much anything, but MRES_Supercede, the server would crash when the input is "Kill".
Forum: Extensions 08-21-2016, 02:10
Replies: 883
Views: 693,460
Posted By dilalmon
Re: DHooks (Dynamic Hooks - Dev Preview)

It happens on some other maps like awp_multigames as well.
I put some debugging messages inside the hooked function and it seems like it crashes after we return MRESReturn (let that be MRES_Ignored,...
Forum: Extensions 08-21-2016, 01:36
Replies: 883
Views: 693,460
Posted By dilalmon
Re: DHooks (Dynamic Hooks - Dev Preview)

Found server crash:


GAMEDATA:

"Games"
{
"csgo"
{
"Offsets"
Forum: Extensions 08-04-2016, 19:15
Replies: 883
Views: 693,460
Posted By dilalmon
Re: DHooks (Dynamic Hooks - Dev Preview)

I take this back...
The forward had the same name, "OnClientObserve()".

....

I'm so sorry for bothering you.
I really appreciate your help, though.

:bacon!::bacon!::bacon!:
Forum: Extensions 08-04-2016, 18:51
Replies: 883
Views: 693,460
Posted By dilalmon
Re: DHooks (Dynamic Hooks - Dev Preview)

What I posted is pretty much the whole plugin, but I sent it!
Forum: Extensions 08-04-2016, 16:59
Replies: 883
Views: 693,460
Posted By dilalmon
Re: DHooks (Dynamic Hooks - Dev Preview)

Creating a DHook:

new offset = GameConfGetOffset(gameDataFile, "SetObserverTarget");
h_SetObserverTarget = DHookCreate(offset, HookType_Entity, ReturnType_Bool, ThisPointer_CBaseEntity,...
Forum: Extensions 08-04-2016, 15:11
Replies: 883
Views: 693,460
Posted By dilalmon
Re: DHooks (Dynamic Hooks - Dev Preview)

Latest SM 1.8, andd DHooks, it's passing an invalid handle (hParams) to dynamic hooks for "SetObserverTarget" time to time.
DHookIsNullParam(hParams, 1) is used in the dynamic hook, and results the...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -4. The time now is 07:06.


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