Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can sum1 make me an ip reset script plz???
#5
Aight ill see if I can find another.

Heres one more advanced

Code:
HotKeySet("{end}", "ExitBot")
Func ExitBot()
For $i = 1 to 3
KillProcesses()
Next
Exit
EndFunc

LogIp("==========================")
$StartIp = GetIp()
LogIp("Actual IP = " & $StartIp)
run("C:\program files\internet explorer\IEXPLORE.EXE http://192.168.1.1/adslok.cgi?enblInternet=1", "C:\program files\internet explorer")
WinWait("Connect to 192.168.1.1", "", 10)
ControlClick ("Connect to 192.168.1.1", "", 1)
Sleep (90000)
KillProcesses()
Exit



Func GetIp()
Do
SplashTextOn ( "", "... WAITING FOR NEW IP ...", 300, 20, 60, 20, 1, "" , "" , "" )
$GotIp = URLDownloadToFile("http://checkip.dyndns.org/", "temp")
until $GotIp = 1
$IpFile = FileOpen ("temp",0)
$Ip = FileReadLine ($IpFile, 1)
$Ip = StringReplace ($Ip, "<html><head><title>Current IP Check</title></head><body>Current IP Address: ", "")
$Ip = StringReplace ($Ip, "</body></html>", "")
SplashTextOn ( "", "CURRENT IP : " & $Ip & " ", 300, 20, 60, 20, 1, "" , "" , "" )
FileClose ($IpFile)
FileDelete ("temp")
Return $Ip
EndFunc

Func KillProcesses()
For $i = 1 to 3
ProcessClose("iexplore.exe")
Next
EndFunc

Func LogIp($String)
$LogFile = FileOpen (@SCRIPTDIR & "\LogIp.txt", 1)
FileWriteLine ($LogFile, @MON & "/" & @MDAY & " " & @HOUR & ":" & @MIN & ":" & @SEC & "> " & $String)
FileClose ($LogFile)
EndFunc
[Image: Snipz.png]
Reply


Messages In This Thread
can sum1 make me an ip reset script plz??? - by Snipz - 12-10-2005, 03:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [D2NT Release] Druid Script skidude 20 17,272 08-25-2012, 01:20 AM
Last Post: comper
  Etal Script for Hdin please? Joel Gonzalez 19 458 08-17-2012, 07:15 AM
Last Post: comper
  elite polearm script wishyq 2 138 08-17-2012, 06:50 AM
Last Post: comper
  help with script plz kaosme69 18 297 07-26-2012, 10:02 AM
Last Post: comper
  ISO : WW Assassin script ww/ls devonfym 3 164 07-21-2012, 02:56 AM
Last Post: comper
  Kolton script wakka help 48Inches 1 136 07-09-2012, 04:44 AM
Last Post: comper
  [D2NT Release] Amazon Jav/Bow Script v1.6 skidude 25 13,089 06-19-2012, 07:05 AM
Last Post: comper
  Skele Nec script? sly- 11 300 06-10-2012, 03:48 AM
Last Post: comper
  D2NT, Any d2nt bot working after the newest reset? I only get errors. PLS help! Sayonaraa 1 354 05-09-2012, 11:13 AM
Last Post: comper
  Complete Diablo 2 Unique Pickit script for D2Nt bot Jammer74 68 32,370 05-03-2012, 07:01 AM
Last Post: comper

Forum Jump:


Users browsing this thread: 1 Guest(s)