Results 1 to 15 of 15

Thread: Universal Proggy System

  1. #1
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default Universal Proggy System

    Simba Code:
    procedure Proggy;
    var
      StartTime:Integer;
      XP,XPH,Sec:Integer;
    begin
    ClearDebug;
    XP := GetXPBarTotal - Players[CurrentPlayer].Integers[0];
    Sec:= (1+((Getsystemtime-StartTime)/1000));
    XPH := (3600*XP) / (SeC);
    //Your other vars go here

    writeLn('============Proggy============');
    writeLn('Time Running: ' + TimeRunning);
    writeLn('XP Earned: ' + IntToStr(XP));
    writeLn('XP/h: ' + IntToStr(XPH));
    //other stuff
    //other stuff
    writelN('===================================');
    end;

    Add that before your main loop:

    StartTime:=GetSystemTime;
      if (Players[CurrentPlayer].Integers[1] = 0) then
      begin
        if not IsXPBarOpen then ToggleXPBar(true);
          Players[CurrentPlayer].Integers[0] := GetXPBarTotal;
          Players[CurrentPlayer].Integers[1] := (Players[CurrentPlayer].Integers[1] + 1);
      end;

    Should save you guys a lot of time =]

  2. #2
    Join Date
    Jul 2008
    Location
    NSW, Australia
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

  3. #3
    Join Date
    Dec 2011
    Location
    Berlin
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Pretty cool!
    +Rep

    I will try to answer all Runescape related questions!

  4. #4
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    There is already a universal proggy system included in srl/misc...

  5. #5
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    There is already a universal proggy system included in srl/misc...
    *facepalmed*
    Last edited by Zyt3x; 04-21-2012 at 01:58 PM. Reason: removed meme

  6. #6
    Join Date
    Jun 2006
    Location
    N Wales
    Posts
    558
    Mentioned
    2 Post(s)
    Quoted
    56 Post(s)

    Default

    check out reports.simba in misc

    E: already said woops

  7. #7
    Join Date
    Nov 2007
    Posts
    127
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    thanks

  8. #8
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Half the people don't know reports.simba exist.
    And abu, you say MY attitude is bad?

    I do believe that meme applies to this.

  9. #9
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I appreciate it..
    rep+ but I have to rep someone else first

  10. #10
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    I didn't know reports.simba existed before this thread lol I used Abu's tutorial before.

  11. #11
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Ollybest View Post
    I didn't know reports.simba existed before this thread lol I used Abu's tutorial before.
    My point proven.

  12. #12
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Save me a lot of time? Maybe 3 minutes.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  13. #13
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    Save me a lot of time? Maybe 3 minutes.
    Doing frost dragons = 2.5m/h.
    2.5m / 60 = 41666.66666666667.
    41666 x 3 = 120k
    Saved you 120k / $0.06 ^^

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

    Default

    Quote Originally Posted by Sin View Post
    Doing frost dragons = 2.5m/h.
    2.5m / 60 = 41666.66666666667.
    41666 x 3 = 120k
    Saved you 120k / $0.06 ^^

    6 whole cents! Could be helpful for newcomers, good job.
    Last edited by tehq; 04-20-2012 at 08:24 PM.

  15. #15
    Join Date
    Nov 2011
    Posts
    72
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks a ton for this
    I like making stuff.

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
  •