Commit Graph

1890 Commits

Author SHA1 Message Date
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
08ae85bdb3 added note about putinserver and steamids
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401387
2007-08-29 00:28:19 +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
0dcd1edd56 added amb845 - reports custom flags now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401382
2007-08-26 20:04:01 +00:00
David Anderson
1b693c0351 fixed amb830 - basefunvotes.sp was named wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401381
2007-08-26 19:51:24 +00:00
David Anderson
ec8413193f added amb786 - sm_banip can take a user name, redid access permissions, and prevented a bad mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401380
2007-08-26 19:41:05 +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
1191b6332d cleaned up the core gamedata file a bit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401378
2007-08-26 19:11: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
Michael McKoy
b24a28d834 Fixed amb729, implemented amb778. Admin needs ADMFLAG_CHANGEMAP to use sm_setnextmap
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401372
2007-08-22 01:19:10 +00:00
Michael McKoy
4441de43f4 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401371
2007-08-22 01:18:17 +00:00
Michael McKoy
f70881d641 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401370
2007-08-22 00:58:47 +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
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
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
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
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
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