I changed my join battle co'ords to
$coord = PixelSearch(450, 150, 800, 230, 0xE01308, 100) ;searches for color of join battleground button within 100 variations
(like the old version) And it works fine now!![]()
I changed my join battle co'ords to
$coord = PixelSearch(450, 150, 800, 230, 0xE01308, 100) ;searches for color of join battleground button within 100 variations
(like the old version) And it works fine now!![]()
Hey ! This bot is working like a charm for me ! Thanks a lot !
One question I had :
I'm trying to do my own path (to get out of the cave), and I guess there is an easier way to do then manually typing in every line of code.
So I was looking for a script maker, and the ones I found, can't record Sleep() between keystrokes.
Any way to get around that ?
Thanks in advance.
@paladinlord, just figure out how long your delays are (say 3 seconds) and that translates to 3000 sleep, it's measured in miliseconds.
Also, I updated the OP with Xsty's coords, hope that works for everyone.
Last edited by =Z=; 10-10-2009 at 09:51 PM.
Great job on this!
I play at 1360x1024 in window mode so i had to adjust the co-ordinates to get it working for join/leave. If anyone uses the same resolution you can try updating with the following:
Join;
Leave;Code:$coord = PixelSearch(667, 201, 837, 228, 0xE01308, 100) ;searches for color of join battleground button within 100 variations
Code:$coord = PixelSearch(767, 700, 978, 726, 0x670000, 10) ;searches for color of leave battleground button within 10 variations
why not just have it use the frostwolf insigmia instead of trying to walk out of the cave where there's plenty of room for error?
Yeah, I was just hoping there's an easier way, because if you figure it out like that, it's gonna take forever, and it is pretty inaccurate, however, I think I'm gonna write an application for it, if I'm right, it shouldn't be much of a challange (then again I'm not that great of a programmer)
Btw : great work on the bot, Z, I couldn't rep you yesterday, but gratz today on your 3+Rep
Problem I had with this is that it can't tell whether the BG has popped up yet, seems to assume the queue's instant.
It's not that the bot assumes the Queue's are instant, it's that it scans for red in a perticular area of your screen (where the queue pops) and when it see's red it tries to click it (join the battle).
On the first page there's a guide with screen shots on how to set your box up to make sure it clicks correctly for you. You click just above the button on the left side first, then just below the right side of the button second and change the co-ordinates to suit your resolution. Once that is set up for the join button, you play a BG of any kind and when the final screen appears you do the same thing for the leave battle ground button.
Save your script (or compile to .exe) and you have your own customized battleground bot! Just remember that most things in horde city's are red so if you queue next to something red it might try and click it and assume your in the BG and start the bot. I go into corners in Dalaran most of the time since the walls are white. Works very well for me.
still one thing I think would ice the cake;
A function that queues every X minutes (preferably 4 or 5), regardless of any other circumstances. From what I understand, if the join battle button appears, no matter what stage of the script is being executed at that time, the battleground will be joined and the script will start over from the "joining battleground" point. This means it can't possibly hurt to over queue, but there may be a need to also include a jump every 2 or 3 minutes function, regardless of other circumstances as well, in case you somehow end up "waiting for join battle button" inside the bg.
everything goes fine until the battleground is over, it never detects it and thinks it just goes on and on. any suggestions for this?
Can anyone help me with putting in one more thing for the AV nav code? I want it to press 7 twice, so i tried send ("{7 down}") and than up as well as ("{seven down"}) with sleep (1000) like everytime.
i'm horrible at this.
nvm I fixed it, I told it to press g instead of 7.
Last edited by murlocmangina; 10-12-2009 at 06:31 PM.
Z i love your bot been using it it for about a week now. the only problem i found was with the join battle button and selecting the right colour. it would sometime click somewhere else and think it was in a battle ground. i found a addon that helped me with this problem and may be able to help others
eePanels2. with this addon i made a big not transperant box on top half of my screen and set it to black this allow you to always find the right colour
i cant make a link to a screen shot because this is my first post![]()
If it's finding other things on your screen than you need to find somewhere where that won't happen, as mentioned above Dalaran walls are a good place, or somewhere dark and black.