SA-MP Forums Archive
Run time error 17: "Invalid/unsupported P-code file format" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Run time error 17: "Invalid/unsupported P-code file format" (/showthread.php?tid=649619)



Run time error 17: "Invalid/unsupported P-code file format" - Tihoy232 - 12.02.2018

[15:49:51] Script[gamemodes/GameMode.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[15:49:51] Failed to load 'gamemodes/GameMode.amx' script.
[15:49:51] Number of vehicle models: 0
[15:49:56] --- Server Shutting Down.
[15:49:56] [debug] Server crashed due to an unknown error
[15:49:56] [debug] Native backtrace:
[15:49:56] [debug] #0 00401696 in ?? () from samp-server.exe

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


Re: Run time error 17: "Invalid/unsupported P-code file format" - Sew_Sumi - 12.02.2018

Recompile and reupload the gamemode.

Searching gains https://sampforum.blast.hk/showthread.php?tid=573696


Re: Run time error 17: "Invalid/unsupported P-code file format" - Tihoy232 - 12.02.2018

already several times i re-upload same re-compiler but same also run time error 17


Re: Run time error 17: "Invalid/unsupported P-code file format" - Mugala - 12.02.2018

you're uploading it in linux hosting?
if yes, change the name of the GameMode.amx to gm.amx or something like that.


Re: Run time error 17: "Invalid/unsupported P-code file format" - Tihoy232 - 12.02.2018

Means GameMode.amx change so gm.amx?


Re: Run time error 17: "Invalid/unsupported P-code file format" - Sew_Sumi - 12.02.2018

How are you uploading the AMX?


Re: Run time error 17: "Invalid/unsupported P-code file format" - Tihoy232 - 12.02.2018

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
How are you uploading the AMX?
I did not upload AMX I originally rename the pwn file and it's AMX not to read so it's an error


Re: Run time error 17: "Invalid/unsupported P-code file format" - B3x7K - 12.02.2018

hmmm have u try to recompile with pawn pre-proccessor from Zeex ?

And dont forget to update your include (* like a_sa-mp, crashdetect, etc *)

Maybe that will help you


Re: Run time error 17: "Invalid/unsupported P-code file format" - Mugala - 12.02.2018

wait, u renamed .pwn file to .amx file?


Re: Run time error 17: "Invalid/unsupported P-code file format" - Tihoy232 - 12.02.2018

Quote:
Originally Posted by Mugala
Посмотреть сообщение
wait, u renamed .pwn file to .amx file?
'

I renamed game mode.pwn file after replaced gamemode.amx not to read

image host