Problema intalnita (descriere):Primesc asta in server log [14:37:53] [debug] Run time error 12: "(sleep mode)"
[14:37:53] [debug] AMX backtrace:
[14:37:53] [debug] #0 00028634 in public Malloc_SolidifyTimer () from Gamemode.amx
Ero(area / rile) / warning-(ul / urile):Nu am
Liniile de cod / sursa / script-ul(obligatoriu):Publicul malloc_solidifyTimer
forward Malloc_SolidifyTimer();
public Malloc_SolidifyTimer()
{
P:1("Malloc_SolidifyTimer called");
Malloc_TrySetup();
Malloc_SolidifyHeap();
}
static Malloc_SolidifyHeap()
{
if (YSI_g_sHeapSetup == 2) return 1;
++YSI_g_sHeapSetup;
#emit LCTRL 3
#emit MOVE.alt
#emit SCTRL 5
#emit SCTRL 4 // Set the original stack pointer.
// Call to save "stk" and "frm", since they aren't in early builds.
#emit PUSH.C 0
#emit SYSREQ.C heapspace // The pre-processor can't touch this.
#emit STACK 4
// Unfortunately, "heapspace" has a parameter pushed first so it saves the
// wrong stack value (the value 4 below where it should be). The only other
// opcode that reliably saves "stk" in "amx->stk" without trying to call a
// native function is "OP_RETN", so let's BADLY invoke it! Note that we
// still need the "heapspace" call (or any function call) to save "hea" and
// "frm", which are NOT saved by "OP_RETN" but are by "OP_SYSREQ_C".
#emit PUSH.C 0 // No parameters
#emit LCTRL 6 // Return to the next instruction...
#emit ADD.C 20
#emit PUSH.pri
#emit PUSH.alt // Same frame.
#emit RETN
// "return" to here...
#emit HALT 12
return 0;
}
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Da dar nu stiu ce are..
Question
AdY.Capone
Problema intalnita (descriere):Primesc asta in server log [14:37:53] [debug] Run time error 12: "(sleep mode)"
[14:37:53] [debug] AMX backtrace:
[14:37:53] [debug] #0 00028634 in public Malloc_SolidifyTimer () from Gamemode.amx
Ero(area / rile) / warning-(ul / urile):Nu am
Liniile de cod / sursa / script-ul(obligatoriu):Publicul malloc_solidifyTimer
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Da dar nu stiu ce are..
Link to comment
Share on other sites
1 answer to this question
Recommended Posts