Run time error 6: "Invalid instruction"
#1

As of today I started up my SAMP Server it just works, but the server uses all the available CPU usage due this Run time error 6, it keeps on repeating when a player joins, when there are no players in game it won't repeat this error, I checked the complete player connection data section etc, is there anyone who would be able to help me with this problem?


Код:
[19:55:32] [debug] AMX backtrace:
[19:55:32] [debug] #0 ???????? in ?? () from RGRP.amx
[19:55:32] [debug] Run time error 6: "Invalid instruction"
[19:55:32] [debug]  Unknown opcode 0x7800 at address 0xFFFFFFFF
Also got this error, is it the streamer?

Код:
[19:55:32] [debug] AMX backtrace:
[19:55:32] [debug] #0 ???????? in ?? () from RGRP.amx
[19:55:32] [debug] #1 native DestroyVehicle () [00470100] from samp-server.exe
[19:55:32] [debug] #2 0020e3dc in ?? () from RGRP.amx
[19:55:32] [debug] #3 001428f4 in ?? () from RGRP.amx
[19:55:32] [debug] #4 00017080 in public S@@_OnPlayerDisconnect () from RGRP.amx
[19:55:32] [debug] #5 native CallLocalFunction () [00472ad0] from samp-server.exe
[19:55:32] [debug] #6 0000b3a4 in public Itter_OnPlayerDisconnect () from RGRP.amx
[19:55:32] [debug] #7 native CallLocalFunction () [00472ad0] from samp-server.exe
[19:55:32] [debug] #8 0000547c in public Streamer_OnPlayerDisconnect () from RGRP.amx
[19:55:32] [debug] #9 native CallLocalFunction () [00472ad0] from samp-server.exe
[19:55:32] [debug] #10 00000e94 in public OnPlayerDisconnect () from RGRP.amx
Can't seem to find the bug, I tracked all the public functions (OnPlayerDisconnect etc.)

Thank you for taking your time to look at it.
Reply
#2

Compile with debug flags. Question marks and cryptic memory addresses aren't useful.
Reply
#3

Already use the debug flags, but it isn't showing anything special except for
Код:
Pawn compiler 3.2.3664          Copyright © 1997-2006, ITB CompuPhase

Header size:           14904 bytes
Code size:           2547064 bytes
Data size:          20795764 bytes
Stack/heap size:       16384 bytes; estimated max. usage: 1234 cells
Total requirements: 23374116 bytes
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)