SA-MP Forums Archive
Help Me... - 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: Help Me... (/showthread.php?tid=661057)



Help Me... - xRadical3 - 20.11.2018

When I compile the file, I have to restart my system.
And when the system turned on again, I saw that my file was erased with all the code I wrote, It seems that what is written is hidden.

pic: https://imgur.com/a/bd5JplT

And when I open the samp server, I encounter the following error:
Code:
[23:26:24] Script [gamemodes / JgH.amx]: Run time error 17: "Invalid / unsupported P-code file format"
[23:26:24] Failed to load 'gamemodes / JgH.amx' script.
[23:26:24] Number of vehicle models: 0
my pwn file: https://ufile.io/20qlq
Please help me I can not write all this again


Re: Help Me... - Electrifying - 20.11.2018

I searched and I found that, maybe could hep you

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

Quote:

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.

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

https://forum.sa-mp.com/showpost.php...51&postcount=2

https://forum.sa-mp.com/showpost.php...05&postcount=7

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


Re: Help Me... - xRadical3 - 20.11.2018

He did not help me.
My entire code in the pwn file is in a single line and I can not see it.


Re: Help Me... - xRadical3 - 21.11.2018

Please help ;(


Re: Help Me... - Banditul18 - 21.11.2018

Your file opened in subliem text: https://i.imgur.com/kaaLDaq.png
VSCode not even let me open it
Seems like your system or something external corrupted your pwn file which i doubt you can recover(hope osmeone have a solution)

Did you restart the system while the file was compiling or while it was opened by any chance? Nothing is perfect so it might happen