hi all,
i had a problem today which did cost me about 3 hours of senseless coding until i found out that the coding itself was not the problem. instead there was sth wrong about the way i started the game. well let me explain what i did specifically:
i normally installed vc and the source code. i opened cg_consolecmds.c and there i went to CG_InitConsoleCommands() to add another command in the end of that function. i added
trap_AddCommand ("testcmd");
i did compile (no errors) and went to test the code. the result of that snippet should have been a tab completion with no real function behind it, but as i started the game with
sv_pure 0
g_gametype 2
devmap radar
there was no effect to see. so i tried here and there and a stunning 3 hours went by when i was almost done, headache to its fullest, and then tried to start the game with the ‘host game’ menu. and suddenly the tab completion took effect.
can someone pls explain the inner meaning of this ? im happy that i finally made it, but what is this about ? i start the game via devmap and it is not working, i start the game via ‘host game’ and it works perfectly.
thanks for replies

