Jump to content

experienceTracker for all skills


Recommended Posts

Posted (edited)

Hey right now i can only show xp/hour for a specific skill

 experienceTracker.getGainedXPPerHour(Skill.STRENGTH) 

How can i show all the skills in Xp/hour 

 

If i'm understanding your question correctly, just check to ssee what stat is gaining exp. Then, set that as the xp to show, and if they're training on balanced make sure they can all show.

 

du talar svenska?

Edited by Twin
Posted (edited)

If i'm understanding your question correctly, just check to ssee what stat is gaining exp. Then, set that as the xp to show, and if they're training on balanced make sure they can all show.

 

So how do i check what skill the user gets Xp from, sorry for asking to much but i would like to be a good SDN scripter 

Edited by hajar424
Posted

So how do i check what skill the user gets Xp from, sorry for asking to much but i would like to be a good SDN scripter

I've never had to do it before, but I'm pretty sure you can just do like

If (strGainedExp > 0)

g.drawString(""+strPerHour,40,290);

Posted

The skill tracker still sucks. At least in my own class. I have a method that returns an array list of skills that gained experience. Which is what he's looking for.

Nah imo it provides all the stuff 99% of the scripts need. I mean, you don't expect to gain construction xp while fishing or something...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...