Commit Graph

1873 Commits

Author SHA1 Message Date
David Anderson
53156446d4 - updated basecommands and basefuncommands to use ProcessTargetString() and ShowActivity2()
- moved a bunch of translation phrases around
- ShowActivity2() no longer prints to console
- fixed a memory corruption bug in the translation parser

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401630
2007-10-21 23:50:37 +00:00
David Anderson
04b2845b0d - improved comments on ShowActivity() natives
- switched to ShowActivity2() in basecommands
- added lifestates offsets to core gamedata file
- added a few translation phrases that were missing
- added new API calls to IPlayerHelpers for extending target processing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401629
2007-10-21 20:35:15 +00:00
David Anderson
f5370eb171 removed IsPlayerAlive() from sdktools (it's in Core now)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401628
2007-10-21 20:09:28 +00:00
David Anderson
02e8977ea0 - added ShowActivity2() which has a more convenient display algorithm
- added commandfilters.inc and ProcessTargetString(), an extensible API for processing a command target and getting back formatted replies + player lists.  This makes SearchForClients() look paltry, and base plugins will slowly be moved to support the new functionality
- removed IsPlayerAlive() from SDKTools, added it to Core
- fixed a small bug in re-entrant translations
- core.games.txt is now automatically added to all plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401627
2007-10-21 20:06:30 +00:00
David Anderson
744dbdc4c7 atcprintf() is now fully re-entrant, meaning translations can be used from inside translations
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401626
2007-10-21 17:58:35 +00:00
David Anderson
c3149f22cf fixed amb1055
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401625
2007-10-21 15:18:01 +00:00
Matt Woodrow
baeecb098e Fixed a potential issue with reservedslots. Thanks for the hint :)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401624
2007-10-21 06:43:03 +00:00
Matt Woodrow
a04f844b73 Reserve slots plugin now offers the option to kick public players (see sourcemod.cfg for details)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401623
2007-10-21 04:51:57 +00:00
David Anderson
1d3f8a44e5 added function for resolving team names -> indexes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401622
2007-10-21 00:16:46 +00:00
Borja Ferrer
c5391ecb5e fixed a native prototype
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401621
2007-10-20 23:47:15 +00:00
Borja Ferrer
871f27c858 synced linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401620
2007-10-20 23:43:48 +00:00
Borja Ferrer
ff2819e266 added amb814, added a set of team natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401619
2007-10-20 23:39:10 +00:00
David Anderson
98e921c210 fixed GetClientEyeAngles() again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401618
2007-10-19 09:03:34 +00:00
David Anderson
c2644b2f94 - added GetClientAimTarget()
- fixed a bug where GetClientEyeAngles() was basically bogus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401617
2007-10-19 08:51:05 +00:00
David Anderson
ab8f67fc42 added amb944 - acceptinput offsets for ship and sourceforts
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401616
2007-10-19 06:51:44 +00:00
David Anderson
7d49a55a7b added amb1009 - fortress forever support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401615
2007-10-19 06:49:01 +00:00
David Anderson
4e1c0edfca added amb1015 part2 - more sm_who changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401614
2007-10-19 06:36:06 +00:00
David Anderson
86dbfbd248 added amb1015 - sm_who now shows admin names
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401613
2007-10-19 05:45:56 +00:00
Michael McKoy
bd58aa930b Added new stock to helpers.inc: LoadMaps()
Adjusted all plugins that use LoadMaps()
Nextmap no longer worries about mapcyclefile until the map changes
RTV/MC/RC use OnConfigsExecuted() instead of OnMapStart() now
RTV/MC/RC will no longer "permanently" exclude the current map being played when the map file is loaded.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401612
2007-10-18 01:16:42 +00:00
David Anderson
0b66a6acee fixed a regression where valve-style menus stopped working
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401611
2007-10-18 01:08:48 +00:00
David Anderson
7d7dafaa92 bumped build to recompile against hl2sdk-ob
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401610
2007-10-18 00:45:15 +00:00
David Anderson
1777c84a75 blocked sm_admin from being used by rcon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401609
2007-10-17 17:12:26 +00:00
David Anderson
261295acd6 fixed amb1028
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401608
2007-10-17 16:46:27 +00:00
David Anderson
7338fa6cb5 added slap to the menu sorting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401607
2007-10-17 02:58:44 +00:00
David Anderson
96cb8cbc38 renamed all the admin menu items
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401606
2007-10-17 02:40:41 +00:00
David Anderson
31d8511904 enabled episode2 building
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401605
2007-10-17 02:21:14 +00:00
David Anderson
f2a185d77e added adminmenu to build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401604
2007-10-17 02:20:43 +00:00
David Anderson
ca4ca95bfd updated sdktools support for tf2
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401603
2007-10-17 01:44:46 +00:00
Borja Ferrer
adfea8ade8 prepared sdktools base natives for OB port
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401602
2007-10-16 22:32:26 +00:00
David Anderson
f1c72419b6 fixed topmenus bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401601
2007-10-16 20:10:43 +00:00
David Anderson
54febbbc48 cleaned up menu vote code a bit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401600
2007-10-16 19:28:02 +00:00
David Anderson
f0dc4e996f - more phrase changes
- added "mani" sorting to adminmenu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401599
2007-10-16 19:06:11 +00:00
David Anderson
5d72810449 overhaul of the phrases for consistency
renamed config files for adminmenu
cleaned up execcfg menu code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401598
2007-10-16 18:37:24 +00:00
David Anderson
2b15d877aa renamed fun commands on menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401597
2007-10-16 17:29:06 +00:00
David Anderson
10042990ba adminmenu now loads config file
removed debug line

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401596
2007-10-16 17:28:36 +00:00
David Anderson
4bb433b17c topmenu config files are now read properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401595
2007-10-16 17:28:19 +00:00
Borja Ferrer
b281adbb7b fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401594
2007-10-16 17:24:52 +00:00
Borja Ferrer
501db6ee8b added TE compatibility to TF2
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401593
2007-10-16 17:17:08 +00:00
David Anderson
147643591d re-enabled episode2 builds on linux
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401592
2007-10-16 06:03:28 +00:00
David Anderson
1e9f3296ad fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401591
2007-10-16 05:58:45 +00:00
David Anderson
630168a924 concmd manager now uses the concmd cleaner
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401590
2007-10-16 05:30:41 +00:00
David Anderson
1ab2bf2139 fixed ep2 build
fixed a bug in the cmd cleaner code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401589
2007-10-16 01:29:28 +00:00
David Anderson
796d9b2de8 - added new system for detecting convar/concmd removals in one nice place
- convar code overhaul - reorganized handle contents to make removal easier

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401588
2007-10-16 01:17:08 +00:00
David Anderson
60d8e4f248 overhaul of the vsp listening code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401587
2007-10-15 22:15:22 +00:00
Matt Woodrow
0600be8c3a Menu map lists (map and votemap) now fall back to the contents of maps folder if the menu_maplist.ini isn't found
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401586
2007-10-15 21:12:52 +00:00
David Anderson
7f667a58d0 fixed a trie lookup bug where terminated string arcs could be return false positives. for example, sm_k would match sm_kick, if and only if the sm_k formed the arc and the ick formed the termination
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401585
2007-10-15 19:38:18 +00:00
David Anderson
3c0aba7035 fixed misusage, freeing convar info while it can still be read
fixed a minor memory leak

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401584
2007-10-15 19:37:14 +00:00
David Anderson
9396a88fdc removed some of the new stuff from build process
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401583
2007-10-15 19:18:08 +00:00
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
6e03cb39a1 filled in data for core's TF2 support
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401581
2007-10-15 18:51:11 +00:00