|
Post by Dragutin on Feb 3, 2005 13:12:49 GMT -5
here's a question, Since it will be a bot is there a way i can get it to return to the same place? also, since it's in an area with spawn points all around, Do i have to input a code that turns the camera? Or will the pixelgetcolor handle stuff that spawns behind me too?
|
|
|
Post by TinyTerror on Feb 3, 2005 13:29:20 GMT -5
The only way to do any sort of navigation right now is by using FFACT's position data. This includes heading values so you can figure out what direction you are facing. This is nearly impossible to do with pixel checking.
|
|
|
Post by Miltani on Feb 3, 2005 13:37:29 GMT -5
Just wondering how long is required for the pixel get method to complete all it's condition checking? Will the pixel checking be messed up if the chat screen is jumping at a fast pace??
|
|
|
Post by TinyTerror on Feb 3, 2005 13:59:15 GMT -5
This all depends. There is no locking mechanism between script and game processes, so trying to say yes or no to the reliablitiy of using pixel based methods to do chat stuff is very hard. From a purely functional point of view, I would say that pixel based operations (besides checking the color of the text or other basic stuff) should not be used on chat text. Of course this all depends on the speed of your computer and the number of pixel operations you are trying to do per frame of video in FFXI. It might work in some situations, but should not be counted on to work in all situations.
I would say that this is one of those things that you should not do with pixels. I recomend FFACT based methods insted. Chat support should be into autoterror in the near future.
EDIT: Forgot to say that pixel operations are very expensive CPU wise, so the more you do, the less reliable they will be on moving text.
|
|
|
Post by Miltani on Feb 4, 2005 1:07:45 GMT -5
Interesting, seemed that I'll have to reduce the mount of pixel get method then. Seemed that my script did not react at all when the conditions appeared.
Guess that I'll have to make use of fewer pixel get method as possible and try to be as accurate as possible.
The reason I have many pixel get is because I actually capture every single pixel for the words that appeared on the line itself >.>
As for the chatlog function in auto terror, I'm interested in how it works. Is there a thread on this somewhere??
|
|
|
Post by TinyTerror on Feb 4, 2005 7:18:48 GMT -5
The chat logging function in AT works by asking FFACT for chat information. FFACT in turn works by looking directly into the RAM used by FFXI as it runs. The chat stuff is pretty much just sitting in memory, so reading it isnt that hard if you have the right tools.
You were trying to read all of the pixels in a line? *_* Thats a whole hell of a lot of pixels. For real time applications like scripting, I would say to keep your pixel checks down to 20 per check, and thats pushing it.
|
|
|
Post by Miltani on Feb 4, 2005 9:37:27 GMT -5
haha yeah i know its not efficient to add in too much redundant coding into my script just like my normal programming lol , I was just trying out some stuff.
Thanks for the advice though
|
|
|
Post by onidraco on Apr 19, 2005 6:50:24 GMT -5
Hey why people dont just use the autoit feature for window data(Autoit window Info). It has a zoom feature and gives you the coordinates plus the pixel value in hexadecimal and Decimal. Now my question is.. Auto it uses the coordonites in the window or in the screen over all? I have done some basic java coding and the coordiantes differ. I am trying to make a fighting bot for lvl 1-10
|
|
|
Post by matheww on Aug 30, 2005 9:55:10 GMT -5
Thank you for that really good totorial i finnaly be able to finish my mining bot (Autoit Version and work perfect!! thank you so much!!
|
|
stumm
New Member
Posts: 6
|
Post by stumm on Sept 3, 2005 18:54:50 GMT -5
Hey why people dont just use the autoit feature for window data(Autoit window Info). It has a zoom feature and gives you the coordinates plus the pixel value in hexadecimal and Decimal. Now my question is.. Auto it uses the coordonites in the window or in the screen over all? I have done some basic java coding and the coordiantes differ. I am trying to make a fighting bot for lvl 1-10 Ok, so what Color Mode should AutoiIT Window Info be set on? Is it screen or window?
|
|