Since some folks have expressed interest in trying this bot for themselves, I decided to share the source code and binary π
It’s not perfect, but you can tweak the source code (for example, changing how long rp_thread::sleep() is called, and where), and probably get some better performance. If you’re up for a challenge, you can also try to improve the code that decides on the next move! (if you do, it’d be great if you shared the changes!).
Anyway, here is the zip file. [ autoblitz-export.zip ]
The binaries are in the export directory. You will be asked for a “hWnd” (window handle), which can be found using the program “Spyxx” which comes with visual studio.
Thank you very much!
LikeLike
Thx really appreciated
LikeLike
How do i get this to work, what programmes do i need
LikeLike
You’re the man – much appreciated!
LikeLike
If you get errors trying to run the binary, you might need to install “Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)” — a google search brings up the download page from Microsoft.
LikeLike
sorry to be a pain, but wot do u do once u have clicked on ur link above,
LikeLike
what do we do with the zip files?
LikeLike
how do i get the program going on facebook???
LikeLike
for those who’re confused with Spyxx, you may use NewSpy instead. π
LikeLike
Where can i download NewSpy?
LikeLike
works a treat and have beaten all my friends already
LikeLike
can someone send me a compiled version of this please ?
LikeLike
What do I identify the Handle to attach to the bot? Anybody help?
LikeLike
Hello, managed to get it to attach. It shows all the correct colours of the grid on the app, but it doesn’t move the gems?
LikeLike
Mannn I think I got the wrong handle. So many handles… Lol…
LikeLike
The handle is Bejeweled Blitz under the Frame Tab of Bejeweled Blitz IE Window.
You must make some positioning of the grid to correct the allignment, but after getting the correct allignment the program doesn’t shift the gems for me π¦
LikeLike
I use firefox much better than IE i found the handle using winspector spy and it works no propblems after using the handle.
LikeLike
Works fine now thanks y’all!
LikeLike
i dont know what to do when it says hwnd.
care to explain to me ? π
LikeLike
hwnd is the windows handle created when you visit a certain site.
Ive loaded the handle and when i run the bot, nothing happens, am i missing something !!!!!
All those who run this, could you explain how
LikeLike
same here, when i load the handle nothing happens and program says : “cursor is inside window … waiting”
what am i doing wrong?
LikeLike
do you know what a cursor is, take the mouse off the window you retard
LikeLike
you have to move the mouse cursor out of the game window other wise it pauses the auto game playing feature.
LikeLike
oK FIGURED IT OUT, AWSOME, MANY THX
download a programme called winspector
Drag the curser over the facebook bejeweled window, and copy the windows handle into the autobot.
LikeLike
jeps, i use winspector too, loaded handle,
moved cursor out of game box,
but the porgram keeps flashing ” -current game board-”
and stones don’t move. I’m probably still doing something wrong.
Great job anyway!
LikeLike
works like a charm, thanks!
LikeLike
hi i have no idea how to get this blit download to work….i want to beat my mates at the game as im crap. can you help me set it in motion.
LikeLike
Verrrrry nice!!! Great work, thanks!
LikeLike
ok have the handle entered and also double checked it with winspector. its reading the jewels and i can see activity in the autoblitz, when i put the cusor in the game its saying cursor inside the window…….waiting. so i have taken the cursor out but nothing is happening.
what am i doing wrong???
LikeLike
In winspector, were it says “click and drag to select a window” and release it in winspector a tree will open, NOW YOU SHOULD SEE IN THE WINSWPECTOR WINDOW THE HIGHLITED PAGE CALLED MOZILLA WINDOW CLASS, OR WINDOWS EXPLORER CLASS, YOU MUST WRITE THE FIRST 8 DIGITS INTO THE HWND, THEN PRESS ENTER, DONT LEAVE YOUR CURSER IN THE MAIN BEJEWELED PAGE, YOU MUST MOVE THE CURSER OUTSIDE THE WINDOW FOR IT TO WORK
MINIMIZE THE BOT WINDOW AND ALSO THE WINSPWECTOR WINDOW……happy jeweling, any problems, i will post a screeny
LikeLike
wots the hwnd ? where do i type the digits??
LikeLike
please help me lol … i got winspecter on but dnt under stand what the autoblitz thing is??? :o/
LikeLike
sometimes it keeps getting stuck caustic !!!!! any suggestions
LikeLike
it should only get stuck once in a while. basically you can just leave it running and after the 1 minute times out, it starts the next game automatically. it would be nice to fix this bug, but i probably won’t get around to it for a while
LikeLike
Works fine but could be better, it gets stuck a lot here.I tweaked rp_thread::sleep() to go a bit faster.
But in most of the games it gets stuck on certain moves, and it needs a little help.
Anyway got a max score of 97,000 out of it, till now.
it doesn’t beat human, but it should π
Someone already tweaked this or changed some codes?
LikeLike
I had made some changes between when I got a 250k score and when I released the source code. I forgot what the changes were!… The fun is for you to tweak it and improve it π
LikeLike
you say that it should start the next game automatically. In my case i see the “play again” button flashing, but the bot doesn’t push it.
Maybe that’s also why he gets stuck so much in the game here, he sees the move but doesn’t make it sometimes.
Am i doing something wrong?
LikeLike
Allright i thought so :), i’ll try to find it myself.
Nice job anyway, thanks.
LikeLike
186k, getting closer!
LikeLike
I have got a 196k with no tweaks so far
LikeLike
if you could make the bot give priority to special stones an multiplyers, scores probably would go much higher than they do now.
LikeLike
I’m new to all this so how do you run this and get it working, i have downloaded ms visual cc+ 2008 and winspector but still am confused, any help would be appreciated, i am a complete novice.
LikeLike
It would be easy to prioritize the multipliers/specials, just the trick is how to detect them. The technique using now, where it averages the color, isn’t able to do it. Would need to expand this to be more clever.
LikeLike
249,900 !
Haha, thats with no tweaks . π
LikeLike
249k nice! almost 250 π (when you get 250k, it says that’s the highest award you can get). Maybe if you leave it running while you’re gone/asleep..
LikeLike
thats what i done yesterday.
i went to family’s house, and i came back with tht score, i dont know how to thank you.
LikeLike
I had this problem too, but now I use firefox and it works
– start firefox, goto the bejeweled game
– start autoblitz
– start the winspector
from winspector , drag the red crosshair target thing onto the bejeweled part of the webpage
In winspector you wil see a bunch of firefox-icons with numbers and text appear .
One of these has a grey background
Type that one’s number (eg 0012b4c1 ) in the autoblitz and press enter . The game will start π
LikeLike
please wud u help me i hav winspector on but dnt under stand i drag the red cross but what afta that email jennniewaugh@hotmail.co.uk please x
LikeLike
wot da fuk iz a window handle and how do i get it??
LikeLike
guys a lot of people seem to be having a similar problem so help us out π
handle is loaded and the bot says βcursor is inside window β¦ waitingβ so I move the cursor outside the window and now the bot keeps flashing ” – current game board – ” and stones donβt move.
what m i doing wrong?
LikeLike
pity it doesn’t treat the multiplier stones with priority
LikeLike
hi Krazy horse i have followed you tips and drap dropped etc… the number i type in was from mozillauiwindowclass 000204a0 then i click start on bejewelled and the it changes to
wwwwwwwwwwwwwwwb
bbbbbbbbbbbbbbbw
gggggggggggggggw
and so on this is on the current game board but nothing happens and the game comes to an end. i must be doing something wrong……does this app defo work on facebook bejewelled?
please help
LikeLike
hi, wot did u do as i have the same problem just get all the letters nothings happening
LikeLike
finally i have got it working, hahahah how cool is that. so far i have scored over 100,000
cheers for this.
LikeLike
Glad to see you got it working
My current high score is 241,700
Im working on changing a few things.
Ive noticed it goes for 3s and bypasses the “special stones” when theres clearly 4 or even 5, trying to change it so when that happens, it auto goes for the highest….
Will let you all know when i finished
Once again thx caustik
You da man
rESPECT
LikeLike
Petatje your a fukin star!!
Thank you so much!
Your the only person who knowz how to EXPLAIN!
My bot was kinda stupid in the first few games, I could have played much better than it! LOL
Thanks though! π π π π
LikeLike
why is the bot soo stupid? takes years to think and move the gems! and i only get like 3000 points
LikeLike
we programmers have a name for that, — user error, patnemsi
LikeLike
can I have a compiled version of this ? π
LikeLike