SA-MP Forums Archive
[join] 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: [join] Run time error 17: "Invalid/unsupported P-code file format (/showthread.php?tid=573696)



[join] Run time error 17: "Invalid/unsupported P-code file format - Tirediranian - 09.05.2015

When I Run my server this eror is come for me

PHP Code:
[18:34:20Script[gamemodes/BackUpGameMode2.amx]: Run time error 17"Invalid/unsupported P-code file format"
[18:34:20Failed to load 'gamemodes/BackUpGameMode2.amx' script.
[
18:34:20Number of vehicle models
Help Me Please TnX


AW: [join] Run time error 17: "Invalid/unsupported P-code file format - Mencent - 09.05.2015

Hello!

Can you send us the whole server.log.txt?


Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Konstantinos - 09.05.2015

It's from the run time errors that it's hard to fix I guess. I was searching few old threads and I found different things:

Quote:
Originally Posted by Emmet_
View Post
Runtime error 17
Your .AMX file is corrupt and contains an invalid P-code format. This can be caused by trying to run the server while the script is compiling.

Solution: Shut the server off and compile the script again. If you've uploaded the .amx file, then upload it again.
---

http://forum.sa-mp.com/showpost.php?...27&postcount=2

---

http://forum.sa-mp.com/showpost.php?...51&postcount=2
http://forum.sa-mp.com/showpost.php?...05&postcount=7

---

http://forum.sa-mp.com/showpost.php?...8&postcount=11

---

I also read somewhere about missing closed brackets. Too many things so just update every plugin/include, re-compile and try again. If that doesn't fix it, try searching for unmatched brackets.


Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Tirediranian - 09.05.2015

Quote:
Originally Posted by Mencent
View Post
Hello!

Can you send us the whole server.log.txt?
Quote:
Originally Posted by Nirzor
View Post
Post the server logs please.
PHP Code:
[18:28:58]  ===============================
[
18:28:58]       sscanf plugin loaded.     
[
18:28:58]    (c2009 Alex "******" Cole
[18:28:58]    0.3d-R2 500 Players "dnee"
[18:28:58]  ===============================
[
18:28:58]   Loaded.
[
18:28:58]  Loading pluginFileManager
[18:28:58] ******************
[
18:28:58] ** FILE MANAGER **
[
18:28:58] **    Loaded    **
[
18:28:58] ** Version 1.1 **
[
18:28:58] ******************
[
18:28:58]   Loaded.
[
18:28:58]  Loaded 4 plugins.
[
18:28:58
[
18:28:58Ban list
[
18:28:58] --------
[
18:28:58]  Loadedsamp.ban
[18:28:58
[
18:28:58
[
18:28:58Filterscripts
[18:28:58] ---------------
[
18:28:58]   Loading filterscript 'animha.amx'...
[
18:28:58]   Loaded 1 filterscripts.
[
18:28:58Script[gamemodes/BackUpGameMode2.amx]: Run time error 17"Invalid/unsupported P-code file format"
[18:28:58Failed to load 'gamemodes/BackUpGameMode2.amx' script.
[
18:28:58Number of vehicle models0
[18:29:46] --- Server Shutting Down.
[
18:29:46] [debugServer crashed due to an unknown error
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[18:29:49hostname "SA-MP Server"  (string)
[
18:29:49
[
18:29:49Server Plugins
[18:29:49] --------------
[
18:29:49]  Loading plugincrashdetect
[18:29:49]   CrashDetect v4.15.1 is OK.
[
18:29:49]   Loaded.
[
18:29:49]  Loading pluginstreamer
[18:29:49
*** 
Streamer Plugin v2.7.4 by Incognito loaded ***
[
18:29:49]   Loaded.
[
18:29:49]  Loading pluginsscanf
[18:29:49
[
18:29:49]  ===============================
[
18:29:49]       sscanf plugin loaded.     
[
18:29:49]    (c2009 Alex "******" Cole
[18:29:49]    0.3d-R2 500 Players "dnee"
[18:29:49]  ===============================
[
18:29:49]   Loaded.
[
18:29:49]  Loading pluginFileManager
[18:29:49] ******************
[
18:29:49] ** FILE MANAGER **
[
18:29:49] **    Loaded    **
[
18:29:49] ** Version 1.1 **
[
18:29:49] ******************
[
18:29:49]   Loaded.
[
18:29:49]  Loaded 4 plugins.
[
18:29:49
[
18:29:49Ban list
[
18:29:49] --------
[
18:29:49]  Loadedsamp.ban
[18:29:49
[
18:29:49
[
18:29:49Filterscripts
[18:29:49] ---------------
[
18:29:49]   Loading filterscript 'animha.amx'...
[
18:29:49]   Loaded 1 filterscripts.
[
18:29:49Script[gamemodes/BackUpGameMode2.amx]: Run time error 17"Invalid/unsupported P-code file format"
[18:29:49Failed to load 'gamemodes/BackUpGameMode2.amx' script.
[
18:29:49Number of vehicle models0
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[18:34:20
[
18:34:20Server Plugins
[18:34:20] --------------
[
18:34:20]  Loading plugincrashdetect
[18:34:20]   CrashDetect v4.15.1 is OK.
[
18:34:20]   Loaded.
[
18:34:20]  Loading pluginstreamer
[18:34:20
*** 
Streamer Plugin v2.7.4 by Incognito loaded ***
[
18:34:20]   Loaded.
[
18:34:20]  Loading pluginsscanf
[18:34:20
[
18:34:20]  ===============================
[
18:34:20]       sscanf plugin loaded.     
[
18:34:20]    (c2009 Alex "******" Cole
[18:34:20]    0.3d-R2 500 Players "dnee"
[18:34:20]  ===============================
[
18:34:20]   Loaded.
[
18:34:20]  Loading pluginFileManager
[18:34:20] ******************
[
18:34:20] ** FILE MANAGER **
[
18:34:20] **    Loaded    **
[
18:34:20] ** Version 1.1 **
[
18:34:20] ******************
[
18:34:20]   Loaded.
[
18:34:20]  Loaded 4 plugins.
[
18:34:20
[
18:34:20Ban list
[
18:34:20] --------
[
18:34:20]  Loadedsamp.ban
[18:34:20
[
18:34:20
[
18:34:20Filterscripts
[18:34:20] ---------------
[
18:34:20]   Loading filterscript 'animha.amx'...
[
18:34:20]   Loaded 1 filterscripts.
[
18:34:20Script[gamemodes/BackUpGameMode2.amx]: Run time error 17"Invalid/unsupported P-code file format"
[18:34:20Failed to load 'gamemodes/BackUpGameMode2.amx' script.
[
18:34:20Number of vehicle models



Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Konstantinos - 09.05.2015

Update sscanf: https://sampforum.blast.hk/showthread.php?tid=570927
Update File Manage: http://www.jatochnietdan.com/project/sa-mp/filemanager


Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Nirzor - 09.05.2015

Download crashdetect and nativechecker plugins and use them in the server and then make a file named pawn.cfg

in your pawno folder and type inside the pawn.cfg " -d3 " and click save and then close the pawn.cfg and recompile

your script and then use crashdetect and nativechecker plugin in server and post the server_logs , it will point out

the exact line for which your script is occuring this problem.


Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Tirediranian - 09.05.2015

Quote:
Originally Posted by Nirzor
View Post
Download crashdetect and nativechecker plugins and use them in the server and then make a file named pawn.cfg

in your pawno folder and type inside the pawn.cfg " -d3 " and click save and then close the pawn.cfg and recompile

your script and then use crashdetect and nativechecker plugin in server and post the server_logs , it will point out

the exact line for which your script is occuring this problem.
again that eror come for me


Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Tirediranian - 09.05.2015

and Whene i Run Samp-server this eror come for me
Quote:

the program cant start becuse MSVCP110.dll is missing from youre computer




Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Tirediranian - 09.05.2015

Quote:
Originally Posted by Konstantinos
View Post
Help me pls


Re: [join] Run time error 17: "Invalid/unsupported P-code file format - Yashas - 09.05.2015

Try recompiling your code.If that doesn't fix then update your includes.


Quote:

Update sscanf: https://sampforum.blast.hk/showthread.php?tid=570927
Update File Manage: http://www.jatochnietdan.com/project/sa-mp/filemanager
Go download the latest inlcude(the inc files) and recompile.