Results 1 to 7 of 7

Thread: Modifying Power Chopper? help!

  1. #1
    Join Date
    Dec 2011
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Modifying Power Chopper? help!

    I have Pink's Power Chopper and I was wondering if anyone had the code needed in order to bank the logs at specific banks.

    Or how to add a new tree like a yew?

  2. #2
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    2,254
    Mentioned
    21 Post(s)
    Quoted
    238 Post(s)

    Default

    Simba Code:
    Procedure Bank;
    begin
    if ObjDTMWalk('631:91:4:1:7:595:89:1:7:595:73:1:7:603:50:1:7:580:77', 0, 100, 80, True)
    then
    begin
      wait(500 + random(250));
      WriteLn('made it to bank, banking...');
      if OpenBank('feb', false, false)
      then
      begin
        WriteLn('opened bank');
        if DepositAll then
        begin
          WriteLn('deposited all');
          CloseBank;
          //RestUntil(RandomRange(90,100));
          RestUp;
          SetRun(true);
        end
      end
      else
      begin
        WriteLn('Couldn''t bank');
        Terminator;  //Instead of TerminateScript, this is another procedure i have which
      end             //frees my DTM's
    end
    else WriteLn('didn''t make it to the bank');
    end;

    That's my fairly nooby banking procedure :P, works pretty good though.

  3. #3
    Join Date
    Dec 2011
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you, so where do i add that in the code i already have?
    And do i have to specify a bank?

  4. #4
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    2,254
    Mentioned
    21 Post(s)
    Quoted
    238 Post(s)

    Default

    if you look in bank.simba in includes/srl/core, you can see the banking functions there, to change banks you use:
    Simba Code:
    OpenBank('feb', false, false)
    with the 'feb' being Falador East Bank. As I mentioned you can check which banks are supported in the simba file. How I learned how to implement that was by looking through other people's scripts. Also, if you were going to copy + paste my code, you probably need to remove:
    Simba Code:
    if ObjDTMWalk('631:91:4:1:7:595:89:1:7:595:73:1:7:603:50:1:7:580:77', 0, 100, 80, True)
    then
    begin
    and an "end" (not end; ) at the bottom. That is just an objectDTM I used to make sure I was in the correct bank location as SPS isn't accurate enough to count on 100% of the time (but it is still good for probably 99%)

  5. #5
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bricks View Post
    Or how to add a new tree like a yew?
    Why would you Power-Chop a yew?

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  6. #6
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    Quote Originally Posted by PatDuffy View Post
    Why would you Power-Chop a yew?
    That is what I said when couple people had requested that, and that is the only reason I haven't added it to the script, it be way too slow and just not worth chopping and than just drop it all lols, and Banking procedure... hmmm what type of Logs do you want banked and where Mate, I can see what I can do.

    Also, atm im working on a Chop & Burn Script, that's why no updates on the current PowerChopper.

  7. #7
    Join Date
    Dec 2011
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm just saying, banking the logs..especially yews would be helpfull. And also quicker if the bank is close by, takes longer to drop every log .

    Also on Narc's fast fighter, how do I make the character pick up the gold after he kill the monster?
    And how would I make him pick up the bone and then bury it and then continue fighting ????
    Last edited by bricks; 01-08-2012 at 05:24 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
  •