Page 1 of 3 123 LastLast
Results 1 to 25 of 63

Thread: The Pot maker

  1. #1
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default The Pot maker

    This script mines clay and crafts any clay f2p item in GunnersGrund.
    Works as of 2/9/12

    WELCOME TO PROJECT STOP WORLD HUNGER
    * THE MILLER *
    * THE POT MAKER *
    * THE LUMBRIDGE CHEF *
    This is the second script in solving the hunger problem; pots are somewhat hard to buy at the G.E. therefore this script can enable you to craft the pots needed by The Miller

    THE POT MAKER:


    INSTRUCTIONS:
    * Start in Varrock West Bank or at the clay mine or at the well or in the crafting hut with pickaxe
    * Set up your player information and SRL stats
    * Enter how many loads u want to do (in declare player section)
    or enter the level goal, and set the boolean to check
    for level instead of loads
    * Decide for each player whether or not to bank
    * Decide what item to craft and maybe even a modifier (for fastest xp use the best modifier)
    * You can adjust the type of anti as well (in Const section)
    * SPS is optional, you can instead us ObjDTM walking remove or comment out line #5 which contains "{$DEFINE USEOBJDTM}" to use SPS
    * To use ObjDTM walking you need to have version 7 or later get here

    Items that can be crafted:
    'pot'
    'pie dish'
    'bowl'
    'cracked cooking urn'
    'fragile cooking urn'
    'cooking urn'
    'cracked fishing urn'
    'fragile fishing urn'
    'fishing urn'
    'cracked mining urn'
    'fragile mining urn'
    'mining urn'
    'cracked smelting urn'
    'fragile smelting urn'
    'smelting urn'
    'cracked woodcutting urn'
    'fragile woodcutting urn'
    'woodcutting urn'
    'impious urn'
    'accursed urn'

    Item Modifiers
    'random' - this makes a random item
    'best' - this makes the item with the most xp per clay
    '' - normal mode, makes the item you specified
    'no craft' - the mines the clay, softens it and banks it
    (added this when soft clay reached over 400 gp on GE)

    Future plans:
    • Add another walking backup method
    • Add P2P pottery (if I can get an account to use)
    • Improve mining functions (the rocks have changed allot since I wrote this)



    Revision Log:
    Rev18 - modified walk to bank to skip the crafting hut if no craft is set

    Rev17 - Fixed error in AtMine (UpText changed because of rs update)

    Rev16 - Added backup for well finding (Had trouble finding well when north of well)
    - IsItemSelected() added: it checks for the white outline
    - Updated Colors used for mining

    Rev15 - Banking update
    - Level Checking restored

    Rev14 - SRL-5 update
    - Retrieving level problems in SRL bypassed
    - ChooseOption problems in SRL ignored
    (Script probably will not work without ChooseOption support)

    Rev13 - Update ObjDTM path to well, still needs work use sps walking
    - Added new modifier 'no craft'
    - No tool belt support; just equip the bronze pickaxe

    Rev12 - Check4Pickaxe stopped working, no longer checking XYZ color space
    - improved oven and well DTMS

    Rev11 - Changed some item dtms
    - Object DTM walking now
    - changed how bridge is crossed and detected
    - new AtCraft function
    - re enabled screen rotation functions

    Rev10 - Updated SPS paths (an updated in SPS added an offset to the pixel locations)
    - Checks for useable pickaxe, gets one out of bank if you dont have one
    - More efficient level tracking (no longer has to change tab and examine the level)

    Rev9 - Fixed breaking (Never actually tested it enough to see this failure)
    forgot to set up the time array Clock

    Rev8 - Using SRL values now for inventory (MIX1...)
    - No more compass rotation in crafting function
    - Level goal or loads
    - loads done bug fixed (Wouldn't log out if drop = true)
    - another error in SRL stats fixed
    - modifiers allow best xp, normal, or random item creation
    - Now checks Character Level to see if it is possible to make an item
    if an invalid item is specified then crafting goes random
    - SRL compass functions are failing; so they are left out of this revision
    Rev7_1 - Fixed SRL Stat bug
    - Fixed soft bowl dtm (Sometimes the left and top were cut off)

    Rev7 - The rest of the f2p Urns added

    Rev6 - Added Additional items for crafting (Most of the urns are ready to go)
    - Corrected XP for the additional items
    - Fixed loop counter bug (forgot to add increment when items got dropped)

    Rev5 - Added dropping as an option
    - added frame work for multiple crafting item support
    - pin support

    Rev4 - Progress Reports added
    - SRL Stats added

    Rev3 - Add Multiplayer
    - Add Antiban
    - Add Antirandoms
    - Load counter
    - More Debug info
    - Removed Infinite loops from soften clay

    Rev2 - Single player stable
    Last edited by kanah; 02-24-2012 at 12:56 AM.

  2. #2
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Your skills are great, but nobody will use this probably, try to make something that gets more attention!

    Great work tho.
    Hi

  3. #3
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Or enable it to craft other things as well, some people might appreciate the crafting levels.

    -RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  4. #4
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Maybe it's for crafters with low levels :P Either way, this is a great script!
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  5. #5
    Join Date
    Jul 2007
    Location
    Finland
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Other items and option to drop would make this very beast crafting script

  6. #6
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Finally done adding all f2p clay crafting abilities. Plus the option to drop instead of bank.
    Last edited by kanah; 11-20-2011 at 01:42 AM.

  7. #7
    Join Date
    Jul 2007
    Location
    Finland
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by kanah View Post
    Finally done adding all f2p clay crafting abilities. Plus the option to drop instead of bank.
    thank you i will use it tomorrow

    edit: i got 40crafting for 5 account worked very well ( 10 accounts to go )
    some automode for selecting best item to craft would make big improve in usabilty thought
    Last edited by nokkasiili; 11-24-2011 at 06:25 PM.

  8. #8
    Join Date
    Nov 2011
    Posts
    232
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow, very impressive script, thanks a lot! Running without a problem , and overall seems to flow very smoothly. Using it to get my low crafting up. Love its' self-sufficiency!
    Thanks a lot for this.
    Rep +
    E: Actually there is one slight problem, but it doesn't totally stop the script.
    Screen Shot:

    Basically what happened was that it kept trying to soften the clay on the Stronghold of Security entrance instead of on the well. After about a minute it fixed itself.
    Hope the screen shot isn't too small....
    E2: It also has a problem with dropping pots. It miscalculates how many there are in the inventory, but the biggest problem is that it sometimes right clicks it activating "use pot" and then messes up dropping all the other pots. This seems to cause it to continuously click between two pots, and most of the time leave pots in the inventory not dropped.
    Screen shot:

    Still a great script though .
    Last edited by Swagger; 11-26-2011 at 01:43 AM.

  9. #9
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The newest update includes an option that crafts the optimal item for your characters current level; a character at level 34 crafting with a mithril pick averages about 9000 crafting xp/hr .

    I created a cool excel spread sheet that automatically determined what object is the best to make at a particular level; if you’ve never seen an excel "program" check it out.
    ---- Kanah ----

    “If God did not exist then surely man would create him" - Voltiare

  10. #10
    Join Date
    Nov 2011
    Posts
    232
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Will check out the new script and tell you how it goes, thanks.
    Proggy:
    =========== THE Pot Maker =============
    Time Running 2:42:45
    Current action: Dropping Everything
    Level Goal: 41 / 99
    Mining xp: 2585
    Crafting xp: 29460
    =======================================
    It seemed to have stopped because of a RuneScape update.
    Last edited by Swagger; 11-27-2011 at 03:06 PM.

  11. #11
    Join Date
    Oct 2011
    Location
    Ireland
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Cheers for the PM kanah - I thought it was broke because of the compile error but it's working fine.

    It's a great script, can't thank you enough for making this.. will get me 55-61 in no time

    e2: When making the clay soft it walks up past the fountain and takes quite a while to detect it. Also, when walking to craft the clay, most of the time it clicks a point in the map where the pottery wheel isn't visible. The script then logs.
    Last edited by Fire Monkey; 12-02-2011 at 01:23 AM.

  12. #12
    Join Date
    Oct 2011
    Location
    Ireland
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for the fix Kanah - working perfectly now, very fast

    Over 100KB in size now and packed full of impressive little features, awesome!

    Again, thanks for the crafting levels, much appreciated.

  13. #13
    Join Date
    Dec 2011
    Location
    Switzerland
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sounds great, but doesen't work for me


    Warning: In file C:\Users\Arbeitspc\Desktop\Simba\Includes\SRL/SRL/core/text.scar: at row: 579, col: 7, pos 22634: ChooseOption is NOT accelerated
    [Hint] (862:3): Variable 'TP' never used at line 861
    [Hint] (1027:3): Variable 'X' never used at line 1026
    [Hint] (1027:3): Variable 'Y' never used at line 1026
    [Hint] (1023:10): Variable 'Result' never used at line 1022
    [Hint] (1070:3): Variable 'X' never used at line 1069
    [Hint] (1070:3): Variable 'Y' never used at line 1069
    [Hint] (1165:3): Variable 'RANDOMNUM' never used at line 1164
    [Hint] (1225:3): Variable 'X' never used at line 1224
    [Hint] (1225:3): Variable 'Y' never used at line 1224
    [Hint] (1226:3): Variable 'NEXT2WELLDTM' never used at line 1225
    [Hint] (1251:3): Variable 'RANDOMNUM' never used at line 1250
    [Hint] (1327:3): Variable 'X' never used at line 1326
    [Hint] (1327:3): Variable 'Y' never used at line 1326
    [Hint] (1328:3): Variable 'HOUSEDTM' never used at line 1327
    [Hint] (1328:3): Variable 'HOUSECOLOR' never used at line 1327
    [Hint] (1328:3): Variable 'ROADCOLOR' never used at line 1327
    [Hint] (1371:3): Variable 'SOFTCLAYDTM' never used at line 1370
    [Hint] (1800:3): Variable 'X' never used at line 1799
    [Hint] (1800:3): Variable 'Y' never used at line 1799
    [Hint] (1801:3): Variable 'NEXT2MINEDTM' never used at line 1800
    [Hint] (1802:3): Variable 'NEXT2BRIDGEDTM' never used at line 1801
    [Hint] (1846:3): Variable 'X' never used at line 1845
    [Hint] (1846:3): Variable 'Y' never used at line 1845
    [Hint] (1847:3): Variable 'INBANKDTM' never used at line 1846
    [Hint] (1847:3): Variable 'ROADCOLOR' never used at line 1846
    [Hint] (1847:3): Variable 'BANKCOLOR' never used at line 1846
    [Hint] (1848:3): Variable 'NEXT2BRIDGEDTM' never used at line 1847
    [Hint] (1850:3): Variable 'WATERLOCATIONS' never used at line 1849
    [Hint] (1913:3): Variable 'NEXT2MINEDTM' never used at line 1912
    [Hint] (1916:3): Variable 'LOOPCOUNT' never used at line 1915
    [Hint] (2013:3): Variable 'I' never used at line 2012
    [Hint] (2018:3): Variable 'WATERLOCATIONS' never used at line 2017
    [Error] (2344:9): Unknown identifier 'FindColorsToleranceOptimised' at line 2343
    Compiling failed.

  14. #14
    Join Date
    Oct 2011
    Location
    Ireland
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The Banker View Post
    sounds great, but doesen't work for me


    Warning: In file C:\Users\Arbeitspc\Desktop\Simba\Includes\SRL/SRL/core/text.scar: at row: 579, col: 7, pos 22634: ChooseOption is NOT accelerated
    [Hint] (862:3): Variable 'TP' never used at line 861
    [Hint] (1027:3): Variable 'X' never used at line 1026
    [Hint] (1027:3): Variable 'Y' never used at line 1026
    [Hint] (1023:10): Variable 'Result' never used at line 1022
    [Hint] (1070:3): Variable 'X' never used at line 1069
    [Hint] (1070:3): Variable 'Y' never used at line 1069
    [Hint] (1165:3): Variable 'RANDOMNUM' never used at line 1164
    [Hint] (1225:3): Variable 'X' never used at line 1224
    [Hint] (1225:3): Variable 'Y' never used at line 1224
    [Hint] (1226:3): Variable 'NEXT2WELLDTM' never used at line 1225
    [Hint] (1251:3): Variable 'RANDOMNUM' never used at line 1250
    [Hint] (1327:3): Variable 'X' never used at line 1326
    [Hint] (1327:3): Variable 'Y' never used at line 1326
    [Hint] (1328:3): Variable 'HOUSEDTM' never used at line 1327
    [Hint] (1328:3): Variable 'HOUSECOLOR' never used at line 1327
    [Hint] (1328:3): Variable 'ROADCOLOR' never used at line 1327
    [Hint] (1371:3): Variable 'SOFTCLAYDTM' never used at line 1370
    [Hint] (1800:3): Variable 'X' never used at line 1799
    [Hint] (1800:3): Variable 'Y' never used at line 1799
    [Hint] (1801:3): Variable 'NEXT2MINEDTM' never used at line 1800
    [Hint] (1802:3): Variable 'NEXT2BRIDGEDTM' never used at line 1801
    [Hint] (1846:3): Variable 'X' never used at line 1845
    [Hint] (1846:3): Variable 'Y' never used at line 1845
    [Hint] (1847:3): Variable 'INBANKDTM' never used at line 1846
    [Hint] (1847:3): Variable 'ROADCOLOR' never used at line 1846
    [Hint] (1847:3): Variable 'BANKCOLOR' never used at line 1846
    [Hint] (1848:3): Variable 'NEXT2BRIDGEDTM' never used at line 1847
    [Hint] (1850:3): Variable 'WATERLOCATIONS' never used at line 1849
    [Hint] (1913:3): Variable 'NEXT2MINEDTM' never used at line 1912
    [Hint] (1916:3): Variable 'LOOPCOUNT' never used at line 1915
    [Hint] (2013:3): Variable 'I' never used at line 2012
    [Hint] (2018:3): Variable 'WATERLOCATIONS' never used at line 2017
    [Error] (2344:9): Unknown identifier 'FindColorsToleranceOptimised' at line 2343
    Compiling failed.
    That's just old code that Kanah has kept incase he needs to make any changes in future - it will be easier to modify his script.

    It should still compile successfully - I tried it just now and it does.

    I think FFlag is still broken in SRL so walking might be slightly off. It's a great script though, when I was using, it ran for the full 6 hours without any hiccups.

  15. #15
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    3k lines of nice code! Cuppyfied!
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  16. #16
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by The Banker View Post
    sounds great, but doesen't work for me

    [Error] (2344:9): Unknown identifier 'FindColorsToleranceOptimised' at line 2343
    Compiling failed.
    You are using Simba 998. Wizzup? removed the Find*Optimised functions. Kanah will have to replace all instances of that function with FindColorsTolerance. You can do it yourself, they accept similar parameters.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  17. #17
    Join Date
    Dec 2011
    Location
    Switzerland
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sadly i don't know anything about scripting, still trying to learn, but... will take a lot of time ^^


    (meaning can't get it working, don't know what to do )
    Last edited by The Banker; 12-11-2011 at 01:15 AM.

  18. #18
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Originally Posted by The Banker
    when i try to compile it, it compiles succesful but by pressing run the following is written it the debug box:


    SRL Compiled in 32 msec
    SMART Initialized.
    Loaded: Server 5, Members: False, Signed: True, Super Detail: False.
    Error: Out Of Range at line 140
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
    Hmmm... Which line was highlighted orange? If it was the pot maker's line 140
    " Players[i].Name := ''; "

    Then that means you may have changed the variable HowManyPlayers (which is defined on line 124) to 1. You need to either change HowManyPlayers back to the default value of 2 (this is because lines 140 through 148 show you how to set up other players) or erase lines 140-148 and make HowManyPlayers := 1.

    So my suggestion to set up step...
    1. Redownload the potmaker.simba
    2. Edit line #140,141,144 with your character information
    3. Enter your SRL stats information in line #200,201
    4. Press run... It should work, I just tried it

    If you do this your character should make the best item possible and drop it until he reaches level 60. I'm also going to post this information to the thread just in case anyone else is having this issue.
    ---- Kanah ----

    “If God did not exist then surely man would create him" - Voltiare

  19. #19
    Join Date
    Nov 2011
    Location
    Damascus,Syria
    Posts
    94
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey does This script Still work? please respond

  20. #20
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by badreddine View Post
    Hey does This script Still work? please respond
    Yes. This script is being actively updated.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  21. #21
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes this script works.

    sigh... you beat me by a minute

    e: Come to think of it maybe I should post some progress reports at the top of the thread.
    Last edited by kanah; 12-17-2011 at 02:29 PM.

  22. #22
    Join Date
    Nov 2011
    Location
    Merica
    Posts
    77
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    =========== THE Pot Maker =============
    Time Running 0:38:7
    Current action: Lost
    Trips completed: 3 / 30
    Mining xp: 405
    Crafting xp: 972
    =======================================
    The bot gets lost alot..sometimes behind the fence near the well! other times SE of clay mine near dead trees... I cant get past 1-2 loads usually without it getting lost

  23. #23
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmmm... I've heard a couple complaints about the walking lately. I will take another look at the walking system. In the meantime you could try using SPS walking instead, comment or erase line #5 which tell it to use objdtm walking {$DEFINE USEOBJDTM}
    ---- Kanah ----

    “If God did not exist then surely man would create him" - Voltiare

  24. #24
    Join Date
    Nov 2011
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default very nicely written script!

    i commented out {$DEFINE USEOBJDTM} and it is working fine, have done few loads already

    I am making smelting urns and banking them for use in smithing

    problems i run in:
    1. if rune pickaxe is already equipped it would confuse the bot, and we have bronze pickaxe in toolbelt that we can use for mining
    2. if the bot gets gems it would keep gems banking only urns, solution might be to use deposit all button, (i consider that we use pickaxe in toolbelt or have a pickaxe equipped)

    it seems jagex added greater variation in colors, because the script failed to find well, then pot wheel, then oven, after editing colors the script run very well

    Time Running 1:13:54
    Current action: Walk to Mine
    Level Goal: 48 / 60
    Mining xp: 1400
    Crafting xp: 8680
    Last edited by oligofren; 12-23-2011 at 07:26 AM.

  25. #25
    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    98
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Updated some of the item finding. In particular the xyz color space for finding the pickaxe stopped working so now only using HSL and RBG checks

    Toolbelt support will be added in Rev13 as well as another backup walking method. Good to see R11 is still usable
    ---- Kanah ----

    “If God did not exist then surely man would create him" - Voltiare

Page 1 of 3 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
  •