Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 63

Thread: The Pot maker

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

    Default

    With soft clay now reaching record highs (over 400 gold); I've released another option for the potmaker: 'no craft' - which does no crafting. It mines the clay, softens it, and deposits it. I did a real quick edit (I only had to change a couple lines of code) so there's not a walking path directly from the well to the bank, she'll make a trip to the pottery wheel before she goes to the bank.





    Progess Report: (Stopped because I lost internet connection)
    Progress Report:
    =========== THE Pot Maker =============
    Time Running 0:44:3
    Current action: Walk to well
    Trips completed: 8 / 30
    Mining xp: 770
    Crafting xp: 0
    =======================================
    Last edited by kanah; 01-02-2012 at 11:47 PM.
    ---- Kanah ----

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

  2. #27
    Join Date
    Jan 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    everytime i start it, this error appears:

    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

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

    Default

    Quote Originally Posted by superpro1998 View Post
    everytime i start it, this error appears:

    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    Interesting, is that the only information that appears in the debug window? I need a little more info to figure out what is wrong.
    ---- Kanah ----

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

  4. #29
    Join Date
    Sep 2007
    Location
    Oklahoma, U.S.
    Posts
    145
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Since you added an option to omit crafting, shouldn't there also be measures to omit the steps that take it to the hut to craft? As it is, it still walks there while no crafting is on.

    Your banking and musician option choosing don't work anymore because of the added dashes and probably font changes now as well .

    SRL-5 is probably necessary at this point.

  5. #30
    Join Date
    Dec 2011
    Location
    Alturas, Ca
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    tries to click on the musician and will hover over it then repeatedly try and click him, is there something i am doing wrong

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

    Default

    Quote Originally Posted by Firefighter_Emt18 View Post
    tries to click on the musician and will hover over it then repeatedly try and click him, is there something i am doing wrong
    I will take a look at this problem once I get settled in my new operating system. I just made the switch to Linux Ubuntu. So far everything seems so foreign, windows was just so straight forward. Simba is finally working through WINE, expect an update/fix to this problem within a few days.
    ---- Kanah ----

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

  7. #32
    Join Date
    Oct 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Mine seems to have a problem dropping... I'm making urns with a pickaxe in my inventory and I think the issue is that 1 clay is left unmoulded. (Due to lacking another clay because of the pickaxe)

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

    Default

    Quote Originally Posted by Nfskingvviper View Post
    Mine seems to have a problem dropping... I'm making urns with a pickaxe in my inventory and I think the issue is that 1 clay is left unmoulded. (Due to lacking another clay because of the pickaxe)
    Is it dropping the urns? When crafting urns it will not drop (or bank) the extra 1 clay left in your inventory. So keeping 1 in your inventory is not a problem
    ---- Kanah ----

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

  9. #34
    Join Date
    Jan 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is this not SRL-5 yet?

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

    Default

    Revision 13 is not SRL-5 compatible, and the error with trying to find the musician is an error in the ChooseOption function.

    So version 14 will include a faster fail-safe for ChooseOption failing and SRL-5 compatiblity. It's important to note that the script will not function without a working ChooseOption function.

    SRL's level checking function is also not working today so mining/crafting level can't be checked; so don't choose the level goal option.
    Last edited by kanah; 01-18-2012 at 11:04 AM.
    ---- Kanah ----

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

  11. #36
    Join Date
    Jan 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Isn't recognizing my already equipped pickaxe, also doesn't craft the correct urn, it seems to craft whatever urn it feels like making. Sometimes it drops the urns after making them, like I want it to, and sometimes it decides to bank them instead.
    Last edited by Stanmaer; 01-18-2012 at 09:54 PM.

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

    Default

    Quote Originally Posted by Stanmaer View Post
    Isn't recognizing my already equipped pickaxe, also doesn't craft the correct urn, it seems to craft whatever urn it feels like making. Sometimes it drops the urns after making them, like I want it to, and sometimes it decides to bank them instead.

    Level recognition is not working (I'm using the SRL get skill level function), so it checks to see if your level is high enough to craft something has determined that the item you specified can't be made and has therefore set your item to 'random' (see line #3087 - 3088). Delete those line and you should be fine.
    ---- Kanah ----

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

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

    Default

    If you can't get this to work or you want a more straight forward clay miner and banker try kbClayMiner. kbClayMiner works in the same area: mining the clay and banking it in Varrock.
    ---- Kanah ----

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

  14. #39
    Join Date
    Feb 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    haha im new to simba and when i run i get this error.

    msvcr71 cannot be found?

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

    Default

    Quote Originally Posted by Tripstripper View Post
    haha im new to simba and when i run i get this error.

    msvcr71 cannot be found?
    A solution to this problem is listed in this tread: common SRL problems
    ---- Kanah ----

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

  16. #41
    Join Date
    Nov 2011
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    could you add decorated urns crafting to the script it would rock currently having fun with narcles smelter and gold bars but might be switching over soon ?

    grtz

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

    Default

    Quote Originally Posted by lays View Post
    could you add decorated urns crafting to the script it would rock currently having fun with narcles smelter and gold bars but might be switching over soon ?

    grtz
    Decorated urns are a members only crafting object; I don't have a mem account so I will not be working on adding that feature yet. If anyone would like to help me add that feature feel free to modify my code and add those member's objects.

    What would be necessary for adding decorated urns?
    1. Add the necessary dtms to GetItemDTM(...)
    2. Check the decision matrix used for the crafting menus in CraftPots to verify that it works with the additional member's objects.
    3. Add the necessary entries to GetCraftXp, SelectBestItem2Craft, IsItemCraftable, and SelectRandomItem2Craft. These entries would include basically that the item exists and it's required level or xp rate.


    Overall it should take another 3 to 4 hours to add all of the member's crafting items as long as you are good at making DTMs.

    One final note, I've not been that active lately so expect an update of this code within a week as well as the release of my final script in this series the LumbridgeChef coming to the members only script section this Spring.
    ---- Kanah ----

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

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

    Default

    Progress Report:
    =========== THE Pot Maker =============
    Time Running 0:26:38
    Current action: Walk to Mine
    Trips completed: 5 / 30
    Mining xp: 405
    Crafting xp: 0
    =======================================


    Results from my latest test of Rev15; did 4 loads of banking soft clay. The mining needs to be improved but overall it still works nicely. Expect an update to the mining in Rev16 as well as a dedicated path from the well to the bank no more of this running to the crafting hut first.
    ---- Kanah ----

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

  19. #44
    Join Date
    Dec 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    When you step below the 1st of the two bottom rocks, the script thinks it is lost and not at the mine.

    Then it failed to find the well. I don't know what to suggest, because I'm a noob, but the script gets lost a little too easily.

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

    Default

    Quote Originally Posted by Greomareh View Post
    When you step below the 1st of the two bottom rocks, the script thinks it is lost and not at the mine.

    Then it failed to find the well. I don't know what to suggest, because I'm a noob, but the script gets lost a little too easily.
    Okay, I addressed the Well finding problem by adding a backup method. Some of my functions are getting a little dated most were written in September 2011 before the bot nuke and subsequent updates. My location detection functions are custom built the mine detection is done in the function AtMine:

    Simba Code:
    function AtMine (UseBackup: Boolean):Boolean;
    //Locates mining rocks and dead trees to see if at clay mine
    var
      RockColor,TreeColor,i,Len,match,dist: integer;
      RockTPA,TreeTPA: TPointArray;
      RockATPA,TreeATPA: T2DPointArray;
      RockTP,TreeTP: TPoint;
    begin
      Result := false;
      RockColor := 5341329;
      TreeColor := 2238252;
      match := 0;

      //Find all the Rock colors and Tree colors
      if (FindColorsTolerance(RockTPA,RockColor,MSX1,MSY1,MSX2,MSY2,5)) and
       (FindColorsTolerance(TreeTPA,TreeColor,MSX1,MSY1,MSX2,MSY2,5))then
      begin
        //Found some colors, group them
        RockATPA := SplitTPAEx(RockTPA,13,13);
        SortATPASize(RockATPA,true);
        TreeATPA := SplitTPAEx(TreeTPA,40,40);
        SortATPASize(TreeATPA,true);

        //Cutt off ones that are too small
        Len := length(RockATPA);
        writeln('Groups of Rocks: '+tostr(Len));

        writeln('Number of tree points: '+tostr(length(TreeATPA[0])));
        if (Len >= 4)and(length(TreeATPA[0])>700)and(Len <=6) then
        begin
          //go from largest tree
          TreeTP := MiddleTPA(TreeATPA[0]);
          //MMouse(TreeTP.x,TreeTP.y,0,0);
          //Now Look at the rock to tree distance relation
          for i := 0 to (Len-1) do
          begin
            RockTP := MiddleTPA(RockATPA[i]);
            dist := Distance(TreeTP.x,TreeTP.y,RockTP.x,RockTP.y);
            writeln(tostr(i)+' dist = '+tostr(dist));
            if (dist >100) and(dist<320) then
              Inc(match);
          end;

          if (match >= 4) then
            Result := true;
        end;
      end;

      if not(Result) and(UseBackup) then
      begin
        RockColor := 7844821;
        if (FindObj(RockTP.x,RockTP.y,'ine Rock',RockColor,10)) then
          Result := true;
      end;
      if (Result) then
      begin
        writeln('Found mine');
      end else
        writeln('Failed to find mine');
    end;

    This counts the rocks and measures the distance between the dead trees and the rocks. Since it uses the main screen it could fail due to NPC's and other characters clothing colors so be sure to dress appropriately. It works for me; I will post a progress report for Rev16 in a few hours when it either stops or I force quit it.

    Test run: making bowls, level goal 60, and banking the bowls.
    Progress Report:
    =========== THE Pot Maker =============
    Time Running 1:27:21
    Current action: Lost
    Level Goal: 51 / 60
    Mining xp: 1350
    Crafting xp: 8910
    =======================================
    
    Got lost next to mine field; I'll need to figure out what caused it to fail


    Remember you can always see how many people are using this script successfully at the SRL stats page
    Last edited by kanah; 02-12-2012 at 11:34 PM.
    ---- Kanah ----

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

  21. #46
    Join Date
    Dec 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'll test it out, thanks.

    Perhaps the script does not need to figure out where it is, as the walking functions are perfect? When I was using it earlier it was always where it had to be, but it just didn't know it.

    Edit: After 3 runs from the bank, it managed to find the mine and get a full inventory each time. But it couldn't seem to find that darned well. The color of the village must make detection difficult...
    Last edited by Greomareh; 02-13-2012 at 03:24 AM.

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

    Default

    Quote Originally Posted by Greomareh View Post
    I'll test it out, thanks.

    Perhaps the script does not need to figure out where it is, as the walking functions are perfect? When I was using it earlier it was always where it had to be, but it just didn't know it.
    These location checks are there as backups for everything; I don't trust SPS to work every time (although it's getting pretty reliable). Also a random might have occurred that is not detected by find normal randoms; this would help avoid a ban. Of course it is annoying when the location checking fails but I'd rather the character log out then get banned. I don't know why the backup detection is failing. It only looks for the rocks. More testing is needed. I'm finally working full time (a nice shiny office job) so I probably won't get to work on this till next weekend.
    ---- Kanah ----

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

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

    Default

    Found error in mine detection: the backup method relied on old uptext 'ine Roc' which is incorrect since rs now displays 'mine Clay rocks' instead. Rev 17 fixes this problem
    ---- Kanah ----

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

  24. #49
    Join Date
    Feb 2012
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how can I enter my stats or set it up? It works but its trying to make a pie dish instead of pot and thats lvl 8 but im only lvl 1 :/
    Last edited by raiderbwoi; 02-15-2012 at 11:01 AM.

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

    Default

    Quote Originally Posted by raiderbwoi View Post
    how can I enter my stats or set it up? It works but its trying to make a pie dish instead of pot and thats lvl 8 but im only lvl 1 :/
    Show me your set up options. I suggest you use the best option, and turn on dropping for the best xp rate. IDK why it would be making pie dishes on you.
    ---- Kanah ----

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

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