Why SA-MP isn't using latest PAWN? -
Jayse - 30.09.2016
I'm pretty sure it would be good if SA-MP uses the updated PAWN version which comes from the git repository, also many scripters might find it useful. That's just my opinion, but I'd like to hear your opinions too.
Re: Why SA-MP isn't using latest PAWN? -
SickAttack - 30.09.2016
There's this plugin:
https://sampforum.blast.hk/showthread.php?tid=614833 - But yeah, there's some downsides to it (read the topic).
As far as I know, SA-MP uses a custom version of it. Updating to the latest version will make A LOT (ALL) of servers' and releases' code obsolete without applying any changes as syntaxes and stuff changed.
Such as: The keyword "enum" and "char" was removed.
Packed string: "this is a packed string"
Unpacked string: ''this is an unpacked string''
``this is also an unpacked string''
Etc.
Re: Why SA-MP isn't using latest PAWN? -
Jayse - 30.09.2016
I guess everyone can update their scripts, or even add something like choosing either use the old version or the new version in PAWN.
The plugin has downsides, but I guess it might do the work, though it would be better if the new PAWN is implemented.
Re: Why SA-MP isn't using latest PAWN? -
CannonBolt - 30.09.2016
Quote:
Originally Posted by Jayse
I guess everyone can update their scripts, or even add something like choosing either use the old version or the new version in PAWN.
The plugin has downsides, but I guess it might do the work, though it would be better if the new PAWN is implemented.
|
It isn't as easy as you just said.
Re: Why SA-MP isn't using latest PAWN? -
SickAttack - 01.10.2016
Quote:
Originally Posted by Jayse
I guess everyone can update their scripts, or even add something like choosing either use the old version or the new version in PAWN.
The plugin has downsides, but I guess it might do the work, though it would be better if the new PAWN is implemented.
|
Scripts have a lot of lines, it would be quite the job. Not to mention the releases, who is gonna update all of them?
Re: Why SA-MP isn't using latest PAWN? -
Spmn - 01.10.2016
Any other pro reason besides your guess?
Quote:
Originally Posted by Jayse
many scripters might find it useful
|
What scripters are willing to go through 50k+ lines of code to make their scripts compatible with PAWN 4? Not to mention that most emit stuff would be unsupported. Or what about all those plugins that would require to upgrade to a newer AMX SDK? The list can go on.
Too much of a hassle for such a small to inexistent upgrade.
Re: Why SA-MP isn't using latest PAWN? -
DRIFT_HUNTER - 14.10.2016
Quote:
Originally Posted by Jayse
I'm pretty sure it would be good if SA-MP uses the updated PAWN version which comes from the git repository, also many scripters might find it useful. That's just my opinion, but I'd like to hear your opinions too.
|
Better question would be why samp uses pawn at all...or even better would be why are we using samp? (And it wasnt meant to be a joke)
Re: Why SA-MP isn't using latest PAWN? -
Dairyll - 14.10.2016
Quote:
Originally Posted by DRIFT_HUNTER
why are we using samp? (And it wasnt meant to be a joke)
|
What's the alternative?
Re: Why SA-MP isn't using latest PAWN? -
Spmn - 14.10.2016
Quote:
Originally Posted by Dairyll
What's the alternative?
|
https://sampforum.blast.hk/showthread.php?tid=618507
Read the second page.