Rzn
Junior Member
Posts: 55
|
Post by Rzn on Nov 1, 2005 3:36:53 GMT -5
This is a code example you may have to right click and "save target as" my forums do not know what to do with lua. calamity-ls.com/uploads/voke1.luathe only way to stop this script before it has provoked its target is to unload the script.
|
|
|
Post by joeba18 on Nov 14, 2005 19:38:06 GMT -5
ok i have taken your script and moded it a little im not sure if i have done it right but seeing that your the one that made it was hopeing maybe you could help me with it.
MyText=Graphics.text_CreateObject()--creat a text object called MyText Graphics.text_SetColor(255,255,255,255,MyText)--set the color for MyText Graphics.text_SetPosition(200,100,MyText)--set the position for MyText Graphics.text_SetFont("Arial",11,MyText)--set the font and size for MyText Graphics.text_SetVisibility(1,MyText)--set the visibility for MYText
Stat=1-- pre set Stat to something other than Done repeat--Main loop start Name=FFXI.target_GetName()-- get target name Distance=FFXI.target_GetTargetDistance()--get target distance Mytarget='Forest Hare' --preset the target you want to provoke
Output=string.format("MyTarget: %s\r\n\r\nCurrentTarget: %s\r\n Distance: %f\r\n",Mytarget,Name,Distance)--creats a formated string called Output
Graphics.text_SetText(Output,MyText) --sets text on screen useing settings and info from Output and MyText
if (Mytarget)==(Name) then --compair current target with the predefined target if Stat==Done then --check if we've allready done this break else end if (Distance)<(17) then --check provoke distance Control.control_SendString("/lockon") --lock on target Control.control_SetKey("NUMPAD8",true) --make sure you can see the target Windower.script_Sleep(2) Control.control_SetKey("NUMPAD8",false) Control.control_SendString("/ja Provoke <t>")--provoke your target Windower.script_Sleep(2) Control.control_SendString("/attack")--Go's into attack pos Stat=Done--kill main loop else--too far to provoke Control.control_SendString("/lockon")--lock on Control.control_SetKey("NUMPAD8",true)--run at target Windower.script_Sleep(20) repeat--close distance to target loop Distance=FFXI.target_GetTargetDistance()--update our Distance info if (Distance)<(17) then --check range Control.control_SetKey("NUMPAD8",false)--stop running Control.control_SendString("/ja Provoke <t>")--provoke target Windower.script_Sleep(2) Control.control_SendString("/attack")--Go's into attack pos Stat=Done--kill main loop else end until Stat==Done--kill loop end else Control.control_SetKey("TAB",true)--TABs for target Windower.script_Sleep(1) Control.control_SetKey("TAB",false)-- end until Stat==Done--if Stat is done kills the script
if Stat==Done then --checks if Stat is done Graphics.text_DeleteAll() --clears on screen text Windower.script_Sleep(5000) else end
this is what i added after the 2 provoke scripts
Windower.script_Sleep(2) Control.control_SendString("/attack")--Go's into attack pos
|
|
|
Post by Jubei on Nov 14, 2005 20:11:25 GMT -5
Dunno if you'll find many people with the appetite to help you with a voke script round these parts. By all means use it for your own personal gains but please don't post anymore vokebot code. I'm sure Tiny didn't develop Lunar and it's many exciting features for this purpose.
|
|
|
Post by TinyTerror on Nov 15, 2005 8:27:52 GMT -5
Yeah, I'm not to excited about voke bots. You'll find that the FFXI library is intentionally hostile towards fast reaction scripts like voke bots. I made it this way precisely to stop this kind of activity. I'm not going to stop anyone from posting about voke bots, but I'm not going to help anyone make them.
|
|