Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Codex Sync Bot

  1. #21
    Junior Member
    Join Date
    Jan 2017
    Posts
    12
    Hey guys can someone help me a bit pls i want that bot to enter after Dishonorable is gone cause it doesnt enter again after its gone .. could someone help me a bit? greetings.
    I would pay ectos if you want

  2. #22
    Senior Member
    Join Date
    Feb 2016
    Posts
    167
    Quote Originally Posted by darkorbit1 View Post
    Hey guys can someone help me a bit pls i want that bot to enter after Dishonorable is gone cause it doesnt enter again after its gone .. could someone help me a bit? greetings.
    I would pay ectos if you want
    If you got Dishonored and it was not through DC then you probably got reported and should take a break anyway so as not to draw to much attention to yourself. If you want to accept the risks then try putting the following at the beginning of your loop:


    Code:
    Global Const $Dishonorable = 2546   ; <-------This Global Const should be placed at the top with the rest of your constants.
    
    
    If GetMapLoading() == 2 Then Disconnected()
    	While DllStructGetData(GetEffect($Dishonorable), 'SkillID') == $Dishonorable 
    		Out("Dishonorable Detected)
    		Out("Waiting on effect to Expire"		
    		Sleep(Random(60000, 900000, 1))  ;Random sleep 30-90 seconds and then check again
    	WEnd

  3. #23
    Junior Member
    Join Date
    Jan 2017
    Posts
    12
    Hi RiflemanX im still learning a bit and trying stuff but i think i put it somewhere wrong.
    I did put the Global Const at the top of the other constants.
    Btw. i think we can let out the Dishornorable isnt it enough to let the bot press Start every 30 Sec?

    While 1
    Global $Me = GetAgentByID(-2)
    AdlibRegister("TimeUpdater", 1000)
    Sleep(GetPing() + 100)
    If $BotRunning Then
    Sleep(2000)
    Disp("Adding Henchmen")
    AddHench()
    Enter()
    Main()
    EndIf
    WEnd

    If GetMapLoading() == 2 Then Disconnected()
    While DllStructGetData(GetEffect($Dishonorable), 'SkillID') == $Dishonorable
    Out("Waiting on effect to Expire"
    Sleep(Random(60000, 900000, 1)) ;Random sleep 30-90 seconds and then check again
    WEnd

    Func GuiButtonHandler()
    If $BotRunning Then
    GUICtrlSetData($Button, "Will pause after this run")
    GUICtrlSetState($Button, $GUI_DISABLE)
    $BotRunning = False
    ElseIf $BotInitialized Then
    GUICtrlSetData($Button, "Pause")
    $BotRunning = True

    Oh sorry i dont know where i can put this in a Code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •