Closed eoussama closed 1 year ago
I would think this is a compiler issue, if the build hangs after invoking the compiler, are you by any chance compiling using the sa-mp version of the pawn compiler when using pawno
? Generally there is backwards compatibility which is enabled by default with sampctl with the -Z
flag. But I would recommend invoking the compiler manually yourself and passing the same arguments found in the verbose log that sampctl passes. This should give you any issues the compiler had with it.
I already have backward compatibility enabled with #pragma compat 1
at the top of my script.
Yes, the script works fine when compiled with the sa-mp version of the compiler.
This sounds less like a problem with sampctl and more of a problem between the sa-mp compiler and the community compiler. Like I said before you will need to run the community compiler yourself on your gamemode and check the results there.
Thank you. I guess I'll do just that and report in pawn-lang/compiler.
Upon attempting to migrate an old gamemode, after setting up the legacy folder and trying to build the gamemode, the builder simply hangs-up, and freezes as if it never started to begin with. The gamemode compiles fine using pawno tho.
Here's the the command line dump:
And here's
pawn.json
: