Open artkirienko opened 4 years ago
There is no AMXX related problem here, nor that is a valid fix. The plugin uses slowhacking which is not allowed and probably won't mork on most clients. Clients should obviously have those keys bound to the slots if they want to use the options in the menu.
A much more suitable place to report this "issue" would be in Valve's Half-Life Github page. There is nothing AMXX can do to overcome this problem.
@OciXCrom why does AMXX use 7 slots by default instead of 5 slots then? 🤔
Until this is fixed, you can edit the number of slots in the source code (mapchooser.sma) and recompile.
#define SELECTMAPS 3
Or maybe use a two-page menu. I'd rather have as many maps on one page as possible. Examples:
Using 4 maps:
menu page 1
1. map name
...
4. map name
5. next page
menu page 2
1. extend
2. none
3.
4.
5. previous page
Using 5 maps:
menu page 1
1. Select map
2. Extend current map
3. None
menu page 2
1. map name
...
5. map name
Created an issue for HL https://github.com/ValveSoftware/halflife/issues/2921
@OciXCrom why does AMXX use 7 slots by default instead of 5 slots then? 🤔
Because there's no reason for such a limitation when the menus are already very limited. The amount of people who haven't bound these keys is inconsiderably small. You can easily tell them how to do it rather than making the menu have less options.
Because there's no reason for such a limitation when the menus are already very limited.
That can be optionally reduced for HL specifically, but it would be a breaking change though.
if you want to fix in amxx why not check buttons pressed and send an client command?
like client_cmd(id,"slot9");
??
@SmileYzn - you can't check for buttons pressed.
Can't vote for map extending
!Nextmap Chooser default client slots
Help us help you
Environment
Linux Debian 10.4 Buster
Half-Life/70
1.8.2
Description & steps to Reproduce
By default in the latest steam Half-Life client (
build 8308
), only 5 slots are defined, previous builds had same configs.By default AMX Mod X (version
1.8.2
) Nextmap Chooser uses 7 slots, so a player can't vote for map extending.There is a fix for this problem:
but it should work fine by default!