L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
stealth dash script
Author Message
SeraNoxa Offline
Gremlin
*

Posts: 5
Joined: Jul 2015
Reputation: 1
Version: 1.4.2.133
Post: #1
stealth dash script

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..
(This post was last modified: 07-07-2015 00:21 AM by SeraNoxa.)
07-06-2015 23:38 PM
Find all posts by this user Quote this message in a reply
benbt91 Offline
VIP Member
***

Posts: 694
Joined: Mar 2012
Reputation: 47
Version: 1.4.3.143
Post: #2
RE: stealth dash script

    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

07-07-2015 01:59 AM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #3
RE: stealth dash script

you have no need for scripts, use self buffs from tower ui

Heart
07-07-2015 03:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SeraNoxa Offline
Gremlin
*

Posts: 5
Joined: Jul 2015
Reputation: 1
Version: 1.4.2.133
Post: #4
RE: stealth dash script

(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.
07-07-2015 04:25 AM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #5
RE: stealth dash script

by user

Heart
07-07-2015 08:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SeraNoxa Offline
Gremlin
*

Posts: 5
Joined: Jul 2015
Reputation: 1
Version: 1.4.2.133
Post: #6
RE: stealth dash script

(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
(This post was last modified: 07-07-2015 12:06 PM by SeraNoxa.)
07-07-2015 11:20 AM
Find all posts by this user Quote this message in a reply
schubbel2208 Offline
Expired VIP Member
**

Posts: 154
Joined: Jun 2012
Reputation: 35
Version: 1.4.3.143
Post: #7
RE: stealth dash script

(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-07-2015 12:26 PM
Find all posts by this user Quote this message in a reply
nnicwom Offline
Gremlin
*

Posts: 7
Joined: Jun 2015
Reputation: 0
Version: 1.4.1.121
Post: #8
RE: stealth dash script

(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.
07-07-2015 15:08 PM
Find all posts by this user Quote this message in a reply
SeraNoxa Offline
Gremlin
*

Posts: 5
Joined: Jul 2015
Reputation: 1
Version: 1.4.2.133
Post: #9
RE: stealth dash script

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.


Attached File(s)
.lua  JoiasTT.lua (Size: 6.46 KB / Downloads: 35)
(This post was last modified: 07-07-2015 22:53 PM by SeraNoxa.)
07-07-2015 19:43 PM
Find all posts by this user Quote this message in a reply
 Reputed by : nnicwom(+1)
SeraNoxa Offline
Gremlin
*

Posts: 5
Joined: Jul 2015
Reputation: 1
Version: 1.4.2.133
Post: #10
RE: stealth dash script

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 ?
(This post was last modified: 07-13-2015 20:59 PM by SeraNoxa.)
07-13-2015 20:54 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Big Grin dash skill(TH) aisvariukas 8 5,164 11-13-2014 18:50 PM
Last Post: aisvariukas



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