Wreyth
Junior Member
Posts: 50
|
Post by Wreyth on Mar 29, 2005 16:56:36 GMT -5
Ok i have been trying to figure out how to get this bot to tab faster it only tabs about one onec a second and i am stumped in trying to get this to work right ... i am using Autoterror and FFACT. heres the section for tab
Do Sleep(10); Until NumCheck()=1;
Send("{TAB}"); FFACTTargetUpdate(); $mob = FFACTTargetGetName();
|
|
|
Post by TinyTerror on Mar 29, 2005 17:25:45 GMT -5
Thats what the Autoterror 0.3 test is for. It can do somewhere on the order of 25 updates a second, where the old versions can only do around 5 or 6.
If you are using the new version and still running into these problems, please let me know. Also, you can remove that sleep command.
|
|
Wreyth
Junior Member
Posts: 50
|
Post by Wreyth on Mar 29, 2005 17:27:02 GMT -5
yeah i am using the newst 0.3 test with that section of the script and it's stil lonly tabbing every 1 sec or so
|
|
|
Post by TinyTerror on Mar 29, 2005 17:44:41 GMT -5
Could you post the entire script?
|
|
Wreyth
Junior Member
Posts: 50
|
Post by Wreyth on Mar 29, 2005 17:50:41 GMT -5
yeah its actually your voke script that comes with 0.2
here it is
AutoItSetOption("SendKeyDownDelay",200);
FFACTInit(); //Start up ffact interface $MyTarget="Spook"; //Set target name here
While 1=1; //Start infinite main loop
;//This loop sleeps until numlock is on. ;//This effectively pauses the script if numlock is off. ;//Even if numlock is on, the script will still sleep for 10ms per cycle.
Do Sleep(10); Until NumCheck()=1; //Do this until num lock is on
Send("{TAB}"); //Aquire target FFACTTargetUpdate(); //Check target $mob = FFACTTargetGetName(); //Get mob name
;//Voke condition If $mob = $MyTarget Then; //Check to see if this is the right target. Send("^1"); Fight(); EndIf
;//This loop sleeps until the target is killed or untargetted While $mob=$MyTarget; //Do this until target lost FFACTTargetUpdate(); //Check target $mob = FFACTTargetGetName(); //Get mob name Sleep(2000); WEnd
WEnd; //End infinite main loop
Func Fight() Sleep(3000) Send("^2");macro for auto attack Sleep(6000) Send("{W}"); EndFunc
everything else works fine in it, it just doesn't tab very fast and i thought the Sleep(10) would have fixed that if i am decifering this correctly. (Which i am only using this to learn from and get a basis for what i want)
thx for all your help tho Tiny!
|
|
Wreyth
Junior Member
Posts: 50
|
Post by Wreyth on Mar 29, 2005 18:09:33 GMT -5
AHHHHHHh i found the problem it was in the send key delay at the begining of the scipt i changed it to 100 instead of 200 and it works much better now ^^
|
|
|
Post by TinyTerror on Mar 29, 2005 18:59:54 GMT -5
Yup. Sendkeydelay acts just like sleep whenever a key is pressed.
|
|