Commit Graph

806 Commits

Author SHA1 Message Date
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
Michael McKoy
fa3f1991ff Added sort functions for ADT Arrays, see sorting.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401707
2007-11-20 03:02:11 +00:00
David Anderson
4e83e1949a fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401702
2007-11-18 18:02:53 +00:00
David Anderson
fdd75d6fcb we now refresh tf2 menus because valve like writing buggy interfaces
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401701
2007-11-18 17:07:32 +00:00
David Anderson
f950225229 added GetGlobalTarget/SetGlobalTarget to g_pSM
const'd some things

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401696
2007-11-17 05:33:47 +00:00
David Anderson
a79a169384 added a quick experimental system for overriding core natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401695
2007-11-17 04:31:01 +00:00
David Anderson
dfa007081b added amb1165 - exposed some plugin admin functionality to extensions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401694
2007-11-17 02:54:44 +00:00
David Anderson
ecbd1f5e36 added amb1169 - dumping handles to game logs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401693
2007-11-17 01:43:25 +00:00
Borja Ferrer
d2b288fd6a fixed amb1164, SM was crashing due to interface changes from valve (this change is just to make the build update using the latest sdk)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401692
2007-11-16 21:34:29 +00:00
David Anderson
413a9360ad fixed build, i suck
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401691
2007-11-16 18:23:04 +00:00
David Anderson
4d9ef26dbc fixed amb1162 - SetUserAdmin() did not work as documented
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401687
2007-11-16 14:04:05 +00:00
Borja Ferrer
fcb362da09 fixed amb1148, formatting large float numbers produced garbage (thanks PM!)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401683
2007-11-13 16:36:50 +00:00
Borja Ferrer
9284a90d41 added further error logging for timer closing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401680
2007-11-11 20:40:08 +00:00
David Anderson
ca0da2559d fixed bugs in the external extension system
import of external SDK that's been sitting around for a while

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401674
2007-11-10 05:46:09 +00:00
Michael McKoy
daaf961c07 New adt_array functions: CloneArray, FindStringInArray, FindCellInArray
Adjusted mapchooser/randomcycle/rockthevote and LoadMaps stock to use new array functions

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401670
2007-11-09 23:46:05 +00:00
David Anderson
45b7c2e30f bug fix for amb1116 - timers intervals are no longer cumulative
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401668
2007-11-02 20:38:37 +00:00
David Anderson
172f28d676 fixed a number of memory complaints from valgrind. most of these were minor, but there was a rather disturbing memory over-read error in the SMC text parser. correcting this brought about a rewrite of its API. this change is BACKWARDS INCOMPATIBLE for C++ extensions, but it was sorely needed, and the API is now both future-extensible and much easier to work with. plugins didn't need any changes, but they will probably get the better API changes in a future release. as a special bonus, the RawLine() hook is now much less expensive since the entire stream buffer won't be shoved through it like before!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401662
2007-10-31 05:04:07 +00:00
David Anderson
e425558f3f added more "remote extension" stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401661
2007-10-30 20:43:59 +00:00
David Anderson
4abf26c626 fixed amb1098 - SetMenuExitButton() did not work with MENU_NO_PAGINATION
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401659
2007-10-30 01:22:47 +00:00
David Anderson
f60369a005 added experimental extension interface for loading external extensions from mm:s
hard-bumped the extension api

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401654
2007-10-28 08:02:24 +00:00
Borja Ferrer
2cfd5bbaf3 added amb1062, get/set command flags natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401649
2007-10-26 20:37:02 +00:00
David Anderson
fe8594a96a fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401645
2007-10-22 16:48:54 +00:00
David Anderson
af68caaf85 - sourcemod now intelligently unloads plugins which are leaking insane amounts of handles. these unloads get logged to sourcemod_fatal.log
- unloading is now delayed if a plugin is in the middle of a callstack

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401644
2007-10-22 08:53:15 +00:00
David Anderson
8172560f39 - added "war mode" options to config menu cfg
- fixed a regression bug where OnConfigsExecuted() wouldn't get executed.  oops!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401637
2007-10-22 05:53:38 +00:00
David Anderson
b6e33a575f - fixed a bug where OnConfigsExecuted() could be ran before OnAllPluginsLoaded()
- added new commands for amb1036, war mode
- fixed a bug in the admin menu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401636
2007-10-22 05:35:31 +00:00
David Anderson
53156446d4 - updated basecommands and basefuncommands to use ProcessTargetString() and ShowActivity2()
- moved a bunch of translation phrases around
- ShowActivity2() no longer prints to console
- fixed a memory corruption bug in the translation parser

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401630
2007-10-21 23:50:37 +00:00
David Anderson
02e8977ea0 - added ShowActivity2() which has a more convenient display algorithm
- added commandfilters.inc and ProcessTargetString(), an extensible API for processing a command target and getting back formatted replies + player lists.  This makes SearchForClients() look paltry, and base plugins will slowly be moved to support the new functionality
- removed IsPlayerAlive() from SDKTools, added it to Core
- fixed a small bug in re-entrant translations
- core.games.txt is now automatically added to all plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401627
2007-10-21 20:06:30 +00:00
David Anderson
744dbdc4c7 atcprintf() is now fully re-entrant, meaning translations can be used from inside translations
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401626
2007-10-21 17:58:35 +00:00
David Anderson
0b66a6acee fixed a regression where valve-style menus stopped working
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401611
2007-10-18 01:08:48 +00:00
David Anderson
7d7dafaa92 bumped build to recompile against hl2sdk-ob
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401610
2007-10-18 00:45:15 +00:00
David Anderson
1e9f3296ad fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401591
2007-10-16 05:58:45 +00:00
David Anderson
630168a924 concmd manager now uses the concmd cleaner
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401590
2007-10-16 05:30:41 +00:00
David Anderson
1ab2bf2139 fixed ep2 build
fixed a bug in the cmd cleaner code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401589
2007-10-16 01:29:28 +00:00
David Anderson
796d9b2de8 - added new system for detecting convar/concmd removals in one nice place
- convar code overhaul - reorganized handle contents to make removal easier

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401588
2007-10-16 01:17:08 +00:00
David Anderson
60d8e4f248 overhaul of the vsp listening code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401587
2007-10-15 22:15:22 +00:00
David Anderson
3c0aba7035 fixed misusage, freeing convar info while it can still be read
fixed a minor memory leak

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401584
2007-10-15 19:37:14 +00:00
David Anderson
fe0a6fb475 moved IClient stuff around so OB changes are easier to manage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401582
2007-10-15 18:51:56 +00:00
David Anderson
e08b4cdf1e - LibraryExists() now works on extensions
- geoip and cstrike now work as libraries

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401579
2007-10-15 04:27:56 +00:00
David Anderson
c803eb8328 fixed an overall deficiency where libraries did not include extensions. extensions can now mark themselves as libraries, and they thus become fully optional just as plugins do. additionally, a bug was fixed where plugins could be accidentally marked as required instead of optional. these changes resulted in a bcompat API bump to the extension/sharesys interface.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401578
2007-10-15 04:06:57 +00:00
David Anderson
4de4797b8b extensions can now be built for multiple engines, and will autoload from auto.X.Y folders
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401574
2007-10-15 00:38:25 +00:00
David Anderson
c5dd1bddd4 fixed makefiles more
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401559
2007-10-14 19:48:26 +00:00
David Anderson
b069620eaa added core makefiles
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401556
2007-10-14 19:10:44 +00:00