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
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
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
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
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
e08b4cdf1e
- LibraryExists() now works on extensions
...
- geoip and cstrike now work as libraries
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401579
2007-10-15 04:27:56 +00:00
David Anderson
c803eb8328
fixed an overall deficiency where libraries did not include extensions. extensions can now mark themselves as libraries, and they thus become fully optional just as plugins do. additionally, a bug was fixed where plugins could be accidentally marked as required instead of optional. these changes resulted in a bcompat API bump to the extension/sharesys interface.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401578
2007-10-15 04:06:57 +00:00
David Anderson
5fa3cbf134
experimental changes to topmenu api -- drawing/displaying is now properly abstracted
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401532
2007-10-02 15:13:13 +00:00
David Anderson
bd89b6d126
- removed incorrect information about DrawOption, renamed to DisplayOption
...
- renamed DrawTitle to DisplayTitle
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401531
2007-10-02 14:48:44 +00:00
David Anderson
a130fede3a
added note about TopMenuAction_DrawOption
...
Cancel vote option now only appears if a vote is in progress
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401530
2007-10-02 14:42:38 +00:00
David Anderson
ee90188103
added voting category and a menu option for cancelling votes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401529
2007-10-02 14:34:45 +00:00
David Anderson
5600942b3c
experimental commit of a menu attachment for sm_reloadadmins
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401524
2007-10-02 01:02:40 +00:00
David Anderson
f956093b93
fixed return value in DisplayTopMenu()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401520
2007-10-01 20:34:46 +00:00
David Anderson
c181282248
fixed AddTargetsToMenu() not being marked as optional
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401519
2007-10-01 20:17:45 +00:00
David Anderson
602b0aa6a5
- added topmenus extension to build
...
- basecommands is slowly getting split into multiple source files now
- added experimental api of a potential admin menu design
- added experimental admin menu entry to basecommands to kick things off
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401516
2007-10-01 18:50:07 +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
Borja Ferrer
b609c4eb86
added amb964, DispatchKeyValue natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401510
2007-09-29 22:26:36 +00:00
David Anderson
b17cf5c7af
cstrike shouldn't autoload
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401508
2007-09-29 18:45:12 +00:00
Borja Ferrer
b50d7697f6
added amb753, entity input native
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401504
2007-09-28 19:56:19 +00:00
David Anderson
61ac102fe2
- various improvements to the plugin-level topmenu api
...
- categories are no longer displayed if they have no items
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401502
2007-09-26 21:44:12 +00:00
David Anderson
035d646dfd
- TOPMENUS ARE STILL UNTESTED
...
- added appropriate client+plugins listeners to topmenus
- initial import of plugin API + implementation
- added call for finding category object ids
- various internal improvements
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401501
2007-09-26 20:34:50 +00:00
David Anderson
5c58cbf624
added new menu api (oops, forgot to commit this)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401490
2007-09-26 13:12:37 +00:00
Michael McKoy
a4d85676e8
Import of basecomm. Import of randomcycle. New stock added to console.inc.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401481
2007-09-26 01:22:25 +00:00
David Anderson
a8aa9d2d7f
added chat trigger detection
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401475
2007-09-24 15:06:10 +00:00
Michael McKoy
e4728b0413
Added VOICE_TEAM and VOICE_LISTENTEAM flags to the SDKTools voice functionality.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401474
2007-09-23 21:01:07 +00:00
David Anderson
8bbbb57d8c
clarified and fixed the meaning of timelimit/timeleft when no frames have been processed
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401468
2007-09-23 20:11:48 +00:00
David Anderson
0f45f8b5ee
- added timeleft functionality to cstrike extension
...
- finalized timeleft api once again (i hope)
- added weapon slot definitions to cstrike.inc
- bumped timer API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401465
2007-09-23 19:33:19 +00:00
Michael McKoy
d27a768d97
New IsStringInArray stock for array ADT
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401457
2007-09-22 17:43:19 +00:00
David Anderson
b38f0cc02e
whoops, i forgot to update the banning API... this is the correct revision
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401456
2007-09-21 14:56:18 +00:00
David Anderson
34111ff1e4
clarified "error" and "data" parameters to threaded dbi callbacks
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401455
2007-09-21 14:53:13 +00:00
Borja Ferrer
9733816b35
added new cstrike extension
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401447
2007-09-19 14:58:02 +00:00
Borja Ferrer
c6dba359c6
added amb852, create entity natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401434
2007-09-15 19:38:02 +00:00
David Anderson
74b23aebfe
- added 3 new natives for banning/unbanning and interception
...
- moved banning commands into new plugin, basebans
- improved quality and input methods of ban commands
- corrected svn props on a few files
- added an IsLANServer() to IGameHelpers API
- completely deprecated and removed old banning forwards
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401429
2007-09-14 02:11:10 +00:00
David Anderson
be731888e7
GetCmdArg() and GetCmdArgString() now return a string length
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401427
2007-09-13 18:28:47 +00:00
David Anderson
38a8e8ac80
added amb919 - GetExtensionFileStatus()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401425
2007-09-13 17:21:41 +00:00
David Anderson
c531ad8564
finalized (i hope) new map timer api
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401421
2007-09-13 01:14:02 +00:00
Borja Ferrer
aec2160e84
added new reconnect client panel stock
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401419
2007-09-12 23:37:00 +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
dd824d2056
added a case where CreateTimer() can return INVALID_HANDLE
...
fixed two initialization bugs in TimerSys
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401415
2007-09-11 18:16:25 +00:00
David Anderson
6aec628ab0
- completely overhauled the immunity system
...
- updated and reorganized database schema files
- changed config files to show new immunity rules
- updated sql-admin-manager so it can update+create tables
- added compile.sh file for building plugins in batch
- deprecated the old admin-cache immunity api relying on ImmunityType
- added a new sm_config table to the schema for storing version numbers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401409
2007-09-10 23:38:58 +00:00
Borja Ferrer
2ff0469648
added amb858 and amb924, some new KV natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401407
2007-09-10 18:03:06 +00:00
David Anderson
db3b9c2fa1
added amb923 - CheckCommandAccess() changes
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401405
2007-09-07 02:20:08 +00:00
David Anderson
08403e2b4a
added more info and a usage warning to IsValidHandle()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401404
2007-09-04 21:38:27 +00:00
David Anderson
6bfac7ff26
clarified true/false
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401400
2007-08-31 21:23:42 +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
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
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