Complete Facebook "Pets" Bot
LordGregGreg
2007-06-28 00:45:03
I though it would be cool to have a really high level facebook pets application (aplication) , so instead of playing legit, ofcourse, I made a bot to do it for me. Simply drag the cursor on you firefox window, make sure you have firefox set up exactly like me, and make sure all of you windows buttons are red :P then click go!.
If you really plan on using this, leave a message on this forum, and/or read the instructions
This was a PAIN to make, because I needed to be able to detect the level of boith themoneter i am fighting , and my current level, whithc mean there are 80 freaking bitmaps in there. plus
this ttook forever to do , at least it works.:)
Check it out if you want, worship me if you like, and ccalling me a fool wiht too much time is a must.
Old version did not work soo…
NEW VERSION 1.2
New Fixes…- I added in a few new methods
- Added in allot more failsafe.
- Redid its main method to allow it to fix pretty much any error it gets.
- Massive code reformat so It looks nice
- Added in some instructions!!!
- Made it only available through attachment
Old Fixes…
- Initial Release
Preview…
{=========================================================================]
[ SRL Gregs Buuny Leveler ]
[ ]
[ NAME : GregsBunnyMaker. ]
[ WRITER : Greg Hendrickson (lordgreggreg) ]
[ CATEGORY : Other Scripts (web-Facebook) ]
[ DESCRIPTION : Handles every aspect of the facebook Pets game ]
[ USAGE : With enough time, takes any pet to level 30 ]
[ FEATURES : 1.Can detect your level, and mosters level! ]
[ 2.Fights only ants 2 levels below you ]
[ 3.Death Protection ]
[ 4.Dynamic detection of page loading ]
[ NOTES : 1.Was made for person use, may be dificult or ]
[ impossible to run it on your computer ]
[ 2. This script is FREE, if you got it someplace ]
[ else, email me! go to srl-forums.com to get ]
[ CONTACT : lordgreggreg[at]gmail[dot][com] ]
[ ]
[ ]
[=========================================================================]
[ Thank you for using greg's Bunny Maker, no warunty is implied :/ ]
[=========================================================================]
[ Instructions. ]
[=========================================================================]
[ 1. Download the latest scar from [url]http://freddy1990.com/scar.php[/url] ]
[ 2. Open scar, go to [file]>[ Download includes] and let it complete ]
[ 3. Go to [file]>[Download SRL] and let it finish ]
[ 4. Open a new firefox window with just the facebook frame ]
[ (to get the frame, right click, "this frame", "open in new tab") ]
[ 5. Set your Screen to 32 bit TRUE color. ` ]
[ 6. Set screen resolution to 1280 by 800 pixels ]
[ 7. Drag targeting cursoe onto the Firefox Title bar! Not the web page ]
[ 8. Hit the play button! ]
[=========================================================================]
[ Trouble Shooting ]
[=========================================================================]
[ The nature of computer screens and web broswers is that they are very ]
[ Computer specific. My bitmaps and coordinants may NOT be the same as ]
[ yours. You may have to recreate the bitmaps, and (most likely) have ]
[ to redo all of the cordinants. ]
[ There are plenty of tutorials at srl-forums.com to help you with these]
[ tasks. For a little extra help, go to [tools]>[use code hints] to see]
[ what variables the methods need. ]
[ The srl wiki [[url]http://wiki.srl-forums.com/][/url] is a good place to go ]
[ I will help you with any intelegent question you have. Please read ]
[ this [[url]http://www.catb.org/~esr/faqs/smart-questions.html][/url] ]
[ before you ask me any. ]
[ ]
[ The odds are 98 out of 100 that this will NOT work for you untill you ]
[ personalize the code! If you are not up for this, then forget it :) ]
[ ]
[=========================================================================}
Very nice :) Only problem is when the window is deleted the cursor just hovers near the pet and does nothing :)
I've trie dot look thru the script but cant see anyhtign wrong..
Any ideas :)
ZephyrsFury
2007-07-04 08:49:19
Lol, I haven't run the script or anything but loading like 70 bitmaps at once must lag your computer heaps…
LordGregGreg
2007-07-04 11:41:03
Well, its actually not that bad for me. Stil loads in the milisecond range.
(You think loading 90 bitmaps is bad? try MAKING 90 bitmaps, lol, its the only way to do it to be able to detect the level.)
As for ideas about the cursor issue. Its probably one of two things, its lagging because it thinks the page is loading because it cant find the rigth bit map…
Or it could be a small bug that can be fixed by cliking (you pet name) in the top left. (you should only have to do that once)
Try printing me out what the debug box says, that way i can know more of where it is hapeneing.
You will need to edit all of the cordinants most likly, up or down 1-10 pixes depending on ure browser.
You will also need to change the "run" bitmap unless you have clasic windows look and feel set to dark red.
Good luck!
(ps, i have also made an auto poker, that can poke your pet form level 17 to lvl 18 in 30 minutes!
I have also made a script that automatically gets you into the petting grounds (after about a half hour, lol)
I have also made a new script that does some other more powerfull stuff…
3Garrett3
2007-07-04 11:49:30
Whats all this poking and stuff. Facebook doesnt have pets and levels does it? Unless im thinking of a different facebook, but i doubt there is 2 of them.
Gardeon
2007-07-04 14:59:40
when i press compile, it said failed to compile and when i press start it says failed to compile what do i do?
Hugolord
2007-07-04 15:07:22
er your a noob with too much time… lolz joke
omg Greg thats ALOT of bitmaps :S
Gardeon
2007-07-04 15:18:46
can u help me wit it?
lolpie
2007-07-04 16:09:32
What's this? I use facebook but since when have they had pets
LordGregGreg
2007-07-04 16:09:59
From: atm
Hi. I was actually planning on using this. I think it would be fun to just mess around with a Facebook Pet. :p
I know what SCAR is from my Runescape days, but I've never actually used it.
Whenever I start the script in my Firefox window, it just moves my mouse to the top left corner and then does nothing.
I'm starting it on my pets page.
If you need any other info, just ask. I really appreciate any help you're willing to give. :D
Thanks.
Ok, i need whats going on from my debug box so i know where in the script it is messing up.
You will denaitly need, no matter what, to change the cordiants. because I KNOW that my firefox doesnt lay out exactly like yours does.
I think i made my code pretty easy to read and all, so you should be able to read it and see where its messing up.
You may need to remake some bitmaps, go read a tutorial on how to do that.
Oh, and you defaintly will need to already have scar up and running, find a tut on how to do it. Or if you just want to listen, go to.
http://www.freddy1990.com/files/SCAR306setup.exeto get scar, install it, and run it. Then use it to download srl and the includes. Then my script will compikle.
And yeah, this bot took forever to make, but when it acctualy works flawlessly for over 3 nights in a row, its worth it :)
Also, this is for a n a[-pplication of facebook called "pets" where you can get a pet and level it up. Its not part of the main facebook, its a n addon, and so regualr people can only see your pet, not get one themselfs (unles they add the app)
Yeah, facebook apps and stuff was added prety recently.
lolpie
2007-07-04 16:11:01
That's actually kinda gay. It's like neopets + facebook
Can somebody briefly explain what "make sure all your windows buttons are red" means?
Thanks in advance. :D
LordGregGreg
2007-07-04 16:16:29
From: atm
Can somebody briefly explain what "make sure all your windows buttons are red" means?
Thanks in advance. :D
"make sure all your windows buttons are red"
yeah.. my windows enviroment is all red :) every button is red. So, my script looks for the run away button to check what screen it is at…
and unless you button looks like mine (red) it wont work. SO you probalby should read a quick bitmap tutorial, and make a bitmap of your own "run" button.
From: lordgreggreg
Ok, i need whats going on from my debug box so i know where in the script it is messing up.
You will denaitly need, no matter what, to change the cordiants. because I KNOW that my firefox doesnt lay out exactly like yours does.
I think i made my code pretty easy to read and all, so you should be able to read it and see where its messing up.
You may need to remake some bitmaps, go read a tutorial on how to do that.
Oh, and you defaintly will need to already have scar up and running, find a tut on how to do it. Or if you just want to listen, go to.
http://www.freddy1990.com/files/SCAR306setup.exe
to get scar, install it, and run it. Then use it to download srl and the includes. Then my script will compikle.
And yeah, this bot took forever to make, but when it acctualy works flawlessly for over 3 nights in a row, its worth it :)
Also, this is for a n a[-pplication of facebook called "pets" where you can get a pet and level it up. Its not part of the main facebook, its a n addon, and so regualr people can only see your pet, not get one themselfs (unles they add the app)
Yeah, facebook apps and stuff was added prety recently.
I downloaded Scar and SRL in an exe together. I have the script up and running too. I'm a little confused on what screen I should be on while I start this script as well. I have it on the home page for my pet, but I'm not sure if that's right.
If it's not too much work, could you just tell me what toolbars and such you have downloaded and up on Firefox, so I can just download them instead of redo the bitmaps?
Thanks a ton.
Sorry for the double post, but I forgot the messages SCAR was giving me.
It's telling me that variable MASK8, MASKL8, MASK9, MASKL9, MASK0, and MASKL0 from line 8 are never used in the script, as well as NEWLINE from line 174.
Other than that, it just tells me that it's successfully compiled and it runs, as far as I know.
LordGregGreg
2007-07-04 16:22:46
From: atm
I downloaded Scar and SRL in an exe together. I have the script up and running too. I'm a little confused on what screen I should be on while I start this script as well. I have it on the home page for my pet, but I'm not sure if that's right.
If it's not too much work, could you just tell me what toolbars and such you have downloaded and up on Firefox, so I can just download them instead of redo the bitmaps?
Thanks a ton.
Yeah.. good job on getting it going :)
You need to start it on the pets screen (outside of facebooK)
the pets app is runing inside facebook, in a frame.
So, in firefox, i think you can right clik–go to frame– and then go to open in new window
You dont have to thouhg, if you want, just read through the scriupt and change the cordinants around to fit your screen.
also, the toolbars wont affect the bitmaps, you screen resolution will.
the toolbars just affect the cordinants. and look, the only way its really going to work is if you change them around yourself.
good luck!
Sorry for the double post, but I forgot the messages SCAR was giving me.
It's telling me that variable MASK8, MASKL8, MASK9, MASKL9, MASK0, and MASKL0 from line 8 are never used in the script, as well as NEWLINE from line 174.
Other than that, it just tells me that it's successfully compiled and it runs, as far as I know.
yeah, thats good. I didnt end up useing thoese masks , lol. You can delete them from the script if you like, it will stil work. if you get the meseages like you did, then it is working. now you just gota set the right cordinants.
From: lordgreggreg
Yeah.. good job on getting it going :)
You need to start it on the pets screen (outside of facebooK)
the pets app is runing inside facebook, in a frame.
So, in firefox, i think you can right clik–go to frame– and then go to open in new window
You dont have to thouhg, if you want, just read through the scriupt and change the cordinants around to fit your screen.
also, the toolbars wont affect the bitmaps, you screen resolution will.
the toolbars just affect the cordinants. and look, the only way its really going to work is if you change them around yourself.
good luck!
yeah, thats good. I didnt end up useing thoese masks , lol. You can delete them from the script if you like, it will stil work. if you get the meseages like you did, then it is working. now you just gota set the right cordinants.
Thank you very much. Just for clarification, all I have to do is reset the coordinates to my screen to get it to work?
Thank you VERY much for all of your help.
Can anybody help me with this?
After it says "resetting!!!", it stops. Can anybody tell me what I need to fix? Thanks a ton!
Gardeon
2007-07-04 17:02:45
when i press compile or run it gives me:
Include file C:\Documents and Settings\Ryan\Desktop\Scar\SCAR 3.06\includes\srl\srl.scar does not exist.
Failed when compiling
LordGregGreg
2007-07-04 17:13:53
From: atm
Thank you very much. Just for clarification, all I have to do is reset the coordinates to my screen to get it to work?
Thank you VERY much for all of your help.
Yeah… i supose you could call it "resetting"
use the eye droper tool to get the cordinats you need, obv the "findbitmap" functiosn need a rectangle, etc.
ALso, if you can't get srl going, dont waste a post, there are hundreds of tutorials for that, including the one i already gave breaifly. Im not answering questions that i have already answered.
After it says "resetting!!!", it stops. Can anybody tell me what I need to fix? Thanks a ton!
Ok, thew resetting method is suposed to clik on your pets name , wait for it to reload, and then clik on "kill monsters". If it doesnt, use your head. mabey the kill bitmap is wrong for your screen. Mabey the cordinats that it is looking for them on ure screen is wrong.
try cliking on "you pets name" manualy while the script is running, only the first time though…
oh yeah, mabey ure setting the cursor wrong! You cant drag the curson onto the web page. , it just wont work. you have to
DRAG the cursor (scar thingy to select window) onto ure browswers title bar!!! NOT the web page its self!!!
From: lordgreggreg
Yeah… i supose you could call it "resetting"
use the eye droper tool to get the cordinats you need, obv the "findbitmap" functiosn need a rectangle, etc.
ALso, if you can't get srl going, dont waste a post, there are hundreds of tutorials for that, including the one i already gave breaifly. Im not answering questions that i have already answered.
Ok, thew resetting method is suposed to clik on your pets name , wait for it to reload, and then clik on "kill monsters". If it doesnt, use your head. mabey the kill bitmap is wrong for your screen. Mabey the cordinats that it is looking for them on ure screen is wrong.
try cliking on "you pets name" manualy while the script is running, only the first time though…
oh yeah, mabey ure setting the cursor wrong! You cant drag the curson onto the web page. , it just wont work. you have to
DRAG the cursor (scar thingy to select window) onto ure browswers title bar!!! NOT the web page its self!!!
Sorry. I'm trying to think this through without asking questions, but I have virtually no SCAR experience.
It's clicking on my pets name, but still not doing anything. I re-did the kill bitmap and it still didn't work, so I think it may be the coordinates. On line 612, what are those coordinates for? I know it's probably a silly question, but I'm still trying to get adjusted to this.
It dosent matter anymore ive found the ultimate soloution :)
Level 23 after a measly few hrs… my pet isnt even 1 day old and ive millions of gold and the best armor for my level…
Thanks anyways!
From: w1r3
It dosent matter anymore ive found the ultimate soloution :)
Level 23 after a measly few hrs… my pet isnt even 1 day old and ive millions of gold and the best armor for my level…
Thanks anyways!
Care to share? :p
Sorry to be a bother, again, Greg, but I have one final question. If this doesn't solve my problems, I'll give it up.
I found the bitmap for attack, but what is the one for defend?
Thanks a ton.
atm ive pm'd you.
Here is my current:
Name: Devil
Level: 24
Age: 23 hours
Experience: 22950365/40037593
Gold: 10435343
Hit Points: 6000/7231
Damage: 280-422
Armor: 219
LordGregGreg
2007-07-04 18:57:55
From: w1r3
atm ive pm'd you.
Here is my current:
Name: Devil
Level: 24
Age: 23 hours
Experience: 22950365/40037593
Gold: 10435343
Hit Points: 6000/7231
Damage: 280-422
Armor: 219
I would like to know too please.
LordGregGreg
2007-07-04 19:01:42
From: atm
Sorry. I'm trying to think this through without asking questions, but I have virtually no SCAR experience.
It's clicking on my pets name, but still not doing anything. I re-did the kill bitmap and it still didn't work, so I think it may be the coordinates. On line 612, what are those coordinates for? I know it's probably a silly question, but I'm still trying to get adjusted to this.
hmm, i dont think the line number are matching up. Could you post the line please?
Also, there is no "defend" bitmap. Once it finds the atack bit map, it saves the cordinats and doenst look for it again.
Sorry. I forgot I edited the bitmaps, thus messing up the line numbers.
It's this line:
if (FindBitmapMaskTolerance(i, x, y, 315, 102, 690, 258, 1, 30)) then
I've gotten it to the point that it clicks on my name, goes to a spot about an inch below the world map, and then stays there for a while, and does some very small vibrating, then clicks my name again. After that, it stops.
Just to jump-start it, I decided to click on kill monster, but it says it can't find the monster type or evade buttons, even though I cropped all of the pictures of the monster's names, and everything else you had up there, except the levels.
Gardeon
2007-07-04 19:57:59
when i press run or compile it says this: Ryan\Desktop\Scar\SCAR 3.06\includes\srl\srl.scar does not exist.
Some more progress, I think. I got to where it says I'm fed. Now, it says:
finding our level
we found where level is to start here
[Runtime Error] : Out Of Range in line 760 in script C:\Documents and Settings\HP_Administrator\Desktop\bunniez.scar
The line the error is on is as follows:
: Out Of Range in line 760 in script C:\Documents and Settings\HP_Administrator\Desktop\bunniez.scar
I haven't done anything with the Masklevel, just the maskllevel, mainly because I wasn't sure which to tamper with.
Also, what coordinates should I put into the lines with 5 numbers? I don't get where to put the X and Y coordinates, and what I need to put in the other 3.
Thanks a ton. You don't know how much this dumb game means to me. :p
LordGregGreg
2007-07-04 20:13:14
From: atm
Some more progress, I think. I got to where it says I'm fed. Now, it says:
finding our level
we found where level is to start here
[Runtime Error] : Out Of Range in line 760 in script C:\Documents and Settings\HP_Administrator\Desktop\bunniez.scar
The line the error is on is as follows:
: Out Of Range in line 760 in script C:\Documents and Settings\HP_Administrator\Desktop\bunniez.scar
if (FindBitmapMaskTolerance(i, x, y, 315, 102, 690, 258, 1, 30))
means to find the bitmap in
i is the bitmap
x is where it found it
y is where it found it (x,y, duh)
315 is x1
102 is y1
690 is x2
258 is y2
these cords make a box that it searches in
1 is a mask tolerance
and 30 is another tolerance
ok, and for the runtime error
hwo the script works is it starts searching for you level, starting by searchng for the butmap if your level is 40.
Then it will ocunt down untill it finds it
/..(unless iit doesnt find it… and then it will searhc for a bit map that doesnt exist…)
so the porblem is that your bitmaps are wrong (the ones about the level, ya know tiny[1-40])
so you can either remake them all, or change your resolution till it matches.
If you want to see what the bit map looks like, copy the string in my script, go up to scar toll, and choose string to pic.
Or mabey you could get lucky by increasing the tolerance.. (the last int in the findbitmap( method
Good luck! and could someone please tell me the easier way? I was nice and gave you my way…
Gardeon
2007-07-04 20:15:32
can u help me wit my problem of
Ryan\Desktop\Scar\SCAR 3.06\includes\srl\srl.scar does not exist
Gardeon
2007-07-04 20:17:14
maybe im not settin scar up right or somehtin plz help me
LordGregGreg
2007-07-04 20:20:36
From: Gardeon
maybe im not settin scar up right or somehtin plz help me
Yeah, your not. go read the tutorial in the "how to auto" section. it will epxlain how.
to set it up without any problems, go to
scar–file–download includes
let it do that, then
scar–file–download srl
any other question regarding this need to be found yourself, by reading tutorials
From: lordgreggreg
if (FindBitmapMaskTolerance(i, x, y, 315, 102, 690, 258, 1, 30))
means to find the bitmap in
i is the bitmap
x is where it found it
y is where it found it (x,y, duh)
315 is x1
102 is y1
690 is x2
258 is y2
these cords make a box that it searches in
1 is a mask tolerance
and 30 is another tolerance
ok, and for the runtime error
hwo the script works is it starts searching for you level, starting by searchng for the butmap if your level is 40.
Then it will ocunt down untill it finds it
/..(unless iit doesnt find it… and then it will searhc for a bit map that doesnt exist…)
so the porblem is that your bitmaps are wrong (the ones about the level, ya know tiny[1-40])
so you can either remake them all, or change your resolution till it matches.
If you want to see what the bit map looks like, copy the string in my script, go up to scar toll, and choose string to pic.
Or mabey you could get lucky by increasing the tolerance.. (the last int in the findbitmap( method
Good luck! and could someone please tell me the easier way? I was nice and gave you my way…
Ahhh. Thanks a ton. I tried looking at the numbers, but they look really choppy. Probably because I use a really odd resolution.
This makes a lot more sense then. I have one more question. How do I get a picture of ALL of the levels if I can only see a select few?
Thanks.
LordGregGreg
2007-07-05 00:01:37
From: atm
Ahhh. Thanks a ton. I tried looking at the numbers, but they look really choppy. Probably because I use a really odd resolution.
This makes a lot more sense then. I have one more question. How do I get a picture of ALL of the levels if I can only see a select few?
Thanks.
He he, this is funny, because you are thinking the exact same questions that I was when I was amking this script:). Good for you! Ok, now, the easiest way (not sure if it will work or not) is to just increase the tolerance and pray that it works.
If not.. you will have to recreate them.
I downloaded the source for the page that i needed. I changed its like to the css template to this one (atached) so i could view it correctly.
(you may be able to just go to file– save web page)
then i edited the code, and instead of level 1, made it say level 1 2 3 4 5 6… and croped it up to make picutres of them.
Edit: cant find the scc thingy.. if you really need it , let me know, i can still get it.
From: lordgreggreg
He he, this is funny, because you are thinking the exact same questions that I was when I was amking this script:). Good for you! Ok, now, the easiest way (not sure if it will work or not) is to just increase the tolerance and pray that it works.
If not.. you will have to recreate them.
I downloaded the source for the page that i needed. I changed its like to the css template to this one (atached) so i could view it correctly.
(you may be able to just go to file– save web page)
then i edited the code, and instead of level 1, made it say level 1 2 3 4 5 6… and croped it up to make picutres of them.
Edit: cant find the scc thingy.. if you really need it , let me know, i can still get it.
Thanks a ton. All this makes me want to get back on the RS bot scene. :P
I was at a local firework show and carnival all night, so I'm going to give it a go right now.
LordGregGreg
2007-07-05 08:58:51
From: atm
Thanks a ton. All this makes me want to get back on the RS bot scene. :P
I was at a local firework show and carnival all night, so I'm going to give it a go right now.
cool!
now, opnce you get it working, let me let you know this. there is a problem with it..
when it first starts, it will clik on ure pets name, then kil monsters, then freeze… the way to fix it is to manually click on ure pets name again. just so ya know.
it wouldnt be to hard to fix this, i just dont have the time right now.
Edit: below me… BEWARE!!!
From: w1r3
Lordgreg, thought id post this for your viewing pleasure too.
Name: Devil
Level: 27
Age: 1 day
Experience: 147238309/200492840
Gold: 75355359
Hit Points: 6000/8372
Damage: 326-490
Armor: 255
PM me if u wanna know more… And if u want proof ill send u a few little steps :)
This is a #$%&ING SCAM!He does NOT have these stats. he made them up.
He is going to make you send him your pets encrypted id.
this gives him CONTROL over your pet.
Yes, he can sell you items, lower its exp, or delete it all together.
Lordgreg, thought id post this for your viewing pleasure too.
Name: Devil
Level: 27
Age: 1 day
Experience: 147238309/200492840
Gold: 75355359
Hit Points: 6000/8372
Damage: 326-490
Armor: 255
PM me if u wanna know more… And if u want proof ill send u a few little steps :)
~alex~
2007-07-05 16:42:36
What is Facebook?
LordGregGreg
2007-07-05 19:32:08
From: w1r3
Lordgreg, thought id post this for your viewing pleasure too.
Name: Devil
Level: 27
Age: 1 day
Experience: 147238309/200492840
Gold: 75355359
Hit Points: 6000/8372
Damage: 326-490
Armor: 255
PM me if u wanna know more… And if u want proof ill send u a few little steps :)
This is a #$%&ING SCAM! above :)
He does NOT have these stats. he made them up.
He is going to make you send him your pets encrypted id.
this gives him CONTROL over your pet.
Yes, he can sell you items, lower its exp, or delete it all together.
From: ~alex~
What is Facebook?
It used to be a college only social network, but now its open for everyone. Its like a better organized myspace.
clintomano
2007-07-05 23:33:30
i still havnt been able to use this
i dont know how, lol
LordGregGreg
2007-07-05 23:41:17
From: clintomano
i still havnt been able to use this
i dont know how, lol
Thats ok, i admit, it is kinda tricky if you are new at this stuff. You have to know how to get scar and srl going. (there are tutorials for that)
then you have to know a bit about programing and a few of the srl mehtods to get the rest to work.
yankeessuckbrs
2007-07-06 00:49:59
You Guys Should Just Use Tamper Data On Firefox As An Addon.. I Leveled Up From 16 To 19 In Like A Half Hour…
LordGregGreg
2007-07-06 02:03:44
From: yankeessuckbrs
You Guys Should Just Use Tamper Data On Firefox As An Addon.. I Leveled Up From 16 To 19 In Like A Half Hour…
There is a better pone than that… Not to mention that you are sunk once yo try to get to level 26 or so.
From: mungie3
From: lordgreggreg
From: mungie3
Hi! I would really like to get your pets script working. So far, I've gotten to the point where it clicks on my pet's name in the top left. But that's about it. Ive changed the kill bitmap, but to no effect. Also, which coordinates do i have to change. Im also confused as to what the constants in the beginning are. "spacing of small number 6"?
Any help would be appreciated. Oh and no hurry. Just respond when you have a free minute. Thank you!
you should not need to change the spacing cordinants… in face, dont!
the cordinats you will have to change or the one inside method like "getColor(x,y)"
and "findbitmaptolaeercein("
i have explained what thoese codinants mean inside my post.
ok so far i've gotten it to click on my pets name in upper left corner and then move the cursor to right under the world map button. It stays there for a while and then goes and click the pets name again. Then it thinks its in fightscreen mode and start looking for mantises, ants…. w/e. it also doesnt recognize my level bmp. please help.
Ok, it should NOT move the cursor under the world map button. It should move it to the "level" word i think. Then it should find you level, fead you, and go fight.
So, that means you need to probably adjust to cordinants of where it is looking for the bitmaps. And if that doesnt work, you wil have to recreate the bitmaps from your own screen shots. Good luck :)
From: lordgreggreg
This is a #$%&ING SCAM! above :)
He does NOT have these stats. he made them up.
He is going to make you send him your pets encrypted id.
this gives him CONTROL over your pet.
Yes, he can sell you items, lower its exp, or delete it all together.
It used to be a college only social network, but now its open for everyone. Its like a better organized myspace.
Lol your a moron…Im w1r3… Get an admin to get my IP and talk to ANY wartnet admin to match with my IP on there…. infact PM w1r3 on wartnet and ill prove to you…
So jelous im so smart… Make a fake account and give me the dam link then ill prove you wrong.
Oh lordgreg…. I forgot to add.
Login to facebook and navigate to me:
http://www.facebook.com/profile.php?id=515228616Then look at 'Devil' for yourself.
LordGregGreg
2007-07-06 12:08:43
From: w1r3
Oh lordgreg…. I forgot to add.
Login to facebook and navigate to me: http://www.facebook.com/profile.php?id=515228616
Then look at 'Devil' for yourself.
Ok. Look, mabey your legit and mabey you can do this. The point is,
1.
its VERY detectable
2. it does give you complete control of the other persons pet.
From: lordgreggreg
Ok. Look, mabey your legit and mabey you can do this. The point is,
1. its VERY detectable
2. it does give you complete control of the other persons pet.
Yes it does give u control over the pet but thats an exploit they should have thought of.
Believe me now? Have you seen my pet? The Wabbit is legit was was painfully slow…Devil is all scripted.
Can i have an apology now :)
LordGregGreg
2007-07-06 13:26:24
From: w1r3
Yes it does give u control over the pet but thats an exploit they should have thought of.
Believe me now? Have you seen my pet? The Wabbit is legit was was painfully slow…Devil is all scripted.
Can i have an apology now :)
I apologize for saying that you made up the stats.
Not for the scam part, because , as you know, you could still use it as one.
I have not seen your pets, facebook wont allow me too because im not in your network, but i know enough about php and stuff to understand how you did it.
Also, you say its not detectable unless it makes high scores… but thats not quite true, it would be very easy to have a simple growth rate check on each character to flag it. Not to mention that making high scores and stuff is the whole pupose it think. Anyhow, good job on your php script (giving you beninfit of the doubt that it exists)
Thank you!
If you ask me a scam would involve me getting something out of it, deleting a pet or selling items would not gain me anything. Some people probably pleasure but dude im 20 years old :)
Ahh shame you couldnt see, heres the latest - ive not run the script since last night:
Name: Devil
Level: 28
Age: 2 days
Experience: 214099072/400174920
Gold: 115140382
Hit Points: 6000/8791
Damage: 343-515
Armor: 268
LordGregGreg
2007-07-06 14:19:52
From: w1r3
Thank you!
If you ask me a scam would involve me getting something out of it, deleting a pet or selling items would not gain me anything. Some people probably pleasure but dude im 20 years old :)
Ahh shame you couldnt see, heres the latest - ive not run the script since last night:
Name: Devil
Level: 28
Age: 2 days
Experience: 214099072/400174920
Gold: 115140382
Hit Points: 6000/8791
Damage: 343-515
Armor: 268
shame indeed, but like you said, ya never know if the person justs wants to cause havock or not. Nice pet, mine is lvl 26 legitly (ish)
Havock is not me…If you know who i am….
My first pet is to 21 legit…Took about a week on and off… But lvl 28 in just under 2 days with allllll that gold is much better.
Shame theres not much else to do atm.. Items stop at lvl 25 that you can weild… And ive fought lvl 100's. You get more money from monsters 25-31.
LordGregGreg
2007-07-06 22:42:53
From: w1r3
Havock is not me…If you know who i am….
My first pet is to 21 legit…Took about a week on and off… But lvl 28 in just under 2 days with allllll that gold is much better.
Shame theres not much else to do atm.. Items stop at lvl 25 that you can weild… And ive fought lvl 100's. You get more money from monsters 25-31.
Um, yeah, their arent any level 31-100 monsters atm…
And hey, good job on your script, but its very easy to detect, and they can ban your facebook acount form making any more pets. I would much rather have a pet rather than no pet at all.
From: mungie3
From: lordgreggreg
From: mungie3
ok, so i've gotten to the fight screen, (btw I had to change EVERY SINGLE BITMAP!) lol your bitmaps were completely diff sizes from mine. I had to change the fight, evade, feed, kill… bitmaps. and everything is working until i get to choosefight. I cannot get the script to recognize the individual animals. Ive changed the bitmaps twice. and ive made sure that the box that it searches in is big enough. please help. thank you.
Ahh, ok, i think i know what you are missing.
At the ant finding spot, I chnaged to bitmap MASK finding :). A bitmask is basically a black and white bitmap. You can make them in the piecture to string editor, and then cliking on the mask button. And then selecting the white to be the background.
notice that my find bitmap function is now
findbitmapmask
i hope this helps. great job :)
hmmm i did what you told me to: i changed the bitmaps with white as background, but it still wont find the bitmasks. I even tried to make the picture of the animal a bitmask lol……soooo much code…. and it still wouldnt work…..no find scorpion…..isnt there some sort of findtext function i could use?
hmm, let me see if i can make this more clear. You should take a screen shot of the page…and then you should crop it down to where its just a screen shot of the word "ant" or something. Then you should save that as a 24 bit, bitmap.
Then inside scar, you need to go to tools, and then picture to string. Then open up your bitmap of ant, and then click on "mask editor"
then you need to clik on the white part of the image it shows. untill the new image on the right apears that looks correct.
then hit ok, and copy the code that is in your debug box.
this really should work with no problems at all.
there are really good get text options in rs, but thats because they have bitmaps of every single charater loaded up at the startup, and unfortunatly, none of them match the font in this pets game.
if the bitmasks still dont work, try changing then to just plain bitmaps. Then you will need to change the function.
FindBitmapMaskTolerance(MaskAnt, x, y, 212, 138, 760, 395, 1, 30)
to something like
FindBitmapToleranceIn(Ant, x, y, 212, 138, 760, 395, 30)
notice how this method doesnt have the "1" variable.
Yes there are lol….I know because my script gives me an output of everything looted, and level killed. I can start at a specific level… If you know more how the back end works then its all easy to comprehend.
MaxwellDemon
2007-07-07 14:29:52
Hey Lordgreg, thanks for programming this script, but I have remade the bitmap (masked stuff as you said), made sure my program's strings were similar to yours by graphics and even rewrote the coordinations tons of time. I am still getting no where.
Any help?
LordGregGreg
2007-07-07 19:20:35
From: MaxwellDemon
Hey Lordgreg, thanks for programming this script, but I have remade the bitmap (masked stuff as you said), made sure my program's strings were similar to yours by graphics and even rewrote the coordinations tons of time. I am still getting no where.
Any help?
Hey, yeah, as you can see, i dont mind helpiung out people one bit :)
So um, i need to know where the bot fials so i know where to help me. Mabey get on aim, mine is lordgreggreg. (i have all mesaging clients except for xfire, so just let me know)
xdustinx
2007-07-08 14:02:22
I try. I do. its now been several hours since Ive been going at it-
Is all hope lost? Is mankind doomed to eternal hellfire?
It cant find my colorbits level. but no matter- it skips it and clicks kill monsters anyway. Fine.
I get to the fight screen- It says it has located the fight button. Good. But it can't find any of the monsters! Ive converted all their names to string- and redid the coordinates for find animal. Nothing. Ok.
It moves from there- says its not a good fight, trying to get next battle. Finds the evade button…
The mouse moves, but doesnt click on the evade button… it clicks somewhere to the top left of the evade button… I tried adjusting coordinates and changing the bitmap but nada.
I'm going to be late for work. But Its frustrating being so close but so clueless. grrrrrrrrrr
LordGregGreg
2007-07-08 19:10:35
From: xdustinx
I try. I do. its now been several hours since Ive been going at it-
Is all hope lost? Is mankind doomed to eternal hellfire?
It cant find my colorbits level. but no matter- it skips it and clicks kill monsters anyway. Fine.
I get to the fight screen- It says it has located the fight button. Good. But it can't find any of the monsters! Ive converted all their names to string- and redid the coordinates for find animal. Nothing. Ok.
It moves from there- says its not a good fight, trying to get next battle. Finds the evade button…
The mouse moves, but doesnt click on the evade button… it clicks somewhere to the top left of the evade button… I tried adjusting coordinates and changing the bitmap but nada.
I'm going to be late for work. But Its frustrating being so close but so clueless. grrrrrrrrrr
Problems finding the bitmaps seems to be the big thing. You are recreating them, thats good. Make sure that if you are looking for a bit MASK you use the right method (fidnbitmapMaskTolerance) i think.
As for missing the evade button… that is because it clik where it found the bitmap, in your case, that is the top left corner of the bit map, whtihc in your case is not on the evade button. So, either make a smaller crop of the evade button. or change
Mouse(x,y,0,0,true) to Mouse(x+5,y+5,0,0,true) to adjust to it.
And no, mankind is not quite doomed to eternal hellfire just yet.
xdustinx
2007-07-09 00:08:10
Haha no- not yet.
MattGor
2007-07-12 08:15:16
Sorry to bother you :D
First of all, GREAT script! Way more complex than anything I could ever do =P
My question is…how do I get the cursor to select the address bar? For me…it keeps selecting the doggone web-page, not just the address bar :( Thank you!!
LordGregGreg
2007-07-12 10:05:25
From: MattGor
Sorry to bother you :D
First of all, GREAT script! Way more complex than anything I could ever do =P
My question is…how do I get the cursor to select the address bar? For me…it keeps selecting the doggone web-page, not just the address bar :( Thank you!!
Hey, glad yo like it :)
It not suposed to ever clik the adrss bar , lol
Have you read the instrictuons yet? Might want to do that.
-=uber*1337=-
2007-07-13 23:26:03
oy!
i have been searching for this script for a long time!
if you could help me please, I have some scripting knowlege,
I setup the way you said to,
but i have the resolution option of 1280x768, but not 1280x800
i started by modifying the "feedme" bitmap for starters, and it wont even click that
i also changed the findbitmap coordinates to match where the button is on my screen, but still no luck,
what do you recommend?
LordGregGreg
2007-07-13 23:47:33
From: -=uber*1337=-
oy!
i have been searching for this script for a long time!
if you could help me please, I have some scripting knowlege,
I setup the way you said to,
but i have the resolution option of 1280x768, but not 1280x800
i started by modifying the "feedme" bitmap for starters, and it wont even click that
i also changed the findbitmap coordinates to match where the button is on my screen, but still no luck,
what do you recommend?
Good :) Im glad ure using your head! Suck about the scren reolution, you will probably have to change most bitmaps because of it.
For starters, dont change the cords to where the bit map is, make them make a BIG box around the "feedme" button. There is no harm making it as big as the screen (ecept speed)
Gavinman
2007-07-20 09:39:06
Hi im such a noob at this lol Im like computer illiterate. I hacked before and thats about it lol.
BTW what do i do if my resolution is stuck at 1024x768
I gotten to the part where i got everything running and the mouse flies over to my pets name and clicks it. After that it starts saying "dunno where we are..maybe loading and the trying again" I am sorta lost from there and derno wat to do..
Can someone help me? Thanks alot in advance.
LordGregGreg
2007-07-20 10:47:45
From: Gavinman
Hi im such a noob at this lol Im like computer illiterate. I hacked before and thats about it lol.
BTW what do i do if my resolution is stuck at 1024x768
I gotten to the part where i got everything running and the mouse flies over to my pets name and clicks it. After that it starts saying "dunno where we are..maybe loading and the trying again" I am sorta lost from there and derno wat to do..
Can someone help me? Thanks alot in advance.
Hey, sure thing. The reason it is stuck is because it cant detect any pictures. Most imprtantly the "feed" button so it knmows where it is. Like my instructions say. You are going to need to change the cordiants in almost all of my "findbitmaptolerancein" and "findbitmasktol" functions, to big ectancles around where the buttons are on your screen.
A few posts ago i talked about how to do this.
If that doesnt work, you are going to have to start re-creatingthe bitmaps (most lickly because of your resolution)
its going to be rough, but you can do it,. good luck.
Gavinman
2007-07-20 10:58:49
o ok thanks im try that lol o.o. Hopefully the resizing the rectangles will work >.<
Thanks alot lol. Btw if i were to need to reconfigure all the bitmaps? How would i move on to do tat?
Thanks for the code and your time in helping me >.<
LordGregGreg
2007-07-20 11:04:18
From: Gavinman
o ok thanks im try that lol o.o. Hopefully the resizing the rectangles will work >.<
Thanks alot lol. Btw if i were to need to reconfigure all the bitmaps? How would i move on to do tat?
Thanks for the code and your time in helping me >.<
Well, it would take me a VERY long time to do that.
But basiclally this, scar has a fucntion to trun bitmaps into strings, then u can use them(as int)
mask sure that you realise that half are bitmaps, and half are butmasks,
then read some tutorials about bitmaps in the tut section. The should be able to explain it really good.
(you can also try playing witht the tolerances.. to mabey help iot find it.
in the findbitmapmasktol function –it is the last 2 ints in there
in the findbitmaptolerancein – it is the last vrable
range goes from 0-255 , where 255 will find anyhting.
Gavinman
2007-07-20 11:32:50
ooo i c i c. That means ima try to resize the rectangle first and hope it works.
If not ima increase the tolerance to 255 if i have to haha.
If it still don't work, ima have to resize the bitmaps…how do you get the bitmaps to string with to begin with lol.
LordGregGreg
2007-07-20 11:35:57
yes, try the rectange frist
then try tolerance (obv, it has to stay low enough so it knows the difrence beteen "feed me" and "fight monsters")
and then try re creating the bitmaps.
read a tutorial on bitmaps (there or tons) before I add you to the noob database in my sig :P
Gavinman
2007-07-20 11:41:16
ahhh please dont lol. I was just double checking lol =x
Thanks alot for your help lol. I was so lost before this.
LordGregGreg
2007-07-20 11:44:03
From: Gavinman
ahhh please dont lol. I was just double checking lol =x
Thanks alot for your help lol. I was so lost before this.
Yeah, :) I know you were. Once you read up on them, feel free to ask me any other questions you have. Good luck on your reasearch.
rompetoto
2007-07-21 21:28:08
Ok, my problem is that the bot works fine for one battle, but then after that it will go back and say:
Looking for run button…….
I know my button is different than the red one, but it shouldnt even be going to the run button, it should fight!
LordGregGreg
2007-07-22 10:32:17
From: rompetoto
Ok, my problem is that the bot works fine for one battle, but then after that it will go back and say:
Looking for run button…….
I know my button is different than the red one, but it shouldnt even be going to the run button, it should fight!
Glad the script is working for you:)
Yes, you will have to change the run button. it uses it to help figure out where you are, because it is only there one one screen.
obelisk282
2007-08-10 02:32:16
i setup everythin acording to wat it says but after the mouse move to click the pets name thats about it, it stops there and the program keep displaying
cant find where we are… mabey screen is loading..
trying again
cant find where we are… mabey screen is loading..
trying again
i triple check every setting, can anyone help me?
LordGregGreg
2007-08-10 03:34:10
sure can mate, unfortunatly the problem isnt very easy to fix.
You see, you habe everything set up right.. its just not finding out where it is.
it finds out where it is by searching for bitmaps, and if it doesnt find any, it doesnt know where it is.
So, it looks like you need to do some manal script editing, like my little into says.
first try chaging the cordiants of the findbitmap function, if that doesnt work, ull have to try changing the actual bitmaps (read a tutorial here on how to do either of them)
3Garrett3
2007-08-15 16:51:10
Greg, you think you could help me set this script up for mine? Just got it, and already its a pain in the ass to train the stupid thing :p. Its better than RS though :)
LordGregGreg
2007-08-15 17:16:49
From: 3garrett3
Greg, you think you could help me set this script up for mine? Just got it, and already its a pain in the ass to train the stupid thing :p. Its better than RS though :)
once i get some free time, i wil