Results 1 to 12 of 12

Thread: Arclight's Cooking Guild Cooking

  1. #1
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default Arclight's Cooking Guild Cooking

    What it does: cooks things in the cooking guild bank area that you get access to after you complete the Varrock hard tasks

    How to start: Zoomed out in the cooking guild bank area. Have your presets set up.

    Extra info: Mainly wrote this to do cooking daily challenges for me quickly, so no clue on xp rates. Should be relatively stable though, I think. Tell me if you have any weird bugs, it should terminate script, in theory, if anything messes up. I'll probably add extra features if I decide to actually use this to level or if anyone wants them. I was thinking urn support would be nice to add.

    Also filters out the wall now.

    Progress Report:
    -----------------------------
    Time ran:          1617.668
    Attempted to cook: 545
    -----------------------------


    Added a openGL library based version. You need to setup the library to use it. Have your screen set for oldschool.
    Attached Files Attached Files
    Last edited by arclight; 10-29-2014 at 08:17 AM.

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

  3. #3
    Join Date
    Jul 2013
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Thanks for sharing, will be using this soon as I complete the hard task.

  4. #4
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default

    Anyone happen to know how to filter out the entire wall thing from Varrock vs the stove? They happen to use basically the same colors for some odd reason. Messing around with the findobject to add in the red color seemed to do nothing. Changing it to look for the red in the stove atm, but that is really not ideal.

  5. #5
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by arclight View Post
    Anyone happen to know how to filter out the entire wall thing from Varrock vs the stove? They happen to use basically the same colors for some odd reason. Messing around with the findobject to add in the red color seemed to do nothing. Changing it to look for the red in the stove atm, but that is really not ideal.
    Could you upload a png screenshot of the game screen?

  6. #6
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    Could you upload a png screenshot of the game screen?
    I attached it to this post. It is not a problem when the stove is visible though, its when making it realize it is not visible, my antiban messes with the camera.
    Attached Images Attached Images

  7. #7
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by arclight View Post
    I attached it to this post. It is not a problem when the stove is visible though, its when making it realize it is not visible, my antiban messes with the camera.
    What I'd try is making a tpa of the grey stove colour and then clustering it into an atpa. then you can look in each part of the atpa for the right amount of the red color. It might be a bit overkill but it will be more reliable than just looking for a single colour.

    If you want a tutorial for tpas/atpas there's one here https://villavu.com/forum/showthread.php?t=107757
    this one goes into more detail as well https://villavu.com/forum/showthread.php?t=110546

  8. #8
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    What I'd try is making a tpa of the grey stove colour and then clustering it into an atpa. then you can look in each part of the atpa for the right amount of the red color. It might be a bit overkill but it will be more reliable than just looking for a single colour.

    If you want a tutorial for tpas/atpas there's one here https://villavu.com/forum/showthread.php?t=107757
    this one goes into more detail as well https://villavu.com/forum/showthread.php?t=110546
    Using that second post, I think I could use the color of the wall to filter out any points that can't be the stove. I will look into the method you suggested though if that fails.

  9. #9
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default

    Quote Originally Posted by arclight View Post
    Using that second post, I think I could use the color of the wall to filter out any points that can't be the stove. I will look into the method you suggested though if that fails.
    Implemented my idea, works nicely. Sidenote, is there not a library function that can let you find if boxes overlap at all? Tried looking for one, but couldn't find it. Ended up being easier to just to see if the points exist in the boxes I made.

  10. #10
    Join Date
    Mar 2015
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thank you for sharing the information.

  11. #11
    Join Date
    Apr 2015
    Location
    Seattle, WA
    Posts
    10
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    If anyone else is having the issue of this not being able to bank.. I just changed the Color Code of mainScreen.findObject under the function bank (or line 130) from 4356518 to 3104653.

    So the new line would look like this

    Code:
    if(mainScreen.findObject(x, y, 3104653, 9, colorSetting(2, 0.08, 0.65), mainScreen.getCenterPoint, 4, 4, 1, ['Bank '], MOUSE_MOVE)) then
    This is picking up the bank a lot easier for me. Hope it helps

  12. #12
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default

    I resubbed randomly because that is what I do. Turns out I still need to 99 cooking so I am looking into making this script a lot better with the more tools that can be used now. Thinking about using the OGLib to create the limits for the stove (at odd angles it does weird stuff atm), which would let it get the stove a lot more accurately. I could probably do the same thing with banking, but it seems, at least to me, its pretty good at finding the bank if the color is good. No clue when I will have time to code that out, but I was playing around with the tools this past weekend, so hopefully soon.

    I also might look into making a nice way to keep track of how long its running and stuff. I think I can probably make it act a little less botty too (it has a lot of weird slowness to it).

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
  •