Code: Select all
if ( !Q_stricmp(arg, "none") || !Q_stricmp(arg, "same") || !Q_stricmp(arg, ";") ) return; // Daggolin: 1.02 clients send those and trigger team-changes...
Yeah that's what I thought too. Maybe the autojoin fix was a side effect of that ^-^.Boothand wrote:I thought the removal of the forcechanged command was a workaround to prevent the old forcechanged crash
Thx, but I wanted to stay vanilla basejkDaggolin wrote:As far as I know the problem is that clicking in the 1.02 menu sends "forcechanged none" to server and forcechanged with a parameter triggers a team-change on the serverside. The way I solved it on [DARK] was by adding the following line to the server's mod in "void Cmd_ForceChanged_f( gentity_t *ent )" (g_cmds.c), right before the team change:I hope this help you.Code: Select all
if ( !Q_stricmp(arg, "none") || !Q_stricmp(arg, "same") || !Q_stricmp(arg, ";") ) return; // Daggolin: 1.02 clients send those and trigger team-changes...
jozuf wrote:Thx, but I wanted to stay vanilla basejkDaggolin wrote:As far as I know the problem is that clicking in the 1.02 menu sends "forcechanged none" to server and forcechanged with a parameter triggers a team-change on the serverside. The way I solved it on [DARK] was by adding the following line to the server's mod in "void Cmd_ForceChanged_f( gentity_t *ent )" (g_cmds.c), right before the team change:I hope this help you.Code: Select all
if ( !Q_stricmp(arg, "none") || !Q_stricmp(arg, "same") || !Q_stricmp(arg, ";") ) return; // Daggolin: 1.02 clients send those and trigger team-changes...
Vanilla isn't exactly what I would call a modifed jk2mpgame.qvm in a pk3. :mrgreen:Daggolin wrote://Edit: As Boothand just mentioned the forcechanged command getting removed, patching that out of the game is probably what the pk3 you mentioned did (probably containing a patched jk2mpgame.qvm).
Hoped for a quickfix. 2 lazy to compileouned wrote:why?
The pk3 probably contained a HEX-edited qvm.jozuf wrote:Hoped for a quickfix. 2 lazy to compileouned wrote:why?
Yes you're right, but I need that qvm compiler for Linux first. MehDaggolin wrote:The pk3 probably contained a HEX-edited qvm.jozuf wrote:Hoped for a quickfix. 2 lazy to compileouned wrote:why?
Anyway, compiling a fix should only take you 5 minutes with the above codepiece. Faster than replying here.
https://github.com/aufau/jk2sdk-gpl/tree/vanillajozuf wrote:Yes you're right, but I need that qvm compiler for Linux first. Meh