|
Post by Dragutin on Jan 28, 2005 13:24:02 GMT -5
Wait so according to tinyterror.... A continouos script will lag after awhile due to functions that pile up? or no?
mwahah CLAIMED!
|
|
|
Post by TinyTerror on Jan 28, 2005 14:04:21 GMT -5
Thats not what I said. I was talking about the comparitive execution time of two different functions. If function A takes 10 ms and function B takes 15, running them both once wont really make much difference in terms of speed. But if you run them each 1000 times, the speed of A will be noticable over that of B.
|
|
|
Post by Dragutin on Jan 28, 2005 18:15:44 GMT -5
Ok i understand now
|
|
|
Post by Izlude on Jan 29, 2005 0:02:56 GMT -5
ok tiny, u have helped me out alot here, but i am in need of some more of ur knowledge. i need to know the steps on using ffact and the windower, and ff helper i am not sure how i use these to write a script. can you please give me directions on what do do? i understand the functions of the windower and ffact so far. thanks alot tiny ^^
|
|
|
Post by TinyTerror on Jan 29, 2005 1:17:21 GMT -5
WIndower: This one is simple. You download it, make sure Launch.bat points to your FFXI install (C:\program files\playonline etc.), and go. Just run Launch.bat and you are good to go. FFXI will run in a window insted of full screen mode. Thats all there is to it. This lets you do other non game stuff without having to exit then restart the game. FFACT: This is also simple. FFACT is a little app that runs beside FFXI and extracts certain info from the game's memory. This info is made available by a variety of interfaces. The one FFXI_Helper uses is the debug window. Before you run your script, right click on the FFACT icon in your system tray, and select debug. A window should pop up with a bunch of game info in it. It might look a little intimidating at first, but its really not that complicated. You must leave this window open while you are using any FFACT_Helper enabled scripts. You can change your window focus to FFXI, or even run in full screen, as long as the debug window is active in the background. FFACT_Helper: This is a script I wrott some months back, and updated by Duke Newrise. FFACT_Helper uses FFACT and the debug window mentioned in the previous paragraph to provide game information to autoIT scripts. For a detailed explanation of how FFXI_Helper functions on a mechanical level, see the following: tinyterror.proboards37.com/index.cgi?board=FFXIHELPER&action=display&thread=1106695776Anyway, FFACT_Helper reads the debug text from the debug window and converts it into AutoIT data. It is essentially an adapter script to get FFACT to talk to AutoIT. To use it, download FFACT_Helper, put it in the same folder as your script, and add the line #include "FFACT_Helper.au3" to the top of your script. Actual usage of FFACT_Helper in your script has already been covered multiple times in recent posts, so I'm not going to repeat it. Basically, you can get all sorts of data like player stats, target name and stats, and some other stuff. Using this tool is alot more reliable and easy than pixel based methods because it does not require any screenshots or color data. There is a slight learning curve when it comes to setting it all up, but its not too hard. EDIT: Sorry for the spelling errors. I'm not quite used to doing so much typing on my laptop, so crazy shit happens when I write big posts like this
|
|
|
Post by Dragutin on Jan 29, 2005 7:14:00 GMT -5
ok, so tell me if im gettin this right tiny. First let me tell you my plan... I plan on building a farming bot for that little area in Pashhow marshlands where Bloodpool Vorax spawns. So in order for me to do this I run FFACT and do i attack the mobs i want it to kill for me? then FFACT logs that and FFXI_Helper translates it into a scrpit that does what i did?
|
|
|
Post by TinyTerror on Jan 29, 2005 11:02:07 GMT -5
No.
The only thing that ffact does is to give you current game info. It tells you what your HP is etc. It has no scripting capabilities whatsoever.
|
|
|
Post by Dragutin on Jan 29, 2005 11:50:55 GMT -5
Then what is its main function?
|
|
|
Post by TinyTerror on Jan 29, 2005 12:30:25 GMT -5
*_*
Have you been reading what I have been posting?
|
|
|
Post by Duke Newrise on Jan 29, 2005 12:58:54 GMT -5
/comfort Tiny
|
|
|
Post by Dragutin on Jan 29, 2005 13:45:40 GMT -5
sorry sorry... i guess i meant what is the importance of it if it only give you ur current HP MP TNL etc.
|
|
|
Post by TinyTerror on Jan 29, 2005 16:14:52 GMT -5
You are asking what the use of a tool that gives you all the game state info from the game is? Think about it.
|
|
|
Post by Izlude on Jan 30, 2005 14:47:34 GMT -5
ok thanks for the rundown tiny ^^ so if i understand correctly what i do to use ffact in my script is target the mob using windower, then use ff helper to translate it into autoIt form, then use that with a variable, or a if statement? also if the bot was configured in windower mode do i need to run the script in windower mode?
|
|
|
Post by TinyTerror on Jan 30, 2005 17:39:26 GMT -5
There is no windower configuration for scripts or ffxi_helper. The windower does not effect the way scripts or FFACT run. Just write scripts assuming they will be used in fullscreen mode, and they will work fine with the windower. I know this sounds a little wierd, but it just works.
|
|
|
Post by Izlude on Jan 30, 2005 20:32:01 GMT -5
ok, but i need to use the windower when targeting the mob i want right? to see the info. also how would i write a script using ffact? would it be like normal and take what ff helper spits out and write a if statement or a $variable?
|
|