Is it to add to this script, python,
PHP Code:
import serverInfo
serverNum=`
serverChannel=1
addr_new = serverInfo.REGION_DICT[0][serverNum]['channel'][serverChannel]['ip']
port_new = serverInfo.REGION_DICT[0][serverNum]['channel'][serverChannel]['tcp_port']
account_addr_new = serverInfo.REGION_AUTH_SERVER_DICT[0][serverNum]['ip']
account_port_new = serverInfo.REGION_AUTH_SERVER_DICT[0][serverNum]['port']
addr=addr_new
port=port_new
id='aaaa'
pwd='aaaa'
account_addr=account_addr_new
account_port=account_port_new
slot=0
autoSelect=1
autoLogin=1
if so, it clicked twice to enter?Sorry for my bad english.
PS: will show a script on a script autoit:
PHP Code:
#include <ImageSearch.au3>
Global $x, $y
Global $begin = 0
HotKeySet("{END}", "koniec")
While 1
$kontuacja = _ImageSearch("1.png", 1, $x, $y, 20)
$test = _ImageSearch("3.png", 1, $x, $y, 20)
If $kontuacja = 1 Then
Send("{ENTER}")
Sleep(100)
Send("{ENTER}")
EndIf
If $test = 1 Then
If $begin <> 0 Then
$diff = TimerDiff($begin)
If $diff > 10 * 1000 Then
Send("{ENTER}")
Sleep(100)
Send("{ENTER}")
$begin = 0
EndIf
Else
$begin = TimerInit()
EndIf
EndIf
Sleep(100)
WEnd
Func koniec()
Exit
EndFunc






