Commit Graph

847 Commits

Author SHA1 Message Date
David Anderson
f50509abf0 added amb1378 - FileExists() for valve fs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401860
2008-01-22 17:04:59 +00:00
Matt Woodrow
e30f612a21 Added new native SendConVarValue for networking fake convar values to individual clients
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401858
2008-01-21 02:01:22 +00:00
David Anderson
59b5a6f879 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401854
2008-01-13 08:17:47 +00:00
David Anderson
5f61876ab6 fixed amb1379 with sweeping changes to the entity stuff. all prop stocks are now natives so they can properly compute everything quickly, as well as do type checks. Get/SetEntDataEnt are deprecated for being sucky, the new 2 versions do more checking and uses better values. lastly, there are functions/parameters for finding types and sizes of property.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401853
2008-01-13 08:10:25 +00:00
David Anderson
a9017a8291 AutoExecConfig() protects against double-call bugs now (amb 1356)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401852
2008-01-13 02:08:40 +00:00
David Anderson
42a313486a - added amb1332, new cvar protection mechanism for rcon_password
- removed FCVAR_PROTECTED from Core cvars

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401845
2008-01-08 03:06:33 +00:00
David Anderson
63592212d5 - fixed amb1302 - GetClientMenu() could return 1 for stale external menus
- fixed a debug assertion from StartMessage() + ShowMenu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401844
2008-01-07 22:36:39 +00:00
David Anderson
c033f5415a - added GuessSDKVersion()
- added rendermode and renderfx prop stocks and defines
- added MoveType tag to MOVETYPE defines
- changed Movetype functions to MoveType to use correct SourceMod casing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401843
2008-01-07 06:59:44 +00:00
David Anderson
e1bc3234b2 added /MP to compilation settings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401842
2008-01-07 06:58:43 +00:00
David Anderson
6e09aacd98 fixed amb1355 - optional extensions did not work properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401841
2008-01-07 04:00:47 +00:00
David Anderson
1ffd1db733 added amb1348 - SetFailState() formatting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401839
2008-01-04 16:20:25 +00:00
David Anderson
4e07200cfb - added AddTargetsToMenu2() for using COMMAND_FILTER flags
- fixed amb1350 - sm_voteban/menu ban on fake clients would crash
- fake clients can no longer be banned and do not appear on ban menus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401838
2008-01-04 16:05:26 +00:00
David Anderson
89ac3a14ba added amb1341 - OnClientPostAdminFilter
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401837
2008-01-03 19:40:55 +00:00
David Anderson
4e1fb49096 added amb1336 - GetTrieSize()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401835
2008-01-03 06:11:26 +00:00
David Anderson
f8f5a6a888 added extended error info to text parser API; GameConfigs now display better errors
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401821
2007-12-22 19:36:28 +00:00
David Anderson
c3456b8804 moved errno.h to top of platform includes
fixed bug where FormatMessage() did not ignore inserts

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401820
2007-12-22 19:35:54 +00:00
David Anderson
a079a87f68 fixed amb1305 by making OnClientPostAdminCheck() always occur after OnClientPutInServer(). this is now GUARANTEED. it was undefined before, however the usual case was opposite. if plugins were relying on this, they were written poorly and shouldn't have worked in the first place, especially with the threaded SQL plugin.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401819
2007-12-22 08:57:08 +00:00
David Anderson
b1451f692c fixed linuxbuild
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401805
2007-12-17 00:54:10 +00:00
David Anderson
6ba2593738 added amb1289 - FindPluginByNumber
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401804
2007-12-16 23:45:41 +00:00
David Anderson
abb763d1e1 added amb618 - binary file i/o
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401802
2007-12-16 23:11:00 +00:00
David Anderson
cf023a0b7d added amb1204 - concommandbase iteration
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401801
2007-12-14 23:27:34 +00:00
David Anderson
c9a9826989 added amb968 - setting for suppressing potential chat triggers from admins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401800
2007-12-14 06:42:40 +00:00
David Anderson
f261c2e756 fixed the global ock error message having too many punctuation marks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401790
2007-12-10 23:32:32 +00:00
David Anderson
1904348efc - fixed amb1237 part 1 - maplists.cfg missing could cause ReadMapList() to fail
- fixed amb1237 part 2 - nextmap could fail in certain cases with mapchooser present

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401789
2007-12-10 22:20:53 +00:00
David Anderson
d3a22aeff7 added amb1262 - adt_trie
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401785
2007-12-10 05:14:37 +00:00
David Anderson
ff15a84e7c added temporary debugging to ReadMapList()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401784
2007-12-10 03:14:54 +00:00
David Anderson
d78d7ab960 - rewrote internal convar hooking mechanism to prevent crashes and potential "race conditions"
- sharesys is now the first thing to run, so g_pCoreIdent is valid EVERYWHERE
- added internal convar hooking funcs for timersys

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401776
2007-12-06 03:28:02 +00:00
David Anderson
5ae2a5c4fe sm_dump_handles now shows memory usage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401772
2007-12-05 18:07:18 +00:00
David Anderson
737a359990 - removed ancient bcompat shim for translations/core.cfg file
- fixed msvc8 whining about BfReadString

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401770
2007-12-04 15:58:07 +00:00
David Anderson
c5b6c63ec6 added ability to use game name from gameinfo.txt in gamedata files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401768
2007-12-04 15:27:04 +00:00
David Anderson
fc53efb288 fixed amb1241 - IVEngineServer implementation of client querying is completely broken on orange box, thanks valve
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401765
2007-12-04 02:35:46 +00:00
David Anderson
dcb77e0918 addressed amb1230 - BfReadString() erroring on something that should be perfectly valid
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401756
2007-12-03 03:19:21 +00:00
David Anderson
6533e16019 fixed amb1210 - ReadMapList() broken for "mapcyclefile"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401755
2007-12-03 02:43:42 +00:00
David Anderson
86a9369c04 fixed a crashbug when MAPLIST_FLAG_MAPSFOLDER was not present and all fallbacks failed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401753
2007-12-02 16:47:10 +00:00
David Anderson
98b74c2e21 fixed a bug where mapcyclefile might not be read properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401752
2007-12-02 16:43:34 +00:00
David Anderson
6ecfa76b01 committed vcproj changes left around
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401748
2007-12-02 05:33:57 +00:00
David Anderson
9b2f22fa6d fixed the build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401747
2007-12-02 04:31:28 +00:00
David Anderson
a8ecd7fea4 - added beefy new ReadMapList() native
- admin menu now uses ReadMapList()
- added UTIL_TrimWhitespace() to stringutils
- moved GetFileTime() implementation to ILibrarySys
- cleaned up sorting include a bit
- removed adminmenu_maplist.ini, since it's specified by maplists.cfg
- added maplists.cfg

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401744
2007-12-02 02:10:37 +00:00
Borja Ferrer
221429ff6e added amb382, KV get/set vector natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401740
2007-12-01 00:37:47 +00:00
David Anderson
c92048fefb fixed a rare parsing bug where too many tokens would be detected if the staging buffer was broken directly before the second quotation mark in a key string
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401736
2007-11-27 17:25:16 +00:00
David Anderson
b98edf88b6 added amb1191 - absolute paths
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401735
2007-11-27 02:19:39 +00:00
David Anderson
54ad852d72 addressed amb1201 - no_mapchange timers now get removed right after onmapend
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401727
2007-11-25 02:45:12 +00:00
Borja Ferrer
a86f386f12 gah forgot this
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401724
2007-11-23 23:24:40 +00:00
David Anderson
674b877a43 fixed a precision bug that caused SourceMod to stop working after excatly 72.8 hours
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401720
2007-11-23 02:39:48 +00:00
Matt Woodrow
858fd7d3cd Build fix attempt 1
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401716
2007-11-21 22:15:05 +00:00
Matt Woodrow
19c184aefc Added KvGetSectionSymbol
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401715
2007-11-21 20:58:00 +00:00
Borja Ferrer
bce7cf5bdd fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401714
2007-11-21 12:58:37 +00:00
Matt Woodrow
64a07ce198 added new native KvJumpToKeySymbol
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401713
2007-11-21 06:49:40 +00:00
David Anderson
09b6c5ead1 added new menu feature for old plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401711
2007-11-20 17:16:50 +00:00
David Anderson
81f6856ad9 fixed small bug in SortADTArray
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401710
2007-11-20 04:36:38 +00:00