!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Users of the mySQL version who have the query strings mysql_users_sql and/or mysql_tags_sql set, will have to change their query strings due to the Steamid support. The second parameter has to be '%s' now like the first instead of the former '%i'. The new defaults are: mysql_users_sql: SELECT pass,access FROM %s where nick='%s' or nick='%s'" mysql_tags_sql: SELECT pass,access FROM %s where '%s' REGEXP nick or nick='%s'" DLL Changes =========== Changes/Additions: ------------------ * Added customized libc functions for efficiency. * New scripting functions: get_userFrags(), get_userHealth(), get_userTeam(), get_userArmor(). * Added the option to use an IP in the users.ini file to grant access rights by IP. * Script functions called from plugin_init() or as the result of a vote will be called with access rights of the server console. * Changed DLL/DSO loading mechanism. The amx_admin.dll/.so will be loaded from the same location as the admin_MM DLL/DSO and can thus be moved out of the /dlls directory, too. * mySQL: Changed name of mySQL version DLL to admin_MM_mysql.dll. * mySQL: Added possibility to use the mySQL PASSWORD() function to encrypt passwords in the users/tags/models table. To switch from crypt() to PASSWORD() encryption, set mysql_use_SQLPASSWORD to 1. * Added Steamid support. See Note about mySQL usage below. * Changed to static linkage with libstdc++. * Changed team lookup. Spectators will now be reported to be in team TEAM_SPECTATOR and HLTV proxies will be reported to be in team TEAM_PROXY. New CVARS: ---------- * amv_log_passwords: (0/1, def:0) If set to 0, passwords will not be logged in cleartext by debug messages. * amv_register_cmds: Space separated list of registering commands similar to "logd_reg" of LogD and "sm_register" of StatsMe to allow the use of "admin_command" with the exec() scripting function. * mySQL: mysql_use_SQLPASSWORD: (0/1, def:0) If set, passwords will be encrypted with the mySQL PASSWORD() function. Bug Fixes: ---------- * Fixed a bug kicking players with ';' in their nicks. * Username length set to match engine limit of 33 chars. * Fixed security hole in exec() scripting function. It does not allow unquoted semicolons anymore, nor the use of 'admin_command'. The following exception applies: strings starting with "logd_reg" or "sm_register" are allowed to contain "admin_command". This is to allow registering commands for LogD and StatsMe to work. Additional commands can be added for other third party MM plugins with the amv_register_cmds CVAR. * Fixed a bug in the AM timer code. * Fixed a bug causing player nicks starting with a number to be mistaken for a sessionid or wonid. * Obsolete CVAR password_timeout removed. * Fixed a bug that prevented the use of empty passwords in users.ini. * Fixed a bug in player lookup function. * Fixed a bug counting connected players incorrectly and thus filling reserved slots. Scripting Changes ================= Changes/Additions: ------------------ * Changed access() function to return the caller's access rights when called as access(-1). * Added get_userAuthId() function which obsoletes get_userWONID(). * Function directmessage() does not accept id type uid_wonid anymore. * Changed playerinfo() function to return the authid as a string instead of the numerical wonid. Example plugins were updated accordingly. * Added get_vaultnumdata() and set_vaultnumdata() functions for easier reading and writing of numerical values from/to the vault. * Added a new plugin (plugin_antiflood) as a standard flood detection and retribution. * Created new mod independent admin_bury and admin_unbury commands in plugin_retribution. * Created public declarations of all DLL called plugin functions (admin.inc). * Updated all standard plugins to include the admin_ commands calling conventions with the function declaration. Bug Fixes: ---------- * Corrected description of strcmp() in string.inc. * Hopefully removed all of the possibilities of clients spamming via server responses. * Corrected swear filter for llama's and team says * Forced coding conventions of having semi-colons for all proper line ends. * Corrected the *DEAD* name changes in Counter-strike where the client would change names but the server would not. AdminMod now changes the player name back automatically. * Updated all uses of the HandleSay script function to parse correctly when there are quotation marks surrounding the messages from clients.