Results 1 to 9 of 9

Thread: How to make a proggie?

  1. #1
    Join Date
    Aug 2012
    Location
    Florida, US
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Red face How to make a proggie?

    Title says all, anyone help?

  2. #2
    Join Date
    Dec 2011
    Location
    Nj
    Posts
    2,341
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    A bunch o' Writeln 's with variables

    For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip

  3. #3
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Assuming you have basic scripting knowledge,..
    Simba Code:
    program Name;
    var
      LogCuts: Integer;  //allows you to save how many logs you have cut

    procedure CutLogs;
    begin
      CutInventoryOfLogs;  //cut the logs
      IncEx(Logscut, 28);  //increase how many logs you have cut by 28 (inventory size)
    end;

    procedure proggy;
    begin
      Writeln(TimeRunning); //writes how long script has been running for
      writeln('Logs cut' + ToStr(LogsCut));  //writes the value of LogsCut
    end;

    begin
      CutLogs;
      proggy;
    end.

    I would also recommend reading tutorials in the tutorial section.

  4. #4
    Join Date
    Aug 2012
    Location
    Florida, US
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What about for like CB scripts? I know I could like figure out how much xp per kill, then just multiply the amount of kills buy the xp of one killed, but.... The one I made is a retaliator so I don't really know when one is killed.... Do I say figure out how many kills per minute and killed x time in one minute x xp, and have the proggie "WriteIn" once every minute?

  5. #5
    Join Date
    Dec 2011
    Location
    Nj
    Posts
    2,341
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by forac View Post
    What about for like CB scripts? I know I could like figure out how much xp per kill, then just multiply the amount of kills buy the xp of one killed, but.... The one I made is a retaliator so I don't really know when one is killed.... Do I say figure out how many kills per minute and killed x time in one minute x xp, and have the proggie "WriteIn" once every minute?
    Well, I think it should update either every kill, or every minute, but if you are doing every minute, make it update the average kills per hour.

    And its WriteLn, not WriteIn. Cheers

    For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip

  6. #6
    Join Date
    Aug 2012
    Location
    Florida, US
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks guys

  7. #7
    Join Date
    Dec 2011
    Location
    Nj
    Posts
    2,341
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    Very welcome!

    For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip

  8. #8
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    You can also read the xp you have gained from the top right in the mainscreen. Once you start the script open the bar and save the value as starting xp. Then you can ocassionally update it.

    Script source code available here: Github

  9. #9
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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