Commit Graph
100 Commits
Author SHA1 Message Date
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
David Anderson 8bf21ae4b5 bumped api version
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401360
2007-08-19 13:55:33 +00:00
David Anderson 5c53de349f fixed ordering mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401359
2007-08-19 13:55:14 +00:00
David Anderson 1f04ba166a fixed bug amb795 - reservedslots could crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401357
2007-08-18 22:51:25 +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
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 874e3d6ed2 added crash notice about KickClient()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401352
2007-08-18 13:17:51 +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 ed5b455e8e max client name is more reasonable now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401349
2007-08-16 11:33:29 +00:00
David Anderson a1acf91af7 - clarified GetMaxClients + OnPluginStart
- added a MAX_NAME_LENGTH define for player names

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401348
2007-08-15 23:09:13 +00:00
David Anderson dd4974b2af Oops - broke the build by not committing this
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401347
2007-08-15 22:05:00 +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
David Anderson 8920861d6a added sql stuff to build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401335
2007-08-14 07:22:40 +00:00
David Anderson c72110e9af fixed small bug in the mysql admin script
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401334
2007-08-14 07:17:05 +00:00
David Anderson 99d9b96ec6 fixed a help text error
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401333
2007-08-14 06:41:12 +00:00
David Anderson b5df2dfb07 schema change (ugh) normalized immunity properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401332
2007-08-14 05:42:44 +00:00
David Anderson 309de7c510 initial import of simple sql admin management plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401331
2007-08-14 04:46:21 +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 badeade4e9 fixed up sqlite3 script - now has proper constraints and autoincrement fields
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401329
2007-08-14 00:53:39 +00:00
David Anderson 86d5ccc3c4 initial import of threaded sql admin plugin
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401328
2007-08-13 22:49:57 +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 31dea335c3 immunity list can now be NULL
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401326
2007-08-13 19:12:38 +00:00
David Anderson c99ed2a8eb fixed another Handle leak in same
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401325
2007-08-13 18:41:11 +00:00
David Anderson a8206db64e fixed a memory leak in sql groups prefetch
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401324
2007-08-13 18:39:02 +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 6943dece87 initial import of sql admins prefetch plugin and associated table schemas
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401322
2007-08-13 01:46:58 +00:00
David Anderson 07570212e8 added basevotes and basefunvotes to the build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401321
2007-08-13 00:22:27 +00:00
David Anderson 1458a48f13 admin plugin now reads overrides from separate file (but also admin_levels.cfg for backwards compatibility)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401320
2007-08-13 00:19:46 +00:00
David Anderson afb58cfd67 outputs to stdout now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401319
2007-08-12 20:02:07 +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 dc9a5a7a4b added support for insurgency 1.1a
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401315
2007-08-11 21:20:33 +00:00
David Anderson ad1173a318 added small file-crc32'ing tool
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401314
2007-08-11 21:20:03 +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
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 0adbf810b8 fixed silly design decisions in geoip that were copied over from amxmodx. natives now return true/false and the buffer is zeroed instead of filled with "ERROR"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401299
2007-08-09 19:48:46 +00:00
David Anderson 000d5792e3 bumped the menu api version (oops) and added sm_vote_delay to sourcemod.cfg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401298
2007-08-09 19:14:15 +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 9588414f45 fixed amb769 (tag mismatch on MENU_ACTIONS_ALL)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401295
2007-08-09 18:19:23 +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 63ac214c47 removed on ferret's request
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401288
2007-08-08 23:44:38 +00:00
David Anderson ccbdfdbf2b fixed a parsing bug in admin-flatfile's group parser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401285
2007-08-08 23:04:48 +00:00
David Anderson b96505af03 added a "storage-local" database for generic sqlite storage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401281
2007-08-08 16:52:06 +00:00
David Anderson 195710cb81 added a "storage-local" database for generic sqlite storage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401280
2007-08-08 16:50:00 +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 77e46d363d fixed a very unhelpful error message
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401278
2007-08-08 15:08:01 +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
David Anderson 082d9ecafe reverted change from r1124 that introduced a bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401269
2007-08-05 15:41:09 +00:00
David Anderson b79f1f6df3 implemented amb690
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401267
2007-08-03 11:50:20 +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
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
David Anderson b20fa11911 fixed little bug in build tool
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401255
2007-08-02 00:28:32 +00:00
David Anderson 8c7e006d90 added a build of sniperbeamer's batch compiling tool for sourcemod
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401254
2007-08-02 00:19: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 2d5b1b0da2 updated build script
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401243
2007-08-01 05:42:15 +00:00
David Anderson bf477a3ae0 fixed a typo, added version text
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401240
2007-08-01 03:23:45 +00:00
David Anderson aa377138c0 updated sdktools license headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401239
2007-08-01 02:48:11 +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
David Anderson 1e2bbcc783 threw new license headers on jit public files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401236
2007-08-01 01:58:16 +00:00
David Anderson c03d084e3f corrected line endings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401235
2007-08-01 01:56:14 +00:00
David Anderson ebf7c9f1cc new license text
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401234
2007-08-01 01:55:46 +00:00
David Anderson 58f1af7576 initial import of new license text
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401233
2007-08-01 01:55:15 +00:00
David Anderson d4c602f022 updated license headers for most extensions
updated sdk bases for most extensions

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401232
2007-08-01 01:54:53 +00:00
David Anderson e6b1323a64 added keywords property to all mysql files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401231
2007-08-01 01:23:37 +00:00
David Anderson ca4523b515 new license header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401229
2007-08-01 01:19:57 +00:00
David Anderson 945d51583b separated gpl text files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401228
2007-08-01 00:40:22 +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
David Anderson 64d7fd751a fixed an sqlite bug where empty results would count as no result set
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401216
2007-07-29 14:56:24 +00:00
David Anderson dd8a7512a6 fixed linux build for mysql
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401215
2007-07-29 02:44:37 +00:00
David Anderson c9350cc48c fixed build script
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401214
2007-07-29 02:41:56 +00:00
David Anderson 10b6fbd7f3 added sqlite to the build script
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401213
2007-07-29 01:31:36 +00:00
David Anderson efad023796 import of linux sqlite build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401212
2007-07-29 01:29:27 +00:00
David Anderson 92e7e70ea3 removed another unused file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401211
2007-07-29 01:21:56 +00:00
David Anderson 02406e208e removed unused file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401210
2007-07-29 01:19:39 +00:00
David Anderson 9f6a67ba17 initial import of sqlite extension
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401209
2007-07-29 01:15:31 +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