Run Time Error 6 -
Rob_Maate - 08.12.2011
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?
Re: Run Time Error 6 -
MdeRooy - 08.12.2011
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.
Re: Run Time Error 6 -
Rob_Maate - 08.12.2011
That's nice.
I told you, it compiles. The error is on runtime, hence "Run Time Error 6"
You can have a look at my script when I release it... till then I see no need.
What I asked was
Quote:
Any specifics on what this actually means?
|
Re: Run Time Error 6 -
MdeRooy - 08.12.2011
Well without the script (which actually contains the instructions, which are clearly invalid) i can't help you.
Re: Run Time Error 6 -
Rob_Maate - 08.12.2011
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.
Re: Run Time Error 6 -
Calgon - 08.12.2011
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.
Re: Run Time Error 6 -
Rob_Maate - 08.12.2011
Ya I tried that. Also tried compiling to a separate file and running that...
Point me in the direction of crashdetect?
Re: Run Time Error 6 -
[ABK]Antonio - 08.12.2011
http://forum.sa-mp.com/showthread.ph...ht=crashdetect
I believe that is the correct one...correct me if I'm wrong
Re: Run Time Error 6 -
Rob_Maate - 08.12.2011
Aha! Well I couldn't get crashdetect working, I downloaded .net fw4 but it didn't contain the right dll's n all this bullshit i just gave up.
I noticed my compile time was incredibly short - so I tried to forcefully generate an error.
I typed grewmgoi34n @ the top of my script, and instead of detecting it, it took issue with THIS part of code
pawn Код:
enum zInfo
{
tColor,
tStatus,
tOwner,
tDeaths,
Float:tMinX,
Float:tMinY,
Float:tMaxX,
Float:tMaxY,
tTime,
};
invalid function or declaration
Re: Run Time Error 6 -
Rob_Maate - 08.12.2011
Forgot to close one of my stocks xD
sorry and thankyou