Auto house UPGRADE maker! SOON!

09/05/2006 17:54 bigassmuffin#16
Quote:
Originally posted by swords+Jun 9 2006, 06:28--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (swords @ Jun 9 2006, 06:28)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin--swords@Jun 9 2006, 05:45
Hey bigmuffin think you can help me on how to read the ores if the box is full and when to drop everything but copper? I would use pixelchecksum for the box is full thing right? And maybe pixelsearch for the ores maybe? But i dont think to drop them would work without packet based because there isnt a way to actually READ the ores...WAIT you could probably jsut get the colors for the ores since they are al lthe same and for exunite and gold, to drop al lthose :D ill try it now :)
Scratch that out bigmuffin... I dont quite understand all pixels functions, most of all but not all quite yet but i dont get this

PixelSearch ( left, top, right, bottom, color [, shade-variation] [, step]] )

Where it says left,top,right,bottom how do i get those coordinates? I cant figure it out, you cant use x,y coordinates i dont think so... any help? After i figure this out i should have the house upgrade on the roll and be done in a few days as i said [/b][/quote]
i jsut sernt u a pm on this :P

sorry for the delay, i jsut read the psot now
09/05/2006 17:57 bigassmuffin#17
Quote:
Originally posted by swords@Jun 9 2006, 05:45
Hey bigmuffin think you can help me on how to read the ores if the box is full and when to drop everything but copper? I would use pixelchecksum for the box is full thing right? And maybe pixelsearch for the ores maybe? But i dont think to drop them would work without packet based because there isnt a way to actually READ the ores...WAIT you could probably jsut get the colors for the ores since they are al lthe same and for exunite and gold, to drop al lthose :D ill try it now :)
Well, because this bot is intended to use during afk, you can use a command that checks when the area has changed, such as something like this:

Code:
; Bigassmuffins work&#58;

; Wait until something changes in the region 0,0 to 50,50

; Get initial checksum
&#036;checksum = PixelChecksum&#40;913, 330, 988, 363&#41;

; Wait for the region to change, the region is checked every 100ms to reduce CPU load
While &#036;checksum = PixelChecksum&#40;913, 330, 988, 363&#41;
 Sleep&#40;100&#41;
WEnd

;Clicks F1 to use scroll to teleport back to Twin City
Send&#40;&#34;{F1}&#34;&#41;
;Appears in Twin City at Coordinates &#40;429,378&#41;

; End of Bigassmuffins works
09/05/2006 18:01 bigassmuffin#18
And this is how you detect if someone is standing on the floor or not.

You have to use this part of the scrit the whole way:

28,59 is the WINDOWS coordinates to click on, 0x6B7539 is the color of the ground in that coordinates. if it sees that color there, it will click and more.
If it does see someone there, it will continue to replay function untill person has left.

Then once it moves, it will play "SomeFunction()" which will be this same script with a different coord and color

So the bot is very simply, being a repeated script hundreds of times..it jsut takes time and patience.

One thing with this script u shuld no, because it is pixel based for certain coords, when script is started, you must start at cetain coordinates everytime!

Hope this helps

Code:
While 1
If &#40;PixelGetColor&#40;28, 59&#41; == 0x6B7539&#41; Then
    MouseMove&#40;28, 59, 0&#41;
 MouseDown &#40; &#34;left&#34; &#41;
    Sleep&#40;5000&#41;
    SomeFunction&#40;&#41;
  EndIf
WEnd

Func SomeFunction&#40;&#41;
EndFunc&#59;==>SomeFunction
~Bigassmuffin
09/05/2006 20:27 R0drigU#19
:cry: look, i know im a newbie and know shit about programming, but, well, u shouldnt have done this man(tell to the public), cause ppl now will think u r an asshole being a selfish and stuff...
but anyways, since u already told ppl u were gonna do it, just do what u want and give it to whom u want... i think when u opened this topic u should know that already...

actually what i really think is: u r totally correct, if u give it to the public they will patch it and u will lose ur work. although im desapointed with u. You really shouldnt have made it public.[img]text2schild.php?smilienummer=1&text=:~~X' border='0' alt=':~~X' />
09/05/2006 20:39 bigassmuffin#20
Quote:
Originally posted by R0drigU@Sep 5 2006, 20:27
:cry: look, i know im a newbie and know shit about programming, but, well, u shouldnt have done this man(tell to the public), cause ppl now will think u r an asshole being a selfish and stuff...
but anyways, since u already told ppl u were gonna do it, just do what u want and give it to whom u want... i think when u opened this topic u should know that already...

actually what i really think is: u r totally correct, if u give it to the public they will patch it and u will lose ur work. although im desapointed with u. You really shouldnt have made it public.[img]text2schild.php?smilienummer=1&text=:~~X' border='0' alt=':~~X' />
who made it public?
09/05/2006 23:12 R0drigU#21
Quote:
Originally posted by bigassmuffin+Sep 5 2006, 20:39--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (bigassmuffin @ Sep 5 2006, 20:39)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin--R0drigU@Sep 5 2006, 20:27
:cry: look, i know im a newbie and know shit about programming, but, well, u shouldnt have done this man(tell to the public), cause ppl now will think u r an asshole being a selfish and stuff...
but anyways, since u already told ppl u were gonna do it, just do what u want and give it to whom u want... i think when u opened this topic u should know that already...

actually what i really think is: u r totally correct, if u give it to the public they will patch it and u will lose ur work. although im desapointed with u. You really shouldnt have made it public.[img]text2schild.php?smilienummer=1&text=:~~X' border='0' alt=':~~X' />
who made it public? [/b][/quote]
i mean that he told the public he was gonna do that... thats what he made public...
09/05/2006 23:36 fullmetalferret#22
so he told people about it, so fucking what?!?! no one really cares, we WOULD like to get houses easy, but mining for houses is what you do when you get bored, mmk?
09/06/2006 00:10 R0drigU#23
Quote:
Originally posted by fullmetalferret@Sep 5 2006, 23:36
so he told people about it, so fucking what?!?! no one really cares, we WOULD like to get houses easy, but mining for houses is what you do when you get bored, mmk?
so fucking what my ass dude!

first of all, i wasnt talking to u, second, who the hell u think u r to talk to me like this? man, i was just saying that he will let all ppl like a bit angry but if u didnt get anything its ok, just dont talk to me again like that ok?

[img]text2schild.php?smilienummer=1&text=sigh' border='0' alt='sigh' />
09/06/2006 00:12 R0drigU#24
btw fullmetal, im a BR and i agree with what u said =X

EDIT
in ur signature
09/06/2006 00:24 fullmetalferret#25
rofl, right, i DID go a little ott there, but point is that its really not a big deal, he can do what he wants with his program/macro and that people will just have to do it the intended way
09/06/2006 01:26 R0drigU#26
Quote:
Originally posted by fullmetalferret@Sep 6 2006, 00:24
rofl, right, i DID go a little ott there, but point is that its really not a big deal, he can do what he wants with his program/macro and that people will just have to do it the intended way
and thats what i said... ¬¬

Quote:
but anyways, since u already told ppl u were gonna do it, just do what u want and give it to whom u want... i think when u opened this topic u should know that already...
09/06/2006 02:49 skinnykhalida#27
let everyone have a comfy, warm house where they can just chill =D
12/23/2006 13:19 poiu#28
are you guys ever gona finish this? (bump to the top lol)