SA-MP Forums Archive
Script Edit Bug! - 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: Script Edit Bug! (/showthread.php?tid=454995)



Script Edit Bug! - harshind - 31.07.2013

Hey, guys look, I downloaded this gamemode released by its owner on samp forums and when I edit it and host it this error comes : ERORR = Run time error 17: "Invalid/unsupported P-code file format"
I tried editing many downloaded script that was released by its owner, and when I edit the script, and I host the server with that one It comes = Run time error 17: "Invalid/unsupported P-code file format"
Or If I edit the downloaded script and Try to Compile/ReCompile it with pawno by F5, it just shows this "1 Error". Anyone knows why ?


Re: Script Edit Bug! - dEcooR - 31.07.2013

Show me linneee ?? im not harry poter lol


Re: Script Edit Bug! - harshind - 31.07.2013

What you mean ? What line ? I am asking, FIRST tell me, this, If I edit a script and then save it and then host a server with it, this error comes: Run time error 17: "Invalid/unsupported P-code file format".


Re: Script Edit Bug! - Jrwestcoast - 31.07.2013

The script is probably missing something. An Include perhaps? It's keeping the script from complieing..


Re: Script Edit Bug! - harshind - 31.07.2013

But, This is happening with over 5 Scripts. I downloaded from SAMP Forums and It had all plugins, still no luck. WHy ?


Re: Script Edit Bug! - dEcooR - 31.07.2013

Quote:
Originally Posted by harshind
Посмотреть сообщение
What you mean ? What line ? I am asking, FIRST tell me, this, If I edit a script and then save it and then host a server with it, this error comes: Run time error 17: "Invalid/unsupported P-code file format".
Sorry dude,so you are missing the plugins look at the up ur script on includes..


Re: Script Edit Bug! - DeMoX - 31.07.2013

Well, "invalid P-code" show up when the gamemode isn't compiled correctly, so re-compile it.


Re: Script Edit Bug! - harshind - 31.07.2013

But If I am missing plugins then HOW does the script work, if I do not edit it from pawno. LOOK, If I don't edit it and then the script works, but if I edit it then it doesn't. WHY ?


Re: Script Edit Bug! - harshind - 31.07.2013

But, When I try to compile it I get this error:
Код:
F:\IDM DOWNLOADS\COD6_Windows\COD6 (Windows)\gamemodes\COD6.amx(0) : fatal error 100: cannot read from file: "F:\IDM DOWNLOADS\COD6_Windows\COD6 (Windows)\gamemodes\COD6.amx"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: Script Edit Bug! - DeMoX - 31.07.2013

lol you didn't even compile,
Show us your includes on the top.
pawn Код:
#include <the name of include>
Just search for that file COD6.amx and put it on this director : "F:\IDM DOWNLOADS\COD6_Windows\COD6 (Windows)\gamemodes"

or you can change the directory from your includes