Page 1 of 7 123 ... LastLast
Results 1 to 25 of 154

Thread: Nathan's Magic Plank Maker [115k exp/hour][130k gp/hour]

  1. #1
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default [SRL 5] Nathan's Magic Plank Maker [115k exp/hour][130k gp/hour]

    Updated to SRL-5!

    This is my latest creation, a plank maker. It only supports mahogany planks as they are the only ones currently profitable. Over the last few hours of testing I'm averaging 1270 casts / hour which equals 115k magic experience per hour along with 130k gp per hour in profit.

    Requirements:
    -Lunar magic (both quests)
    -86 magic
    -Mahogany logs & coins in your coin pouch
    -Some type of earth staff equipped
    -Natures and astrals in your inventory

    Starting:
    -The script runs in soul wars bank and only soul wars bank
    - Mahogany logs should be in the upper right most corner of the bank
    - Your magic tab should look like this:

    - Fill in your info, make sure the chest is visible, and it should take it from there.



    For whatever reason the getxp method is not working for me, not sure if it is an OCR issue or what, but I reset the exp of the exp bar before i started so you can see i got 165k exp in 1.5 hours in that progress report.


    Quote Originally Posted by Quintessence View Post
    ***************Nathan's Magic Planker***************
    ********** Inventories: 455 Planks: 11826 **********
    ************************************************** **
    Running for: 10 Hours, 4 Minutes and 0 Seconds
    Missclicks (on purpose): 477 || 0.78973509933774 avg/inventory
    Random waits: 235 || 0.38907284768211 avg/inventory
    Antiban actions: 301|| 0.49834437086092 avg/inventory
    Exp Gained: 1064340 || 105729 exp/hour
    We have made/lost: -1147122gp || -113953gp/hour

    Here's a 10 hour progress report.

    Logged out a couple times to avoid the 6 hour update.

    Code:
    //Version 1.01
    //Automatically sets up your magic tab now
    //Increased humanness with the AntiBanSleep method
    //Other random fixes
    Code:
    //Version 1.02
    //More failsafes added
    //Missclicking inventory added to increase humanness
    //Cleaned up coding standards
    Code:
    //Version 1.1
    //Checks to make sure runes are in inventory
    //Checks to make sure logs are left in slot before withdrawing
    //Chest finding is now done via TPAs, more reliable
    //Inventory count done via DTMs to more accuratley know when to bank
    //Re-did failsafe around opening chest to not call reset procedure if it might not need to
    //Tweaks to random methods to increase efficiency
    //Updated debug output for optimal information to tweek settings
    //Updated missclicks to make sure we are missclicking on logs and not missclicking on planks using a 2D-TPA
    //Removed paint and updated progress report in debug window, looks better
    //Fixed up player handling
    //Other random changes
    Code:
    //Version 1.2
    //Updated to SRL - 5
    //Fixed issue with exp, should work perfectly and not crash the script!
    //Correctly am freeing DTMs now
    //Updated timings on some waits, should be more efficient now
    Last edited by [Nathan]; 01-05-2012 at 10:51 PM.

  2. #2
    Join Date
    Dec 2006
    Location
    Georgia
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well hot damn you made it man! Thank you! <3

  3. #3
    Join Date
    May 2011
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice script but for some reason it runs from the bankchest and stops cause it can't find it

  4. #4
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    could you make it work with oak logs?

  5. #5
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Slither1 View Post
    could you make it work with oak logs?
    you lose money mate
    Did someone say GDK?

  6. #6
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Slither1 View Post
    could you make it work with oak logs?
    No. It would be way to expensive and unprofitable. It only works with mahogany because that is the only profitable way to use it.

    Quote Originally Posted by Spelletje View Post
    Nice script but for some reason it runs from the bankchest and stops cause it can't find it
    I really have no idea what to tell you, there literally is not a line of code in the script that touches the minimap or would click anything on the screen besides the bank...

  7. #7
    Join Date
    Nov 2011
    Location
    behind you
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    yeah I got my 99 with this method very recomendable!

  8. #8
    Join Date
    Dec 2011
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You said natures and cosmics, rather than natures and astrals.

  9. #9
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Rambot View Post
    You said natures and cosmics, rather than natures and astrals.
    Oops thanks, fixed in the post!

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

    Default

    Version 1.01 released. Has anybody tested this / can confirm its working for not just me? I do realize the reqs are high and it won't get a lot of use because of that, but there were 19 downloads...

    version 1.02 released

    Code:
    //Version 1.02
    //More failsafes added
    //Missclicking inventory added to increase humanness
    //Cleaned up coding standards
    Last edited by [Nathan]; 12-30-2011 at 10:40 PM.

  11. #11
    Join Date
    Oct 2011
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by [Nathan] View Post
    Version 1.01 released. Has anybody tested this / can confirm its working for not just me? I do realize the reqs are high and it won't get a lot of use because of that, but there were 19 downloads...

    version 1.02 released

    Code:
    //Version 1.02
    //More failsafes added
    //Missclicking inventory added to increase humanness
    //Cleaned up coding standards
    I will test it. I wasn't able to even download it because I kept getting 503 Errors. I'm looking forward too it though!

  12. #12
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Oar View Post
    I will test it. I wasn't able to even download it because I kept getting 503 Errors. I'm looking forward too it though!
    Download this newest verison, its got more failsafes + humanness in it, uploading 1.1 now!


    Code:
    //Version 1.1
    //Checks to make sure runes are in inventory
    //Checks to make sure logs are left in slot before withdrawing
    //Chest finding is now done via TPAs, more reliable
    //Inventory count done via DTMs to more accuratley know when to bank
    //Re-did failsafe around opening chest to not call reset procedure if it might not need to
    //Tweaks to random methods to increase efficiency
    //Updated debug output for optimal information to tweek settings
    //Updated missclicks to make sure we are missclicking on logs and not missclicking on planks using a 2D-TPA
    //Removed paint and updated progress report in debug window, looks better
    //Fixed up player handling
    //Other random changes

  13. #13
    Join Date
    Oct 2011
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I got
    Code:
    Error: Exception: "" is an invalid integer at line 92
    The following DTMs were not freed: [0, SRL - Lamp bitmap, 2]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    
    
      result:=StrToInt(ExtractFromStr(GetTextAtExWrap(424,56,508,69,0,5,4,clWhite,2,XPChars),Numbers));
    I don't know how to fix sorry

    ---------

    I made all uses of xp comments and it works

    ----

    Code:
     //  Writeln('********** Inventories:  ' + inttostr(inventories) + '     Planks: ' + inttostr((GainedXP/90)) + ' **********' );
                  Writeln('****************************************************');
                  Writeln('Running for: ' + TimeRunning);
                  Writeln('Missclicks (on purpose):   ' + inttostr(missclicks) + ' || ' + OutputDecimals(missclicks,inventories) + ' avg/inventory' );
                  Writeln('Random waits:              ' + inttostr(rsleep) + ' || ' + OutputDecimals(rsleep,inventories) + ' avg/inventory');
                  Writeln('Antiban actions:           ' + inttostr(antibans) + ' || ' +  OutputDecimals(antibans,inventories) + ' avg/inventory');
                //  Writeln('Exp Gained:             ' + inttostr(GainedXP) + ' || ' + XPPerHour(GetTimeRunning,GainedXP) + ' exp/hour');
                  //Writeln('We have made/lost:  ' + inttostr(Round(((GainedXP*GAIN_PER_CAST)/90))) + ' gp || ' + XPPerHour(GetTimeRunning,(Round(((GainedXP*GAIN_PER_CAS
    etc.
    Last edited by Oar; 12-31-2011 at 11:43 PM. Reason: fixed

  14. #14
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Oar View Post
    I got
    Code:
    Error: Exception: "" is an invalid integer at line 92
    The following DTMs were not freed: [0, SRL - Lamp bitmap, 2]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    
    
      result:=StrToInt(ExtractFromStr(GetTextAtExWrap(424,56,508,69,0,5,4,clWhite,2,XPChars),Numbers));
    I don't know how to fix sorry
    Oops, bit of oversite in my script I think is the problem. Toggle open the XP bar near the minimap. I'll get that fixed here quick

  15. #15
    Join Date
    Oct 2011
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Also there was an error when somehow I banked all the planks, but plank make was activated looking in my inventory.
    Code:
    Error: Out Of Range at line 434
    The following DTMs were not freed: [0, SRL - Lamp bitmap, 2]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    
    
        MouseItem(invArray[click],true);

  16. #16
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Oar View Post
    Also there was an error when somehow I banked all the planks, but plank make was activated looking in my inventory.
    Code:
    Error: Out Of Range at line 434
    The following DTMs were not freed: [0, SRL - Lamp bitmap, 2]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    
    
        MouseItem(invArray[click],true);
    Gah, releasing scripts can be so frustrating. I'm going on 1.6M magic exp made from this script without a single error :/

    Newest version should make sure that doesn't happen again, not sure how it happened in the first place, there are failsafes against it, but I added another that should ensure no matter what it wont.

  17. #17
    Join Date
    Oct 2011
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by [Nathan] View Post
    Gah, releasing scripts can be so frustrating. I'm going on 1.6M magic exp made from this script without a single error :/

    Newest version should make sure that doesn't happen again, not sure how it happened in the first place, there are failsafes against it, but I added another that should ensure no matter what it wont.
    Thanks! It started working very well! It came up with a proggy and everything, but then i got this:
    Code:
    ***************Nathan's Magic Planker***************
    Error: Exception: "44*6*2*8**" is an invalid integer at line 94
    The following DTMs were not freed: [0, SRL - Lamp bitmap, 2]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    I just made that part a comment. It is running so smoothly though thanks!

    I edited that part bc it was my xp essentially (the 44*... part). Just being cautious. I haven't reset my xp bar in a long time. Maybe it was too high of a number?

    Looks awesome otherwise And I don't think that was really the scripts fault it might have to do with the language (like java is 2.1b or w/e) but I have no experience with this coding.
    Last edited by Oar; 01-01-2012 at 12:47 AM.

  18. #18
    Join Date
    Jan 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'll try this out tomorrow and post a proggy. Thanks for the much needed script :P

  19. #19
    Join Date
    Jan 2012
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I tried this script, leaving it unchanged, which resulted in a crash every 20 minutes or so. After disabling the progress trackers though, it ran 100% flawlessly for over an hour.

    In my opinion, the randomisation for clicking on logs is somewhat a good idea but it's a little TOO randomised for a human. Humans tend to be quite lazy and would rather just click on the same spot until it is no longer possible to (after the tenth inventory space). I think it's better to just go in order until the tenth inventory space and then randomise it a LITTLE bit from then on. Just my thoughts though.
    Last edited by Quintessence; 01-03-2012 at 08:48 AM.

  20. #20
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Quintessence View Post
    I tried this script, leaving it unchanged, which resulted in a crash every 20 minutes or so. After disabling the progress trackers though, it ran 100% flawlessly for over an hour.

    In my opinion, the randomisation for clicking on logs is somewhat a good idea but it's a little TOO randomised for a human. Humans tend to be quite lazy and would rather just click on the same spot until it is no longer possible to (after the tenth inventory space). I think it's better to just go in order until the tenth inventory space and then randomise it a LITTLE bit from then on. Just my thoughts though.
    You can't just click on the tenth spot over and over because it casts on the exact log you clicked on, it doesn't go through the inventory order. Or else I for sure would have done it like that, my goal when I make a script is to have it function exactly as I do it. To do that I do the method for a couple hours and see just how I do it, and this is what I came up with. After a while I just ended up clicking randomly through the inventory like the script does.

    Can you expand a little more on what wasn't working for you though? I have multiple 5+ hour progress reports, I have gotten about 3 million exp from the script so that isn't something I have been able to replicate

  21. #21
    Join Date
    Jan 2012
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    "***************Nathan's Magic Planker***************
    Error: Exception: "4184387077" is an invalid integer at line 103"

    This is what happens every 10-20 minutes of using the script left unchanged. If I remove the whole progress report section then the script works flawlessly. And you're right, I tested it for about an hour manually and I do click randomly around the inventory.

    Just got an error:

    Error: Out Of Range at line 134
    Last edited by Quintessence; 01-04-2012 at 02:48 AM.

  22. #22
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Quintessence View Post
    "***************Nathan's Magic Planker***************
    Error: Exception: "4184387077" is an invalid integer at line 103"

    This is what happens every 10-20 minutes of using the script left unchanged. If I remove the whole progress report section then the script works flawlessly. And you're right, I tested it for about an hour manually and I do click randomly around the inventory.

    Just got an error:

    Error: Out Of Range at line 134
    Hmmm alright, the problem is the built in getxp function doesn't work for me and the one I wrote works flawlessly for me but not so well for others... There is nothing on the posted line 134 that could possibly give that error, it sounds like you modified it some? What is on your versions line 134?

  23. #23
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Script has been updated to SRL 5! All bugs mentioned have been taken care of, script should be flawless now!

  24. #24
    Join Date
    Jan 2012
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Error: Out Of Range at line 446

    "MouseItem(invArray[click],1);"

    Using version 1.2.

    Other than that the script is so much faster - especially banking. There's no more delays for depositing planks and withdrawing logs.
    Last edited by Quintessence; 01-05-2012 at 05:44 AM.

  25. #25
    Join Date
    Nov 2011
    Posts
    255
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Quintessence View Post
    Error: Out Of Range at line 446

    "MouseItem(invArray[click],1);"

    Using version 1.2.
    Using SRL 5?

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