I Totally agree, 15 seems to be the max you can add (ANOTHER LIMIT) without having further issues.But the standard JKASDK only has 9 slots,maybe you already added some slots in the OpenJK SDK.Im talking about singleplayer here not multiplayer, as multiplayer already has 14 or 15 slots that are usable. I had to add new slots in cl_input.cpp / ui_shared and of course q_shared.h in my code as it only had 8 usable slots.
void CL_InitInput( void )
Cmd_AddCommand ("+button9", IN_Button9Down);//kick
Cmd_AddCommand ("-button9", IN_Button9Up);
Cmd_AddCommand ("+button10", IN_Button10Down);//block
Cmd_AddCommand ("-button10", IN_Button10Up);
Cmd_AddCommand ("+button11", IN_Button11Down);//dodge
Cmd_AddCommand ("-button11", IN_Button11Up);
Cmd_AddCommand ("+button12", IN_Button12Down);//free
Cmd_AddCommand ("-button12", IN_Button12Up);
Cmd_AddCommand ("+button13", IN_Button13Down);//free
Cmd_AddCommand ("-button13", IN_Button13Up);
Cmd_AddCommand ("+button14", IN_Button14Down);//free
Cmd_AddCommand ("-button14", IN_Button14Up);
static bind_t g_bindings[] =
{"+button9", -1, -1, -1, -1},
{"+button10", -1, -1, -1, -1},
{"+button11", -1, -1, -1, -1},
{"+button12", -1, -1, -1, -1},
{"+button13", -1, -1, -1, -1},
{"+button14", -1, -1, -1, -1},
{"+button15", -1, -1, -1, -1},
//New EoC serenitysabersystem buttons
#define BUTTON_KICK 512 //+button9 KICK
#define BUTTON_BLOCK 1024 //+button10 BLOCK
#define BUTTON_DODGE 2048 //+button11 DODGE
#define BUTTON_BUTTON12 4096 //+button12
#define BUTTON_BUTTON13 8192 //+button13
#define BUTTON_BUTTON14 16384 //+button14
CL_CmdButtons( usercmd_t *cmd )
for (i = 0 ; i < 16 ; i++)
{
if ( in_buttons[i].active || in_buttons[i].wasPressed )
{
cmd->buttons |= 1 << i;
}
in_buttons[i].wasPressed = qfalse;
}
If you guys have already addressed this issue then please ignore my suggestion. Thanks for the reply eezstreet.