|
AMX Mod X 0.20-RC5 Released! Sep 12, 2004 04:11
Yup, you heard that right! RC5. AMX Mod X is now very close to a final, stable release of 0.20, so this version is a Release Candidate.
This version fixed many bugs, as well as added some very cool features!
UPDATE TO 0.20 GUIDE
Base Package
Counter-Strike Addon
Day of Defeat Addon
Natural Selection Addon
Team Fortress Classic Addon
The Specialists Addon
The three big features are:
Debugging
There is a new cvar, "amx_debug", which chooses how your plugins are loaded (which means a mapchange is necessary to take effect). If set to "0", plugins will be optimized for great speed, which also means runtime errors will have garbage line numbers. If set to "1" (default), plugins can look like this in plugins.ini to be individually debugged:
Code:
myplugin.amxx debug
Lastly, amx_debug 2 will set all plugins to debug mode. Debug mode will give correct line numbers for run time errors at the cost of the plugin's speed being reduced by a factor of 1-4X.
Module Forcing
Plugins can now force the core to have a module loaded, or else the plugin will fail. For example, you can do this:
Small:
public plugin_modules()
{
//case insensitive. "dbi" is magic for SQL modules
//using ANY other native in here will cause a crash. be careful!
require_module("engine")
}
Now, if a user does not have Engine loaded, the Core will say "You do not have the Engine module loaded - check modules.ini".
If you type "amxx plugins", these plugin errors will be repeated so you do not have to check the logs.
Modules.ini Transferability
Modules.ini now has some "magic" abilities to it.
It will automatically "correct" module entries to the correct platform.
This means you can even do this:
Code:
fun_amxx
engine_amxx
csstats_amxx
And it will work for AMD64, i386, and .dll files.
And now, here is a changelog:
Code:
- Fixed a bug related to the JIT headers that was causing stats modules to crash.
- Removed MMGR from default builds.
- Removed MMGR from default SDK options.
- Added optimizations to format() routines.
- Added amx_debug to control plugin run levels.
- Added ability for plugins to tell Core which modules are needed (requested by mahnsawce).
- Added new SDK module functions - MNF_GetPlayerEdict, MNF_GetPlayerFlags.
- Added better support for Natural-Selection 3 Beta 5 (mahnsawce, CheesyPeteza, et al).
- Fixed a bug where %c would not be recognized.
- Fixed a bug where SQL connections were not disconnected on mapchange (UgLyPuNk).
- Fixed a bug where MySQL connections could not have a specified port (Mugwump).
- Fixed a bug where float computations were incorrect on AMD64 (UgLyPuNk).
- Fixed a bug where entity validation routines in Engine/Fakemeta were incorrect (JJKiller).
- Fixed a bug where the fakemeta engine could bootstrap a module twice.
- Fixed a crash bug relating to forward re-registration (fsfod).
- Fixed a compile bugs in some modules that prevented AMD64 compatibility (UgLyPuNk).
- Fixed a memory leak related to Engine not unregistering forwards (mahnsawce).
- Fixed bugs in find_ent* natives which choked on 0 indices (Pimp Daddy).
- Fixed CVector assertions (fsfod).
- Fixed get_keyvalue not being a valid native in Engine (Vortox).
- Fixed include files so formatting Sql or Res variables won't give a tag mismatch (Pimp Daddy).
- Fixed many include files.
- Fixed "amx_client_languages" cvar.
- The command "amxx plugins" will now report plugin load errors that occurred (requested by mahnsawce).
- The command "amxx version" will now report whether your Core build is normal, ASM, or JIT.
- Admin_sql now reverts to users.ini on failure (requested by QwertyAccess).
- SQL configuration CVARs are now enabled by default (Gonzo).
- Changed is_jit_enabled(): now reports 1 for JIT, 0 for safe, -1 for ASM.
- Added module load simulator to default linux packages.
- Module names listed in modules.ini can now be loaded independently of their extension (for example _i386 will search for _amd64 on AMD64, et cetera) (requested by UgLyPuNk).
I'd like to personally thank mahnsawce, UgLyPuNk, Gonzo, PM OnoTo, and the rest of the folks to who help me out with every little thing on IRC. Thanks, guys!
If there are any problems, head over the to TP5 talk thread.
.: by BAILOPAN
这将是amxx0.2正式版发布前的最后一个测试版
让我们拭目以待 |
|