Thread
:
Setting a detour
View Single Post
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
02-11-2019 , 20:35 Re: Setting a detour
#
4
@Kailo: As a convenience you don't have to add that logic yourself and can just set the calling convention to "thiscall" on Linux as well. Internally dhooks will do exactly what you did, but allows you to use the normal natives to interact with the this pointer. Check the paragraph about "Detouring member functions" in the release post.
__________________
SourcePawn .smx disassembler in your browser
Detour any function from your plugin:
DHooks 2 + detours
Tab-autocompletion in SRCDS command line
Bot Mimic
|
SM:CTF
|
SM:Conquest
|
SM:Error Mail
|
Websocket
|
PostgreSQL
Retrogames:
Connect4
|
Tetris
|
Snake
|
Pong
|
Blackjack
Peace-Maker
View Public Profile
Send a private message to Peace-Maker
Visit Peace-Maker's homepage!
Find More Posts by Peace-Maker