Commit Graph

48 Commits

Author SHA1 Message Date
David Anderson
fe0a6fb475 moved IClient stuff around so OB changes are easier to manage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401582
2007-10-15 18:51:56 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
David Anderson
48d71cae26 finished a(nother) rewrite of how players authenticate. name-based authentication has been added and passwords work fully now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401167
2007-07-24 20:11:47 +00:00
David Anderson
9ef04b07e7 added password support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401166
2007-07-24 17:05:46 +00:00
David Anderson
254fc2557a - removed OnServerCfg in favor of OnConfigsExecuted
- added AutoExecConfig() which automates safe config execution

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40984
2007-06-18 07:04:22 +00:00
David Anderson
eee7c78342 fixed ipaddr lookup not working for admins
fixed a bug where steam-based auth could override ip auth

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40937
2007-06-08 16:14:22 +00:00
David Anderson
2e3c61c849 SourceMod now does authentication in core; admin-auth gets removed. this has an added bonus that OnClientAuthorized reliably has whether an admin is validated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40936
2007-06-08 07:54:45 +00:00
David Anderson
be6335c91a Fixed bugs amb352 and amb274
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40922
2007-06-07 18:50:52 +00:00
David Anderson
196a665d51 implemented request amb302 (onservercfg and onmapstart are now called if a plugin is late loaded)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40854
2007-05-23 17:54:45 +00:00
David Anderson
94c0783d5c initial import of radio message - UNTESTED, DO NOT EVEN TRY LOL
added supported mods for radio messages into core gameconf
various internal fixes/improvements for menus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40786
2007-05-13 05:51:30 +00:00
David Anderson
d7b2f9a721 behold with your eyes and view upon what are MENUS
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40775
2007-05-12 23:45:52 +00:00
Scott Ehlert
de9dc9ed99 Various pointless things of no importance:
- Renamed ISourceMod::GetModPath() to GetGamePath()
- Renamed ISourceMod::GetModFolderName() to GetGameFolderName()
- Various spelling corrections (why did I do this?)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40735
2007-05-03 03:45:53 +00:00
David Anderson
f498af0190 removed debug code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40728
2007-05-02 20:30:29 +00:00
David Anderson
5c6ba68e4b userid cache gets repopulated now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40726
2007-05-02 19:20:34 +00:00
David Anderson
4f66cfbf9f fixed issue amb235
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40725
2007-05-02 19:14:26 +00:00
David Anderson
d57f543820 renamed OnServerLoad to OnMapStart
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40723
2007-05-02 17:45:09 +00:00
Borja Ferrer
21923d7871 added datamap property offset native
added clientofuserid native for fast userid to client id translation
fixed a memory leek (some tries weren't being deleted)
added createdialog native
added 2 million inetchannelinfo wrappers

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40688
2007-04-12 00:45:53 +00:00
Borja Ferrer
daeb5a7dba added iplayerinfo natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40664
2007-03-28 23:35:12 +00:00
Scott Ehlert
bb92fc06a6 More consistency of some sort...
Oh god, what has possessed me to do this?

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40659
2007-03-22 21:50:20 +00:00
David Anderson
1bb6f90d2e apparently I can't change a single line of code these days
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40655
2007-03-19 05:39:11 +00:00
David Anderson
ec0e0dca63 whoops, tee hee, broke OnClientAuthorized
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40654
2007-03-19 01:50:03 +00:00
David Anderson
c6c4de1f75 fixed a potential bug with kicking players during authorization
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40653
2007-03-19 01:44:09 +00:00
David Anderson
49c9ab6e25 added a playerinfo function to kick this off
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40650
2007-03-17 23:03:44 +00:00
David Anderson
88eae4ad1e added a new forward for OnServerActivate
included timers from sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40649
2007-03-17 20:25:08 +00:00
David Anderson
2c70ec1a8c refactored singleton class names
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40622
2007-03-15 04:45:17 +00:00
David Anderson
043b8f255f removed const from most apis. it was pointless since there were no actual const pointers.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40621
2007-03-15 04:34:42 +00:00
David Anderson
749ddc8c15 part 1 of singleton renaming
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40597
2007-03-10 21:18:07 +00:00