//new const SignA[] = {0x3D,0x1C,0xDEF,0xDEF,0xDEF,0x7E,0x1C,0x68}
//new const SignB[] = {0x68,0xDEF,0xDEF,0xDEF,0x41,0x68,0x84,0xE9}
//new const SignC[] = {0xC7,0x46,0x3C,0x1C,0xDEF,0xDEF,0xDEF,0xEB}
public plugin_init()
{
register_plugin("Okapi Test", "0.0.1", "wbyokomo")
//Just testing searching signature, found and no crash.
//server_print("SignA: %s", okapi_mod_find_sig(SignA,
? "Found":"Not Found")
//server_print("SignB: %s", okapi_mod_find_sig(SignB,
? "Found":"Not Found")
//server_print("SignC: %s", okapi_mod_find_sig(SignC,
? "Found":"Not Found")
//Patch roundtime, game crash here.
okapi_set_ptr_int(RoundtimeMaxCheck, 32400) //max check 0x94163
okapi_set_ptr_int(RoundtimeMaxCvarSet, 540) //max cvar set 0x9416A
okapi_set_ptr_int(RoundtimeMaxSet, 32400) //max set 0x9417D
}
[/PHP]