1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

61 Commits

Author SHA1 Message Date
Scott Ehlert
4e21dbaf87 -Fixed amb1416: Fixed a class of crashes caused by improper cvar removal handling. This encompasses a lot of crazy internal changes. Thank goodness I never have to do this for OB.
-Removed unused update tool
-Bumped version for tagging

--HG--
branch : sourcemm-1.4.4
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.4%40705
2008-07-26 05:45:07 +00:00
Scott Ehlert
ee77452d92 Err, fixed Linux build for real
--HG--
branch : sourcemm-1.4.4
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.4%40699
2008-07-12 08:59:30 +00:00
Scott Ehlert
cb42757f83 Fixed Linux build, argh
--HG--
branch : sourcemm-1.4.4
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.4%40697
2008-07-12 08:51:11 +00:00
Scott Ehlert
b7cce2b3f8 Updated license year...
--HG--
branch : sourcemm-1.4.4
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.4%40690
2008-03-26 21:16:13 +00:00
Scott Ehlert
5524ec8d8e Fixed amb1534 - VDF files with a ".vdf" that wasn't at the very end of the filename were being opened by MM:S. This was due to the use of strstr.
--HG--
branch : sourcemm-1.4.4
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.4%40686
2008-03-26 05:04:35 +00:00
Scott Ehlert
b0b66cbf47 Fixed amb1523 - Crash on The Ship due to unavailable IFileSystem functions which are used in KeyValues::LoadFromFile()
--HG--
branch : sourcemm-1.4.4
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.4%40683
2008-03-20 23:08:35 +00:00
David Anderson
90fb451242 fixed bugs related to vsplistener and vsp loading mechanism
--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40599
2007-12-23 09:07:48 +00:00
David Anderson
bcc08f184b "meta" now only works after a mapchange if mm is late loaded
--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40594
2007-12-14 00:48:28 +00:00
David Anderson
73255baa6c new loading mechanism now loads on gameinit because we can't detect late loads
--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40590
2007-12-13 19:11:02 +00:00
David Anderson
b8a88dbdb2 fixed a few implementation details
--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40587
2007-11-29 00:35:24 +00:00
David Anderson
41d6c2c37e experimental commit of a new feature
--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40586
2007-11-29 00:13:08 +00:00
David Anderson
09b4abab9c added linux support to new VDF code
--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40585
2007-11-28 04:39:16 +00:00
David Anderson
cdd0629dd8 added experimental vdf-style loading
--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40583
2007-11-28 04:32:28 +00:00
Scott Ehlert
ec3ebd7712 Merged in changes from trunk to 1.4.1 branch
--HG--
branch : 1.4.1
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/1.4.1%40399
2007-05-16 04:31:54 +00:00
David Anderson
d386a5b624 whoops, fixed a versioning bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40372
2007-04-07 04:31:23 +00:00
Scott Ehlert
50cc1b7356 Hello, just one minor thing. Why did I do this again? :\
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40369
2007-04-06 21:01:43 +00:00
David Anderson
9c562a9e62 fixed a post-release error where the vsp listener API simply didn't work :(
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40368
2007-04-06 20:53:07 +00:00
Scott Ehlert
05226d7799 Bail will probably kill me for all this but...
1) Fixed amb93: Improved mod path detection.
2) Fixed various rare string inconsistencies.
3) Updated changelog
4) Other various internal things that don't matter much :o

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40349
2007-03-21 17:45:28 +00:00
Scott Ehlert
bf3d98f77c Added experimental user message API functions that don't error out on invalid indices
Added user message list to 'meta game' command

Terrible, ugly code...

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40338
2007-02-21 01:51:54 +00:00
David Anderson
0f5c4ca912 added experimental API for hooking VSP interface calls
updated file license headers

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40332
2007-02-10 00:31:34 +00:00
David Anderson
59ec4c31ee fixed SourceMM crashing on long paths (steam srcds)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40327
2007-01-27 09:18:17 +00:00
David Anderson
08a498aaee added basic compatibility for darkmessiah. note that it will crash from engine diffs!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40308
2006-10-25 20:35:29 +00:00
Scott Ehlert
3d7ae5c6ed Wow, lots of stuff here
1) Bumped version to 1.3
2) Fixed MSVC project files to compile and link against latest SDK
3) Fixed Linux compilation of stub_mm and sample_mm against new SDK (added -msse to makefiles)
4) Removed -fpermissive and -Wno-deprecated from Linux makefiles
5) Added -Wall -Wno-non-virtual-dtor -Werror to Linux makefiles
6) Stub_mm and sample_mm no longer dynamically link to libstdc++
7) SourceMM, stub_mm, and sample_mm compile cleanly (no warnings) with GCC 3.4.x and 4.x

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40269
2006-08-13 11:34:30 +00:00
David Anderson
f8d0fc08b2 Added GCC-4.1 compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40248
2006-08-09 01:52:49 +00:00
Scott Ehlert
7c1b752c52 Fixed bug where trying to load Metamod:Source a second time as a SourceMM or Valve server plugin could cause a crash.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40237
2006-07-21 06:59:58 +00:00
Scott Ehlert
199f634592 Added some extra information to the "meta game" command: Description and Interface
(This is BAILOPAN's excellent idea!)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40218
2006-07-13 06:08:08 +00:00
Scott Ehlert
2972849a8d Fixed bug where the wrong gamedll could be loaded and/or more than one gamedll could be loaded
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40216
2006-06-28 18:33:00 +00:00
David Anderson
581a0dc7a8 added alias ability
fixed gamedll version finding fall through

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40206
2006-05-25 04:49:47 +00:00
Scott Ehlert
ebca331ae4 Added client version of "meta" command in order to allow clients to view version information and a list of loaded plugins.
Added ClientConPrintf to API for printing text in a client's console. Same as IVEngineServer::ClientPrintf except that it allows string formatting.
Updated changelog for possible future version.
Version bumpage.

Feel free to kill me for doing a change of this almost massive scale :-\
At least none of this breaks plugins though.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40193
2006-04-21 06:35:47 +00:00
Scott Ehlert
07507bb51a Mm, oopsy. ICvar::GetCommandLineValue could return NULL for the plugins file. That would be bad. :(
(Now fixed with a call to GetPluginsFile in case it is NULL)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40192
2006-04-21 02:30:02 +00:00
Scott Ehlert
563b890ba6 Fixed a bug where value of mm_pluginsfile cvar was being ignored. So much easier than I imagined.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40191
2006-04-21 01:58:22 +00:00
David Anderson
d11b49a202 bumped copyright years, woot
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40176
2006-01-07 14:38:18 +00:00
David Anderson
00322f8833 initial import of 1.2 api changes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40167
2005-12-23 23:38:38 +00:00
David Anderson
d8e63fb33c Quick fix
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40148
2005-10-22 05:05:35 +00:00
David Anderson
81bae13a60 Fixed macro bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40145
2005-10-21 10:02:21 +00:00
David Anderson
e24876a8cd Committed new API
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40142
2005-10-21 07:18:53 +00:00
David Anderson
2cabdcf3da initial import of new events system
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40139
2005-10-20 14:37:47 +00:00
David Anderson
a169ec7f61 Removed debug code
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40126
2005-10-06 22:30:29 +00:00
David Anderson
08b2d3d1c3 Finalized versioning and PI
Added QueryRunning() output to meta info/list.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40125
2005-10-06 21:59:10 +00:00
David Anderson
67039543cd Initial import of new GameDLL loading code
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40123
2005-10-06 00:59:01 +00:00
David Anderson
71d74c6722 Re-bumped all version numbers again (SourceHook=2, Plugin=7/7)
Fixed bug where gamedlls setting new game names would not work
Moved PM's virtual destructor to bottom of vtable

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40117
2005-09-29 23:05:01 +00:00
Pavol Marko
18bfaa7021 Now unloading the original gamedll in DLLShutdown() instead of using a __attribute__((destructor)) function
-> Also auto-removing ConCommandBases with the FCVAR_GAMEDLL flag before doing that

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40115
2005-09-24 21:10:53 +00:00
David Anderson
2917c2c751 Linux compatibility for no-STL
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40107
2005-09-13 20:20:49 +00:00
David Anderson
ac1ea74510 Changed to namespaces
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4099
2005-08-12 17:44:53 +00:00
David Anderson
05f9912d4e Replaced std::list with List class
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4098
2005-08-12 17:33:59 +00:00
David Anderson
400f0a9fab Added new cvar, mm_pluginsfile
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4090
2005-07-07 20:58:05 +00:00
Scott Ehlert
8ce6594b70 Semi-small fix to make SourceMM ignore whitespace in metaplugins.ini with UTIL_TrimLeft and UTIL_TrimRight
(I'm not sure if I'm qualified to make efficient string functions here, so um, they probably are pretty bad)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4085
2005-07-03 16:11:28 +00:00
David Anderson
5f6e613e01 Attempt at fixing some bugs related to gamedll shutdown
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4083
2005-06-26 19:15:24 +00:00
David Anderson
4eb23c422b Added new API for correct console/rcon printing
Bumped API version number
MM:S will no longer load newer plugins

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4077
2005-06-24 22:26:19 +00:00
David Anderson
b178acc5cd LevelShutdown() is no longer unnecessarily hooked through SourceHook
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4074
2005-05-27 10:03:55 +00:00