Commit Graph

18 Commits

Author SHA1 Message Date
Unreal Karaulov
8ee3da24cb
Added new debug feature: Performance Monitor. (#1019)
* Performance Monitor.

Search big performance issues for any plugin that in debug mode. No server slow down.
Output is plugin and function name, and server execution lag in ms. Output target: current amxlog file.

* Adding cvar to enable perflog. Force for all plugin if amx_debug is 2.

* Update cvar name

* Use another clock from chrono

* Fix debug check

* Skip internal amxx exec

* Move includes

* Fix debug check in amx_ExecPerf

* Tried to compile without min/max undefined
2021-12-05 18:38:49 -08:00
Vincent Herbet
07c3d49cfa Add amx_searchcmd command in adminhelp plugin and do some clean up (#415)
* AdminHelp: Use semicolon everywhere

* AdminHelp: Translate amx_help description

* AdminHelp: Use the available ADMIN_ALL define in register_concmd

* AdminHelp: Bind the cvars

* AdminHelp: Replace %L by %l

* AdminHelp: Remove task only when necessary

* AdminHelp: Reorder some lines to prepare next commit

* AdminHelp: Use read_arg_int() on the first argument and clamp the value

* AdminHelp: Use read_arg_int() on the second argument and clamp the value

* AdminHelp: Rename few variables and callback

* AdminHelp: Use constants for buffers max length

* AdminHelp: Add amx_searchcmd command, and update the multilingual file

* AdminHelp: Adjust spacing a little for readability

* AdminHelp: Add amx_help_display_msg_time cvar

* AdminHelp: Add the new command in the help message (and fix missing return)

* AdminHelp: Add a check if provided entry no. goes above the total found entries

* AdminHelp: Don't show the help message for begin if all commands are already displayed

* AdminHelp: Make sure the server command use amx_help_amount_per_page value
2017-08-01 22:56:21 +02:00
xPaw
fea209fa7f Replace hardcoded defines in adminhelp with cvars 2014-07-27 15:59:09 +03:00
xPaw
b4d006438c Update core to use amx_language cvar instead of vault 2014-07-27 11:42:34 +03:00
connorr
3b6c207ea8 Move slay as last option instead of first in Slay/Slap Menu (bug 5861, r=arkshine)
Former-commit-id: 31f5fdfa9788d5ea8552e2dc101c582e7959ecc0
2013-08-24 01:14:54 +02:00
connorr
784f91e441 Add a new access level flag 'v' for temporary bans (bug 3218, r=arkshine)
Former-commit-id: d09b92cf6c3ffa6ea82b4c4b005056e7875ee80f
2013-08-16 18:49:55 +02:00
Vincent Herbet
14d986c87a Update amx_show_activity documentation in amxx.cfg (bug 5774, r=me)
Former-commit-id: 1983f452260e88fb8d5e6f201017651a4c968cf8
2013-06-28 23:46:10 +02:00
Steve Dudenhoeffer
b608305c79 cs and ns did not have plmenu bantimes and slapdamage amounts in their amxx.cfg
also added "0" slap damage to the default values as it was mistakingly left out
2008-03-30 21:23:01 +00:00
Steve Dudenhoeffer
68961a91e2 Fixed amb735 - adminslots cvar comments in config files were misleading 2007-08-05 10:41:10 +00:00
Steve Dudenhoeffer
cf36abf7e6 Implemented amb31 - plmenu default options (for ban menu and slap menu) are configurable in a config file.
Need to include this in the mod - dependent plmenus when they are reviewed later.
2007-08-01 06:03:51 +00:00
Steve Dudenhoeffer
e3240214a3 Fixed some typos 2007-04-26 14:20:19 +00:00
Steve Dudenhoeffer
ab6fea5767 Added amb202: csstats_rankbots in amxx.cfg
Organized comments a bit in all config files.

Added default value comments to all cvars.
2007-04-13 20:21:51 +00:00
Borja Ferrer
bd1999cdfb added amx_mldebug cvar 2006-01-23 00:21:35 +00:00
Borja Ferrer
bec98dcddd added new cvar for adminslots plugin 2006-01-07 01:04:07 +00:00
David Anderson
213b0e65dc Added amx_debug 2004-09-08 07:11:13 +00:00
David Anderson
19fb29c688 Added new CVAR 2004-08-22 10:53:49 +00:00
David Anderson
8e227f4f54 Removed default slot reservation.
Enhanced modules and plugins descriptions.
2004-06-24 18:23:12 +00:00
Felix Geyer
9037291791 renamed from amx.cfg to amxx.cfg 2004-03-31 11:45:08 +00:00