Jump to content

total made counter


dutchxxje

Recommended Posts

private int counter;

if something made
counter += (int) getInventory().getAmount("name here");

 

it really has to go on expierence

 

every 4 crafting xp gained is +1 made

since i dont loot anything i just click on it

 

so it had to be something like

total xp gained =4 4=1 or something like that

Link to comment
Share on other sites

it really has to go on expierence

 

every 4 crafting xp gained is +1 made

since i dont loot anything i just click on it

 

so it had to be something like

total xp gained =4 4=1 or something like that

        gfx.drawString((getExperienceTracker().getGainedXP(Skill.RUNECRAFTING)/7)+"",150,95); // essence used

Link to comment
Share on other sites

private int counter;

if something made
counter += (int) getInventory().getAmount("name here");

 

EDIT

fixed 

I know its not clean looking but this was my fix

 

 this.totalmade = (this.skills.getExperience(Skill.CRAFTING) - this.startExperiencecrafting);
    this.madeHour = ((int)(this.totalmade * 3600000.0D / (System.currentTimeMillis() - this.startTime)));
    this.madetotal = totalmade / 4;
    this.makehour = madeHour / 4;
Edited by dutchxxje
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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