Test something like this:
Now on !test you run these commands on your server:PHP Code:
/say !test;name test;wait 5;reconnect
And on connect you also add a few cvars.PHP Code:
self setClientCvar("com_maxfps", 125); // just an example
self setClientCvar("cl_allowdownload", 1); // a few cvars to fill your user commands
Edit: you can post crash's segmentation fault error? It should be the last line when you run 'dmesg'. Then i might be able to backtrace the error.