Page 3 of 3 FirstFirst 123
Results 31 to 38 of 38
  1. #31
    soi0's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    16
    My Mood
    Amused
    Quote Originally Posted by Zaiakunokami View Post
    $a = MsgBox("blah","more blah")
    DEIf $a = 1 Then
    Run("blah.exe") ;(Or you could Call("blah") as well)
    Else
    Exit
    EndIf
    Thanks aside from that would you say this is acceptable?
    I +rep you just now
    I kinda got side tracked and worked with something else

    Code:
    FileInstall("splash.jpg", "splash.jpg")
    SplashImageOn("", "splash.jpg", 225, 315, 570, 212, 1)
    Sleep(5000)
    SplashOff()
    
    Global $Paused
    HotKeySet("{ESC}","Close")
    HotKeySet("{F1}","TogglePause")
    HotKeySet("{F2}", "Play")
    MsgBox (1,"BOT","Click to Start")
    $1 = MsgBox (4,"BOT","Are You Sure?")
    
    if $1 = 6 Then
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    Endif
    
    
    if $1 = 7 Then
    MsgBox (0,"BOT","Bye~")
    Exit
    Endif
    
    While 1
    WinWaitActive("Vindictus","")
    WEnd
    
    Func Play()
    While 1
    Sleep(500)
    ControlClick("Vindictus", "", "", "left", 3, 102, 628) ; Start ; Clicks START to launch mission
    MouseClick("Left",102,628,1)
    Sleep(500)
    Send("{\}") ;incase
    Sleep(500)
    Send("{\}") ;incase
    Sleep(16500)
    ControlSend("Vindictus", "", "", "{F5}") ;transform
    Sleep(300)
    ControLSend("Vindictus", "", "", "{,}") ;Godmode
    Sleep(200) ; just to be safe
    ControLSend("Vindictus", "", "", "{8}") ; GlowySpears
    Sleep(207)
    Send("{.}") ; 1hitko v1
    Sleep(4000)
    ControLSend("Vindictus", "", "", "{F}") ; this will get your sitcky bomb out ; in this case a spear
    Sleep(1500)
    ControlSend("Vindictus", "", "", "{E}") ; and throw
    Sleep(1000)
    ControlSend("Vindictus", "", "", "{F}") ;JUST IN CASE
    Sleep(1500)
    ControlSend("Vindictus", "", "", "{E}") ; and throw
    Sleep(1000)
    Sleep(75000) ; This is the time it takes until the Mission Successful menu shows up.
    ControlClick("Vindictus", "", "", "left", 3, 271, 711) ; Replay
    MouseClick("Left",271,711,1)
    Sleep(1000)
    ControlClick("Vindictus", "", "", "left", 3, 89, 612) ; Replay incase of lag
    Sleep(20000)
    WEnd
    EndFunc
    
    Func Close()
        Exit 0
    EndFunc
    
    Func TogglePause()
        $Paused = NOT $Paused
        While $Paused
            sleep(100)
            ToolTip('Script is "Paused"',0,0)
        WEnd
        ToolTip("Starting Bot")
    EndFunc
    
    Global $RunCounter
    $RunCounter=0
    While 1
     ToolTip("Counter is now " & $RunCounter,5,5)
     $RunCounter+=1
     Sleep(1000)
    WEnd
    My only problem right now is getting it to support you when or if you fail/lag seriously bad while trying to re-get on the boat.

    Ive been using this bot for a whole night.
    No screw ups yet ^^.

    Also @Klymore

    Thanks a lot I + rep you too.
    Last edited by soi0; 09-06-2011 at 10:01 AM.

  2. #32
    Zaiakunokami's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Behind your computer screen, nomming your bytes!
    Posts
    849
    Reputation
    13
    Thanks
    709
    My Mood
    Brooding
    Only thing that I would do is to re-write this part:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    
    if $1 = 6 Then
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    Endif
    
    
    if $1 = 7 Then
    MsgBox (0,"BOT","Bye~")
    Exit
    Endif
    Into this:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    If $1 = 6 Then
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    ElseIf $1 = 7 Then
    MsgBox (0,"BOT","Bye~")
    Exit
    Endif




    Important Information!
    Rules: #1 - #2 - #3
    Search Button - By Dracconus ---------------------- Useful Commands - By darkwar4ever
    Set-up Vindictus hacks - By crietenz ---------------- Tutorial for SinBotv2.3 - By badhomaks
    What commands do in town! - By Zaiakunokami ------ How to put default binds in SinBot - By Zaiakunokami

  3. #33
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Quote Originally Posted by Zaiakunokami View Post
    Only thing that I would do is to re-write this part:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    
    if $1 = 6 Then
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    Endif
    
    
    if $1 = 7 Then
    MsgBox (0,"BOT","Bye~")
    Exit
    Endif
    Into this:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    If $1 = 6 Then
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    ElseIf $1 = 7 Then
    MsgBox (0,"BOT","Bye~")
    Exit
    Endif
    Personally I would prefer doing like this since it's less code:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    If $1 = 7 Then
        MsgBox (0,"BOT","Bye~")
        Exit
    EndIf
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    And if you got rid of the msgbox saying bye, you could do:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    If $1 = 7 Then Exit
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    Personally I love using switch, I'm a switch addict and if-then hater so I would probably do:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    Switch $1
        case 6
            MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
        case 7
            MsgBox (0,"BOT","Bye~")
            exit
    EndSwitch
    PLAYING RIFT!

  4. The Following 2 Users Say Thank You to DanK For This Useful Post:

    soi0 (09-06-2011),Zaiakunokami (09-06-2011)

  5. #34
    Zaiakunokami's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Behind your computer screen, nomming your bytes!
    Posts
    849
    Reputation
    13
    Thanks
    709
    My Mood
    Brooding
    Quote Originally Posted by DanK View Post


    Personally I would prefer doing like this since it's less code:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    If $1 = 7 Then
        MsgBox (0,"BOT","Bye~")
        Exit
    EndIf
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    And if you got rid of the msgbox saying bye, you could do:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    If $1 = 7 Then Exit
    Endif ;<-- You forgot this?
    MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
    Personally I love using switch, I'm a switch addict and if-then hater so I would probably do:
    Code:
    $1 = MsgBox (4,"BOT","Are You Sure?")
    Switch $1
        case 6
            MsgBox (0,"BOT","Lets Do This! Press F2 and click back into Vindictus")
        case 7
            MsgBox (0,"BOT","Bye~")
            exit
    EndSwitch
    Way to overkill the code options. and I put a correction(?) in there for you.
    Though I agree the switch method is probably the best. I was just trying to re-write using what he gave me.
    Last edited by Zaiakunokami; 09-06-2011 at 05:48 PM.




    Important Information!
    Rules: #1 - #2 - #3
    Search Button - By Dracconus ---------------------- Useful Commands - By darkwar4ever
    Set-up Vindictus hacks - By crietenz ---------------- Tutorial for SinBotv2.3 - By badhomaks
    What commands do in town! - By Zaiakunokami ------ How to put default binds in SinBot - By Zaiakunokami

  6. The Following User Says Thank You to Zaiakunokami For This Useful Post:

    soi0 (09-06-2011)

  7. #35
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Quote Originally Posted by Zaiakunokami View Post
    Way to overkill the code options. and I put a correction(?) in there for you.
    Though I agree the switch method is probably the best. I was just trying to re-write using what he gave me.
    Nope you don't need an endif on an in-line if statement. The only drawback is you can only do one command with it.
    PLAYING RIFT!

  8. #36
    Poison's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    california
    Posts
    11,788
    Reputation
    854
    Thanks
    1,216
    Good job sir

  9. #37
    angrybuddha's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    4
    Quote Originally Posted by DanK View Post


    Nope you don't need an endif on an in-line if statement. The only drawback is you can only do one command with it.
    Yeah I was definitely wondering about that, I did it this way orinally since i'm used to coding in C but got syntax errors for my trouble and assumed Autoit required endif when it was sloppy coding on my part. Glad to know it actually works thx.

  10. #38
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Quote Originally Posted by angrybuddha View Post
    Yeah I was definitely wondering about that, I did it this way orinally since i'm used to coding in C but got syntax errors for my trouble and assumed Autoit required endif when it was sloppy coding on my part. Glad to know it actually works thx.
    Yeah C++ which I'm learning now definitely has tons more freedom on how you structure IF's/WHILES etc then say VB or autoit.. I'm loving it since I'm a bit OCD about how my code looks... Can make it so much prettier in C++..
    PLAYING RIFT!

Page 3 of 3 FirstFirst 123

Similar Threads

  1. [Detected] The Weeping Queen Bot
    By RevengeSpirit in forum Vindictus Hacks & Cheats
    Replies: 13
    Last Post: 07-04-2011, 01:39 PM
  2. [Release] ALTERNATE Queen Bot
    By soi0 in forum Vindictus Hacks & Cheats
    Replies: 25
    Last Post: 06-17-2011, 07:09 PM
  3. [Detected] [Bot] Weeping Queen [Pixel Control]
    By riceking in forum Vindictus Hacks & Cheats
    Replies: 11
    Last Post: 06-01-2011, 04:08 PM
  4. [Release] Weeping Queen 4 Different Resolutions (Macros/Bot)
    By thedoctor2010 in forum Vindictus Hacks & Cheats
    Replies: 18
    Last Post: 05-19-2011, 07:45 PM
  5. Should I work on another bot?
    By EpicPacMan in forum Combat Arms Discussions
    Replies: 12
    Last Post: 09-01-2010, 11:55 AM