Jump to content

Roman9

Active Members
  • Posts

    66
  • Joined

  • Last visited

Roman9's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Ran this on windows 7 and now my real taskbar is gone. brb rebooting
  2. Search the help files for FileOpenDialog The processing part you have to do alone, unless someone else did it on the forums
  3. My version saves the changes to a new file; in my example called poop.txt >.> But oMBRa's sample looks much better.
  4. Why do you do: TCPCloseSocket($socket) TCPSend($socket, 'QUIT' & @CRLF) TCPCloseSocket($socket) ?
  5. This is as far as I've gotten. Hope this is a good approach and gets your started. $read = "test.txt" $write = FileOpen("poop.txt",2) $sData = FileRead($read) ; Check if file opened for reading OK If ($sData == -1 or $write == -1) Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf $sData = StringStripCR(StringStripWS($sData, 3)) $aData = StringSplit($sData, @LF) ;It's the array of our data to check ; Read in lines of text until the EOF is reached for $i=1 to $aData[0] If $aData[$i] == "" Then ContinueLoop $line = FileReadLine($read, $i) MsgBox(266144, "1", $line) If @error = -1 Then ExitLoop $fixedLine1 = StringReplace($line, ",", " ") $fixedLine2 = StringReplace($fixedLine1, '"', "") FileWriteLine($write, $fixedLine2) Next
  6. Sorry Valik. I won't post it again. :/
  7. Here's how I would do it (so it's always /100) Func _PROGRESS_($a) Local $Progress_GUI = GUICreate('CONNECTING...' & $a, 300, 100, -1, -1, -2138570616) GUISetBkColor(0x0, $Progress_GUI) Local $Progress = GUICtrlCreateProgress( 0, 0, 300, 50) ; GUICtrlSetLimit( $Progress, $a) ; doesn't seem to work here Local $Connecting = GUICtrlCreateLabel('CONNECTING...', 0, 70, 300, 30, $SS_CENTER) GUICtrlSetFont(-1, 10, '', '', 'Fixedsys') GUICtrlSetColor(-1, 0xFFFFA2) WinSetOnTop($Progress_GUI, '', 1) GUISetState() Local $Step = 100/$a, $data For $i = 0 To $a Step $Step GUICtrlSetData ($Progress , $i) Sleep (50) $data = Int($i * $Step) GUICtrlSetData ($Connecting, 'CONNECTING...' & $data & '/' & 100) Next GUIDelete($Progress_GUI) EndFunc
  8. I wrote this proxy list checker to make my life easier when finding proxies to use. However, due to some instability in TCPtimeout (or TCPconnect? who knows), I've decided to drop this project. What this does: -Read a proxy list text file (.txt) -Display it in a neat GUI -Loop through it and delete duplicate + proxies that no longer work -Save results to another text file What's missing: -Actually deleting duplicate and invalid entries. This finds them but doesn't delete them from the listview. -Saving the results. Here's what I had. The smart array logic was thought up by MrCreator (thanks). It's still setup for debugging but I'm pretty sure it compiles right away. <Removed>
  9. Upgrading won't destroy your scripts... They just add new features for the most part; in this case, it seems they fix your crashing issue.
  10. Your error was the single quote ' around the word left. You needed a " MouseClick("left",431,597)
  11. Bump. Has this TCPtimeout issue been fixed? If not it should be imo. I desperately need it for a proxy list checker I'm witting. When a single processed application spends more than 8seconds on a single proxy out of 1000, that is no good.
  12. If you tested you would see that it's wrong :/ From the Help Files Your code should be if $width = 1920 And $height = 1080 Then $coord = PixelSearch( 640, 220, 640+320, 220+320, 0xA54659 ) EndIf Calculate the +s.
  13. Does a MouseMove(20,20,100) MouseClick("left", 20, 20, 1, 20) work?
  14. Try Send("^l") Hint: Found in the help file by searching "send"
  15. I don't play the game, but search the forum for some scripts on how to read your system's time then modify it slightly to execute a simple mousemove/mouseclick function that feeds your pet every hour, on the hour.
×
×
  • Create New...