AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Orpheu] Precache limit fix. (https://forums.alliedmods.net/showthread.php?t=147836)

Owner123 01-14-2011 17:33

[Orpheu] Precache limit fix.
 
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"10xFFFF);


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

Arkshine 01-14-2011 17:59

Re: [Orpheu] Precache limit fix.
 
That's not possible to change the limit. There is already a big thread on it and the final result. Please search.


All times are GMT -4. The time now is 02:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.