I want to change precache limit (512) to greater.
I have this sig:
Code:
[
{
"name" : "precacheFix",
"library" : "engine",
"type" : "long",
"memoryType" : "code",
"identifiers" :
[
{
"os" : "linux",
"mod" : "cstrike",
"value" : ["*", "*", "*", "*", 0x00, 0x00, 0x0F, 0x8E, 0x5A, 0xFF, 0xFF, 0xFF, 0x83, 0xc4, 0xFC, 0x68, 0x00, 0x02, 0x00, 0x00, 0x55]
}
]
}
]
And this plugin:
PHP Code:
#include <amxmodx>
#include <orpheu_memory>
public plugin_precache()
{
register_plugin("Precache Limit Fix", "1.0.0", "Owner")
OrpheuMemorySet("precacheFix", 1, 0xFFFF);
}
But every server start, in console i have this:
Code:
./hlds_run: line 321: 21239 Illegal instruction $HL_CMD
How i can fix that? :F
__________________