This version writes statistics to database, but only few playeras are redirected and i have only few records in DB.
I set redirect_auto to 6, but still have only few redirects, i tried to connect to server myself with and without admin privileges, first time after map change it redirects, when i chage nick and try again, and it doesnt redirect.
When compiling plugin i also get folowing warning:
PHP Code:
xredirect-beta.sma(1756) : warning 204: symbol is assigned a value that is never used: "sQuery"
Here is debug from console, when im not get redirected:
PHP Code:
L 02/09/2011 - 09:54:40: "9evill<9021><STEAM_ID_x><>" connected, address "xxx:27005"
L 02/09/2011 - 09:54:41: [xredirect-beta.amxx] Auto-redirect check for <9evill> (30), auto-redirect: yes, automode: 6, local priority: no, admin: no, admin slots: yes, admins/max: 0/32, current players/bots/max: 29/28/32
L 02/09/2011 - 09:54:41: [xredirect-beta.amxx] Mod comparison: local protocol/mod: 48/"cstrike", remote protocol/mod: (server 0): 47/"cstrike"
L 02/09/2011 - 09:54:41: [xredirect-beta.amxx] Mod comparison: local protocol/mod: 48/"cstrike", remote protocol/mod: (server 1): 47/"cstrike"
L 02/09/2011 - 09:54:41: [xredirect-beta.amxx] Mod comparison: local protocol/mod: 48/"cstrike", remote protocol/mod: (server 2): 48/"cstrike"
L 02/09/2011 - 09:54:45: "9evill<9021><STEAM_ID_x><>" entered the game
L 02/09/2011 - 09:54:48: World triggered "Round_Start"
L 02/09/2011 - 09:54:48: "9evill<9021><STEAM_ID_x><>" disconnected