AMXx 1.50 Scripting Changes
A few quick updates for what to expect from 1.1-RC1:
Mysql module has been rewritten. It is now DBI only, and AMX Mod backward compatibility has been removed. It was a clutch preventing some better design ideas. The following functions have been deprecated:
Check back here for updates, or post questions. |
Nice, no more require_module(). :D
|
Re: AMXx 1.1-RC1 Scripting Changes
Quote:
|
Only MySQL backward compatibility. Sorry if this wasn't clear.
|
Sounds good, overall. However I think I've got a few read_dir's about :-\
|
Quote:
|
Well.. er.. I mean... I knew that! :roll:
|
The new one seems about twice as fast :)
|
:\
I dunno. But I don't care for MySQL since I have only 1-2 mine plugins written in it. |
A few more hints!
The name of "Small" has been changed to "Pawn" by ITB CompuPhase. AMX Mod X's next release will be using Pawn (Small 3.0). As of this release it will be "Pawn scripting," not "Small scripting". The file extension will not change. The AMX Mod X compiler is now "amxxpc" instead of "amxxsc". The Pawn compiler allows a few new tricks, such as struct simulation, returning fixed arrays, and compiling multiple source files together. The fget* and similar natives have been deprecated and removed because they were implemented improperly. The pause()/unpause() natives have been deprecated for their "b" functionality, which was not implemented properly and is not worth fixing. The debugger has changed, and you may find scripts behaving slightly differently. The old debugger allowed scripts to continue after erroring, this is no longer the case. There is now a new system for building, displaying, and hooking multi-page menus. This deprecates show_menu, although it was left in for backward compatibility. It still works, and is still useful for non-multi-page or customized menus. AMX Mod module support has been fully deprecated as Pawn 3.0 changed API calls that were part of the AMX Mod module structures. I don't think anyone used this feature, so it was not worth writing hacks for backward compatibility. (Note to AMX Mod devs: to upgrade you will need to write wrappers or change the module API version!). If you would like to beta test your scripts with the latest CVS binaries, hang out in #amxmodx on irc.gamesurge.net! |
All times are GMT -4. The time now is 12:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.