David Anderson
3f49d29274
merged trunk back into 1.1.0 branch for "safety"
...
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401721
2007-11-23 05:10:33 +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
David Anderson
7a74c92167
various build fixes and vcproj changes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401553
2007-10-14 18:53:29 +00:00
David Anderson
0c80c793fe
part 1 of tf2 support is now done
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401550
2007-10-14 02:30:16 +00:00
David Anderson
7a4fe8aaa4
added env vars to orig builds
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401549
2007-10-14 01:09:40 +00:00
David Anderson
d03488e45b
initial change of build process, part 1
...
fixed cvar linking issue
broke the build even better
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401548
2007-10-14 00:48:55 +00:00
Borja Ferrer
b7d9d487cc
ported SM's core to Orange Box
...
build is broken now in purpose
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401547
2007-10-14 00:04:21 +00:00
David Anderson
7cb4d7ae9c
menuaction_select and menuaction_cancel now set the reply source to SM_REPLY_CHAT
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401528
2007-10-02 14:06:07 +00:00
David Anderson
c420f453de
added reply-to stuff for the C++ API
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401525
2007-10-02 01:50:36 +00:00
David Anderson
2c5cd63552
added IsClientInKickQueue() to deal with a bot issue
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401515
2007-10-01 18:41:39 +00:00
David Anderson
4c4b89a403
- fixed a bug where CS:S Tools could be loaded more than once on mapchange
...
- fixed a bug where Core did not interpet some file paths properly
- fixed a crash bug where SourceMod could pass invalid data to ISmmAPI on shutdown
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401514
2007-10-01 18:04:37 +00:00
David Anderson
445ecf961f
fixed a bug where UTIL_ReplaceAll() did not work on a buffer size of 1 even if the other inputs were valid
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401511
2007-09-30 02:16:37 +00:00
David Anderson
8154fb4897
fixed amb988 - stack corruption in text parser. stack variables are moved to better detect pointer corruption now
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401509
2007-09-29 22:11:21 +00:00
David Anderson
d2eae473a0
fixed broken build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401499
2007-09-26 17:57:13 +00:00
David Anderson
0bd7df8667
made new playerhelpers api backwards compatible; added note about server activation and maxclients
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401492
2007-09-26 13:14:41 +00:00
David Anderson
fda5ac1738
added new api to IPlayerHelpers for detecting when the server starts up
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401491
2007-09-26 13:12:59 +00:00
David Anderson
c84a3cf8e9
fixed a logic error in ExtendMapTimeLimit()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401486
2007-09-26 02:43:58 +00:00
David Anderson
53df0cba3f
fixed CheckAccess() in IAdminSystem having the wrong parameter type
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401483
2007-09-26 02:14:05 +00:00
David Anderson
cd6007f54c
added amb870 - menus can display from a given item
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401482
2007-09-26 01:48:52 +00:00
David Anderson
efbf57ac90
added API for menus to re-display from a previous page
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401480
2007-09-26 01:04:22 +00:00
David Anderson
69c65a848b
added CheckCommandAccess() equivalent to IAdminSystem
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401479
2007-09-26 01:03:20 +00:00