Lineage 2 Tower Forum

Full Version: script stops 2 minutes walking
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is a script that collects other people all goes well when I use soe eg from blody s. to city darelf and continues to teleport to Gludio, it is here where I have the problem that when arriving at the city takes about 2 minutes to walk and end up going to the npc buffer .please help me why this happens and how to fix it


point out where the movement command starts coming to Gludio



repeat
if (GetMe():GotBuff(15649) == false)
then
SetPause(true); --If the bot is running, this command will pause it.
Sleep(500);
ShowToClient("System","Se acaban los bufos!");
Sleep(500);
ShowToClient("System","Volviendo a la city!");
Sleep(1000);
UseItem(736); --Use SOE.
Sleep(30000);
ShowToClient("System","Vamos que nos vamos...");
Sleep(500);
moveDistance = 30;
--------------------------
MoveTo(11041, 16107, -4582, moveDistance);
TargetNpc("Teleport Device", 30134);
MoveTo(11176, 16038, -4582, moveDistance);
Talk();
ClickAndWait("teleport_request", "\"Uh, can I teleport?\"");
ClickAndWait("teleport_4786699440_0_57_1209025494_1", "F;1010005");
WaitForTeleport();

MoveTo(-14598, 123920, -3128, moveDistance); <<< GLUDIO Undecided
MoveTo(-14379, 123961, -3128, moveDistance);
MoveTo(-14216, 123767, -3109, moveDistance);
TargetNpc("Adventurers' Guide", 32327);
MoveTo(-13935, 123372, -3115, moveDistance);
Talk();
ClickAndWait("menu_select?ask=-7&reply=6", "\"Is there anything you can do to strengthen me?\"");
Click("menu_select?ask=-7&reply=21", "\"Warrior's Harmony, please.\"");
MoveTo(-13935, 123372, -3115, moveDistance);
MoveTo(-14033, 123586, -3122, moveDistance);
----------------------------------------
if(GetZoneType() == 15) then
Sleep(700);
SetPause(false); ------ to reactivate Tower in farm spot.
Sleep(50*60000);
end;
end;
until false;
SetPause(true); --If the bot is running, this command will pause it.
Sleep(500);
Quote:I have the problem that when arriving at the city takes about 2 minutes to walk and end up going to the npc buffer .please help me why this happens and how to fix it

try replace this lines :

    LUA Programming
ClickAndWait("teleport_4786699440_0_57_1209025494_1", "F;1010005");
WaitForTeleport();



with

    LUA Programming
Click("teleport_4786699440_0_57_1209025494_1", "F;1010005");
Sleep(3000);

(01-21-2015 15:18 PM)pelukis Wrote: [ -> ]
Quote:I have the problem that when arriving at the city takes about 2 minutes to walk and end up going to the npc buffer .please help me why this happens and how to fix it

try replace this lines :

    LUA Programming
ClickAndWait("teleport_4786699440_0_57_1209025494_1", "F;1010005");
WaitForTeleport();



with

    LUA Programming
Click("teleport_4786699440_0_57_1209025494_1", "F;1010005");
Sleep(3000);




ty =) 100 %

Click("teleport_4786699440_0_57_1209025494_1", "F;1010005");
Sleep(3000);
Reference URL's