Results 1 to 4 of 4

Thread: Progress Report Request

  1. #1
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default Progress Report Request

    odd how i didnt find a progress report tutorial!!
    well, i know aproximitly how the report is done, just need some help

    Code:
    Procedure Report;
    begin
    writeln('*-------------------------------------*')
    writeln('*--*   Al Kharid Miner by: Jukka   *--*')
    writeln('*-------------------------------------*')
    writeln('*--* Iron mined    :               *--*')
    writeln('*--* Loads dropped :               *--*')
    writeln('*--* Exp Gained    :               *--*')
    writeln('*-------------------------------------*')
    writeln('*--* Time:                         *--*')
    writeln('*-------------------------------------*')
    end.
    if someone has a good tutorial or a link, feel free to hand it over

  2. #2
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Well

    Like Mined

    You add after like Succeful mining loop this

    Mined:=Mined + 28;

    Mined ( Variable )

    So it would come as

    writeln('Mined : ' + inttostr(Mined));

    And.. For that Time thing...
    I don't use SRL functions.. I use this

    PHP Code:
    Begin
      cst 
    := getsystemTime;
      
    srt := (cst sst) / 1000;
      
    tih := srt 3600;
      
    tim := (srt 60) - tih 60;
      
    tis := srt tim 60 tih 3600;
      
    awt := wet wst 
    ( On start of Progress report )

    PHP Code:
    Writeln('Worked       : ' inttostr(tih) + ' Hour''s ' inttostr(tim) + ' Min''s ' inttostr(tis) + ' Sec''s'); 
    And after

    SetupSRL; ( Or what ever you are using as include.. add )
    PHP Code:
      //Tih := 0;
      
    sst := GetSystemTime

    ~Home
    Last edited by Home; 04-06-2010 at 07:08 AM.

  3. #3
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Wow!, big thanks to you, nice talking to you on msn!

  4. #4
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Np man, Always plesasure :

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with Progress Report
    By Richard in forum OSR Help
    Replies: 4
    Last Post: 01-04-2008, 06:48 PM
  2. Best progress report?
    By Dangerous Garden Tools in forum News and General
    Replies: 12
    Last Post: 10-05-2007, 04:14 AM
  3. progress report:(
    By macromacro123 in forum OSR Help
    Replies: 0
    Last Post: 08-25-2007, 05:41 PM

Posting Permissions

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