Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Duvida Diminuir o tempo de usar SOE
Author Message
rjsilva03 Offline
Expired VIP Member
**

Posts: 11
Joined: Aug 2014
Reputation: 0
Version: 1.4.3.143
Post: #1
Duvida Diminuir o tempo de usar SOE

Alguem poderia me dizer aonde diminuo o tempo de usar o SOE no script abaixo??

Code:
local running = true
function movetown()
SetPause(true); --If the bot is running, this command will pause it.
Sleep(500);
ShowToClient("System","L2TOWER X BUFF!");
Sleep(500);
ShowToClient("System","L2TOWER CITY!");
Sleep(1000);
TargetMe();
UseItem(736); --Use SOE.
WaitForTeleport();
ShowToClient("System","L2TOWER FREE SCRIPT!");
Sleep(500);
moveDistance = 30;
--------------------------
function movebuffer()
moveDistance = 30;
---loc1
x1= 148293
y1= -58309
z1= -2986
--------------------
---loc2 casi la 1
x2=147685
y2=-58213
z2=-2986
--------------------
---loc3
x3=146837;
y3=-58213;
z3=-2786;
-------------------
---loc4
x4=150405
y4=-56757
z4=-2986;
-------------------
---loc5 ca si la 3
x5=144501
y5=-55093
z5=-2986;
------------------
---loc6 ca si la 3
x6=147685
y6=-56933
z6=-2786
-----------------
----loc7 ca si la 3
x7=144757
y7=-56757
z7=-2986
----------------
----loc8 ca si la 4
x8=149877
y8=-57429
z8=-2986
----------------
---- loc9 ca si la 6
x9=147669
y9=-56469
z9=-2786
----------------
---loc10 ca si la 1
x10=45489
y10=49767
z10=-3064
----------------
---loc11 ca si la 3
x11=148565
y11=-55909
z11=-2786
----------------


if (GetDistanceVector(GetMe():GetLocation(), FVector(x1,y1,z1)) < 300) then
MoveTo(147725, -58082, -2986, moveDistance);
MoveTo(147707, -56232, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x2,y2,z2)) < 300) then
MoveTo(147725, -58082, -2986, moveDistance);
MoveTo(147707, -56232, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x3,y3,z3)) < 300) then
MoveTo(147733, -56124, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x4,y4,z4)) < 300) then
MoveTo(149918, -56878, -2986, moveDistance);
MoveTo(149181, -56395, -2786, moveDistance);
MoveTo(147743, -56105, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x5,y5,z5)) < 300) then
MoveTo(145372, -56911, -2986, moveDistance);
MoveTo(146544, -56256, -2786, moveDistance);
MoveTo(147733, -56124, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x6,y6,z6)) < 300) then
MoveTo(147733, -56124, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x7,y7,z7)) < 300) then
MoveTo(145528, -56859, -2986, moveDistance);
MoveTo(146299, -56360, -2786, moveDistance);
MoveTo(147733, -56124, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x8,y8,z8)) < 300) then
MoveTo(149918, -56878, -2986, moveDistance);
MoveTo(149181, -56395, -2786, moveDistance);
MoveTo(147743, -56105, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x9,y9,z9)) < 300) then
MoveTo(147733, -56124, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x10,y10,z10)) < 300) then
MoveTo(147725, -58082, -2986, moveDistance);
MoveTo(147707, -56232, -2786, moveDistance);
Sleep(1000)
takebuffs()
elseif (GetDistanceVector(GetMe():GetLocation(), FVector(x11,y11,z11)) < 300) then
MoveTo(147733, -56124, -2786, moveDistance);
Sleep(1000)
takebuffs()
else UseItem(736);
Sleep(20000);
end;
end;

function takebuffs()
MoveTo(148020, -55276, -2734, moveDistance);
MoveTo(148022, -55640, -2742, moveDistance);
MoveTo(147980, -56023, -2781, moveDistance);
MoveTo(148365, -56199, -2781, moveDistance);
TargetNpc("Adventurers' Guide", 32327);
Talk();
ClickAndWait("menu_select?ask=-7&reply=6", "\"What kind of buffs do you have?\"");
Click("menu_select?ask=-7&reply=21", "\"Warrior's Harmony, please.\"");
MoveTo(148547, -56260, -2778, moveDistance);
MoveTo(148230, -56154, -2780, moveDistance);
MoveTo(147931, -55951, -2766, moveDistance);
MoveTo(147916, -55629, -2742, moveDistance);

TargetNpc("Proclaimer", 36615);
MoveTo(147949, -55307, -2734, moveDistance);
Talk();
Click("menu_select?ask=-7&reply=2", "\"A blessing of light? Thanks!\"");
MoveTo(147949, -55307, -2734, moveDistance);

TargetNpc("Tatiana", 31275);
MoveTo(147974, -55324, -2734, moveDistance);
Talk();
ClickAndWait("teleport_request", "\"Teleport me, please.\"");
Click("teleport_4810714992_14_57_1321311460_1", "F;1010528");
WaitForTeleport();
end

function movetospot()
moveDistance = 30;
MoveTo(186704, -75920, -2825, moveDistance);
MoveTo(186546, -75610, -2825, moveDistance);

x12=186546
y12=-75610
z12=-2825


if(GetDistanceVector(GetMe():GetLocation(), FVector(186704,-75610,-2825)) < 300) then
ShowToClient("System","Run to your spot fool!")
TargetMe();
MoveTo(186356, -75559, -2752, moveDistance);
MoveTo(186250, -75565, -2731, moveDistance);
MoveTo(185309, -75672, -2731, moveDistance);
MoveTo(185113, -75811, -2731, moveDistance);
MoveTo(184988, -76024, -2731, moveDistance);
MoveTo(184893, -76488, -2731, moveDistance);
MoveTo(184835, -76892, -2731, moveDistance);
MoveTo(184810, -77119, -2731, moveDistance);
MoveTo(184716, -78267, -2731, moveDistance);
MoveTo(184598, -78720, -2731, moveDistance);
MoveTo(184494, -78716, -2731, moveDistance);
MoveTo(184382, -78711, -2731, moveDistance);
MoveTo(181837, -78627, -2728, moveDistance);
MoveTo(181589, -78142, -2727, moveDistance);
MoveTo(181432, -76930, -2728, moveDistance);
MoveTo(181289, -75221, -2731, moveDistance);
MoveTo(178845, -75318, -2731, moveDistance);
MoveTo(177027, -75314, -2731, moveDistance);
MoveTo(175750, -75338, -2731, moveDistance);
MoveTo(175281, -75325, -2731, moveDistance);
MoveTo(175151, -75345, -2731, moveDistance);

x12=175151
y12=-75345
z12=-2731

Sleep(900)
if(GetDistanceVector(GetMe():GetLocation(), FVector(x12,y12,z12)) < 300) then
Sleep(700);
SetPause(false); ------ to reactivate Tower in farm spot.
ClearTargets();
ShowToClient("System","TOWER CONTINUA!")
Sleep(1000);
end;
end;
end;
end;

function need_buffs()
if not GetMe():GotBuff(15649) then
return true
end
return false
end

function need_rez()
if GetMe():IsAlikeDeath() == true then
return true
end
return false
end


function main()
if running then
if need_buffs() and not need_rez() then
movetown()
movebuffer()
takebuffs()
movetospot()
elseif need_rez() then
SetPause(true)
Sleep(900)
RequestRestartPoint(2)
movebuffer()
takebuffs()
movetospot()
end
end
return false
end

repeat
if running then
main()
end
Sleep(60*1000)
ClearTargets()
until false;
10-07-2014 01:56 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Alguem conseguiu usar no L2 centos?? jeucken99 0 699 05-31-2019 14:11 PM
Last Post: jeucken99
  Como usar o L2Tower na versão Ertheia ? vinkami 6 3,841 04-19-2018 22:53 PM
Last Post: Banikas
  Usar L2Tower no Brthunder fubu008 2 1,801 05-08-2017 14:28 PM
Last Post: xenosaga
  nao to conseguindo usar o tower railtonvale 2 1,789 04-10-2016 22:18 PM
Last Post: uenercoelho
  Duvida enorme Marcelobr83 2 1,428 12-23-2015 16:28 PM
Last Post: dracolucas
  como usar tower apos atualizacao 16/10/15 OFICIAL SERVER? comyketo 6 4,279 11-29-2015 22:58 PM
Last Post: SrRed
  Como usar o nova versão do l2 tower ??? liputa 63 57,487 11-29-2015 22:31 PM
Last Post: Rusty
  Scrip para next Target e Usar MP e HP uenercoelho 0 1,813 11-26-2015 09:17 AM
Last Post: uenercoelho
Sad [Duvida] Qual a vantagem de ser vip? naathans 1 1,408 11-17-2015 03:48 AM
Last Post: Colin
  Duvida Ajudem PORFAVOR thsr 1 1,396 08-03-2015 14:35 PM
Last Post: tlutino



User(s) browsing this thread: 1 Guest(s)