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

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: Spirit_12
Forum: Extensions 08-10-2020, 17:59
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

Would it be better to create a forward in such cases ?
Forum: Extensions 04-30-2019, 09:09
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

Thanks for your explanations. I think I’ll stick to plugins and port most of my stuff from L4Downtown.

I find Dhooks much easier to work with, but I’ll be hooking 20+ functions and just wanted to...
Forum: Extensions 04-29-2019, 23:03
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

I think what I was going for was that if I'm to detour a lot of functions then should I stick to Dhooks or should I go extension approach.
Forum: Extensions 04-28-2019, 22:14
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

This might be an odd question but how much speed difference is there between coding a function in extension or hooking it via DHooks Detour? I'm aware its not really noticeable in game, but what are...
Forum: Extensions 12-16-2018, 21:48
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

I never had any issues with gcc. Is clang the new requirement?
Forum: Extensions 09-27-2018, 18:07
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

How would we know, if you need an extension or not? Remove it and see if a plugin is asking for it.
Forum: Extensions 08-30-2018, 00:23
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

End goal is to detour the function only if a certain condition is met. This function detects what was the reason for smoker's tongue to be broken. I just want to detour if a certain condition is met...
Forum: Extensions 08-29-2018, 19:48
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

Can anyone show me an example of how to use physical offsets of an address and detour that? I'm trying to get the userid from a function, but its neither a this pointer, parameter or a return, but...
Forum: Extensions 08-11-2018, 00:55
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

Code below can replace L4D_OnFirstSurvivorLeftSafeArea forward from Downtown.


#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>
#include <sdktools>
#include <dhooks>
Forum: Extensions 08-10-2018, 22:54
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

I hear you on the callback prototype. Going to fix that part. That actually did the trick. I'll post the final code after I'm done testing.
Forum: Extensions 08-10-2018, 22:20
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

Hopefully you folks can help me here. I was just trying to recreate a function from Downtown to plugin using Dhooks Detours.

Here is the function from disassembly.

; _DWORD __cdecl...
Forum: Extensions 05-02-2017, 21:31
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

Probably needs a signature update.
Forum: Extensions 09-22-2016, 19:13
Replies: 883
Views: 701,520
Posted By Spirit_12
Re: DHooks (Dynamic Hooks - Dev Preview)

There was a commit made a day ago.

https://github.com/alliedmodders/hl2sdk/commits/tf2

Maybe recompile is worth a shot?
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT -4. The time now is 21:29.


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