Difference between revisions of "SourceMod 1.0.2 Release Notes"

From AlliedModders Wiki
Jump to: navigation, search
m
m
Line 45: Line 45:
  
 
==Moved Config Files==
 
==Moved Config Files==
Two files were moved during the shift from beta to release.  These files were introduced during the beta cycle and thus this modification is not considered a compatibility change.  Nonetheless, this change has been shimmed.
+
Two files were moved during the shift from beta to release.  These files were introduced during the beta cycle and thus this modification is not considered a compatibility change.  Nonetheless, there is a compatibility shim for this change.
  
 
*'''configs/dynamicmenu/adminmenu_grouping.txt''' is now '''configs/adminmenu_grouping.txt'''
 
*'''configs/dynamicmenu/adminmenu_grouping.txt''' is now '''configs/adminmenu_grouping.txt'''
Line 51: Line 51:
 
*'''configs/dynamicmenu has been removed'''
 
*'''configs/dynamicmenu has been removed'''
  
Compatibility is as follows: If any older file exists, it is loaded instead of the new file.  If an old file cannot be found, the new file is loaded instead.  This compatibility shim will be removed from all branches next release.
+
Temporary compatibility is as follows: If any older file exists, it is loaded instead of the new file.  If an old file cannot be found, the new file is loaded instead.  This compatibility shim will be removed from all branches next release.
  
  

Revision as of 04:32, 31 May 2008


1.0.2 IS LOCKED FOR FEATURES. DO NOT COMMIT ANY FEATURES WITHOUT ASKING BAIL.

SourceMod 1.0.2 is a feature and bug-fix upgrade from 1.0.1. If you need help upgrading, see Upgrading SourceMod.

  • Checkmark.gif All old plugins and extensions will continue to work.
  • Checkmark.gif This release has new config files, but no config changes.
  • Badmark.gif Config files introduced during the beta period have been changed (see notes).
  • Badmark.gif This release has one very minor compatibility change.
  • Checkmark.gif This release has no translation changes.


Custom Admin Menu

Also known as the "dynamic admin menu," the admin menu now has a much greater degree of customization. Server administrators can add new entries onto the menu via configuration files. For more information, see Dynamic Admin Menu (SourceMod).

Changes

  • The admin menu is now user-modifiable (the "Dynamic Admin Menu").
  • Added a TF2 extension with Team Fortress functions.
  • Added a RegEx extension with regular expression functions.
  • Added functions to SDKTools for hooking entity outputs.
  • Added preliminary support for the DoD:S Orange Box beta.
  • Added a forward for map config plugins for preventing race conditions.
  • Added a %b format specifier for binary printing.
  • Added sm_dump_datamaps command (SDKTools) for enumerating datamap properties.
  • Added sm_dump_admcache command for debugging the admin cache.
  • Added amb1715 - TraceHull functions to SDKTools (complementing TraceRay).
  • Added amb1694 - FindCharInString() function.
  • Added amb1685 - GetTickInterval() function.
  • Added amb1620 - ActivateEntity() function to SDKTools (for Orange Box particle system).
  • Added amb1610 - StripQuotes() function.
  • Added amb1558 - Compiler now has __BINARY_PATH__ and __BINARY_FILE__ macros.
  • Fixed amb1686 - ReplaceString* with an empty search string crashed; it now throws an error instead.
  • Fixed amb1684 - Blank passwords required an existing but empty setinfo password.
  • Fixed amb1595 - Extension load failures did not show a platform error message.
  • Fixed amb1583 - MySQL string fetch from prepared queries returned corrupted data.
  • Fixed amb1358 - Timeleft did not reset on TF2 restarts.
  • Fixed cases where the JIT was too cautious in space optimizations.
  • Fixed TF2/Cstrike extensions being loadable on incompatible games.
  • Fixed various documentation inconsistencies and typos.
  • Fixed internal bugs with file extension handling.

Notes

Blank Passwords

There is a possible compatibility regression from amb1684. SetAdminPassword() has been modified to remove any set password when given an empty string. Previously, a blank password ("") would force an admin to use "setinfo" to set an empty password, but this functionality was deemed unuseful and unintended. Blank passwords now remove any set password.

Moved Config Files

Two files were moved during the shift from beta to release. These files were introduced during the beta cycle and thus this modification is not considered a compatibility change. Nonetheless, there is a compatibility shim for this change.

  • configs/dynamicmenu/adminmenu_grouping.txt is now configs/adminmenu_grouping.txt
  • configs/dynamicmenu/menu.ini is now configs/adminmenu_custom.txt
  • configs/dynamicmenu has been removed

Temporary compatibility is as follows: If any older file exists, it is loaded instead of the new file. If an old file cannot be found, the new file is loaded instead. This compatibility shim will be removed from all branches next release.


TODO

  • Change menu.ini to "adminmenu_custom.txt" or something else a bit more conformant (shimming the old functionality).
    • Perhaps remove dynamicmenu folder entirely? It seems awkward to squirrel things in there, with adminmenu_sorting.txt applying to both.
    • Document the changes here for beta users.
    • Put comments in those files linking to the doc.
  • Test and run the API feed on the site to make sure it collects the new natives.
  • Add sections to this page for the new functionality.
  • Update or remove signatures for amb1727.
  • Verify and land a fix for amb1686.