Lineage 2 Tower Forum

Full Version: Go to village
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello. I am wondering how make a script that when i die my char go to village take buffs and continue the quest ? I try make that with /recstart
die->go to village->take buffs->teleport but didnt work
i cant transfer go to village button into sript how i do that please
u don't need it, just leave "to village" option enabled in resurrection basic-settings... it should work
are you sure about that because i die and nothing happens....
here my code
Code:
moveDistance = 30;

MoveTo(152261, -111518, -2468, moveDistance);
WaitForTeleport();
MoveTo(147717, -56292, -2781, moveDistance);
MoveTo(147873, -56040, -2774, moveDistance);
MoveTo(148015, -55710, -2750, moveDistance);
TargetNpc("Buffer", 30767);
Talk();
ClickAndWait("custom_dobuff fighterbuff", "Fighter Buffs");
MoveTo(148139, -55555, -2742, moveDistance);
MoveTo(148027, -55361, -2734, moveDistance);
TargetNpc("Tatiana", 31275);
Talk();
ClickAndWait("npc_268466895_Chat 1", "\"I want to teleport.\"");
ClickAndWait("npc_268466895_goto 1095", "Hot Springs - 9300 Adena");
MoveTo(147949, -55261, -2734, moveDistance);
WaitForTeleport();
MoveTo(149599, -112694, -2065, moveDistance);
MoveTo(149769, -112595, -2065, moveDistance);

also i want kill mobs that targets during the quest because now player try to attack but he also move to points... please help
mmh IF I'M NOT WRONG u need to be Vip to use such functions.... but i'm not sure about that....

    LUA Programming
moveDistance = 30;
-------------------------------------------------
repeat
if(GetMe():IsAlikeDeath() == true)then
SetPause(true); ---- to stop Tower untill u get in farm-spot
 >>>COMMAND GOTOVILLAGE<<< i dont know the exactly command
MoveTo(152261, -111518, -2468, moveDistance);
WaitForTeleport();
MoveTo(147717, -56292, -2781, moveDistance);
MoveTo(147873, -56040, -2774, moveDistance);
MoveTo(148015, -55710, -2750, moveDistance);
TargetNpc("Buffer", 30767);
Talk();
ClickAndWait("custom_dobuff fighterbuff", "Fighter Buffs");
MoveTo(148139, -55555, -2742, moveDistance);
MoveTo(148027, -55361, -2734, moveDistance);
TargetNpc("Tatiana", 31275);
Talk();
ClickAndWait("npc_268466895_Chat 1", "\"I want to teleport.\"");
ClickAndWait("npc_268466895_goto 1095", "Hot Springs - 9300 Adena");
MoveTo(147949, -55261, -2734, moveDistance);
WaitForTeleport();
MoveTo(149599, -112694, -2065, moveDistance);
MoveTo(149769, -112595, -2065, moveDistance);
SetPause(false);  ------ to reactivate Tower in farm spot.
end;
until false;




IF u wont get the right command "gototown", and u will use basic-setup "autorevive > go to town" use this:

    LUA Programming
moveDistance = 30;
-------------------------------------------------
repeat
if(GetMe():IsAlikeDeath() == true) then
Sleep(2000);
if(Paused == false) and (GetZoneType() == 12) then
SetPause(true); ---- to stop Tower in town, untill u get in farm-spot
MoveTo(152261, -111518, -2468, moveDistance);
WaitForTeleport();
MoveTo(147717, -56292, -2781, moveDistance);
MoveTo(147873, -56040, -2774, moveDistance);
MoveTo(148015, -55710, -2750, moveDistance);
TargetNpc("Buffer", 30767);
Talk();
ClickAndWait("custom_dobuff fighterbuff", "Fighter Buffs");
MoveTo(148139, -55555, -2742, moveDistance);
MoveTo(148027, -55361, -2734, moveDistance);
TargetNpc("Tatiana", 31275);
Talk();
ClickAndWait("npc_268466895_Chat 1", "\"I want to teleport.\"");
ClickAndWait("npc_268466895_goto 1095", "Hot Springs - 9300 Adena");
MoveTo(147949, -55261, -2734, moveDistance);
WaitForTeleport();
MoveTo(149599, -112694, -2065, moveDistance);
MoveTo(149769, -112595, -2065, moveDistance);
SetPause(false);  ------ to reactivate Tower in farm spot.
end;
end;
until false;

nothing happens too
So i guess u need VIP..
so if i get VIP the GO to village code will be work? and if i get VIP for 90 days .. this script work only for 90 days?
The script will work untill your vip status is On....

Anyway if u will wait few days i will test it and tell you if it work

Hey wait, are you sure you Started the script?? It is strange u din't get any error in chat...
Go to Tower resurrection, activate autorevive, activate go to village, then copy second script into script folder and then activate it from script-list in Tower section.. .. Then make your char die

tested 1 hour, it should work fine now:

(REMEMBER: RESURRECTION >> AUTO RESSURRECTION: ON// AUTO REVIVE: ON // TO VILLAGE: ON)
    LUA Programming
moveDistance = 30;
repeat
if(GetZoneType() == 12) then
Sleep(600);
SetPause(true); ---- to stop Tower in town, untill u get in farm-spot
 
MoveTo(152261, -111518, -2468, moveDistance);
WaitForTeleport();
MoveTo(147717, -56292, -2781, moveDistance);
MoveTo(147873, -56040, -2774, moveDistance);
MoveTo(148015, -55710, -2750, moveDistance);
TargetNpc("Buffer", 30767);
Talk();
ClickAndWait("custom_dobuff fighterbuff", "Fighter Buffs");
MoveTo(148139, -55555, -2742, moveDistance);
MoveTo(148027, -55361, -2734, moveDistance);
TargetNpc("Tatiana", 31275);
Talk();
ClickAndWait("npc_268466895_Chat 1", "\"I want to teleport.\"");
ClickAndWait("npc_268466895_goto 1095", "Hot Springs - 9300 Adena");
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;





u are not playing on GOD right? coz i see custom npc/lines in your script-rec, same for GK/spawn point.... i test just: "die--> go to village --> Pause BOT --> (when again out of town) UnPause Bot" and it works 100%, if u have problem is coz u did something wrong while recording the script with /recstart...
ooo thankssss man i didnt see the AUTO RESSURRECTION window in L2 Tower... xaxa i make it On and it works!!!!!! thanks bro!!!
Ahah np Smile

Lol, i don't know how many ppl helped, no1 made a +1 :/
Pages: 1 2
Reference URL's