[Autoit] Webbrowser, help me :)

01/06/2016 20:43 badg33k#1
Hello, I open this topic because I want to develop a bot darkorbit but I have the same problem with the Dot Net webrowser when I start the game click on the IE opens me a new page, what to do?
Code:
#Region
#AutoIt3Wrapper_UseX64=n
#EndRegion
#include <GUIConstantsEx.au3>
#include <IE.au3>
#include <WindowsConstants.au3>

Local $oIE = _IECreateEmbedded()
$Form1 = GUICreate("Darkorbit test", 640, 580, 0 , 0 , $WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)
GUICtrlCreateObj($oIE, 0, 0, @DesktopWidth, @DesktopHeight)
;GUICtrlSetColor(-1, 0xff0000)

GUISetState(@SW_SHOW) ;Show GUI
_IENavigate($oIE, "http://darkorbit.fr",1)
$oIE.document.body.scroll = "no"

$server = InputBox("Darkorbit server","Enter server","")
_IENavigate($oIE,"http://" & $server &  ".darkorbit.bigpoint.com/indexInternal.fr?action=internalMapRevolution",1)
$oIE.document.body.scroll = "no"


While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
	EndSwitch
WEnd
01/09/2016 03:48 loop88#2
that is a copy and paste of my post : [Only registered and activated users can see links. Click Here To Register...]

if you do not understand the reason for the tab learns autoit

you have to wait between the hangar and then ok as where you put the server


if you still looking for some bot code autoit a look [Only registered and activated users can see links. Click Here To Register...]