SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 29/11/2019, 02:42 PM   #1
EAGLE
Little Clucker
 
Join Date: Nov 2019
Posts: 18
Reputation: 0
Default Fake Compilation Pawn

Hello everyone, I have a problem with my script

The script have 90 k lines

When I compil, just 2,3 seconds after, the pawn send to me like THE COMPILATION ITS OK, but its impossible in 2,3 seconds, and when I start the server.exe, I have this:

Run time error 17: "Invalid/unsupported P-code file format"
EAGLE is offline   Reply With Quote
Old 29/11/2019, 03:15 PM   #2
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 607
Reputation: 54
Default Re: Fake Compilation Pawn

It can be done in 2,3 seconds, depends on the compiler. What is the size of .amx file?
__________________
coool is offline   Reply With Quote
Old 29/11/2019, 03:23 PM   #3
EAGLE
Little Clucker
 
Join Date: Nov 2019
Posts: 18
Reputation: 0
Default Re: Fake Compilation Pawn

0 Ko lmao
EAGLE is offline   Reply With Quote
Old 29/11/2019, 07:07 PM   #4
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,508
Reputation: 1635
Default Re: Fake Compilation Pawn

Did it create a .asm file aswell? Because this happens when you
* Compile with option -l (no error/warning handling)
* Compile with option -a (creates the assembler code so it checks for warnings etc. Doesn't compile to AMX format).

If it does contain a .asm file check if one of these is in your script:
#pragma option -l
#pragma option -a
If it is, remove it. Either that or the parameter -a or -l was used in pawncc exec line

If this is not the case, try re-downloading compiler files (you may want to use Zeex's compiler btw)
__________________
Do not click on this URL -It is secret information
RIP Slayer 1981-2019 \m/
Kwarde is offline   Reply With Quote
Old 29/11/2019, 08:53 PM   #5
EAGLE
Little Clucker
 
Join Date: Nov 2019
Posts: 18
Reputation: 0
Default Re: Fake Compilation Pawn

no #pragma set

no asm file

I already try zeex compiler and its same
EAGLE is offline   Reply With Quote
Old 29/11/2019, 09:18 PM   #6
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,508
Reputation: 1635
Default Re: Fake Compilation Pawn

Try compiling other scripts , for example this:
Code:
native print(const string[]);
main()
    print("Hello world!");
If it compiles and run it might be the script -check eventual includes aswell (for the compiler options) and "#endinput": maybe that is somewhere?
If it doesn't compile try it on another system -or re-download samp's provider pawno (and eventually zeex's compiler). Make sure to delete all current files.

You could even take.it futher and check directories like %VirtualStore% to see if there are files related to pawno there. That'd be extremely odd tho. Trying another directory (both pawncc and your script) would be worth giving a shot if no script compiles -maybe a bug occured somehow stripping off certain access rights
__________________
Do not click on this URL -It is secret information
RIP Slayer 1981-2019 \m/
Kwarde is offline   Reply With Quote
Old 30/11/2019, 01:12 AM   #7
EAGLE
Little Clucker
 
Join Date: Nov 2019
Posts: 18
Reputation: 0
Default Re: Fake Compilation Pawn

Ok thanks I will try
EAGLE is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fake Online / Fake Bots samp megamozgsu General 7 04/11/2018 09:50 PM
Compilation jona_jr Scripting Help 0 18/05/2016 04:01 PM
Bug with compilation MisterMania67 Scripting Help 1 24/05/2014 10:44 AM
PAWN compilation time Misiur Everything and Nothing 6 31/01/2014 04:44 PM
Help me please with the compilation. StAsMaNn Scripting Help 1 07/05/2013 02:43 PM


All times are GMT. The time now is 09:44 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.