Results 1 to 9 of 9

Thread: Runescape Woodcutting Calculator

  1. #1
    Join Date
    Jan 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Runescape Woodcutting Calculator

    Runescape Woodcutting Calculator

    Hello people, this is my first script. Its not a bot script but more of a tool for you. This is a very basic Runescape woodcutting calculator. It is simple and easy to use if you read the instructions. I know you can go on the web and find one however if you ever need one at hand, or just simple want to review please download. I would like to thank Coh3n for his awsome Tutorial in Simba which helped write this.

    Simba Code:
    program Runescape_Woodcutting_Calculator;

     // Instructions
     // 1) Insert your players Woodcutting XP amount in the XP :=.... ; Section ( Line 23)
     // 2) Your desired amount of XP in the XP_WANTED := ... ; Section (Line 24 )
     // 3) Run The Script!
     // Do not change anything else expect where told too!


       var
       LOGS : Extended;
       TYPE_OF_TREE : String;
       XP : Integer;
       XP_WANTED : Integer;
       TREE_XP : Integer;
       XP_NEEDED : Integer;


    procedure Calculator;

     begin
      XP := 25000   //Type in the amount of Xp you have
      XP_WANTED := 100000 ; //Type in the amount of Xp you need for your target
      XP_NEEDED := XP_WANTED-XP;

      TYPE_OF_TREE:= 'Magic';
      LOGS :=  XP_NEEDED/250

      Writeln('You need to cut ' + FloatToStr(LOGS) + ' Magic Trees! ');

      TYPE_OF_TREE:= 'Normal'
      LOGS :=  XP_NEEDED/25

      Writeln('You need to cut ' + FloatToStr(LOGS) + ' Normal Trees! ');

      TYPE_OF_TREE:= 'Oak'
      LOGS := XP_NEEDED/37.5

      Writeln('You need to cut ' + FloatToStr(LOGS) + ' Oak Trees! ');

      TYPE_OF_TREE:= 'Willow'
      LOGS :=  XP_NEEDED/67.5

      Writeln('You need to cut ' + FloatToStr(LOGS) + ' Willow Trees! ');

      TYPE_OF_TREE:= 'Maple'
      LOGS :=  XP_NEEDED/100

      Writeln('You need to cut ' + FloatToStr(LOGS) + ' Maple Trees! ');

      TYPE_OF_TREE:= 'Yew'
      LOGS :=  XP_NEEDED/175

      Writeln('You need to cut ' + FloatToStr(LOGS) + ' Yew Trees! ');
      Writeln('  ')
      Writeln('Thank you for using Grumps Runescape Woodcutting Calculator!!!! ')
      Writeln('  ')

     end;


    begin
    ClearDebug;
    Calculator;

    end.

    Thanks
    Kebab

  2. #2
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    Looks great! Have you considered rounding the # of trees?

  3. #3
    Join Date
    Jan 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What do you mean?
    Kebab

  4. #4
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    Say you need to cut 315.111111.. logs. You could just round it to 315. Also maybe you could do something with the xp for levels too? Just throwing ideas out there

  5. #5
    Join Date
    Jan 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I could do , I would need to know how to work out how much xp goes for each level. That would be quite hard. Will see what I can do

    I dont know, how to round it , can you tell me?
    Kebab

  6. #6
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    Here's a nifty little equation to help you

    Experience Required

    where L = current skill level

  7. #7
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Grumps View Post
    I could do , I would need to know how to work out how much xp goes for each level. That would be quite hard. Will see what I can do

    I dont know, how to round it , can you tell me?
    Round() is what you're looking for

  8. #8
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by Runaway View Post
    Round() is what you're looking for
    Ceil() I think because if you need to cut 315.111111 logs for next level then you would have to cut 316 not 315.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  9. #9
    Join Date
    Jan 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, I will see to improve it
    Kebab

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •