Skip to content

Commit

Permalink
Merge pull request #21 from rtldg/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
Browse files Browse the repository at this point in the history
…aaaaaaaaa

bump to 1.3.1 with sm 1.11 fix
  • Loading branch information
hermansimensen authored Oct 1, 2022
2 parents ff6b07a + a5e312c commit 1c844d8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 11 additions & 0 deletions gamedata/eventfix.games.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
"Games"
{
"#default"
{
"Offsets"
{
"LINUX"
{
"linux" "1"
}
}
}

"csgo"
{
"Signatures"
Expand Down
7 changes: 5 additions & 2 deletions scripting/eventqueuefix.sp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define PLUGIN_NAME "EventQueue fix"
#define PLUGIN_AUTHOR "carnifex"
#define PLUGIN_DESCRIPTION ""
#define PLUGIN_VERSION "1.3.0"
#define PLUGIN_VERSION "1.3.1"
#define PLUGIN_URL ""

#include <sourcemod>
Expand Down Expand Up @@ -152,7 +152,10 @@ void LoadDHooks()
SetFailState("Faild to find AddEventThree signature.");
DHookAddParam(addEventThree, HookParamType_CharPtr);
DHookAddParam(addEventThree, HookParamType_CharPtr);
DHookAddParam(addEventThree, HookParamType_Object, 20, DHookPass_ByVal|DHookPass_ODTOR|DHookPass_OCTOR|DHookPass_OASSIGNOP);
if (gamedataConf.GetOffset("LINUX") == 1)
DHookAddParam(addEventThree, HookParamType_ObjectPtr);
else
DHookAddParam(addEventThree, HookParamType_Object, 20);
DHookAddParam(addEventThree, HookParamType_Float);
DHookAddParam(addEventThree, HookParamType_Int);
DHookAddParam(addEventThree, HookParamType_Int);
Expand Down

0 comments on commit 1c844d8

Please sign in to comment.