20.01.2013, 14:21
In the second problem this is what happens.
1) I place OnQueryFinish in my filterscript and compile it with no errors.
2) I go to server.cfg adding the filterscript in.
3) I start the server and I go in-game.
4) The first thing that I'm supposed to see is a login dialog from my gamemode but it doesn't.
5) I tab out to find out that my server is not on anymore, thus crashed.
When I remove the callback OnQueryFinish from my filterscript, the whole things loads properly as it should. It also works when I go in-game without loading in the filterscript first and then call the filterscript by using /rcon loadfs filterscript
1) I place OnQueryFinish in my filterscript and compile it with no errors.
2) I go to server.cfg adding the filterscript in.
3) I start the server and I go in-game.
4) The first thing that I'm supposed to see is a login dialog from my gamemode but it doesn't.
5) I tab out to find out that my server is not on anymore, thus crashed.
When I remove the callback OnQueryFinish from my filterscript, the whole things loads properly as it should. It also works when I go in-game without loading in the filterscript first and then call the filterscript by using /rcon loadfs filterscript