|
Post by TinyTerror on Jan 30, 2005 20:54:51 GMT -5
With FFACT Helper it would be something like
$MyMobName=FFACT_TargetGetName();
if($MyMobName=="a monster") Then
voke here
|
|
|
Post by Izlude on Jan 30, 2005 23:19:31 GMT -5
so this tiny little snippet of a code could out provoke the average human, and or any other type of bot?
also, where do i put in the info that ffact, and the helper give me?
|
|
|
Post by TinyTerror on Jan 30, 2005 23:53:31 GMT -5
This is about as simple as it gets. Anywhere. If you are still having trouble understanding this, I will write a barebones script that will provoke tiny mandragoras for you tomorrow. If you cant figure out how to modify it, then I hope you enjoy farming mandies.
|
|
|
Post by TinyTerror on Jan 31, 2005 8:55:25 GMT -5
;//FFACT enabled voke script example ;//Autoterror and FFXI_Helper are required. ;//By Tinyterror
#include "FFXI_Helper.au3"
$MyTarget="Tiny Mandragora"; $MyVokeMacro="^1";
StartUpFFACT();
While (ScrollCheck()=1) FFACT_Update(); If(FFACT_GetTargetName()=$MyTarget) Then Send($MyVokeMacro); While(FFACT_GetTargetName()=$MyTarget) Sleep(2000); FFACT_Update(); WEnd Else Send("{TAB}"); Sleep(100); EndIf WEnd
This is a simple voke script using FFACT. It requires no screenshots or pixel data, and will work on any resolution, color depth, or computer. I havent tested it because I'm at work, but it should be mostly right. This script will scan for targets until it finds the one you specify. Once it finds the target, it calls your voke macro, then waits for you to kill the mob before resuming its scan. It can also be paused by pressing scroll lock. This is why FFACT based scripts will always be better than pixel scripts. It took me about 2 minutes to write this up, with no screenshotting required. If I want to change the monster this hunts, its a one line change. Want to use this on another resolution or computer? No problem. Pixel bots are a pain in the ass for all the setup they require. The above script will also never miss a target. No false positives or negatives. It drives me nuts every time I see someone busting ass to get a pixel based bot. It's so much easier this way.
|
|
|
Post by Izlude on Feb 1, 2005 0:06:09 GMT -5
damn man no kidding. this is about as easy as it gets. thanks alot for everything tiny, ur my hero ^^hehe so while running this bot do i need to be running ffact or actools, or is it a simple autoIt script?
|
|
|
Post by Izlude on Feb 1, 2005 0:23:01 GMT -5
alo to change this script to voke my monster, all i have to do is change the name? i am guessing for my monster it would look like this:
;//FFACT enabled voke script example ;//Autoterror and FFXI_Helper are required. ;//By Tinyterror #include "FFXI_Helper.au3" $MyTarget="Ashmaker Gotblut"; $MyVokeMacro="^1"; StartUpFFACT(); While (ScrollCheck()=1) FFACT_Update(); If(FFACT_GetTargetName()=$MyTarget) Then Send($MyVokeMacro); While(FFACT_GetTargetName()=$MyTarget) Sleep(2000); FFACT_Update(); WEnd Else Send("{TAB}"); Sleep(100); EndIf WEnd
the only change is on line #5 changing the target name, right? also how would i run this script? turn on autoterror i am guessing and then run it, but i need to use ffact aswell?#nosmileys
|
|
|
Post by Izlude on Feb 1, 2005 0:43:23 GMT -5
also from looking at this script i noticed thatthe bot just uses the tab button every one second, right? and by lowering the sleep value, it will lower how fast the bot hits tab, right? wouldn't it be best to lower the lavue under 1 second so that it finds thenm faster than the eye, which is faster than 1 second if ur good
also i am wondering how i can get my star rank up, i noticed duke and tiny are at all the stars, and i am only at one /cry, how can i up grade this?
|
|
|
Post by TinyTerror on Feb 1, 2005 10:11:35 GMT -5
You need autoterror, FFACT, and FFXI_Helper to run this bot. FFACT needs to have its debug window open. Yes, lowering the sleep values will make it scan faster.
|
|
|
Post by Izlude on Feb 3, 2005 0:21:46 GMT -5
ok steps to run this would be something like this right tiny (or anyone else)?
i would run it with autoterror, open ffact deug window, and run ffxi helper?
|
|
|
Post by playaplaya on Feb 3, 2005 3:49:52 GMT -5
Hey Tiny, First off, WOW, I've learned so much in 15 hours of reading. I had a general knowledge of programming, and have read c++ and Java J2EE and Visual Basic books and such but I guess you just narrowed down exactly all the things I wanted to hear.
So moving on... Yes, I play FFXI... Yes I want a voke bot... Yes I have been working on something for a few hours. In reply to this post the whole line about "StartUpFFACT();" it really is having an issue.
These are the things I have done. 1. Customized your voke script for a stun script. It looks like this...
;//FFACT enabled voke script example ;//Autoterror and FFXI_Helper are required. ;//By Tinyterror
#include "FFXI_Helper.au3"
$MyTarget="Stroper Chyme"; $MyStunMacro="^1";
StartUpFFACT();
While (ScrollCheck()=1) FFACT_Update(); If(FFACT_GetTargetName()=$MyTarget) Then Send($MyStunMacro); While(FFACT_GetTargetName()=$MyTarget) Sleep(2000); FFACT_Update(); WEnd Else Send("{TAB}"); Sleep(50); EndIf WEnd
2. Made the FFXI_Helper.au3 file. 3. Downloaded and Ran FFACT 4. Downloaded and opened FFXI in 'Windower'
When I try to open "Autoterror", I pick my au3 file "ffactstun" and I got the error for the "StartUpFFACT();" line. So what do I do? I tried to alter the skeleton you posted and made it look like this....
;//FFACT enabled voke script example ;//Autoterror and FFXI_Helper are required. ;//By Tinyterror
#include "FFXI_Helper.au3"
$MyTarget="Stroper Chyme"; $MyStunMacro="^1";
If(FFACT_GetTargetName()=$MyTarget) Then Send($MyStunMacro); While(FFACT_GetTargetName()=$MyTarget) Sleep(2000); FFACT_Update(); Else Send("{TAB}"); Sleep(50); EndIf
Now the file at least tries to run... But yet again stopped before I see any real progress. The line 100 in the FFXI_Helper has an error. This is the string call for the GetTargetName function. So my question is two-fold. Why am is the orignal skeleton 'voke' script choking and also, why is the 'helper' having issues? Any help would be greatly appreciated.
Playaplaya
|
|
|
Post by TinyTerror on Feb 3, 2005 7:11:33 GMT -5
You say you made the FFXI_Helper file? That needs to be downloaded, as its full of code. If you did download it, its possible that this script has errors in it. I wrote it at work without testing it in the game, so it might have bugs. Let me know how things go, and I will try to help further.
|
|
|
Post by playaplaya on Feb 3, 2005 13:37:13 GMT -5
Yea, I'm sorry, I meant to say that I downloaded the FFXI_Helper file. When I try to run my Stun au3 file from Tinyterror that I modded it says FFXI_Helper line 100 error. So I tried to compile the Helper and it says missing at least on end. I'm assuming it's a typo and meant to say at least ONE end. Nonetheless, I'm still stuck because I have no idea what I can edit from the helper and what I can't.
I really don't care about the logging, and all that other good stuff. I only want it to tab like a maniac and find ONE mob then activate a series of macros. If you know of a shorter way to do this than to incorporate that whole helper file let me know.
Unless you maybe can find the error of which I speak. If you need screen shots, I will post them online, I have some webspace on angelfire. Thanks again.
Playaplaya
|
|
|
Post by playaplaya on Feb 3, 2005 13:49:06 GMT -5
Okay kind of good news, I figured out your "StartUpFFact();" problem, you forgot to put Func before it. So now my custom Stun script looks like this. ;//FFACT enabled voke script example ;//Autoterror and FFXI_Helper are required. ;//By Tinyterror #include "FFXI_Helper.au3" $MyTarget="Stroper Chyme"; $MyStunMacro="^1"; Func StartUpFFACT(); While (ScrollCheck()=1) FFACT_Update(); If(FFACT_GetTargetName()=$MyTarget) Then Send($MyStunMacro); While(FFACT_GetTargetName()=$MyTarget) Sleep(2000); FFACT_Update(); WEnd Else Send("{TAB}"); Sleep(50); EndIf WEnd Now I get a line 20 (the last line) "WEnd" error... Should it just be End? I will play with it, but your probably smarter so if you could help Thanks again. Playaplaya
|
|
|
Post by playaplaya on Feb 3, 2005 14:06:23 GMT -5
Ok so without the game running I get no errors. Script looks like this....
#include "FFXI_Helper.au3" $MyTarget="Stroper Chyme"; $MyStunMacro="^1"; Func StartUpFFACT(); While (ScrollCheck()=1) FFACT_Update(); If(FFACT_GetTargetName()=$MyTarget) Then Send($MyStunMacro); While(FFACT_GetTargetName()=$MyTarget) Sleep(2000); FFACT_Update(); WEnd Else Send("{TAB}"); Sleep(50); EndIf WEnd EndFunc
I still don't know if this will work, but I will try. If you see something point out please.
Playaplaya
|
|
|
Post by playaplaya on Feb 3, 2005 14:46:33 GMT -5
Ok it tries to open then just closes, so I put a WinWaitActive("FFXiApp"); line at the top of the script. So now it waits for me to click the window for the game then just closes the script again. Is this a continous loop? I need this to run until the end of time. Maybe a $GlobalPause? I'll read up how exactly to make that. Any help would be appreciated.
Playaplaya
|
|