x
Please log in with password to access chatbox.
Index | Back | Reply | New Topic
IP Change Automation
Additional IP-precheck function | |
2008-12-03 14:56 | hellowien | edit 2009-03-06
This nice function can be added to any way of reconnecting. It gets actual IP, reconnects and compares the new IP with the last one. If they are identical, a new reconnection will be done ... This way you can max out your visits on utopia, increasing the chance to do a complete round after IP-change. If you get an IP already used the same day XML's and skipped cities will be visited. If you want to combine reconnect with FF-restart just delete the "::" in those lines with FF-commands. ::taskkill /f /im firefox.exe :AGAIN for /F "tokens=13,*" %%i in ('ipconfig^|find "IP-Ad"') do @set IP=%%j rasphone -h "connectionname" rasphone -d "connectionname" for /F "tokens=13,*" %%i in ('ipconfig^|find "IP-Ad"') do @set IPNEW=%%j if %IP% == %IPNEW% GOTO AGAIN ::start firefox.exe -url "http://utopia.lv/...." |
2008-12-03 17:37 | utopia.lv | Elegant and effective solution!
I thought that is possible only on Unix systems and not in native Windows environment. |