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

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
Reply
#2

Hello!

Can you send us the whole server.log.txt?
Reply
#3

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.
Reply
#4

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
Reply
#5

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

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.
Reply
#7

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
Reply
#8

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

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

Reply
#9

Quote:
Originally Posted by Konstantinos
View Post
Help me pls
Reply
#10

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


Go download the latest inlcude(the inc files) and recompile.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)