Lineage 2 Tower Forum

Full Version: [HELP] Autofarm teleport
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my script for when i dead and go to village, buffs and go back farm zone. He buffs but when i talk with tatiana i dont know how to teleport to varka silenos, some1 can help me?

Sorry for my bad english

Code:
moveDistance = 30;
repeat
if(GetZoneType() == 12) then
Sleep(600);
SetPause(true); ---- to stop Tower in town, untill u get in farm-spot


WaitForTeleport();
MoveTo(147788, -58269, -2976, moveDistance);
MoveTo(147791, -56271, -2776, moveDistance);
MoveTo(148066, -55380, -2728, moveDistance);
TargetNpc("Adventurers' Guilde", 32327);
ShowToClient("System","Tiens tes buffs CULAY !");
Talk();
ClickLinkAndWait("blessing_list001.htm");
Click("menu_select?ask=-7&reply=21", "Warrior's Harmony, please.");
MoveTo(148139, -55555, -2742, moveDistance);
MoveTo(148027, -55361, -2734, moveDistance);
TargetNpc("Tatiana", 31275);
Talk();
ShowToClient("System","Teleportation...");
Click("teleport_request", "Teleport");
Click("teleport_4723561968_12_57_1264635302_1", "811;F;1010158");
Sleep(500);
MoveTo(147949, -55261, -2734, moveDistance);
WaitForTeleport();
MoveTo(149599, -112694, -2065, moveDistance);
MoveTo(149769, -112595, -2065, moveDistance);

if(GetZoneType() == 15) then
Sleep(700);
SetPause(false); ------ to reactivate Tower in farm spot.
end;
end;
until false;
(08-21-2013 06:36 AM)marianolibertad Wrote: [ -> ]This is my script for when i dead and go to village, buffs and go back farm zone. He buffs but when i talk with tatiana i dont know how to teleport to varka silenos, some1 can help me?

Sorry for my bad english

Code:
moveDistance = 30;
repeat
if(GetZoneType() == 12) then
Sleep(600);
SetPause(true); ---- to stop Tower in town, untill u get in farm-spot


WaitForTeleport();
MoveTo(147788, -58269, -2976, moveDistance);
MoveTo(147791, -56271, -2776, moveDistance);
MoveTo(148066, -55380, -2728, moveDistance);
TargetNpc("Adventurers' Guilde", 32327);
ShowToClient("System","Tiens tes buffs CULAY !");
Talk();
ClickLinkAndWait("blessing_list001.htm");
Click("menu_select?ask=-7&reply=21", "Warrior's Harmony, please.");
MoveTo(148139, -55555, -2742, moveDistance);
MoveTo(148027, -55361, -2734, moveDistance);
TargetNpc("Tatiana", 31275);
Talk();
ShowToClient("System","Teleportation...");
Click("teleport_request", "Teleport");
Click("teleport_4723561968_12_57_1264635302_1", "811;F;1010158");
Sleep(500);
MoveTo(147949, -55261, -2734, moveDistance);
WaitForTeleport();
MoveTo(149599, -112694, -2065, moveDistance);
MoveTo(149769, -112595, -2065, moveDistance);

if(GetZoneType() == 15) then
Sleep(700);
SetPause(false); ------ to reactivate Tower in farm spot.
end;
end;
until false;

Go here: http://forum.l2tower.eu/thread-guide-how...6#pid44686

But you must know that HTML CODE often change. So you must re-get html code.
Hi guys. I'm writing similar script and have the following issue: I can't check when I am under attack to prevent soe cast interruption. Any advices on how can I solve this are appriceated
(10-10-2013 15:38 PM)Matv Wrote: [ -> ]Hi guys. I'm writing similar script and have the following issue: I can't check when I am under attack to prevent soe cast interruption. Any advices on how can I solve this are appriceated

try to gethppercent of the target and when is at 0, set pause and soe
Reference URL's