Commit Graph

707 Commits

Author SHA1 Message Date
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