Results 1 to 15 of 15

Thread: Auto Firemaker Help

  1. #1
    Join Date
    Jan 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Auto Firemaker Help

    I've been working on my first script, an autofiremaker.

    I thought it would be easy at first. How hard can it be to withdraw logs, burn, repeat? But, I came across some problems.

    Problem #1 When I withdraw logs, I am not sure where I should go to burn logs. I don't want an area with limited space, and I don't want to script it for a specific area. Should I script it for a specific area?

    Problem #2 This problem is about how long I should wait before burning a new log. I was thinking about putting a findcolor on the fire, and if it went false, I would start the next logs.
    e.g. I burn log number 1, I put mouse coordinates on the fire i just built, and when the new fire is built, there is a quick color change as your view is changed from fire 1, to ground, to fire 2.
    But, what if someone walks into fire, the color pixels are false, and you automatically move on to next logs. I also wondered if fires have different colors, and the method I talked about above doesnt work out.

    Problem #3 After i build my long chain of fires, I will need to go back to bank. I was going to have a pixel search for a bankers color, but what if I move far enough from the screen, and I am out of the bankers view?


    Please give me some advice on these problems. Or maybe, I should read some more tuts? Maybe a link for an autofiremaker?

    Sorry if these questions sound noobish, or if my english isn't that good.

  2. #2
    Join Date
    Sep 2007
    Posts
    638
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1. Try making it for a specific area until you get the other problems worked out. That way you have less problems to deal with while scripting it.

    2. Try using the text at the bottom of the screen to check if the fire is going. It says something like
    The log catches and begins to burn.
    If it doesn't return that then you can have it try to re-light the logs.

    3. If you build it for a specific area this should be fixed because you will know which direction the bank is in and have it walk that way.


    EDIT:
    Quote Originally Posted by wizidon View Post
    Sorry if these questions sound noobish, or if my english isn't that well.
    Little advice... it's English isn't that good not well. Other than that I did'n notice any problems.

  3. #3
    Join Date
    Dec 2008
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Problem #3 After i build my long chain of fires, I will need to go back to bank. I was going to have a pixel search for a bankers color, but what if I move far enough from the screen, and I am out of the bankers view?
    well like aser said you would know wich direction the bank was, so you could

    procedure RunTo(dir: String; runfar: Boolean);
    By: Mutant Squirrle and Nielsie95
    Description:
    Runs to direction

    example: RunTo('e',false)// would run a short distance east

    to find the bank i would use

    function FindBank(TheBank: String): Boolean;
    By: WT-Fakawi and modified by Ron
    Description:
    Finds and opens any given bank in the free world.
    If the MM DTM is found it will find and open the bank.
    Valid arguments are:
    'feb' (Falador East Bank)
    'fwb' (Falador West Bank)
    'veb' (Varrock East Bank)
    'vwb' (Varrock West Bank)
    'db' (Draynor Bank)
    'akb' (Al-Kharid Bank)
    example: FindBank('db')


    One thing that helps me alot wen i script is the SRL Scripters Manual
    to get to it, open scar. Tools>explore folder>Includes Folder>SRL>SRL Manual

    Hope This Helps =)
    BarbvilleCoalMinerAndBanker
    80% complete
    AutoPCTrainer
    60% complete

    Quote Originally Posted by whereyouat07 View Post
    [Runtime Error] : Out Of Range in line 68 in script C:\Users\Oliver\AppData\Local\Microsoft\Windows\Te mporary Internet Files\Low\Content.IE5\OB8J6FUC\LumbyNewbie%20V0.9[1].scar

    what the hell is this lol?
    Quote Originally Posted by TravisV10 View Post
    An error (h)

  4. #4
    Join Date
    Sep 2007
    Posts
    638
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    droppeD, that was pretty helpful but it would be nice if you would use SCAR tags when posting code. It makes your posts look all nice and makes them more readable, thanks.

  5. #5
    Join Date
    Jan 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow, Thanks a lot.

    I got everything I needed and more. Scripters Manual FTW!!!!!!

    I should have no more problems for this script and should have it out soon!

  6. #6
    Join Date
    Dec 2008
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Aser View Post
    droppeD, that was pretty helpful but it would be nice if you would use SCAR tags when posting code. It makes your posts look all nice and makes them more readable, thanks.
    oh my bad
    BarbvilleCoalMinerAndBanker
    80% complete
    AutoPCTrainer
    60% complete

    Quote Originally Posted by whereyouat07 View Post
    [Runtime Error] : Out Of Range in line 68 in script C:\Users\Oliver\AppData\Local\Microsoft\Windows\Te mporary Internet Files\Low\Content.IE5\OB8J6FUC\LumbyNewbie%20V0.9[1].scar

    what the hell is this lol?
    Quote Originally Posted by TravisV10 View Post
    An error (h)

  7. #7
    Join Date
    Sep 2007
    Posts
    638
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by droppeD:) View Post
    oh my bad
    Not a problem, just look out for it in the future.

  8. #8
    Join Date
    Jan 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    New problem.

    SCAR Code:
    procedure BurnWood;
     begin
       Mouse(235,314,5,5,true);
       wait(500+random(55));
       Mouse(299,177,5,5,true);
       wait(200+random(100));
        begin
         if findcolor(x,y,LogColor,553,211,730,463) then
         Mouse(x,y,5,5,true);
          begin
           if findcolor(x,y,TinderBoxColor,553,211,730,463) then
           Mouse(x,y,5,5,true)

    This is part of my burn wood procedure. But, how do i make it loop through my entire inventory, instead of making the mouse go to every log?

    Lol, this is like a private tutorial as I go on.

  9. #9
    Join Date
    Oct 2006
    Location
    Texas
    Posts
    1,450
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    use bitmaps or dtm's or whatever you guys use now instead of the exact location, that way it will move to the next log.

  10. #10
    Join Date
    Jan 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you know where I can get a reliable free bitmap program?

    Also, how does it move to the next log? What would that look like?
    Redirect me to some tuts?

  11. #11
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    theres a built in dtm maker in scar.. search for it, and do..

    SCAR Code:
    If(FindDTM(TinderboxDTM,x,y,blah,blah)) then
     MMouse(x,y,blah,blah,true);
     wait(100+random(100));
     FindDTM(LogsDTM,x,y,blah,blah));
     MMouse(x,y,blah,blah,true);
    wait(100+random(100));

    That's not the right code.. I'm busy and can't do it right but you get the idea..

  12. #12
    Join Date
    Jan 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just finished reading another tut about dtm's.

    So when if I make a script like that, it will loop until all logs are burned???

  13. #13
    Join Date
    May 2008
    Posts
    1,345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Repeat
    //stuff
    Until(Not(FindDTM(parameters here)))

    .

    ~Sandstorm

  14. #14
    Join Date
    Jan 2009
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    tyvm!!!!!!!!

    again!!!!!!!!!!

  15. #15
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    =X can't believe I forgot that part lol

    busy playing legit and watching tv

    thanks sand

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. need help with firemaker
    By peter911 in forum OSR Help
    Replies: 7
    Last Post: 02-13-2008, 06:12 PM
  2. Firemaker!!!
    By Rares in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 02-12-2008, 10:57 PM
  3. Does anyone have a working Auto Firemaker that also banks?
    By redrum novel in forum RS3 Outdated / Broken Scripts
    Replies: 8
    Last Post: 06-19-2007, 12:07 AM
  4. Auto FireMaker?!
    By The_owner in forum RS3 Outdated / Broken Scripts
    Replies: 6
    Last Post: 06-18-2007, 06:35 AM

Posting Permissions

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