Another Queen Bot

Posts 115 of 38 · Page 1 of 3
Another Queen Bot
When I tried out Zaiakunokami's Sinbot yesterday, I noticed it was missing the Queen map and so that inspired me into making a new one
Just copy paste into a .au3 and compile the script/edit the sleep time.
Im still a noob at Autoit so... its only supports 1366x768 sorry.
If you need help getting the mouse coordinates refer to my post old post
http://www.mpgh.net/forum/437-vindic...positions.html
or get it some other way that I don't know of.
BTW THIS USES PIES BIND NOT SINBOT NOT THE LAPTOP VERSION

BEFORE ANYONE SAYS ANYTHING
I hand wrote this bot with my noob skills I only remember taking the HOTKEYS (F9/F10 Start/Pause) from some guys bots because I did not know how to set my own I am still a beginner at this AutoIt botting.
Code:
Global $Pause
HotKeySet("{F10}", "Pause")
HotKeySet("{F9}", "Play")

While 1
WinWaitActive("Vindictus","")
WEnd

Func Play()
While 1
Sleep(500)
ControlClick("Vindictus", "", "", "left", 3, 102, 628) ; Start ; Clicks START to launch mission
Sleep(45000)
Send("{PAUSE}") ;Skip Cutscene
Sleep(100)
Send("{F5 2}") ;trans
Sleep(500)
Send("{numpadDiv}")  ; " / " for godmode
Sleep(500)
Send("{DEL}") ; heavy stander
Sleep(500)
Send("{numpadMULT}") ; " * " on numbpad for 1hitko
sleep(500)
ControLSend("Vindictus", "", "", "9") ;spears
Sleep(200)
ControLSend("Vindictus", "", "", "F") ;SPEARS
Sleep(500)
ControLSend("Vindictus", "", "", "F") ;INCASE
Send("{F 5}") ; EXTRA CAREFUL
Sleep(200)
Sleep(65000) ; This is the time it takes until the Mission Successful menu shows up. NOTE: ITS 70 INCASE OF SPIKES LIKE WDF?
ControlClick("Vindictus", "", "", "left", 3, 271, 711) ; Replay
Sleep(1000)
ControlClick("Vindictus", "", "", "left", 3, 89, 612) ; Replay incase of lag
Sleep(18000)
WEnd
EndFunc

Func Pause()
$Pause = NOT $Pause
While $Pause
sleep(100)
ToolTip('Script is PAUSED, press F10 to UNPAUSE',0,0)
WEnd
ToolTip("")
EndFunc
You cant heavy stander for karok lann or evie.
and have you tested this btw, looks kind of sloppy
Not to sound like a troll*
Dracconus's bot could do that and it supported many resolutions O_o. What's the point of this? (don't wanna sound bad just asking)
...
This IS my bot, just cleverly recoded into control clicks, and 1 large wait time pre boss kill before it uses pie's binds, BUT, I didn't use pie's binds, so I'll let it slide :P
Also, Zaia's 2.4 is going to contain Weeping, and had you read and done what my signature says and used the search button you'd have known that
On another note...weeping (in collection with speed ups, and other things) takes about ten seconds to do...do you REALLY even NEED a bot for it?
Quote Originally Posted by Dracconus View Post
...
This IS my bot, just cleverly recoded into control clicks, and 1 large wait time pre boss kill before it uses pie's binds, BUT, I didn't use pie's binds, so I'll let it slide :P
Also, Zaia's 2.4 is going to contain Weeping, and had you read and done what my signature says and used the search button you'd have known that
On another note...weeping (in collection with speed ups, and other things) takes about ten seconds to do...do you REALLY even NEED a bot for it?
I hand wrote this with my noob skills with out even looking at your bot LOL

and Yes because I get lazy and it IS a quick dungeon anyways money farm!!!

I also only remember taking the hotkeys from someone like F9 and F10.
Quote Originally Posted by Dracconus View Post
...
This IS my bot, just cleverly recoded into control clicks, and 1 large wait time pre boss kill before it uses pie's binds, BUT, I didn't use pie's binds, so I'll let it slide :P
Also, Zaia's 2.4 is going to contain Weeping, and had you read and done what my signature says and used the search button you'd have known that
On another note...weeping (in collection with speed ups, and other things) takes about ten seconds to do...do you REALLY even NEED a bot for it?
i think only the donator version of SinBot 2.4 will have weeping queen.
Quote Originally Posted by Reks. View Post
i think only the donator version of SinBot 2.4 will have weeping queen.
Oh hey I was wondering if you could tell me how to make the script do a splash pop up like you do for your bots I was surprised when I ran one of your bots I really liked it and want to do one too >w<!

*LOL OPPS I GOT CONFUSED*
Quote Originally Posted by soi0 View Post
Oh hey I was wondering if you could tell me how to make the script do a splash pop up like you do for your bots I was surprised when I ran one of your bots I really liked it and want to do one too >w<!
my bots? im only a tester for zaiaku and sinbot 2.4 im learing how to code but he would be the one to ask.
Quote Originally Posted by Klymore View Post
Bug chunk o' stuff
I'm gonna +Rep you, just because that's a nice bit of advice you gave to the guy.

Quote Originally Posted by soi0 View Post
Oh hey I was wondering if you could tell me how to make the script do a splash pop up like you do for your bots I was surprised when I ran one of your bots I really liked it and want to do one too >w<!
The Splash image is actually rather simple.
Though you have to compile the program with the picture in place first, as you can't just add it after compiling.
Create a picture with your image named splash.jpg and put it in the same folder as your .au3 file.
Code:
FileInstall("splash.jpg", "splash.jpg")
SplashImageOn("", "splash.jpg", -Width here-, -Height here-, -X Coord here-, -Y Coord here-, 1)
Sleep(-However long you want it to last here-)
SplashOff()
Make sure to have this before any other actions.
Compile your program.
Voila. Splash image on launch
Quote Originally Posted by Zaiakunokami View Post
I'm gonna +Rep you, just because that's a nice bit of advice you gave to the guy.



The Splash image is actually rather simple.
Though you have to compile the program with the picture in place first, as you can't just add it after compiling.
Create a picture with your image named splash.jpg and put it in the same folder as your .au3 file.
Code:
FileInstall("splash.jpg", "splash.jpg")
SplashImageOn("", "splash.jpg", -Width here-, -Height here-, -X Coord here-, -Y Coord here-, 1)
Sleep(-However long you want it to last here-)
SplashOff()
Make sure to have this before any other actions.
Compile your program.
Voila. Splash image on launch
:'D
-never knew how to make that splash image either-
Thanks. :'D
Does the splash image work with .gif's too?
-will try after posting this-
At least he's 'trying' to contribute something... which is more than a lot of people(me included as you can see). But contributing something that's already available, and of much higher quality than this is fairly pointless. But if he posted this simply to get feedback then...
For starters it just doesn't work for me at all. ControlClicks don't work for me(maybe it's just me?), run as admin or not.
Changed them to normal MouseClicks, and it worked.

Things to changed/add:

Add a hotkey to close the script.

Might I suggest adding in a "cc_send_start_game_message" bind command after you start the boat to get through the boat faster.

Make the bot loop through the mission so you can afk and farm it. Whether you make it go infinitely until manually closed or a predefined amount of times via a GUI or just in the script if you're lazy.

The While loop in the Play function is fairly useless and pointless.

the while loop of idling around:
While 1
WinWaitActive("Vindictus","")
WEnd
Isn't very good. Might I suggest making the pause function be called first so that 1 button Starts/Pauses the script.
Or have a MsgBox() be made first so it'll just pause there until you click ok which then starts then script.

If you afk running this script, why not add in a tooltip to count how many run's have been completed? (like sinbot I think? or Exico. I can't remember. xD)


Can't remember if I had any other suggestions. ;o!... or what else... >_> good luck with improving your script~
I apologize if anything up there-^ is incorrect/bad advice. xD
Quote Originally Posted by Klymore View Post
At least he's 'trying' to contribute something... which is more than a lot of people(me included as you can see). But contributing something that's already available, and of much higher quality than this is fairly pointless. But if he posted this simply to get feedback then...
For starters it just doesn't work for me at all. ControlClicks don't work for me(maybe it's just me?), run as admin or not.
Changed them to normal MouseClicks, and it worked.

Things to changed/add:

Add a hotkey to close the script.

Might I suggest adding in a "cc_send_start_game_message" bind command after you start the boat to get through the boat faster.

Make the bot loop through the mission so you can afk and farm it. Whether you make it go infinitely until manually closed or a predefined amount of times via a GUI or just in the script if you're lazy.

The While loop in the Play function is fairly useless and pointless.

the while loop of idling around:
While 1
WinWaitActive("Vindictus","")
WEnd
Isn't very good. Might I suggest making the pause function be called first so that 1 button Starts/Pauses the script.
Or have a MsgBox() be made first so it'll just pause there until you click ok which then starts then script.

If you afk running this script, why not add in a tooltip to count how many run's have been completed? (like sinbot I think? or Exico. I can't remember. xD)


Can't remember if I had any other suggestions. ;o!... or what else... >_> good luck with improving your script~
I apologize if anything up there-^ is incorrect/bad advice. xD
So how should it be set up?

I don't like regular mouse clicks they don't work for me some times :S
for the msg box thing you mean like this?
____
MsgBox (1,"BOT","Click to Start")
Well what I did since the ControlSend/ControlClick's didn't work was just change them to normal Send/MouseClick commands.

Yes a MsgBox like that is what I was meaning.

The function to close the script on a hotkey is very simple
Code:
HotKeySet("{ESC}","Close")

Func Close()
	Exit
EndFunc
Use a console(or hfs edit?Honestly no clue if that works still. xD; -forgetful atm-) to bind something like
Code:
bind "u" "cc_send_start_game_message"
Adding a pause would be effective too(I miss worded myself originally) I keep adding in a Tooltip to my scripts everywhere. xD;
Code:
 Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("Unpaused",0,0)
EndFunc
The way I make sure Vindictus becomes the active window is with
Code:
If Not WinActive("Vinidctus") Then WinActivate("Vindictus")
If mouse clicks don't work properly you might not have defined mouse coordinates to be for the active window(default is the entire screen)
Code:
Opt("MouseCoordMode", 0)
Look at this(Search MouseCoordMode) for info on mouse coordinate mode.

From my experience it's better if you search the uses/functions of these things yourself as it will help you learn it all better. o:


-looks at long post of [code]'s- -.-;
Quote Originally Posted by Klymore View Post
Code:
bind "u" "cc_send_start_game_message"
I'm confused on what this is supposed to do for my script.

Is it supposed to skip the whole character waving hi at you?
Yep I just figured it out.

@Zaiakunokami

Is pixel search more efficient then just the mouse click coordinates?
I have no idea how to use it >o<.
Yea it skips the waving scene on the boat shortening the wait time considerably. Supposedly it also removes you from appearing on the leader board ranks, but... not sure if it really works(I've never appeared on leader board rankings so no clue if it really does work.)
Posts 115 of 38 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?