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
Skill ID, How to get it
Author Message
cyberu2 Offline
Expired VIP Member
**

Posts: 13
Joined: Jul 2012
Reputation: 9
Version: 1.4.2.134.5b
Post: #1
Question Skill ID, How to get it

Hello, well im trying to finish some scripts and I was wondering how do I get the ID of the skills, i know there is a command for it, but I cant remember it, so you can record the Skill ID in a file, I used it before I just cant remember it, please help
(This post was last modified: 05-13-2015 00:03 AM by cyberu2.)
05-13-2015 00:02 AM
Find all posts by this user Quote this message in a reply
Sakaszli Offline
I'm too pro to be pro.
*******

Posts: 1,189
Joined: Jan 2011
Reputation: 484
Version: 1.4.2.134.5b
Post: #2
RE: Skill ID, How to get it

Z:\l2tower\config\!path to your l2!

and there is fille calld skills.txt
(This post was last modified: 05-13-2015 00:18 AM by Sakaszli.)
05-13-2015 00:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
 Reputed by : cyberu2(+1)
cyberu2 Offline
Expired VIP Member
**

Posts: 13
Joined: Jul 2012
Reputation: 9
Version: 1.4.2.134.5b
Post: #3
RE: Skill ID, How to get it

ok I see the file, but to make thing a little cleaner and just look for the skill i will use without going into all the skills, I would love to get the command to record the skill ID in the file like I have in the past, I just cant remember the command, I still appreciate your help, for now I will look into the skill file and find what I need atm thx a lot.


P.S: I seem to recall was something like .skillrecord or something like it, if someone knows please advice
(This post was last modified: 05-13-2015 02:48 AM by cyberu2.)
05-13-2015 02:46 AM
Find all posts by this user Quote this message in a reply
FML Offline
Expired VIP Member
**

Posts: 52
Joined: Aug 2012
Reputation: 4
Version: 1.4.2.133
Post: #4
RE: Skill ID, How to get it

/recstart_filenamehere
spam ur skills
/recstop

and there will be a file in ur script folder with the ID's u used.
05-13-2015 11:04 AM
Find all posts by this user Quote this message in a reply
 Reputed by : cyberu2(+2)
cyberu2 Offline
Expired VIP Member
**

Posts: 13
Joined: Jul 2012
Reputation: 9
Version: 1.4.2.134.5b
Post: #5
Wink RE: Skill ID, How to get it

Thanks a lot, that's what I was looking for
05-13-2015 17:49 PM
Find all posts by this user Quote this message in a reply
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #6
RE: Skill ID, How to get it

    LUA Programming
myclass= L2Class2String(GetMe():GetClass());
myname= GetMe():GetName();
mylvl= GetMe():GetLevel();
 
filename = GetDir() .. "SkillList-" .. myclass .."-" .. myname .."-" .. mylvl ..".txt";
file = io.open(filename, "w");
ShowToClient(tostring(os.date("%X")), "file: " .. filename, 3);
 
 
if (file) then
	skillList = GetSkills();
	file:write( "SKILL LIST:\t ".. myclass .. " (" .. mylvl ..") \n\n\n");
	file:write( "ACTIVE SKILL LIST:\n");
	for skill in skillList.list do -- lets loop thru the list
 if not skill.isPassive then
 idaux = tostring(skill.skillId)
 nameaux = tostring(skill.name)
 file:write( idaux .." \t\t-- "..nameaux .. "\n");
 end;
	end;
 
	file:write( "\n\nPASSIVE SKILL LIST:\n");
	for skill in skillList.list do -- lets loop thru the list
 if skill.isPassive then
 idaux = tostring(skill.skillId)
 nameaux = tostring(skill.name)
 file:write( idaux .." \t\t-- "..nameaux .. "\n");
 end;
	end;
	file:close();
else
	ShowToClient(tostring(os.date("%X")), "Can't save into file: " .. filename, 3);
end;


PUSH [Image: knUu53] IF HELPED
(This post was last modified: 05-14-2015 13:08 PM by TheQQmaster.)
05-14-2015 13:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
 Reputed by : cyberu2(+2)
cyberu2 Offline
Expired VIP Member
**

Posts: 13
Joined: Jul 2012
Reputation: 9
Version: 1.4.2.134.5b
Post: #7
Heart RE: Skill ID, How to get it

Thanks a lot this is even better, a really appreciated, I can try to finish my scripts now tySmile
05-15-2015 05:05 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Which skill a User is casting ? eJelly 5 4,014 01-15-2015 21:21 PM
Last Post: Vinter
  Othel Rogue Skill Help sfbengtson 1 2,204 07-07-2014 16:07 PM
Last Post: Fox
  Skill id AStark 4 3,488 05-16-2014 16:31 PM
Last Post: kerberos464
  Feoh - Shadow Snare Skill Snapper 3 4,588 04-18-2014 08:31 AM
Last Post: Hevenspo
  Any have id skill augment for god? lilou100 0 2,656 08-31-2013 19:30 PM
Last Post: lilou100



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