Hello folks.
I dunno if this is the right section for my question.
But i wanted to ask if it was possible to add a timer to learn a skill...
Lets say i want to learn heavy armor from a master in the icon that apears when learning the skill appears a time wich after it has been counted down the skill will be added to your list.
Is it possible to get something like this or make something like this, if so how do i begin and where.
Sincere:
Asgarth aka Michael.
Timed Skill Learn.
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- CyberAdmin
- Posts: 127
- Joined: Sat Jan 05, 2008 1:17 pm
- Location: United Kingdom
- Contact:
Timed Skill Learn.
Running: AMD Duron 750MHZ 1024SDRam 20GB ide HD TOP THAT 
Playing and Running server from same system.

Playing and Running server from same system.
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Timed Skill Learn.
how good are your java skills?
- CyberAdmin
- Posts: 127
- Joined: Sat Jan 05, 2008 1:17 pm
- Location: United Kingdom
- Contact:
Re: Timed Skill Learn.
pretty decent but the knowledge is still learning.
if i am being pointed at the right direction, with 1 or 2 lines the rest will automaticly follow.
if i am being pointed at the right direction, with 1 or 2 lines the rest will automaticly follow.
Running: AMD Duron 750MHZ 1024SDRam 20GB ide HD TOP THAT 
Playing and Running server from same system.

Playing and Running server from same system.
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Timed Skill Learn.
I'm not sure about the showing part (I doubt you'll be able to show this to the player)
but I don't see any reason why you can't add a timer (using ThreadPoolManager.getInstance().scheduleGeneral))
for say 10 minutes (10*60*100 ms) , called from addExpAndSp (L2PcInstance.java) or other method when level is increased
what you can make this task(timer) check is if there are any skills that are available to the player at this level haven't been learned, and silently learn them automatically
but I don't see any reason why you can't add a timer (using ThreadPoolManager.getInstance().scheduleGeneral))
for say 10 minutes (10*60*100 ms) , called from addExpAndSp (L2PcInstance.java) or other method when level is increased
what you can make this task(timer) check is if there are any skills that are available to the player at this level haven't been learned, and silently learn them automatically
- CyberAdmin
- Posts: 127
- Joined: Sat Jan 05, 2008 1:17 pm
- Location: United Kingdom
- Contact:
Re: Timed Skill Learn.
The basic structure i want to add is like:
A: A Player goes to a Master with skill book he just received for learning a specific skill.
B: The Player gives book to Master and select the skill from wich he has the book.
C: The Skill in term states it takes ... to learn this skill.
D: Player presses the learn skill button, and skill is going into a timer based section like a buff bar wich states how long it still has to go before skill is learned.
E: The timer is set trough database just like respawntime of a monster or raidboss.
F: Players in turn have to wait untill skill has been learned before using it.
i think this is basicly what i am looking for, and if this is possible todo as as far as i can see this already has been done via buff timers.
This will give the game a spin and a general unique feel for players really need to do something for their skills, and thus make it more uhm attractive to go for any specific thing.
A: A Player goes to a Master with skill book he just received for learning a specific skill.
B: The Player gives book to Master and select the skill from wich he has the book.
C: The Skill in term states it takes ... to learn this skill.
D: Player presses the learn skill button, and skill is going into a timer based section like a buff bar wich states how long it still has to go before skill is learned.
E: The timer is set trough database just like respawntime of a monster or raidboss.
F: Players in turn have to wait untill skill has been learned before using it.
i think this is basicly what i am looking for, and if this is possible todo as as far as i can see this already has been done via buff timers.
This will give the game a spin and a general unique feel for players really need to do something for their skills, and thus make it more uhm attractive to go for any specific thing.
Running: AMD Duron 750MHZ 1024SDRam 20GB ide HD TOP THAT 
Playing and Running server from same system.

Playing and Running server from same system.
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Timed Skill Learn.
I highly doubt that is possible without client modding.
Also, spellbooks aren't used anymore in L2
Also, spellbooks aren't used anymore in L2
- Copyleft
- Posts: 253
- Joined: Fri Feb 01, 2008 9:39 pm
Re: Timed Skill Learn.
just make them use the book (potion), which will give them a buff that when it fades out triggers a "learn skill" skill type (like forgotten scrolls are learned) that will learn the skill you want
alternatively... if you really need to get the buff through the skill master, make it so that it gives no skill for the book, but gives you the buff
alternatively... if you really need to get the buff through the skill master, make it so that it gives no skill for the book, but gives you the buff
- CyberAdmin
- Posts: 127
- Joined: Sat Jan 05, 2008 1:17 pm
- Location: United Kingdom
- Contact:
Re: Timed Skill Learn.
Thats a really good idea, never tought of that oneCopyleft wrote:just make them use the book (potion), which will give them a buff that when it fades out triggers a "learn skill" skill type (like forgotten scrolls are learned) that will learn the skill you want
alternatively... if you really need to get the buff through the skill master, make it so that it gives no skill for the book, but gives you the buff

Running: AMD Duron 750MHZ 1024SDRam 20GB ide HD TOP THAT 
Playing and Running server from same system.

Playing and Running server from same system.