Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUG: 5.3.1: Bot hang/ blank windows
#66
(01-07-2015, 07:17 PM)AtoZ Wrote:  @dinobot
Like these?
Restarter Bot
Code:
#RequireAdmin
#include <MsgBoxConstants.au3>

Global $Title="COC Bot Pre-Alpha v5.4"
Global $BotFile=@ScriptDir&"\COC Bot v5.4.exe"

WinKill($Title)
Sleep(2000)
ShellExecute($BotFile)
WinWaitActive($Title,"",10)
WinActivate($Title)
Sleep(3500)
ControlFocus($Title,"Start", "[CLASS:Button; INSTANCE:2]")
ControlClick($Title,"Start", "[CLASS:Button; INSTANCE:2]")
Sleep(500)
WinMove("COC Bot Pre-Alpha v5.3","",900,100)
Sleep(500)
ControlFocus($Title,"Ok", "[CLASS:Button; INSTANCE:1]")
ControlClick($Title,"Ok", "[CLASS:Button; INSTANCE:1]")

Function in apha bot
Code:
Func RestartBot()
  Local $BotTitle=""
  Local $BotFile= @ScriptDir&"\COC BOT v5 Restarter.au3" ;put filename here
     SetLog("RestartBOT: BOT RESTARTING NOW..")
 ShellExecute($BotFile)
 Sleep(1000)
 ControlFocus($BotTitle,"Ok", "[CLASS:Button; INSTANCE:1]")
 ControlClick($BotTitle,"Ok", "[CLASS:Button; INSTANCE:1]")
EndFunc
where i have to put these 2 codes exactly?
or,give us the edited bot so we can test it,thank you
Reply
 


Messages In This Thread
BUG: 5.3.1: Bot hang/ blank windows - by dinobot - 01-05-2015, 05:04 AM
RE: Bot hang/ blank windows - by GkevinOD - 01-05-2015, 05:05 AM
RE: Bot hang/ blank windows - by Cocsi - 01-05-2015, 05:16 AM
RE: Bot hang/ blank windows - by GkevinOD - 01-05-2015, 05:22 AM
RE: Bot hang/ blank windows - by dinobot - 01-05-2015, 05:28 AM
RE: Bot hang/ blank windows - by pinay26 - 01-05-2015, 05:30 AM
RE: Bot hang/ blank windows - by dinobot - 01-05-2015, 05:34 AM
RE: Bot hang/ blank windows - by Cocsi - 01-05-2015, 05:49 AM
RE: Bot hang/ blank windows - by GkevinOD - 01-05-2015, 06:08 AM
RE: Bot hang/ blank windows - by Cocsi - 01-05-2015, 06:50 AM
RE: Bot hang/ blank windows - by Antidote - 01-05-2015, 01:19 PM
RE: Bot hang/ blank windows - by saxmydix - 01-05-2015, 05:48 PM
RE: Bot hang/ blank windows - by dinobot - 01-05-2015, 05:52 PM
RE: BUG: 5.3.1: Bot hang/ blank windows - by Kaz - 01-05-2015, 11:48 PM
RE: BUG: 5.3.1: Bot hang/ blank windows - by Kaz - 01-06-2015, 12:19 AM
RE: BUG: 5.3.1: Bot hang/ blank windows - by Kaz - 01-06-2015, 01:43 AM
RE: BUG: 5.3.1: Bot hang/ blank windows - by Kaz - 01-07-2015, 03:57 AM
RE: BUG: 5.3.1: Bot hang/ blank windows - by AtoZ - 01-07-2015, 11:20 AM
RE: BUG: 5.3.1: Bot hang/ blank windows - by AtoZ - 01-07-2015, 03:12 PM
RE: BUG: 5.3.1: Bot hang/ blank windows - by AtoZ - 01-07-2015, 05:57 PM
RE: BUG: 5.3.1: Bot hang/ blank windows - by AtoZ - 01-07-2015, 07:17 PM
RE: BUG: 5.3.1: Bot hang/ blank windows - by yuji - 01-08-2015, 02:02 AM
RE: BUG: 5.3.1: Bot hang/ blank windows - by mikypark - 01-08-2015, 04:48 AM
RE: BUG: 5.3.1: Bot hang/ blank windows - by AtoZ - 01-09-2015, 02:19 PM

Forum Jump:


Users browsing this thread: 27 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website