Well, I´ve made some tests and I get this:
PHP Code:
{
"name" : "SV_CheckProtocol",
"library" : "engine",
"arguments" :
[
{
"type" : "dword"
},
{
"type" : "dword"
}
],
"identifiers":
[
{
"os" : "windows",
"mod" : "cstrike",
"value" : [55,0x8B,0xEC,0x56,0x57,0x8B,0x7D,"*",0x85,0xFF,0x75,0x13,0x68,0x88,0x2C,0xE6]
}
]
}
I´ve put it in configs/orpheu/functions folder and I´ve made a simple plugin:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <orpheu>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "S34Qu4K3"
public plugin_precache()
{
OrpheuRegisterHook(OrpheuGetFunction("SV_CheckProtocol"),"SV_CheckProtocol_function")
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public OrpheuHookReturn:SV_CheckProtocol_function()
{
new variable_1[100]
new variable_2[100]
new variable_3[100]
new variable_4[100]
read_argv(1,variable_1, 99)
read_argv(2,variable_2, 99)
read_argv(3,variable_3, 99)
read_argv(4,variable_4, 99)
log_to_file("c_1.log", variable_1)
log_to_file("c_2.log", variable_2)
log_to_file("c_3.log", variable_3)
log_to_file("c_4.log", variable_4)
server_print("Acepted")
}
But it seems that not work
Server console:
PHP Code:
Parsing functions started.
Parsing file "EndRoundMessage" started
Function is updated
Parsing file "EndRoundMessage" ended
Parsing file "InstallGameRules" started
Function is updated
Parsing file "InstallGameRules" ended
Parsing file "SV_ConnectClient" started
Function is updated
Parsing file "SV_ConnectClient" ended
Parsing folder "CHalfLifeMultiplay" started
Parsing file "CheckWinConditions" started
Function is updated
Parsing file "CheckWinConditions" ended
Parsing file "UpdateTeamScores" started
Function is updated
Parsing file "UpdateTeamScores" ended
Parsing folder "CHalfLifeMultiplay" ended
Parsing functions ended.
It seems that Orpheu doesn´t load my signature, any message error apears
__________________