Michael McKoy
daaf961c07
New adt_array functions: CloneArray, FindStringInArray, FindCellInArray
...
Adjusted mapchooser/randomcycle/rockthevote and LoadMaps stock to use new array functions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401670
2007-11-09 23:46:05 +00:00
David Anderson
4abf26c626
fixed amb1098 - SetMenuExitButton() did not work with MENU_NO_PAGINATION
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401659
2007-10-30 01:22:47 +00:00
David Anderson
fe28f51e9a
fixed nonsense documentation comment
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401658
2007-10-29 00:33:20 +00:00
Borja Ferrer
2cfd5bbaf3
added amb1062, get/set command flags natives
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401649
2007-10-26 20:37:02 +00:00
David Anderson
2e333caf77
- added amb1050 - topmenu info strings (similar to menus)
...
- added removal detection to topmenus
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401640
2007-10-22 06:56:17 +00:00
David Anderson
b6e33a575f
- fixed a bug where OnConfigsExecuted() could be ran before OnAllPluginsLoaded()
...
- added new commands for amb1036, war mode
- fixed a bug in the admin menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401636
2007-10-22 05:35:31 +00:00
David Anderson
b4896ecada
commited overhaul of a large number of commands and phrases, which largely included basecomm. also re-implemented FindTarget() with ProcessTargetString()
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401633
2007-10-22 02:54:27 +00:00
Matt Woodrow
f3e7bf4a16
Added alive checks before adding certain player lists to the admin menu
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401632
2007-10-22 02:05:51 +00:00
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
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