Difference between revisions of "AMX Mod X 1.8.0 Changes"

From AlliedModders Wiki
Jump to: navigation, search
(not nearly done yet :()
 
m
Line 38: Line 38:
 
*Added {{AMBug|50610}}: Some parameters to <tt>get_user_weapon</tt> are now optional.
 
*Added {{AMBug|50610}}: Some parameters to <tt>get_user_weapon</tt> are now optional.
 
*Fixed {{AMBug|49337}}: <tt>get_pcvar_float</tt>() malfunctioned on high numbers.
 
*Fixed {{AMBug|49337}}: <tt>get_pcvar_float</tt>() malfunctioned on high numbers.
 +
*Added {{AMBug|48841}}: <tt>tfc_is_user_feigning</tt>().
 +
*Added {{AMBug|45664}}: <tt>tfc_is_team_ally</tt>().
 
*Fixed {{amb|78}}: <tt>get_concmdsnum</tt> could return an incorrect result.
 
*Fixed {{amb|78}}: <tt>get_concmdsnum</tt> could return an incorrect result.
 
*Fixed {{amb|85}}: Tag mismatches on <tt>ShowSyncHudMsg</tt>().
 
*Fixed {{amb|85}}: Tag mismatches on <tt>ShowSyncHudMsg</tt>().
Line 63: Line 65:
 
*Fixed a potential exploit in adminslots.sma.
 
*Fixed a potential exploit in adminslots.sma.
 
*SQL cvars are now protected.
 
*SQL cvars are now protected.
==Module Changes==
 
===TFC===
 
*Added {{AMBug|48841}}: <tt>tfc_is_user_feigning</tt>().
 
*Added {{AMBug|45664}}: <tt>tfc_is_team_ally</tt>().
 

Revision as of 22:08, 5 August 2007

AMX Mod X 1.8 is a large feature release with many changes, both to the development API and user-mode features.

Changelog

Overall Changes

  • Command flags are now initially dumped to disk and can be edited via configs/cmdaccess.ini.
  • Added am48738: Romanian translation from X-5173.
  • Added am50741 and am43830: per-map plugins files can now be prefixed based.
  • Added amb17: New menu rendering is now more consistent; non-consistent controls are deprecated.
  • Added amb122: Log file names now include a four-digit year.
  • Fixed amb46: is_user_bot had some false positives.
  • Fixed amb18: New menus are now properly destroyed if overridden.
  • Fixed amb207: New menus now display "0" instead of "10."
  • Fixed amb208: New menus did not reset callback results after each call.
  • Fixed amb200: Dynamic/fake natives were not re-entrant.
  • Fixed amb244: Run-time errors blocked forwards.
  • Fixed many various internal new menu rendering and item selection bugs.

Scripting Changes

  • Added natives for dynamic global arrays.
  • Added a new, magic any tag from SourceMod.
  • Added set_pcvar_string().
  • Added LookupLangKey().
  • Added SQL_QuoteString().
  • Added a menu property to change the numbering color.
  • Added amb27: SQL_Rewind().
  • Added amb37: cs_[g|s]et_user_submodel().
  • Added amb38: cs_[g|s]et_user_lastactivity().
  • Added amb39: cs_[g|s]et_hostage_lastuse() and cs_[g|s]et_hostage_nextuser().
  • Added amb63: floatmin(), floatmax(), and floatclamp().
  • Added amb76: Formatting functions can now use %x or %X for hexadecimal numbers.
  • Added amb92: create_tr2() and free_tr2().
  • Added amb205: cs_[g|s]et_c4_explode_time().
  • Added amb237: Fakemeta can now call "ServerPrint."
  • Added amb242: cs_[g|s]et_user_hostagekills().
  • Added amb245: precache_sound now returns a precache index.
  • Added amb261: has_flag() and has_all_flags().
  • Added am46213: player_menu_info() now returns a page number.
  • Added am51064: Some parameters to get_plugin are now optional.
  • Added am50610: Some parameters to get_user_weapon are now optional.
  • Fixed am49337: get_pcvar_float() malfunctioned on high numbers.
  • Added am48841: tfc_is_user_feigning().
  • Added am45664: tfc_is_team_ally().
  • Fixed amb78: get_concmdsnum could return an incorrect result.
  • Fixed amb85: Tag mismatches on ShowSyncHudMsg().
  • Fixed amb90: set_native_filter() did not work in rare cases.
  • Fixed amb107: socket_open() didn't return an error by reference.
  • Fixed amb110: socket_change() could return 1 on certain failures.
  • Fixed amb116: DispatchKeyValue() did not work on worldspawn (entity 0).
  • Fixed amb230: radius_damage() didn't kill players on all mods.
  • Fixed a memory leak in SortCustom1D().

Plugin Changes

  • There is no longer a hardcoded limit to the number of admins.
  • There is no longer a hardcoded limit to the map list.
  • There is no longer a hardcoded limit to the number of "imessages."
  • Added amb34: There are now plugin command/cvar menus.
  • Added am45044: amx_banmenu now prints the ban time length.
  • Added am43757: amx_addadmin now writes a comment with the player's name.
  • Added am29353: amx_plugins now prints paginated output.
  • Added am50742: admin.sma now supports prefix based per-map configs.
  • Added amb51: amx_vote can now take more than two options.
  • Added amb64: amx_voteban autodetects whether it should IP ban.
  • Fixed amb91: miscstats.sma truncated some language translations.
  • Fixed amb94: amx_psay sometimes sent truncated messages.
  • Fixed amb118: amx_help would not list ADMIN_ADMIN commands.
  • Fixed amb222: cl_rebuy could exploit CS weapon restrictions. This also makes CZ bots obey restrictions.
  • Fixed a potential exploit in adminslots.sma.
  • SQL cvars are now protected.