Results 1 to 15 of 15

Thread: [AL]DroiFletch

  1. #1
    Join Date
    Apr 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Post [AL]DroiFletch

    Hey guys,

    I just wanted to share my fletcher that I threw together over the past couple days to knock out some tedious fletching.

    A few key things to note are as follows:
    • Runs AeroLib (and as such, the Interpreter must be switched to Lape)
    • Currently only has Maple Longs supported (the only logs I had to test with)
    • An additional file, Profiles.Simba, must be downloaded to Simba/Includes/AeroLib/Profiles.Simba
    • There is not currently Random Support as I mostly ran it in Pest Control's bank
    • As I was not particularly worried about tracking progress, I have yet to set up an actual Progress report (Simply shows the time running and logs cut)
    • Operates using an FSM loop


    Things I hope to update soon:
    • Support for additional log types as well as short bows
    • Add an actual progress report
    • Add additional antiban beyond the profile waiting system
    • Random support for when outside of Pest Control Bank
    • Updates to parts of the stringing code


    Anyways, with those things in mind, a little about how to set it up:
    • The user setup is on lines 9-35
    • Before running, make sure Interpreter is set to Lape
    • Make sure AeroLib and my small Profiles.Simba are downloaded correctly
    • Be sure to enter the bankbooth colors on lines 11 and 12 (Can be any bankbooth, however be aware that if outside of PC bank, theres no random support!)
    • Enable Smart and hit go!


    As I'm sure you can see it is very much a work in progress, so if there are any issues getting it to run, please let me know and I'll do my best to provide assistance. Other than that, I just wanted to give a huge shout out to Flight for his awesome include, as well as his Catherby Cooker to use as an AeroLib guide/skeleton in a number of ways.

    Any comments/critiques are more than welcome!


    [AL]DroiFletch.simba
    Profiles.simba

    Hopefully I did everything correct while posting this, as I haven't done much posting before haha.
    Last edited by droibiotch; 06-06-2014 at 03:06 AM.

  2. #2
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    How would i add willow logs to it? They are the only ones i have.

  3. #3
    Join Date
    Apr 2013
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    Quote Originally Posted by hakishakataki View Post
    How would i add willow logs to it? They are the only ones i have.
    Navigate to this :

    Code:
    case lowercase(LogToCut) of
        'willow':
          begin
            //TODO
          end;
    Add log.DTM := DTMFromString('TheDTMStringWillGoHere'); And make a dtm for willow logs.
    You may have to edit the unstrung/strung DTMS as well, depending on how they scriptor made them (didn't take the time to check).
    If you're not sure how to do this, there are a handful of tutorials on how to create DTMS in the tutorials section -- Its very easy, even if code is like a foreign language to you.

    Edit: I happened to have my dtm handy for willow logs

    WillowDTM := DTMFromString('mggAAAHicY2NgYNjOxsCwFoiXAfEGIN4HxP uBmI2JgeE/IwMDF5AWAWJ+IP4H5Ad5yAB1MWJgSQbsAFMlBEMAAAKpB3Y=') ;
    FletchDTM := DTMFromString('mggAAAHicY2NgYHBnZWCwBmJzIA4D4hggjg fiJiYGhhogrgTiyUA8F4iXAXFWihpDYbYGGPt6yDBM7zdnaK01 YOAHmoUNM+LAEAAAv9sL5A==');

    The first one is the DTM for willow logs. The second is the DTM for the willow long (u) that shows up when you use willow logs on a knife (the menu)
    Last edited by Simbanoobie; 06-06-2014 at 04:03 AM.

  4. #4
    Join Date
    Apr 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    In lines 82-196 is the loadVars() method. Inside that method is where I load the DTMs of the object to fletch. So in the case of willow logs, copy the text from lines 170-181 into line 160 where it says //TODO under the case for willows. After you do that, just update the DTMs in the code you just copied so that the DTMs are for willow logs/willow bows instead of the maple ones. Hope that helps!

    Edit: ^what Simbanoobie said haha. Sorry didn't see he already answered you.

  5. #5
    Join Date
    Feb 2013
    Location
    Narnia
    Posts
    615
    Mentioned
    8 Post(s)
    Quoted
    252 Post(s)

    Default

    Quote Originally Posted by Simbanoobie View Post

    Edit: I happened to have my dtm handy for willow logs

    WillowDTM := DTMFromString('mggAAAHicY2NgYNjOxsCwFoiXAfEGIN4HxP uBmI2JgeE/IwMDF5AWAWJ+IP4H5Ad5yAB1MWJgSQbsAFMlBEMAAAKpB3Y=') ;
    FletchDTM := DTMFromString('mggAAAHicY2NgYHBnZWCwBmJzIA4D4hggjg fiJiYGhhogrgTiyUA8F4iXAXFWihpDYbYGGPt6yDBM7zdnaK01 YOAHmoUNM+LAEAAAv9sL5A==');

    The first one is the DTM for willow logs. The second is the DTM for the willow long (u) that shows up when you use willow logs on a knife (the menu)
    because your only doing one type of log in an inv you could simply just edit your dtm in the dtm editor so that your mother point has a tolerance of 255. you could then use any log you want (idk about magic cause its got dem dots on em).

    but if youre using that dtm to withdraw logs too, that might not be a good idea if you have multiple types of logs ha.

    View my OSR Script Repository!


    Botted to max
    Guides: How to Report Bugs to the Scripter
    ~~~~ Moved to Java. Currently Lurking ~~~~

  6. #6
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    I have been editing this script to blow glass but I cannot figure out the bitmapping.

    my idea was to just replace all of the dtm's and bitmaps so that it thinkgs it's fletching logs but it's really blowing glass.
    So far I have all of the dtm's correct but it get's stuck when the glass blowing screen comes up.
    I thought maybe replacing the fletch bitmap with the glass blowing bitmap might work but none of the bitmaps I create work.

    I come up with the debug box saying

    "waiting for 'some number between 1 and 1000'"

    also, im blowing the 'orbs'

    I can post my modified version of the script if that would help. The procedure I modified is 'fletchmenubmp' in the loadvars procedure. I deleted the original bmp code and pasted my own with no success.

    MAXIMUM EDIT: I got the script fully working (after lots of shit tier coding) but hey, at least its working! ^u^.

    2k down, about a billion to go
    Attached Images Attached Images

  7. #7
    Join Date
    Jun 2014
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    how do i run this script without smart. i comment out smart and it keeps giving me errors upon errors.

  8. #8
    Join Date
    Jun 2014
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Exception in Script: Unknown declaration "ScrollToItemDTM" at line 347, column 11

  9. #9
    Join Date
    Jun 2014
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    hello.

    I would like to report to you that whenever i use aerolib with this script [AL]DroiFletch in the fleching section( here's the link to it https://villavu.com/forum/showthread.php?t=109071), with all my details filled in username and password etc. It mixes the characters of my username and password in the runescape 2007 login screen. for example say in the script i have filled my username to be "tom" and my password is 123. When i run the script , it fills my username to 1t3 and password to o2m. all characters are there but it just mixes them up... again thanks in advance in looking for this problem. I have also posted this in script thread , your aerolib include thread so it could grab your attention quicker. Thanks

  10. #10
    Join Date
    Aug 2014
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    getting this error "Exception in Script: Unknown declaration "ScrollToItemDTM" at line 347, column 11" anybody know how to fix this issue?

  11. #11
    Join Date
    Aug 2014
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Well I figured out the issue but I have little coding knowledge to fix it. According to Flight on this thread "https://villavu.com/forum/showthread.php?t=109640" he says "The problem is I changed the function 'ScrollToItemDTM' into 'ScrollToItem' and it now accepts a TItem rather than a DTM like before." I will try and figure this out myself but help would be appreciated.

  12. #12
    Join Date
    Jul 2012
    Posts
    181
    Mentioned
    4 Post(s)
    Quoted
    67 Post(s)

    Default

    Quote Originally Posted by MightylThor View Post
    Well I figured out the issue but I have little coding knowledge to fix it. According to Flight on this thread "https://villavu.com/forum/showthread.php?t=109640" he says "The problem is I changed the function 'ScrollToItemDTM' into 'ScrollToItem' and it now accepts a TItem rather than a DTM like before." I will try and figure this out myself but help would be appreciated.
    I'm not sure if this will be of any help to you
    https://villavu.com/forum/showthread.php?t=109760

  13. #13
    Join Date
    Jul 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im new to samba but I figured it all out and when I run your script I get some errors like this one
    http://prntscr.com/4qk8u9

    please help

  14. #14
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    Everytime i attempt to run this script i get the following error:

    Error: Unknown declaration "toObj" at line 156
    Compiling failed.

    Any ideas what could cause this?

  15. #15
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by Dan the man View Post
    Everytime i attempt to run this script i get the following error:

    Error: Unknown declaration "toObj" at line 156
    Compiling failed.

    Any ideas what could cause this?
    The script is outdated.
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •