nothing has changed with the-usercon command.
I tried it myself, it looks like this:
Code:
@echo off
cls
echo Protecting srcds from crashes...
title srcds
:srcds
echo (%time%) srcds started.
start /wait /high srcds.exe -console -game tf -tickrate 66 -secure +maxplayers 24 -port 27021 +map cp_process_final +sv_lan 0 -autoupdate -usercon +net_public_adr 109.73.97.145 +ip 192.168.1.166
echo (%time%) WARNING: srcds closed or crashed, restarting....
goto srcds
The problem was solved, reinstalled the server, all the files are the same, but again encountered a problem with the rcon malfunction.
In the console I saw this:
Unknown command "net_public_adr"
Withdrew it, and remained so:
Code:
@echo off
cls
echo Protecting srcds from crashes...
title srcds
:srcds
echo (%time%) srcds started.
start /wait /high srcds.exe -console -game tf -tickrate 66 -secure +maxplayers 24 -port 27021 +map cp_process_final +sv_lan 0 -autoupdate -usercon +ip 192.168.1.166
echo (%time%) WARNING: srcds closed or crashed, restarting....
goto srcds
The situation is such that I can't log in to the server with these settings, but I know for sure that the rcon will work.
If I remove +ip 192.168.1.166, I will be able to go to the server but the rcon will not work, and if I leave it I will not be able to go but the rcon will work. :/