Disconnection problems; Need help with Auto-reconnect script. menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Niyat's Avatar Member
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    5
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Disconnection problems; Need help with Auto-reconnect script.

    Hello guys,

    Since I wanna train my fishing/strenght etc but keep getting disconnected im trying to make a auto-reconnect script but already running into problems...

    Using AutoIt here's my script:

    Logon()

    Func Logon()

    ; Retrieve the following file. This can be found in the include folder which is in the installation path of AutoIt.
    Local $sWow64 = ""
    If @AutoItX64 Then $sWow64 = "\Wow6432Node"
    Local $sFile = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE" & $sWow64 & "\AutoIt v3\AutoIt", "InstallDir") & "\include\Black Desert Online"

    ; Execute the launcher shortcut
    Local $iPID = ShellExecute($sFile)

    If WinExists("Black Desert Online Launcher") Then
    $hWnd = WinGetHandle("Black Desert Online Launcher")
    Sleep(10000)

    Send("TestTest");Enter password
    Sleep(2000)

    MouseMove(1158, 647, 10); Muis naar Login
    Sleep(1000)

    ControlClick($hWnd, "", "", $MOUSE_CLICK_LEFT, 1, 1158, 647); Klik Login
    Sleep(1000)
    ControlClick($hWnd, "", "", $MOUSE_CLICK_RIGHT, 1, 1158, 647); Klik Login
    Sleep(1000)
    ControlClick($hWnd, "", "", $MOUSE_CLICK_LEFT, 1, 1158, 647); Klik Login
    Sleep(1000)



    EndIf

    EndFunc


    The launchers opens fine but its not sending the password and mouse clicks are working randomly... Anyone can help me with this?

    Thanks alot!
    Last edited by Niyat; 03-04-2016 at 09:18 AM.

    Disconnection problems; Need help with Auto-reconnect script.
  2. #2
    AutoScript's Avatar Corporal CoreCoins Purchaser
    Reputation
    23
    Join Date
    Oct 2014
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should activate the login window first then send PW and use ControlClick it is more reliable then the Send or MouseClick.

    Best
    ESB
    Last edited by AutoScript; 06-16-2016 at 06:30 PM.

Similar Threads

  1. [Mangos] need help with this web script
    By eric125 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-20-2010, 10:56 PM
  2. Replies: 0
    Last Post: 06-18-2010, 04:35 AM
  3. Need help with threat mob scripting
    By yashirotcm in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 07-31-2009, 02:05 PM
  4. Need help with an LUA script.
    By Ryoken in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 06-21-2009, 09:30 PM
  5. Need help with a PHP Script
    By Fireking300 in forum Programming
    Replies: 2
    Last Post: 06-13-2009, 02:27 PM
All times are GMT -5. The time now is 09:58 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search