Commit Graph

689 Commits

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