At this point I'm in need of variable associated with the various forms of Pixel search. there are many things that are clearly defined in the tutorials at AutoIt.
1. So can you give me a list of these Types of Pixel search we need to learn.
2. The proper formatting of the variables.
3. The work flow for a good AutoPill.
I'm sure either I or some other forum member can come up with a GUI we can use for the project. if anyone has any code snippets please feel free to share with each other.. but not in the forum.. we will keep security as high as possible. Please do not post memory addresess
some other parameters i think. i forgot. xD obviously the left, top, right, and bottom is where you want to search on the screen. Everything else should be in the autoit help file. This pixelsearch shouldn't be used for autopill though.
A pixelget function should be used instead. To know how to use this one, you can look in the autoit help file which came with the autoit download. Basically, you set up a spot on the screen you want to look at with pixelget and then if there is an ERROR then it should pot. the right format would be something like
$pixel = pixelget(x, y) ; i can't remember this one. never used it before.
$poophead = @error
If @error then
blahahakdlkjfdd
endif
something like that. I would be more specific and stuff, but I hope people reading this will actually try to learn and not get spoonfed every detail and every step. C'mon its in the autoit help file.
lol I know ya had to weed through but you pegged it. I was having to decide if I wanted to go with $coord = PixelSearch( or $pixel = pixelget or a cobination of the two. So I'll get my head wrapped around $pixel = pixelget
$coord = PixelSearch( variables go something like this:
; Find a pure red pixel in the range 0,0-20,300
$coord = PixelSearch( 0, 0, 20, 300, 0xFF0000 )
If Not @error Then
MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
EndIf
lol i'm working it.. AutoIt has about 4 post about $pixel = pixelget lol and most are questions. I'll have to do some trial an error.
But for the project i'll have to learn GUI as well. I won't just give a finished product with the memory addresses included. They're gonna have to get the addresses and put them in the mod..gonna have to read tutorials to get the addresses. a lot of work went into it.. why let it go to waste.
I'm from New York but some of the best Pizza you will ever get is in Dallas Texas...bigger is better
Well what I wont do is tell ya is to use a search button. I really dont know how to use GUI items yet. what I do know is it's a matter of defining names, positions, variables, attributes, of the form items you want to display. I have been concentrating on the code it's self. As soon as I figure that out I will do a tutorial.
Now to get you stated I would go to the AUTOIT site and download some example files people post there. The help file is a bit dry but it does have all the names of the controls. Get back with me on what ya find out.
i had the same thing for the script but i never asked i should have but i wanted to do it bymyself and release it to help all the other people but i had the same error so i guess i did need a GUI, now i need to research that and see how to make it or use it aswell.
Well thats what this thread and project is about.. Like anything in programming there are plenty of failed projects because people ran out of desire to finish, time or knowledge. This is where we bring it all together. Hopefully we'll produce a new crop of coders and I think thats good for the community as a whole.
UPDATE
Fellas I'm having problems with memory of the game. I'm a web designer, and when making web pages you can store and retrieve information from cookies and sessions.. This equates to memory addresses and globals I think. Now I have done searches for various elements of the memory functions in Autoit such as:
$mem = MemGetStats()
MsgBox(0, "Total physical RAM (KB):", $mem[1])
I think this is to display memory from the windows system. no practical use for bots.
I'm thinking it would go something like this for our purposes
If @error Then
MsgBox(0,"error","error opening process.")
Exit
EndIf
$Read = _MemoryRead($OpenProccess, 0x123456, 4); <------this could be any 12 sky address
If IsArray($Read) Then
_ArrayDisplay($Read, "Read Var" )
EndIf
MsgBox(0,$Read, $Read)
_MemoryClose($OpenProccess)
now this may read an address but i'm not sure how to retrieve it or display it. I'm also going to need to learn to do this for a GUI to change variables and options.
If anyone have a few code snipletts that would be practical to use as a AutoPill hack such as variable lists, ways to display the current chi and health in a gradient bar that would be helpful. sorry been up all night trying to figure this our excuse the overflow and errors.
yo , you guys have allot of time on your hands :d , nice job on the links mongo
maybe ppl will start reading the help files from CE to and stop screaming for adresses
and of course we must not forget chaoticjapan's guide ( best guide on forum,just my opinion) . one thing i forgot to mention ,the pixelget bot can be used only for same level
mobs grinding, becose its a lill slow i use it with aio2 from strike just for the aoe bot but only when drops are 2x .
can you make the address.. memory addresses are store and used by the game. you can use those addresses and values for your own purposes.
or memory a function? the memory address is nothing more than a defined address to a value that's stored by the game. If you know the address you can freeze the value or change the value to what you want it to be.
Ok folks this is the basic GUI. nothing fancy yet but you'll get the idea of the simplicity of the project. I'll be learning to add variables and memory results tonight.
Basics 12/19/2009 - General Coding - 9 Replies Hey ich habe gerade angefangen C# zu lernen und kenn nun so die basic begriffe, wie z.B. int while loop if else void usw . . . .
doch jetzt stellen sich mir 2 fragen zudennen ich nciht wirklich eine antwort finden kann.
gibt es einen befehl fuer sleep bei C#? ich kann dort einfach keinen finden.
Und wie kann ich das fenster in einer Konsolenanwendung wieder bereinigen sprich das der Text geloescht wird. Als Notlösung koennte man es sicher so schreiben:
...
Basics of WPE 06/18/2009 - World of Warcraft - 1 Replies can anyone explain what does
1. Offset
2. Search
3. Modify
means.
Pls explain giving examples from 2.4.3 (duping stackable items) hack. Need to learn how the software works. I'll be making my own hack later :)
The Basics... And A Thanks 12/27/2007 - CO2 Guides & Templates - 6 Replies My second contribution to this forum. Hopefully some find it useful, to anyone that already knows this or uses the programs please don't flame as obviously this wasn't meant for you. This is made for a people who have just started using programs from this site and need a little help.
What you need: (starting out)
1) Item identifier (Get it Here)
*Shows quality of items on the ground, will not show + items or blessed items, for those you will still have to check items manually. This...
Siege Basics 07/17/2006 - Lin2 Guides & Templates - 3 Replies 1. Siege Basics
(A) Siege Qualifications
* Pledges of level 4 and higher may siege. Pledges of levels lower than 4 and pledge members may participate in a siege but have no right to own a castle.
(B) Siege Locations
* Gludio castle, Dion castle, Giran castle, Oren castle, and Aden castle are the five castles that can be sieged.
Siege Enforcement Date
* Before each siege begins, one may join through the NPC in front of the castle.