Page 1 of 4 123 ... LastLast
Results 1 to 25 of 79

Thread: The Mayor's Al Kharid Cooker

  1. #1
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default The Mayor's Al Kharid Cooker

    The Mayor's Al Kharid Cooker




    I will put this thread together later. Wrote this for my ironman but it's stable enough for release.

    What this script does:
    1. This can cook any fish at Al Kharid range
    2. Maintains over 1k food per hour




    Instructions:
    1. Setup your players in Rafiki player manager (see the picture on my other threads)
    2. Set bank preset #1 to 28 raw food
    3. Al Kharid lodestone unlocked
    Attached Files Attached Files
    Last edited by The Mayor; 08-13-2015 at 07:40 PM.

  2. #2
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Congratulations for the release, I'll test it tonight and let you know what happens.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  3. #3
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  4. #4
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Sweet
    I cooked 5k Crayfish on two separate accounts simultaneously, the proggies are almost identical:

    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 04h 37m 57s            ||
    || Cooked: 4885 (1054 PH)       ||
    || Burned: 127                  ||
    || XP: 146550 (31635 PH)        ||
     \==============================/


    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 04h 37m 57s            ||
    || Cooked: 4885 (1054 PH)       ||
    || Burned: 127                  ||
    || XP: 146550 (31635 PH)        ||
     \==============================/


    The only issue was that one of the accounts had never done any cooking before, and therefore had never had this "burnt food derp" pop-up before:



    I let it sit for 2 minutes before manually closing it myself. If you want people to be able to use this on a brand new account then you'll have to add a check for that.

    Good script, I look forward to seeing the fisher now.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  5. #5
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Incurable View Post

    I let it sit for 2 minutes before manually closing it myself. If you want people to be able to use this on a brand new account then you'll have to add a check for that.

    Good script, I look forward to seeing the fisher now.
    Thank's for the report I'm not gonna add in a bunch of code to close that popup just because it appears the first time you burn food, which will be on the first load. People should just take 20 seconds longer to setup their script


    E: Those proggys are exactly the same
    Last edited by The Mayor; 10-26-2014 at 08:32 PM.

  6. #6
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Thank's for the report I'm not gonna add in a bunch of code to close that popup just because it appears the first time you burn food, which will be on the first load. People should just take 20 seconds longer to setup their script


    E: Those proggys are exactly the same
    Oops, lmao. I must have pasted the same proggy twice instead of pasting both. Either way, they were almost identical, the only differences from memory were a minute of time and a few extra burnt fish on one of them.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  7. #7
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    @The Mayor

    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 05h 42m 42s            ||
    || Cooked: 6072 (1063 PH)       ||
    || Burned: 116                  ||
    || XP: 182160 (31893 PH)        ||
     \==============================/
    -- ERROR: **gaussian failed**
    gaussBoxPoint invalid (134, -16)


    The script didn't fail and continued as normal, but I thought I'd post it in case you want to fix it or something.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  8. #8
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Incurable View Post
    @The Mayor

    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 05h 42m 42s            ||
    || Cooked: 6072 (1063 PH)       ||
    || Burned: 116                  ||
    || XP: 182160 (31893 PH)        ||
     \==============================/
    -- ERROR: **gaussian failed**
    gaussBoxPoint invalid (134, -16)


    The script didn't fail and continued as normal, but I thought I'd post it in case you want to fix it or something.
    It's just gaussBox throwing an error because of the -y. There is a whole bunch of srl6 functions that call gaussBox so it will be hard to track down.

  9. #9
    Join Date
    Aug 2013
    Posts
    159
    Mentioned
    4 Post(s)
    Quoted
    90 Post(s)

    Default

    Works good, I used a hotkey to bring up my skills tab so I could check my cooking level and it terminated

    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 55m 37s                ||
    || Cooked: 816 (880 PH)         ||
    || Burned: 192                  ||
    || XP: 81600 (88016 PH)         ||
     \==============================/


    Edit: I was wondering if this was any way to add some more range colors to click on the white part instead of just the brown board and pot. I assume not due to that not already being added.
    Also, if you wanted to, you could possibly add a choose cooked item list and have it automatically fill out the exp/item. I just thought of it but it might not be practically due to how many items that can be cooked lol.

    Here is another proggy, I'll go for a much a longer one next time:
    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 01h 26m 33s            ||
    || Cooked: 1504 (1042 PH)       ||
    || Burned: 67                   ||
    || XP: 150400 (104245 PH)       ||
     \==============================/


    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 05h 53m 29s            ||
    || Cooked: 5985 (1016 PH)       ||
    || Burned: 63                   ||
    || XP: 598500 (101586 PH)       ||
     \==============================/

    It worked good, but there are some minor improvements that can be made. It could use a sixhourfix, world login selection, and I'd like to see the the drop box with the optional number. The number would be default 0 and the dropbox would hold values for each represented item. Both numbers would be added together to get the exp total and the drop box would be default to None, which would equal zero.

  10. #10
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Trollcrank View Post
    Works good, I used a hotkey to bring up my skills tab so I could check my cooking level and it terminated

    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 55m 37s                ||
    || Cooked: 816 (880 PH)         ||
    || Burned: 192                  ||
    || XP: 81600 (88016 PH)         ||
     \==============================/


    Edit: I was wondering if this was any way to add some more range colors to click on the white part instead of just the brown board and pot. I assume not due to that not already being added.
    Also, if you wanted to, you could possibly add a choose cooked item list and have it automatically fill out the exp/item. I just thought of it but it might not be practically due to how many items that can be cooked lol.
    This script was meant to be pretty simple as I just threw it together when I was working on my ironman. Both of those things are pretty easy to add. You could just add a comboBox to the initPlayerForm() with all the different food types. I guess an easy way to make the mouse move a little more on the range would be to:

    Simba Code:
    mouse(middleTPA(ATPA[i]), MOUSE_MOVE);

    to

    Simba Code:
    mouse(middleTPA(ATPA[i]).rand(10), MOUSE_MOVE);

  11. #11
    Join Date
    Aug 2013
    Posts
    159
    Mentioned
    4 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    You could just add a comboBox to the initPlayerForm() with all the different food types. I guess an easy way to make the mouse move a little more on the range would be to:

    Simba Code:
    mouse(middleTPA(ATPA[i]), MOUSE_MOVE);

    to

    Simba Code:
    mouse(middleTPA(ATPA[i]).rand(10), MOUSE_MOVE);
    So I did end up changing the tabbackpack count failsafe that terminates under 28 items and decreased the amount. During this Christmas event you have a chance of getting snow and I wanted an invo slot for it so that it would bank them too but, unfortunately, it counted more food burnt in the progress report.

    Perhaps you could do the same and use this with an if statement to calculate the invo count, it's not necessary but there has been other events similar and it is a decent feature.

    Simba Code:
    tabBackpack.isItemInSlot(1)

  12. #12
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Trollcrank View Post
    So I did end up changing the tabbackpack count failsafe that terminates under 28 items and decreased the amount. During this Christmas event you have a chance of getting snow and I wanted an invo slot for it so that it would bank them too but, unfortunately, it counted more food burnt in the progress report.

    Perhaps you could do the same and use this with an if statement to calculate the invo count, it's not necessary but there has been other events similar and it is a decent feature.

    Simba Code:
    tabBackpack.isItemInSlot(1)
    I'm not going to update that officially. Counting more burnt food is just cosmetic. You sound like you've modified it to suit your needs though

  13. #13
    Join Date
    Sep 2014
    Posts
    74
    Mentioned
    2 Post(s)
    Quoted
    34 Post(s)

    Default

    Hey,

    I've been using this script for a day and a bit, at first it was great, ran for 2 hours no problem, then the next day it couldn't find the range color, I changed it manually and it seems to be working now.

    Thanks for the script, I'll run it for a few hours then I'll be posting a progress report

  14. #14
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by TomTop View Post
    Hey,

    I've been using this script for a day and a bit, at first it was great, ran for 2 hours no problem, then the next day it couldn't find the range color, I changed it manually and it seems to be working now.

    Thanks for the script, I'll run it for a few hours then I'll be posting a progress report
    I think I picked the colours pretty quickly for this script!

  15. #15
    Join Date
    Sep 2014
    Posts
    74
    Mentioned
    2 Post(s)
    Quoted
    34 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    I think I picked the colours pretty quickly for this script!
    Yeah, haha been running for a little bit now, progress report below, only problem it has it will sometimes click in the Al Kharid guard yard area and get stuck.

    Doing trout to 99, currently at 71.

    Code:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 03h 34m 34s            ||
    || Cooked: 3780 (1057 PH)       ||
    || Burned: 0                    ||
    || XP: 264600 (73989 PH)        ||
     \==============================/

  16. #16
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Trollcrank View Post
    Here is another proggy, I'll go for a much a longer one next time:
    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 01h 26m 33s            ||
    || Cooked: 1504 (1042 PH)       ||
    || Burned: 67                   ||
    || XP: 150400 (104245 PH)       ||
     \==============================/


    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 05h 53m 29s            ||
    || Cooked: 5985 (1016 PH)       ||
    || Burned: 63                   ||
    || XP: 598500 (101586 PH)       ||
     \==============================/

    It worked good, but there are some minor improvements that can be made. It could use a sixhourfix, world login selection, and I'd like to see the the drop box with the optional number. The number would be default 0 and the dropbox would hold values for each represented item. Both numbers would be added together to get the exp total and the drop box would be default to None, which would equal zero.
    I'm not really supporting this script. It was just a 30 minute job for my ironman. As I said above, you're welcome to add a combo box to the form. Doesn't it pass the 6h fix?

    Quote Originally Posted by TomTop View Post
    Yeah, haha been running for a little bit now, progress report below, only problem it has it will sometimes click in the Al Kharid guard yard area and get stuck.

    Doing trout to 99, currently at 71.

    Code:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 03h 34m 34s            ||
    || Cooked: 3780 (1057 PH)       ||
    || Burned: 0                    ||
    || XP: 264600 (73989 PH)        ||
     \==============================/
    I'd just be cautious about running these basic scripts for long periods. With no breaks and stuff it can look a bit botty

  17. #17
    Join Date
    Feb 2012
    Location
    Atlanta
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    It won't click on cook. It will do everything else up until it hits the range, then the mouse pointer will shift between two locations at the top of the screen. I'm pretty sure my graphics settings are right because all of ashaman's scripts work for me. I'm doing lobbies btw and my drop down is on fish. lobbies is illuminated and cook is blue, ready just for that click
    Salute Me or Shoot Me!

  18. #18
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by seniorjulio View Post
    It won't click on cook. It will do everything else up until it hits the range, then the mouse pointer will shift between two locations at the top of the screen. I'm pretty sure my graphics settings are right because all of ashaman's scripts work for me. I'm doing lobbies btw and my drop down is on fish. lobbies is illuminated and cook is blue, ready just for that click
    Reset your interfaces to old school and tell me if it works

  19. #19
    Join Date
    Aug 2013
    Posts
    159
    Mentioned
    4 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    I'm not really supporting this script. It was just a 30 minute job for my ironman. As I said above, you're welcome to add a combo box to the form. Doesn't it pass the 6h fix?

    I'd just be cautious about running these basic scripts for long periods. With no breaks and stuff it can look a bit botty
    No it failed to pass the 6 hour limit, it tried to log in and then it showed the warning to reload the client. Afterwards, it took a few seconds, it ended the client. And then it didn't restart so I just manually reloaded it.

    Yeah I was worried about it looking sketchy too, I added some better antiban to counter that

  20. #20
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Trollcrank View Post
    No it failed to pass the 6 hour limit, it tried to log in and then it showed the warning to reload the client. Afterwards, it took a few seconds, it ended the client. And then it didn't restart so I just manually reloaded it.

    Yeah I was worried about it looking sketchy too, I added some better antiban to counter that
    Then it did pass the 6h fix. It takes 5 minutes to spawn.

  21. #21
    Join Date
    Aug 2013
    Posts
    159
    Mentioned
    4 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Then it did pass the 6h fix. It takes 5 minutes to spawn.
    ...Well darn. So I'll get a longer one then haha, after I improve that antiban a bit. I agree, I wouldn't want to run it for more than 6 hours atm. Can simba restart the real rs3 client, the browser, after 6 hours?

    Also I feel like a noob, in my defense I've never seen it restart; even though I've gone beyond the 6hr limit before.

    Edit:
    Progress Report:
     /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 06h 38m 44s            ||
    || Cooked: 6684 (1006 PH)       ||
    || Burned: 64                   ||
    || XP: 668400 (100577 PH)       ||
     \==============================/

  22. #22
    Join Date
    Nov 2014
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 14m 14s ||
    || Cooked: 8102 (34146 PH) ||
    || Burned: 1558 ||
    || XP: 810200 (3414551 PH) ||
    \==============================/
    Terminated: Failed to use the Range
    Successfully executed.


    Why does it fail to use the Range?

  23. #23
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by boscolamhk View Post
    /==============================\
    || The Mayor's Al Kharid Cooker ||
    || Time: 14m 14s ||
    || Cooked: 8102 (34146 PH) ||
    || Burned: 1558 ||
    || XP: 810200 (3414551 PH) ||
    \==============================/
    Terminated: Failed to use the Range
    Successfully executed.


    Why does it fail to use the Range?
    The range colour probably needs updating @ line 145

  24. #24
    Join Date
    Nov 2014
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    The range colour probably needs updating @ line 145
    I notice it happens when it clicks on Karim (the guy near the range) instead of the range. It starts a conversation and stucks there.

  25. #25
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by boscolamhk View Post
    I notice it happens when it clicks on Karim (the guy near the range) instead of the range. It starts a conversation and stucks there.
    Hmm, it should still look for the range if the conversation box is open. Does it always (and only) fail to find the range after talking to that guy?

Page 1 of 4 123 ... LastLast

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
  •