Results 1 to 4 of 4

Thread: Help with Progress Reports?

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

    Default Help with Progress Reports?

    Is there a tut or a basic outline of how to get a working progress report. I attempted to add one to my powerminer and it doesn't keep track. I might be blind but using search only brings up other peoples posts about their progress reports with other scripts. I'd appreciate some help :3

    exp and hour would be nice too if possible.

  2. #2
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    make a global variable and then increase it everytime xp is gained. Then in your progress report proc/func print it out. xp/hr is just xp gained/timerunning

  3. #3
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    To increase a variable by one you can do

    Simba Code:
    Inc(Variable); // Increases the variable by 1


    Simba Code:
    IncEx(Variable, 28); // Increases the variable by 28

    you can use those to keep track of certain variables such as, 'Amount of times banked'. Then after each load, you can call a procedure that does something similar to this.

    Simba Code:
    procedure ProgressReport;
    begin
      Writeln('My first amazing progress report');
      Writeln('Time running: '+TimeRunning+'');//Time running is a variable automatically set so you don't have to keep track of the time running.
      Writeln('Times Banked: '+ToStr(Variable)+'');//ToStr converts the integer to a string.
    end;

    If needed you can view this tutorial for assitance: http://villavu.com/forum/showthread....rogress+report

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

    Default

    Thanks for the help guys. I got it recording how any iron ores now. Just gotta add a few more things and I will probably release it. Trying to perfect the M1D1 style using color lol
    Last edited by Hero; 12-19-2011 at 05:40 AM.

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
  •