Page 2 of 2

Re: dodhook extension (by Andersso)

Posted: Wed Dec 07, 2016 5:39 pm
by FeuerSturm
I've compiled it for Linux and did a quick test, should work fine.
Let me know if you have any issues:
dodhooks.ext.2.dods.zip
Latest DoDHooks compiled for Linux
(23.28 KiB) Downloaded 482 times
dodhooks.ext.2.dods.zip
Latest DoDHooks compiled for Linux
(23.28 KiB) Downloaded 482 times
@Andersso:
there's a small mistake in vglobals.cpp that makes it impossible to compile on Linux:

Code: Select all

void InitializeValveGlobals()
{
	g_pEntList = g_pGameHelpers->GetGlobalEntityList();

#ifdef PLATFORM_WINDOWS
	uint8 *pAddress = NULL;
	int iOffset;
has to be

Code: Select all

void InitializeValveGlobals()
{
	g_pEntList = g_pGameHelpers->GetGlobalEntityList();

	uint8 *pAddress = NULL;
#ifdef PLATFORM_WINDOWS
	int iOffset;
Here's the updated Makefile, it's not perfect yet as it throws some warnings (that can be ignored!), I'll update it once I got some more time:
Makefile.zip
Makefile to compile DoDHooks on Linux
(1.49 KiB) Downloaded 450 times
Makefile.zip
Makefile to compile DoDHooks on Linux
(1.49 KiB) Downloaded 450 times

Re: dodhook extension (by Andersso)

Posted: Wed Dec 07, 2016 6:22 pm
by vintage
Good job FeuerSturm !
Already downloaded !
I'll test tomorrow !

Re: dodhook extension (by Andersso)

Posted: Thu Dec 15, 2016 6:12 am
by darkranger
Linux seems not to be working.

[11] <FAILED> file "dodhooks.ext.2.dods.so": Could not find interface: IGameHelpers

EDIT: Updated to latest SM version fixed it. :)

Re: dodhook extension (by Andersso)

Posted: Tue Nov 13, 2018 5:12 pm
by MihailM
how it can be "cured" http://prntscr.com/lhwzu8 , server on windows ..
add..
it turned out that the old version of dod hook doesn't want to work together with older versions of sourcemod version 1.7. I had to put poly version of dod hook and update sourcemod.
Solved

Re: dodhook extension (by Andersso)

Posted: Mon Jun 20, 2022 12:24 pm
by MihailM
Could not someone recompile on Sourcemod 1.10 and higher. Let it be %))