Commit Graph

860 Commits

Author SHA1 Message Date
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
David Anderson
058e832d16 fixed an indexing error in amb967
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401477
2007-09-25 15:14:29 +00:00
David Anderson
4974c11766 fixed minor typo from amb967
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401476
2007-09-25 15:09:58 +00:00
David Anderson
a8aa9d2d7f added chat trigger detection
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401475
2007-09-24 15:06:10 +00:00
David Anderson
8bbbb57d8c clarified and fixed the meaning of timelimit/timeleft when no frames have been processed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401468
2007-09-23 20:11:48 +00:00
David Anderson
997bab506c renamed IsServerTicking() to IsServerProcessing()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401467
2007-09-23 19:35:22 +00:00
David Anderson
0f45f8b5ee - added timeleft functionality to cstrike extension
- finalized timeleft api once again (i hope)
- added weapon slot definitions to cstrike.inc
- bumped timer API

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401465
2007-09-23 19:33:19 +00:00
David Anderson
980a8fba7b fixed amb959
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401464
2007-09-23 16:01:12 +00:00
David Anderson
0059d92b61 fixed a bug where double dependencies could cause a crash on unload
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401462
2007-09-23 06:51:21 +00:00
David Anderson
eeb8cc6a41 improved fatal logging errors
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401450
2007-09-20 17:19:16 +00:00
David Anderson
167c1d0a31 added request amb948 - blocking of plugin loads
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401442
2007-09-18 17:44:17 +00:00
David Anderson
78e0de7a5b fixed amb953 - blank overrides did not strip flags
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401441
2007-09-18 17:07:56 +00:00
David Anderson
82108a7fcd fixed up the CheckCommandAccess() logic a bit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401435
2007-09-16 02:36:49 +00:00
David Anderson
7e3b07a594 updated windows build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401433
2007-09-14 03:08:06 +00:00
David Anderson
bb0678c1ac finalized api by adding limited interception
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401432
2007-09-14 03:01:14 +00:00
David Anderson
c230444274 fixed a bug where player inputs were parsed too late for BanClient()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401431
2007-09-14 02:20:23 +00:00
David Anderson
f0202a67a5 fixed a stupid bug where flags were not stripped in BanClient()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401430
2007-09-14 02:14:35 +00:00
David Anderson
74b23aebfe - added 3 new natives for banning/unbanning and interception
- moved banning commands into new plugin, basebans
- improved quality and input methods of ban commands
- corrected svn props on a few files
- added an IsLANServer() to IGameHelpers API
- completely deprecated and removed old banning forwards

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401429
2007-09-14 02:11:10 +00:00
David Anderson
be731888e7 GetCmdArg() and GetCmdArgString() now return a string length
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401427
2007-09-13 18:28:47 +00:00
David Anderson
f8816ab556 added amb932 on a lark... %N maps to a client name, or "Console"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401426
2007-09-13 17:30:27 +00:00
David Anderson
38a8e8ac80 added amb919 - GetExtensionFileStatus()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401425
2007-09-13 17:21:41 +00:00
David Anderson
67e6ad739e i broke teh build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401422
2007-09-13 02:07:02 +00:00
David Anderson
c531ad8564 finalized (i hope) new map timer api
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401421
2007-09-13 01:14:02 +00:00
David Anderson
6206027476 overhaul of the map timer idea -- function is now an interface, and the timer flag is removed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401420
2007-09-13 00:33:56 +00:00
David Anderson
2920ba897c - moved gameframe hook to timersys
- rewrote simulation algorithm
- various internal improvements to timer
- removed the unused parameter to GetTickedTime()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401418
2007-09-12 22:46:00 +00:00
Scott Ehlert
532f0bde47 Why was this not const? I have no idea, but what a lame commit for me to make after all this time
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401417
2007-09-12 07:22:38 +00:00
David Anderson
09618e15e1 whoops, this changeset had a really bad side effect. build needs to be broken until i can fix it.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401416
2007-09-11 18:50:16 +00:00
David Anderson
dd824d2056 added a case where CreateTimer() can return INVALID_HANDLE
fixed two initialization bugs in TimerSys

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401415
2007-09-11 18:16:25 +00:00
David Anderson
641041b906 timelimit function now gets initialized
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401414
2007-09-11 18:08:49 +00:00
David Anderson
293705f63f removed tick simulator and added api to help with mapchanges
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401413
2007-09-11 18:02:59 +00:00
David Anderson
017da078ef header movement #1 - reduced usage of TextParsers.h
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401412
2007-09-11 15:10:18 +00:00
David Anderson
6aec628ab0 - completely overhauled the immunity system
- updated and reorganized database schema files
- changed config files to show new immunity rules
- updated sql-admin-manager so it can update+create tables
- added compile.sh file for building plugins in batch
- deprecated the old admin-cache immunity api relying on ImmunityType
- added a new sm_config table to the schema for storing version numbers

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401409
2007-09-10 23:38:58 +00:00
Borja Ferrer
93581bb296 enabled SSE code in all dlls
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401408
2007-09-10 22:28:22 +00:00
Borja Ferrer
2ff0469648 added amb858 and amb924, some new KV natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401407
2007-09-10 18:03:06 +00:00
David Anderson
db3b9c2fa1 added amb923 - CheckCommandAccess() changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401405
2007-09-07 02:20:08 +00:00
Borja Ferrer
20350108ac fixed amb893, closing a timer handle wouldn't kill the timer properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401403
2007-09-03 18:49:58 +00:00
David Anderson
c62c5cfc30 improved makefile layout so deps are all at the same level and sourcemm trunk is no longer explicitly referenced
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401399
2007-08-31 15:26:05 +00:00
David Anderson
e5d81cf621 mirrored earlier core native binding optimization to extensions as well. clarified note about pointer lifetime in AddNatives(), as it will be gaining a second version soon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401397
2007-08-29 05:44:29 +00:00
David Anderson
77cc895151 moved trie to public so extensions can use it easier
--HG--
rename : core/sm_trie_tpl.h => public/sm_trie_tpl.h
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401396
2007-08-29 05:22:47 +00:00
David Anderson
3faa842794 initial import of trie as a template; old file is now a wrapper
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401395
2007-08-29 05:20:48 +00:00
David Anderson
80452fb3ec fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401394
2007-08-29 02:43:07 +00:00
David Anderson
b8b6a1a2bd added an additional comment to sm_trie_tpl
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401393
2007-08-29 02:43:02 +00:00
David Anderson
d614744b2d fixed a stray comment VAX reformatted
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401392
2007-08-29 02:40:05 +00:00
David Anderson
784370e24d hugely experimental templated trie, will be used soon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401391
2007-08-29 02:37:59 +00:00
David Anderson
07037e3fa2 cleaned up the Trie code a bit by unifying retrieval into one internal function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401390
2007-08-29 02:37:25 +00:00
David Anderson
97196e70be fixed some build issues from last commit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401389
2007-08-29 02:36:41 +00:00
David Anderson
f145178fc0 greatly optimized the process of mapping plugin natives from Core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401388
2007-08-29 00:47:05 +00:00
David Anderson
6bb7b3a1f8 added a layer for autoloading per-game extensions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401386
2007-08-29 00:27:54 +00:00
David Anderson
437f6543d7 fixed LogToOpenFileEx not being exported
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401385
2007-08-27 14:02:22 +00:00
David Anderson
aab0eeaa1e - implemented amb855 - LogAction()
- changed base plugins to use LogAction() where appropriate

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401384
2007-08-27 02:00:37 +00:00
David Anderson
2930621b7d fixed portion of amb777 -- chat triggers ate up spaces and thus "/ kick" was the same as "/kick"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401383
2007-08-26 20:12:30 +00:00
David Anderson
07b04432a2 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401379
2007-08-26 19:20:36 +00:00
David Anderson
af4a59c071 added amb727 (sm_time_adjustment)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401377
2007-08-26 18:41:57 +00:00
David Anderson
d9866748f7 implemented amb843 - GetFileTime()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401376
2007-08-26 18:29:02 +00:00
David Anderson
294d6b9f8f fixed amb834 - command callbacks could potentially occur on invalid clients in very rare cases
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401375
2007-08-26 17:41:02 +00:00
David Anderson
b85f2c625c fixed amb832
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401374
2007-08-24 23:56:57 +00:00
David Anderson
eb0a4bda94 - fixed a bug where the stack was restored incorrectly when the VM was not capable of properly restoring the stack (i.e. when an error occurred)
- fixed re-entrancy bugs when a nested VM call on the same context threw an error

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401373
2007-08-22 02:01:24 +00:00
David Anderson
aa1d2b4c9e potential crash fix -- api inconsistency again?
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401369
2007-08-21 16:26:15 +00:00
David Anderson
89899de7b0 fixed a trie (corruption/invalid memory access) bug found while investigating amb779
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401368
2007-08-21 16:20:28 +00:00
David Anderson
25f045bdea added helper function for panel text
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401367
2007-08-19 18:34:36 +00:00
David Anderson
2a3de44ddb fixed amb819 - SplitString() cut off search by one character
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401366
2007-08-19 17:31:26 +00:00
Borja Ferrer
6a05c0925c added amb805, time formatting cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401365
2007-08-19 16:54:06 +00:00
David Anderson
f6c7196408 fixed a bug where the player count could be trashed across bad mapchanges. additionally, it gets hard reset on mapchange as a safety precaution.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401364
2007-08-19 15:47:53 +00:00
David Anderson
a9b04f391f fixed bug amb779 - CS:S was freeing CBaseEntity pointers before client disconnect. IsClientInGame() checks now include a CBaseEntity validity check for safety measure. This will fix GetClientName() sometimes crashing on mapchange.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401363
2007-08-19 15:44:36 +00:00
David Anderson
33580d632b - fixed a series of corruption bugs in the admin cache (oh man, i suck sometimes)
- fixed per-group immunity being implemented completely wrong
- fixed GetAdminGroup being implemented wrong
- fixed a crash bug in the native GetAdminGroup

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401362
2007-08-19 15:11:49 +00:00
Borja Ferrer
267312d553 removed the query code for cl_language
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401361
2007-08-19 15:02:20 +00:00
Borja Ferrer
4fe064d43e added amb709, translator obeys cl_language
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401358
2007-08-19 13:25:42 +00:00
David Anderson
ee6f77d05f - added debugging messages for a bug report
- added userid function to IGamePlayer

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401356
2007-08-18 21:36:42 +00:00
David Anderson
edc535ee3c added some cmd access stuff that i need for the admin menu toolchain
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401355
2007-08-18 19:43:37 +00:00
Borja Ferrer
1df2ab5b8b added amb374, reload plugin command
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401354
2007-08-18 17:15:22 +00:00
David Anderson
cb7f62246a removed an API feature that was not only in the wrong place but was not implemented at all
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401353
2007-08-18 14:14:48 +00:00
David Anderson
c6c5540457 fixed amb806 - menus with no items caused halt
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401351
2007-08-17 20:28:19 +00:00
David Anderson
eb6ede7cef removed an assertion that really isn't needed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401350
2007-08-16 14:58:25 +00:00
David Anderson
f333264a50 plugin name is now outputted in debug messages
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401346
2007-08-15 20:22:30 +00:00
David Anderson
da0a160371 SourceMod will now spit out errors for scripts that become corrupt and would otherwise be crashing Core. if you get these errors contact the dev team.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401345
2007-08-15 20:18:15 +00:00
David Anderson
290f90a3a3 added FakeClientCommandEx() to solve a nasty re-entrancy issue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401344
2007-08-15 18:26:15 +00:00
David Anderson
ab2a4d5457 added request amb780 - fakeclientcommand no longer sets chat triggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401343
2007-08-15 17:22:21 +00:00
David Anderson
cb57752dba fixed a less likely fakeclientcommand bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401342
2007-08-15 17:17:52 +00:00
David Anderson
84a08ba000 fixed bug amb571 (FakeClientCommand having weird side effects)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401341
2007-08-15 17:14:48 +00:00
David Anderson
4016c52a38 - removed some debug stuff
- committed msvc8 detection to sm_platform.h
- updated comments to FormatTime()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401340
2007-08-15 16:21:28 +00:00
David Anderson
54a8126648 fixed amb800 - FormatTime() being microsofty
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401339
2007-08-15 16:17:54 +00:00
Scott Ehlert
a1009aed38 Updated license headers on virtually all files with extremely minor changes in the name of some sort of strange consistency.
All plugin and include file headers also have been changed to say about GPL3 instead of GPL2.

(This day shall henceforth be known as the Eighty Column Massacre of '07)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401336
2007-08-15 06:19:30 +00:00
David Anderson
e2e6ec777b added SQL_CheckConfig() so sql admin plugins can default back
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401330
2007-08-14 01:00:42 +00:00
David Anderson
6053dff454 fixed a bug where sm_dump_handles reported some freed handles incorrectly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401327
2007-08-13 19:41:15 +00:00
David Anderson
b8900e9cfe added data parameter to SQL_TConnect()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401323
2007-08-13 16:49:53 +00:00
David Anderson
aad8efc0a7 and apparently msvc didn't like those line endings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401317
2007-08-11 21:24:30 +00:00
David Anderson
e980160d12 added windows support for crc32
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401316
2007-08-11 21:24:00 +00:00
David Anderson
4b75dffe41 added CRC32 checking capability to gamedata files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401313
2007-08-11 21:19:35 +00:00
David Anderson
761100b856 fixed header not having double-include barrier
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401312
2007-08-11 19:58:06 +00:00
David Anderson
45b1bbdcd4 fixed a bug where admin access levels were read incorrectly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401311
2007-08-11 18:03:55 +00:00
Scott Ehlert
ac03126022 Added replicate and notify parameters to ResetConVar() - these were already available for SetConVarX()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401307
2007-08-10 09:16:58 +00:00
David Anderson
a53d103507 fixed per-group command overrides not working
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401306
2007-08-10 05:59:03 +00:00
David Anderson
2ff8d1776e fixed some state parsing errors
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401305
2007-08-10 05:08:14 +00:00
David Anderson
2a8d9a7aee flag letter assignment is now handled by core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401304
2007-08-10 04:53:30 +00:00
David Anderson
70cfc9395d MenuAction_Cancel now passes a vote cancellation reason
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401302
2007-08-09 23:45:33 +00:00
David Anderson
eedb308bab added amb739, SQL_ReadDriver()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401300
2007-08-09 20:06:42 +00:00
David Anderson
e6fa620ae2 added amb764, vote delay setting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401297
2007-08-09 19:05:34 +00:00
David Anderson
3cd3a0a8d6 added amb766 - GetMenuTitle()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401296
2007-08-09 18:25:00 +00:00
David Anderson
5db2f8e495 fixed amb768
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401294
2007-08-09 06:16:07 +00:00
David Anderson
6da3335588 - added amb733 - running admin auth CheckSetAdmin
- fixed amb737 - reservedslots uses the new auth api
- fixed various FormatString() usage bugs in functions such as KickClient() and ServeRCommand()
- added API so sql admins will be fit into the whole system

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401279
2007-08-08 16:22:51 +00:00
David Anderson
ee7d75fcb9 added a menu parameter to the vote callback
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401277
2007-08-08 02:44:36 +00:00
David Anderson
8352ea6413 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401276
2007-08-08 02:30:03 +00:00
David Anderson
6d60bd8de2 - massive overhaul of the voting subsystem
- NOTE: menu API compatibility was COMPLETELY broken for C++!
- cleaned up various aspects of the menu API
- implemented new extended vote results callback
- extended the debug reporter a tiny bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401275
2007-08-08 02:27:10 +00:00
Phong Dang
2acb412f61 Fixed spelling typo for HintTextMsg.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401270
2007-08-06 00:22:38 +00:00
David Anderson
ccaa7c95f2 fixed crash in the text parser (amb718)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401266
2007-08-03 11:44:51 +00:00
David Anderson
70f22ab3ab implemented amb705 (you can now disable sounds per-menu)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401265
2007-08-03 11:40:21 +00:00
David Anderson
e37a7bcbbe fixed amb728 (menu sounds are now precached)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401264
2007-08-03 11:14:56 +00:00
David Anderson
01c0942ad2 fixed amb708 - render algorithm didn't draw descending pagination right
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401263
2007-08-03 11:08:12 +00:00
Scott Ehlert
005f49947a Implemented amb506 - plugin file name can now be used with "sm plugins unload"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401258
2007-08-02 17:41:59 +00:00
David Anderson
5a979b9090 fixed a regression bug from the message system changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401257
2007-08-02 17:33:10 +00:00
Borja Ferrer
5a612d22e5 added new block_message flag in the message system
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401256
2007-08-02 00:47:47 +00:00
David Anderson
b22f9d705e added sound option for normal "exit"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401249
2007-08-01 17:51:38 +00:00
David Anderson
0f410208de sanity check
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401244
2007-08-01 06:30:38 +00:00
David Anderson
2bd5170e33 stupid gcc... what is it with you and newlines (fixes linux build)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401238
2007-08-01 02:18:19 +00:00
David Anderson
38ddbb37b9 updated more header files (mostly internal now)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401237
2007-08-01 02:12:47 +00:00
Borja Ferrer
b0a96e69c1 added amb567, new OnAllPluginsLoaded forward
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401227
2007-07-31 22:34:52 +00:00
David Anderson
b0e107bdfb added amb704 (menu sound support)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401226
2007-07-31 18:56:55 +00:00
Borja Ferrer
4a6a016790 added amb441, vguimenu and hinttext natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401224
2007-07-30 23:16:58 +00:00
David Anderson
2f3c518eb1 fixed a bug where extensions were forwarded their unload call AFTER being dropped as an identity
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401208
2007-07-29 01:05:58 +00:00
David Anderson
76c34cc268 fixed a bug where the database manager removed itself from the plugins listener
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401207
2007-07-29 01:05:11 +00:00
Phong Dang
f2630470c4 Fixed AskPluginLoad would still allowed plugin to load even if it returned false.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401206
2007-07-29 00:26:18 +00:00
Phong Dang
eb0de8dad9 Fixed infinite loop when using SetArraySize() or 2nd parameter of CreateArray().
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401204
2007-07-28 20:01:30 +00:00
David Anderson
9d7db20b96 fixed a bug where HandleSecurity was not initialized properly for the datapack natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401199
2007-07-27 21:00:50 +00:00
David Anderson
1154b20fc9 added a new function to ILibrarySys
added define in SDK for LIBRARYSYS

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401198
2007-07-27 18:24:09 +00:00
David Anderson
fa07c9d8a2 exposed DataPack Handle type
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401197
2007-07-27 15:45:15 +00:00
David Anderson
d8b18c91a0 fixed a small crash bug when unloading
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401171
2007-07-25 04:32:54 +00:00
David Anderson
1027d151e5 - added MenuAction_DisplayItem callback for plugins
- fixed various bugs in MenuAction_Display
- added an "access" parameter for IMenuManager.  better to do this now than later, even though it's not used yet
- hard bumped menu api to change the OnMenuDisplayItem callback.  sorry!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401169
2007-07-25 01:18:11 +00:00
David Anderson
39f7d51747 added amb403 (sm_reloadadmins)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401168
2007-07-24 22:20:58 +00:00