|
Post by Kelpinn on Feb 16, 2005 17:47:47 GMT -5
Would you have to take into account also when the fight is over and you're healing ?? You're $CurHP will still be lower than $OldHP, but you're not fighting ... Does this make any sense
|
|
|
Post by TinyTerror on Feb 16, 2005 18:07:59 GMT -5
Check the code again. Every cycle $OldHP is set to $CurHP. The attack section is only triggered if your HP decreases between cycles.
|
|
|
Post by Kelpinn on Feb 17, 2005 8:00:19 GMT -5
Cool, didn't get that one the first time around Not enough Coca-Cola in my body
|
|
|
Post by TinyTerror on Feb 17, 2005 8:10:36 GMT -5
Some algorithms can be tricky to look at. This is a basic change dtection algorithm thats used in alot of software to detect if something has changed over a period of time.
|
|
|
Post by weeman on Mar 6, 2005 20:39:55 GMT -5
im haveing same porb with bot it keeps tabing but wont voke >.< idk what to do i tryed what you said but i still cnt get it to work
|
|
|
Post by Izlude on Apr 15, 2005 18:46:22 GMT -5
hmmmmm well, it seemed to work for me hehe sorry
|
|
|
Post by Corsair on May 1, 2005 16:09:32 GMT -5
i just read this entire post QUITE Impressive and yes you do learn a lot from it all althought I barely know anything I realized. (Althougth computer science class is coming back to me). I understand how the script works to an extent. The only part that is confusing me so far is which progams to use... FFACT, helper, AC, terror. I guess I need to get terror installed... im gonna go find that now and also have ffact?
|
|
|
Post by Corsair on May 1, 2005 16:20:22 GMT -5
Ok reading further... Autoterror is different from auto it... should i remove auto it. Izlude i know that this your baby so once i get everything installed would you give me a hand or two?
|
|
|
Post by Izlude on May 2, 2005 14:48:18 GMT -5
HAHAHA well in the end i ended up using the voke that comes with AT. But i am gunna retry this bot, just to be able to say i matered voke botting! lol I will sure give ya a hand, back when i tried to use it i used ffact and auto it v3. But AT has fact integration, but due to the newest update we are all screwed. I would use the new ffact when it comes out and use auto terror to be error proof.
Any more questions?
|
|
|
Post by Izlude on May 2, 2005 15:44:56 GMT -5
Ok i have revised it and i will see how she goes i have added some functions and stuff to make this beast. I brought back the old one the original idea that i started with, however i cant really test it cause all scripts are screwed now. here it is:
;//FFACT enabled voke script example ;//Autoterror and FFXI_Helper are required. ;//By Izlude
FFACTInit(); WinWaitActive("FFXiApp"); $MyTarget="Goblin Thug"; $MyVokeMacro="^1"; $CurHP=FFACTPlayerGetCurrentHP(); $MaxHP=FFACTPlayerGetMaximumHP();
#include "FFXI_Helper.au3" StartUpFFACT(); While 1=1
Do Sleep(10); Until NumCheck()=1;
Send("{TAB}"); sleep(10);
FFACT_Update(); If(FFACT_GetTargetName()=$MyTarget) Then; If FFACTTargetGetDistance()=18.76183 Then; Send($MyVokeMacro); Send ("/follow"); EndIf EndIf While(FFACT_GetTargetName()=$MyTarget) Sleep(2000); FFACT_Update(); WEnd
FFACTPlayerUpdate(); IF ($CurHP<$MaxHP) Then; Send ("/heal"); Send ("{ENTER}"); EndIf If $CurHP=$MaxHP Then; Send ("/heal"); Send ("{ENTER}"); EndIf
if ya see any errors please post
|
|
|
Post by Corsair on May 2, 2005 18:11:05 GMT -5
Well... Maybe I didnt make it clear... im not even able to play with any code yet because I cant get the right programs... help me get the stuff set up and ill be your little experimentor if you want. I dont care if my character gets warned... its fun to try stuff like this. OR you could just adopt me as your immigrant step child and carry me under your wing ^^
|
|
|
Post by Izlude on May 2, 2005 18:25:52 GMT -5
HAHAHAHAHA!!!! well right now nobody can experiment with scripts cause the new update seemed to do something odd. But to run the scripts use autoterror. AutoTerror now has all or most FFACT funtions, when ffact comes out then use that to get info out of game. Anything else?
|
|