Lineage 2 Tower Forum

Full Version: stealth dash script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So ive looked on forum, and tried recstart recstop, and adding lines, removing lines.

I need a script for casting stealth and dash. for the hot springs quest. i thought it was here but i cant find it.
tried making/editing these...

Code:
SCONFIG = L2TConfig.GetConfig();
SCONFIG_FILE = GetDir() .. '\\scripts\\dash.l2b';
L2TConfig.SaveConfig(SCONFIG_FILE);
moveDistance = 30;

MoveTo(144885, -113473, -2570, moveDistance);
UseSkill(411, false, false); -- Stealth
UseSkill(411, false, false); -- Stealth
UseSkill(411, false, false); -- Stealth
UseSkill(4, false, false); -- Dash
UseSkill(4, false, false); -- Dash
UseSkill(4, false, false); -- Dash
UseSkill(4, false, false); -- Dash
L2TConfig.LoadConfig(SCONFIG_FILE);
thats the recorded one
changed it to
Code:
SCONFIG = L2TConfig.GetConfig();
SCONFIG_FILE = GetDir() .. '\\scripts\\dashstealth.l2b';
L2TConfig.SaveConfig(SCONFIG_FILE);
UseSkill(411, false, false); -- Stealth
UseSkill(4, false, false); -- Dash
Sleep(30*60*1000) -- 1 min w8
L2TConfig.LoadConfig(SCONFIG_FILE);
also tried making 2 different scripts with
Code:
repeat
Command ("/useshortcut 1 3");
Sleep(30*60*1000) -- 1 min w8
until false
Code:
repeat
Command ("/useshortcut 1 2");
Sleep(30*60*1000) -- 1 min w8
until false
so they ran in seperate scripts.
but some dont work at all, some only run 1 time.

So i need a script that runs Stealth, so im perma stealthed, and then hopefully dash everytime i can. But the permastealth is kinda 100% needed. i hope anyone can help me Smile

EDIT: found selfbuff menu, but i cant find any skills in there, so i cant put up stealth/dash as selfbuffs..
    LUA Programming
repeat
Command ("/useshortcut 1 2");
Sleep(10*60*1000) -- 1 min w8
Command ("/useshortcut 1 3");
Sleep(10*60*1000) -- 1 min w8 
until false

you have no need for scripts, use self buffs from tower ui
(07-07-2015 03:39 AM)Fox Wrote: [ -> ]you have no need for scripts, use self buffs from tower ui

the selfbuff wouldnt let me select any skills.
by user
(07-07-2015 08:14 AM)Fox Wrote: [ -> ]by user

http://gyazo.com/261b65af45dd0b7c6cdc6d18d3e1130b

i know im newb, but this is where im looking for it, and it dont show up.

(07-07-2015 01:59 AM)benbt91 Wrote: [ -> ]
    LUA Programming
repeat
Command ("/useshortcut 1 2");
Sleep(10*60*1000) -- 1 min w8
Command ("/useshortcut 1 3");
Sleep(10*60*1000) -- 1 min w8 
until false

The script only runs the stealth 1 time, and then does nothing Sad
(07-07-2015 11:20 AM)SeraNoxa Wrote: [ -> ]
(07-07-2015 08:14 AM)Fox Wrote: [ -> ]by user

http://gyazo.com/261b65af45dd0b7c6cdc6d18d3e1130b

i know im newb, but this is where im looking for it, and it dont show up.

(07-07-2015 01:59 AM)benbt91 Wrote: [ -> ]
    LUA Programming
repeat
Command ("/useshortcut 1 2");
Sleep(10*60*1000) -- 1 min w8
Command ("/useshortcut 1 3");
Sleep(10*60*1000) -- 1 min w8 
until false

The script only runs the stealth 1 time, and then does nothing Sad

try this no idea if it works
    LUA Programming
repeat
if not GetMe():GotBuff(411) and (GetSkills():FindById(411) ~= nil) and (GetSkills():FindById(411):CanBeUsed()) then
UseSkillRaw(411,false,false);
Sleep(1000);
end;
if not GetMe():GotBuff(4) and (GetSkills():FindById(4) ~= nil) and (GetSkills():FindById(4):CanBeUsed()) then
UseSkillRaw(4,false,false);
Sleep(1000);
end;
Sleep(5000);
until false;

(07-06-2015 23:38 PM)SeraNoxa Wrote: [ -> ]So ive looked on forum, and tried recstart recstop, and adding lines, removing lines.

I need a script for casting stealth and dash. for the hot springs quest. i thought it was here but i cant find it.
tried making/editing these...

Code:
SCONFIG = L2TConfig.GetConfig();
SCONFIG_FILE = GetDir() .. '\\scripts\\dash.l2b';
L2TConfig.SaveConfig(SCONFIG_FILE);
moveDistance = 30;

MoveTo(144885, -113473, -2570, moveDistance);
UseSkill(411, false, false); -- Stealth
UseSkill(411, false, false); -- Stealth
UseSkill(411, false, false); -- Stealth
UseSkill(4, false, false); -- Dash
UseSkill(4, false, false); -- Dash
UseSkill(4, false, false); -- Dash
UseSkill(4, false, false); -- Dash
L2TConfig.LoadConfig(SCONFIG_FILE);
thats the recorded one
changed it to
Code:
SCONFIG = L2TConfig.GetConfig();
SCONFIG_FILE = GetDir() .. '\\scripts\\dashstealth.l2b';
L2TConfig.SaveConfig(SCONFIG_FILE);
UseSkill(411, false, false); -- Stealth
UseSkill(4, false, false); -- Dash
Sleep(30*60*1000) -- 1 min w8
L2TConfig.LoadConfig(SCONFIG_FILE);
also tried making 2 different scripts with
Code:
repeat
Command ("/useshortcut 1 3");
Sleep(30*60*1000) -- 1 min w8
until false
Code:
repeat
Command ("/useshortcut 1 2");
Sleep(30*60*1000) -- 1 min w8
until false
so they ran in seperate scripts.
but some dont work at all, some only run 1 time.

So i need a script that runs Stealth, so im perma stealthed, and then hopefully dash everytime i can. But the permastealth is kinda 100% needed. i hope anyone can help me Smile

EDIT: found selfbuff menu, but i cant find any skills in there, so i cant put up stealth/dash as selfbuffs..

Can you share the HS script please i want to see something because i'am having some problems to edit the script for the NPC crocus.
here is the hotpspring script

(07-07-2015 12:26 PM)schubbel2208 Wrote: [ -> ]
(07-07-2015 11:20 AM)SeraNoxa Wrote: [ -> ]
(07-07-2015 08:14 AM)Fox Wrote: [ -> ]by user

http://gyazo.com/261b65af45dd0b7c6cdc6d18d3e1130b

i know im newb, but this is where im looking for it, and it dont show up.

(07-07-2015 01:59 AM)benbt91 Wrote: [ -> ]
    LUA Programming
repeat
Command ("/useshortcut 1 2");
Sleep(10*60*1000) -- 1 min w8
Command ("/useshortcut 1 3");
Sleep(10*60*1000) -- 1 min w8 
until false

The script only runs the stealth 1 time, and then does nothing Sad

try this no idea if it works
    LUA Programming
repeat
if not GetMe():GotBuff(411) and (GetSkills():FindById(411) ~= nil) and (GetSkills():FindById(411):CanBeUsed()) then
UseSkillRaw(411,false,false);
Sleep(1000);
end;
if not GetMe():GotBuff(4) and (GetSkills():FindById(4) ~= nil) and (GetSkills():FindById(4):CanBeUsed()) then
UseSkillRaw(4,false,false);
Sleep(1000);
end;
Sleep(5000);
until false;


thx will try at some point, got in jail with the poor bot Big Grin will lvl up another friday.
Code:
repeat
if not GetMe():GotBuff(411) and (GetSkills():FindById(411) ~= nil) and (GetSkills():FindById(411):CanBeUsed()) then
UseSkillRaw(411,false,false);
Sleep(1000);
end;
if not GetMe():GotBuff(4) and (GetSkills():FindById(4) ~= nil) and (GetSkills():FindById(4):CanBeUsed()) then
UseSkillRaw(4,false,false);
Sleep(1000);
end;
Sleep(5000);
until false;
Used to use this code on l2e-global and it was working. but now it suddenly wont run anymore.
Anyone have an idea? Sad
EDIT: i did notice it suddenly using ghp every 1 min, so can they have changed the skillID to an item ?
Reference URL's