Post by Wreyth on Jul 19, 2005 0:43:04 GMT -5
ok since i don't have the correct FFACT command for getting item info i jsut used what would probly be appropiate and will be changed accordingly as that information comes available.
I was sitting here waiting for the new ffxi update to get over with so i haven't tested this yet but here is a start of a crafting bot using AutoTerror. tanyways not sure if this will work and if not please point me in the right direction
AutoItSetOption("SendKeyDelay", 40)
WinActivate("FFXiApp");
AutoItSetOption("SendKeyDownDelay",40);
FFACTInit();
$MyRecipe= 0
$Crystal="crystal here";
$Item1="blah";
$Item2="blah blah";
$Item3="blah blah blah";
Do
Sleep(10);
Until NumCheck()=1;
Send('^i');
$MyRecipe=$MyRecipe +1
While $MyRecipe=1;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Crystal Then;
Send('{ENTER}');
Sleep(200);
Send('{ENTER}');
Sleep(200);
Send('{ENTER}');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=2;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Item1 Then;
Send('{ENTER}');
Sleep(200);
Send('{RIGHT');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=3;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Item2 Then;
Send('{ENTER}');
Sleep(200);
Send('{RIGHT');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=4;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Item3 Then;
Send('{ENTER}');
Sleep(200);
Send('{RIGHT');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=5;
Send('{RIGHT}');
Sleep(200);
Send('{ENTER}');
Sleep(15000);
Send ("^i");
Sleep(0100);
Send ("{NUMPADADD}");
Sleep (0100);
Send ("{ENTER}");
sleep(0100);
Send ("{UP}");
sleep(0100);
Send ("{ENTER}");
sleep(0100);
Send ("{ESCAPE}");
Sleep (5000);
$MyRecipe=$MyRecipe -5
WEnd
WEnd;
I have the feeling i am scrweing something up lol but it's a start :).
I was sitting here waiting for the new ffxi update to get over with so i haven't tested this yet but here is a start of a crafting bot using AutoTerror. tanyways not sure if this will work and if not please point me in the right direction
AutoItSetOption("SendKeyDelay", 40)
WinActivate("FFXiApp");
AutoItSetOption("SendKeyDownDelay",40);
FFACTInit();
$MyRecipe= 0
$Crystal="crystal here";
$Item1="blah";
$Item2="blah blah";
$Item3="blah blah blah";
Do
Sleep(10);
Until NumCheck()=1;
Send('^i');
$MyRecipe=$MyRecipe +1
While $MyRecipe=1;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Crystal Then;
Send('{ENTER}');
Sleep(200);
Send('{ENTER}');
Sleep(200);
Send('{ENTER}');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=2;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Item1 Then;
Send('{ENTER}');
Sleep(200);
Send('{RIGHT');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=3;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Item2 Then;
Send('{ENTER}');
Sleep(200);
Send('{RIGHT');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=4;
FFACTItemUpdate();
$Item = FFACTItemGetName();
If $Item = $Item3 Then;
Send('{ENTER}');
Sleep(200);
Send('{RIGHT');
$MyRecipe=$MyRecipe +1
Else
Send('{DOWN}');
EndIf
WEnd
While $MyRecipe=5;
Send('{RIGHT}');
Sleep(200);
Send('{ENTER}');
Sleep(15000);
Send ("^i");
Sleep(0100);
Send ("{NUMPADADD}");
Sleep (0100);
Send ("{ENTER}");
sleep(0100);
Send ("{UP}");
sleep(0100);
Send ("{ENTER}");
sleep(0100);
Send ("{ESCAPE}");
Sleep (5000);
$MyRecipe=$MyRecipe -5
WEnd
WEnd;
I have the feeling i am scrweing something up lol but it's a start :).