Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
The fuck is this? I just wrote up a blank GM and scripted a basic turf take-over system, it compiles fine AND was running fine... all the sudden I'm getting
Run Time Error 6: Invalid Instruction
printed on the console window, obviously meaning the compilation will not run.
Any specifics on what this actually means?
Posts: 44
Threads: 2
Joined: Mar 2011
Reputation:
0
Can you provide a screenshot? Is it the compiler that gives this error? Or the samp-server.exe? Also, please show the script, because that may contain errors.
Posts: 44
Threads: 2
Joined: Mar 2011
Reputation:
0
Well without the script (which actually contains the instructions, which are clearly invalid) i can't help you.
Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
I have a feeling you couldn't have helped me anyway.
What I asked was simple; what does the runtime error mean. I will do the troubleshooting myself once I know what i'm looking for. To my knowledge the scripting is fine.
Posts: 6,129
Threads: 36
Joined: Jan 2009
I know this may seem obvious, but have you tried re-compiling? The problem might be that when you compiled it or uploaded it somewhere a part of the file didn't completely upload.
Otherwise, you're going to have to debug the error with the crashdetect plugin for further information on the problem.
'Pawn Implementer's Guide.pdf' doesn't explain the error very well:
Код:
(6) AMX ERR INVINSTR
Invalid instruction.
...and there's no mention of it in pawn-lang.pdf.
Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
Ya I tried that. Also tried compiling to a separate file and running that...
Point me in the direction of crashdetect?
Posts: 434
Threads: 19
Joined: Aug 2011
Reputation:
0
Forgot to close one of my stocks xD
sorry and thankyou