Commit Graph

63 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
Freeman-AM
4fc58e6afd Minor fixes in configs files. (#455)
* Missing amx_help_display_msg_time var in amxx.cfg

* Missing vars in CS DOD TFC and TS core.ini

* Standardization to others file location comments in clcmds.ini

* Missing account flag comments + typo errors in NS users.ini
2017-09-01 15:23:49 +02:00
Vincent Herbet
8e7eb94e50 Overhaul Restrict Weapons plugin - part 1 (#347)
* Restmenu: Use CS_OnBuyAttempt forward to detect any buy attempt - part 1

- Removed any useless code which won't be needed anymore with forward. A lot!

* Restmenu: Use CS_OnBuyAttempt forward to detect any buy attempt - part 2

- Added the actual forward
- Because of forward passing a CSI_* constant, it's needed to refactor how is saved a blocked item. Not fully implemented everywhere because menu is going to be refactored later as well.

* Restmenu: Replace findAliasId() by cs_get_item_id()

* Restmenu: Use cvar pointers

* Restmenu: Refactor menu - part 1

Purpose:
  - Convert old menus to new menus.
  - Instead of having one menu with several pages, having one main menu (item types) and sub-menus (items list). More readable, more easy to naviguate and no pagination.
  - Move hardcoded strings to ML

* Restmenu: Refactor menu - part 2

Purpose:
  - Convert old menus to new menus.
  - Instead of having one menu with several pages, having one main menu (item types) and sub-menus (items list). More readable, more easy to naviguate and no pagination.
  - Move hardcoded strings to ML
  - Minor visual improvements

* Restmenu: Refactor podbot stuff

- Factorized code
- Used a more direct way to set restrictions

* Restmenu: Refactor load/save config file

- Used new file natives
- Moved harcoded message header to ML
- QoL: saved restricted items will be grouped per type
- Cleaned up few things

* Restmenu: Refactor amx_restrict command

- Minor improvements on how are retrieved/handled arguments from command.
- Same as menu, it displays first classes list, then it lists associated items. No more pagination.
- Minor visual changes.

* Restmenu: Remove unused stuffs

* Restmenu: Move more harcoded messages to ML

* Restmenu: Move MAPSETTINGS define to cvar

- Don't forget me in changelog
- There is room for improvements but for now keep the same behavior

* Restmenu: Add some consistency, no code change

- Renamed some variables
- Changed functions order
- Removed extra spaces
- Fixed leading tabs

* Restmenu: Use inline formatting at various places

* Restmenu: Make command descriptions multilingual for player

* Restmenu: Refresh opened menus if the command is used to save/load/set.

Also, I've removed the renaming of "exit" item because it was misleading as it returns MENU_EXIT when it's named with "back" and handling the action wiht that doesn't make much sense.

* Restmenu: Adjust minor things (consistency, readability, safety)

* Restmenu: Show the current category when items are listed through the command

* Restmenu: Display admin activity on loading/saving

+ load: reset blocked items only if file has been loaded
+ load: ignored if no arguments
+ save: added a silly fix because of the cvars
2017-08-05 10:45:29 +02:00
Freeman-AM
f1f2d9f98a Replace hardcoded defines in adminhelp with cvars 2014-09-28 17:48:16 +02:00
Freeman-AM
47d2da259b Update core to use amx_language cvar instead of vault 2014-09-28 17:41:48 +02:00
xPaw
ae9315ad48 🔥 Remove amxmod compatability
This doesn't remove anything from the engine
2014-06-05 13:48:56 +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
DynamicBits
096c5e7509 Comment declared modules in modules.ini as they are autoloaded as needed (bug 5816, r=arkshine)
Former-commit-id: 4b54b099454273815ff490830c72ae72940ec425
2013-07-31 16:23:25 +02:00
Vincent Herbet
f9954e5831 Missing amxx.cfg update for CS/NS mod in 449793c3c1de
Former-commit-id: d96a6389b83a22cc2922ee3f3eb44a89e1a97a02
2013-07-20 11:39:51 +02:00
David Anderson
7beef260f2 Fixed amb1175: new module and plugin did not get added to addon packages. 2008-08-16 05:01:32 +00: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
4c4fde8bf3 Sort of fix for amb1293: It's a bug with HLDS's parsing of localinfo keys 2008-03-30 10:55:13 +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
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
David Anderson
88dd3b021e removed this option 2007-03-04 04:33:29 +00:00
David Anderson
109b1e45b5 added non-gpl plugin blocking (wow i can't believe it came to this) 2007-03-03 23:14:24 +00:00
Scott Ehlert
09df281556 Fixed am44998 2006-09-20 02:50:58 +00:00
David Anderson
3d74b7cf09 this should have been disabled by default 2006-09-10 18:20:51 +00:00
David Anderson
5286672268 finalizing rc3 builds 2006-09-09 03:29:13 +00:00
David Anderson
ed0312567d Fixed bug am42213 2006-08-18 20:53:31 +00:00
David Anderson
9857731dff removed x from sql names 2006-06-04 19:41:37 +00:00
David Anderson
80cbaa8217 updated these, reorg'd a tad 2006-06-04 01:55:47 +00:00
Borja Ferrer
9a34c7931a fixed bug at29636 2006-05-13 12:15:16 +00:00
David Anderson
92645db291 Synced in new modules.ini format 2006-05-07 10:09:04 +00:00
Scott Ehlert
550c505813 Removed no longer supported DB modules from modules.ini :o 2006-04-06 13:14:45 +00:00
David Anderson
4bcb0fcb13 new localinfo crap 2006-03-17 22:10:16 +00:00
David Anderson
e98fbc47e8 added new binary logging option 2006-03-16 04:36:55 +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
Felix Geyer
ad86bf636f enabled statsx by default 2005-08-10 18:37:02 +00:00
David Anderson
5cbcd34bec update 2005-08-02 07:17:12 +00:00
David Anderson
8736214678 Added SQLite module to configuration 2005-03-09 23:13:47 +00:00
Johnny Bergström
21ceae3c9e Replaced in files: /amxx/ with /amxmodx/
This fixes lines looking like
; File location: $moddir/addons/amxx/configs/cmds.ini

to look like

; File location: $moddir/addons/amxmodx/configs/cmds.ini

.
2004-12-22 10:27:30 +00:00
David Anderson
abd372447a Added AMD64 2004-10-30 09:57:55 +00:00
David Anderson
f4ada32ec2 Changed module comments (Damaged Soul) 2004-10-05 18:59:23 +00:00
David Anderson
23234fad0b Added regex module 2004-10-05 08:53:51 +00:00
David Anderson
334905e16e new configuration files for CSX 2004-10-04 08:08:18 +00:00
David Anderson
83fa1aea27 *** empty log message *** 2004-09-19 17:32:55 +00:00
David Anderson
d7325f4209 amx_logging -> amxx_logging 2004-09-13 16:42:28 +00:00
David Anderson
3c037270a6 Anti-flood is now enabled by default 2004-09-09 21:37:45 +00:00
David Anderson
213b0e65dc Added amx_debug 2004-09-08 07:11:13 +00:00
David Anderson
e73b3bbbb7 New locations 2004-09-02 02:44:39 +00:00
David Anderson
19fb29c688 Added new CVAR 2004-08-22 10:53:49 +00:00
David Anderson
e9ebf6bf59 fixes 2004-08-21 21:54:04 +00:00
David Anderson
a653808e9b Added fakemeta 2004-08-21 20:59:11 +00:00
Felix Geyer
40b5e7e817 updated plugin extension to .amxx 2004-08-20 13:18:04 +00:00
Felix Geyer
93851f289f synced (removed welcomemsg.amxx) 2004-08-13 16:09:48 +00:00
Felix Geyer
d79dfd9884 sync (added multilingual.amxx) 2004-08-13 15:19:05 +00:00