From ea84302e28a3597dea489a24d1eb52caedde0c22 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 28 Dec 2008 16:09:47 -0500 Subject: [PATCH 1/4] Clean slate for languages.cfg (no bug). --- configs/languages.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/languages.cfg b/configs/languages.cfg index 6bbce279..58fb9bf2 100644 --- a/configs/languages.cfg +++ b/configs/languages.cfg @@ -1,6 +1,5 @@ "Languages" { "en" "English" - "es" "Espaņol" } From ba04132142d5422f885ae18baa831e1f31acfbd5 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Sun, 28 Dec 2008 17:52:33 -0500 Subject: [PATCH 2/4] SDKTools didn't NULL check after GetMemSig (bug 3504, r=dvander). --- extensions/sdktools/vnatives.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index 5dff4cd0..bc5e53e9 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -101,8 +101,8 @@ bool CreateBaseCall(const char *name, *vaddr = call; return true; } else { - void *addr; - if (g_pGameConf->GetMemSig(name, &addr)) + void *addr = NULL; + if (g_pGameConf->GetMemSig(name, &addr) && addr != NULL) { call = CreateValveCall(addr, vcalltype, retinfo, params, numParams); if (call) From 701fef1ba47f9cadf4853fbe28d90ff931753e60 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 28 Dec 2008 18:54:36 -0500 Subject: [PATCH 3/4] Log file name consistency for gamedata logs (no bug). --- core/GameDataFetcher.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/core/GameDataFetcher.cpp b/core/GameDataFetcher.cpp index 371bb905..cbdccc9b 100644 --- a/core/GameDataFetcher.cpp +++ b/core/GameDataFetcher.cpp @@ -124,9 +124,15 @@ void FetcherThread::RunThread(IThreadHandle *pHandle) GetAdjustedTime(&t); tm *curtime = localtime(&t); - g_SourceMod.BuildPath(Path_SM, log_path, sizeof(log_path), "logs/gamedata/L%02d%02d.log", curtime->tm_mon + 1, curtime->tm_mday); + g_SourceMod.BuildPath(Path_SM, + log_path, + sizeof(log_path), + "logs/gamedata/L%04d%02d%02d.log", + curtime->tm_year + 1900, + curtime->tm_mon + 1, + curtime->tm_mday); - logfile = fopen(log_path, "a"); + logfile = fopen(log_path, "at"); if (!logfile) { From 34b8d00548704fd4bb53d8e547666965751d4329 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 28 Dec 2008 19:55:52 -0500 Subject: [PATCH 4/4] Updated changelog. --- changelog.txt | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/changelog.txt b/changelog.txt index 7c48dee8..c9a5d245 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,82 @@ SourceMod Changelog ---------------------------- +SourceMod 1.1.0 [2008-12-28] + +URL: http://wiki.alliedmods.net/SourceMod_1.1.0_Release_Notes + +Major features: + * New map management plugins. + * New reserved slot type. + * GameData updates are retrieved remotely + * Client Preferences extension for per-client "cookies" + * New incremental and independent JIT + +Changes: + + - Added new client preferences extension (API in clientprefs.inc, bug 1925). + - Added new gamedata auto-update functionality (bug 2602). + - Revamped and greatly expanded map management plugins and their functionality (bug 2201). + - Debug mode is now always on; as there is no longer a performance loss, there is no non-debug mode. + - The timeleft trigger can now handle mp_winlimit, mp_fraglimit, and mp_maxrounds (bug 2344). + - Translations can now be in separate files and placed in language-unique folders. + - The leading "STEAM_0:" or "STEAM_1:" in SteamIDs can now be omitted from admin files. + - Added sm_revote command so clients can participate in a vote that fell off their screen (bug 2156). + - Added Core API for creating stack structures (adt_stack.inc, bug 2441). + - Added API for extending mapchooser (mapchooser.inc, bug 2201). + - Added Core API for map transition control and history (nextmap.inc). + - Added TF2 forward for overriding how critical hits are calculated. + - Added SetClientInfo() native for modifying how a server sees a client's setinfo properties. + - Added CreateDirectory() native (bug 3253). + - Added "magic" MaxClients variable to replace slower GetMaxClients() call. + - Added support for three-letter language codes (bug 3526). + - Functions to control client versus client mic listening now work as described (bug 2498). + - Fixed SDKTools not being reloadable, and fixed a related bug in Handle type removal (bug 2753). + - Rewrote internal translation handling. Extensions now have access to an ITranslator API (bug 2535). + - Rewrote internal handling of dependencies (especially relating to native providers) (bug 2466). + - Added user config hooks to IGameConfigManager, for parsing user-defined sections. + - Revamped SourcePawn API. Removed and deprecated many structures and functions accidentally exposed publicly. + - Revamped SourcePawn structure, it is now separable from SourceMod for other projects. + - Renamed basefuncommands.phrases.txt to funcommands.phrases.txt (bug 2485). + - Renamed basefunvotes.phrases.txt to funvotes.phrases.txt (bug 2485). + - Added IDBDriver API call for extensions to handle IDBDriver dependencies properly. + - Usermessage natives now validate clients to prevent crashing. + - Fixed OnConfigsExecuted not working on listen servers. + - Fixed out-of-handle conditions in CreateTimer() causing crashes (bug 3381). + - Fixed accessing invalid Handles causing crashes (bug 3359). + - Fixed memory corruption with MySQL + FetchString (bug 3352). + - Fixed ReadFileString ignoring its fourth parameter (bug 3459). + - Fixed sm_sql_addadmin reading the immunity field as a password (bug 3395). + - Fixed ReadFile sign-extending instead of zero-extending (bug 3449). + +---------------------------- + +SourceMod 1.0.4 [2008-09-14] + +Changes: + + - Fixed amb1986: Format() with very long strings could crash if the input and output buffers overlapped. + - Fixed amb1938: The compiler ate too many characters in preprocessor macros. + - Fixed amb1935: Topmenu child names were not uncached when a category was deleted. + - Fixed amb1929: Banning via the console threw a runtime error. + - Fixed amb1918: Ban menu should compare userids, not client indexes + - Fixed amb1916: Threaded query delay is now 50ms instead of 500ms. + - Fixed amb1899: Duplicate maps in auto generated maplists. + - Fixed amb1891: Basechat didn't check for blank message in private says. + - Fixed amb1853: Ternary operators with string assignments could chop strings off. + - Fixed amb1815: Custom admin menu wasn't escaping input. + - Fixed amb1808: KickClient() is now delayed to prevent crashes, use KickClientEx for old functionality. + - Fixed amb1802: Possible crash when a client disconnected. + - Fixed amb1801: Improved bot detection, and fixed bots crashing if inside an OrangeBox server.cfg. + - Fixed amb1780: admin-sql-threaded had a debug spew turned on. + - Fixed amb1779: Crash in GetTeamName() on mods that don't support it. + - Fixed amb1763: Function call status is now cleared on a new function call. + - Fixed amb1749: Updated and improved DoD:S SDKTools coverage. + - Fixed team native crashes in SDKTools for mods like Insurgency. + - Fixed various file handle leaks. + +---------------------------- + SourceMod 1.0.3 [2008-06-21] Changes: