Results 1 to 3 of 3

Thread: Progress report issues

  1. #1
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Progress report issues

    After like an hour or so the EXP and bows per hour stop.

    Simba Code:
    procedure Proggy;//Thanks to King Kong and Camaro' for their input on this.
    var
      Bows : Integer;
      EXP : Extended;
      PerHour : Integer;
      BowsPerHour : Integer;
      ExpPerHour : Integer;
      TotalExp : Integer;
      Antiban : Integer;  

    begin
      EXP := 58;
      PerHour := 3600000 div (GetTimeRunning);
      BowsPerHour := (PerHour * Bows);
      ExpPerHour := (PerHour *TotalExp);
      ClearDebug;
      Writeln('=======================================================');
      Writeln('                    Yanille Fletcher');
      Writeln('            Time running: '+TimeRunning+'');
      Writeln('            Bows cut: '+ToStr(Bows)+'');
      Writeln('            Bows per hour: '+ToStr(BowsPerHour)+'');
      Writeln('            Amount left: '+ToStr(BowsWanted - Bows)+'');
      Writeln('            Exp gained: ' + FloatToStr(Bows * EXP) + '');
      Writeln('            Exp per hour: '+ToStr(ExpPerHour)+'');
      Writeln('            Antibans used: '+ToStr(Antiban)+'');
      Writeln('=======================================================');
      FindNormalRandoms;
      TheAntiBan;
      stats_IncVariable('Maple Logs Fletched', 28);
      stats_IncVariable('Fletching EXP (Gained)', 1624);
      stats_Commit;
    end;
    I wear my scars like the rings on a pimp
    I live life like the captain of a sinking ship
    Always sell your product for ATLEAST mid to ensure that the market doesn't drop.

  2. #2
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Try this formula:
    Round( (XP*60.0)/(PlayerWorked(CurrentPlayer)/60000.0))

    where PlayerWorked(CurrentPlayer) you would put GetTimeRunning if you want
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  3. #3
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Thanks I'll give it a try.
    I wear my scars like the rings on a pimp
    I live life like the captain of a sinking ship
    Always sell your product for ATLEAST mid to ensure that the market doesn't drop.

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
  •