Poll: Handy or not?

Page 1 of 2 12 LastLast
Results 1 to 25 of 31

Thread: Is this necessary?

  1. #1
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default Is this necessary?

    This isn't really a scripting question like I have an error, but more a question to you.

    In my new willow chopper I have this function "DetectAxe".
    It perfectly detects any type of axe, sees if it's equipped or in the inventory, etc. ()

    The 'extra' thing I have, is that it also detects if the axe you are using is the best you can (e.x: you have WC lvl 45, but you use an Addy axe, the script will say this in the debug box: "The axe the character is using isn't the best the character can use.").

    It's quite handy IMO (so the user takes notice), but would users find it handy too?
    Ce ne sont que des gueux


  2. #2
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    it won't hurt thats for sure
    'sides, if u added where it then withdrew the best u had in bank that'd be cool as well...
    (of course set it as an option to get the best axe each time u lvl up and can use a better axe)

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

    Default

    handy, not needed.
    Did someone say GDK?

  4. #4
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    but again it won't hurt...
    so i'd keep it

  5. #5
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Kk thanks.
    Though withdrawing a new axe can be tricky because every axe has the same DTM, except dragon axe (of which I do have a special DTM though).
    Ce ne sont que des gueux


  6. #6
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Floor66 View Post
    Kk thanks.
    Though withdrawing a new axe can be tricky because every axe has the same DTM, except dragon axe (of which I do have a special DTM though).
    There different colors tho so just dont make the center color of your DTM '0'. Make it the actual color of the Axe head.

  7. #7
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    no, make it zero... then find all the dtms of axe. then find all the colors at the main point
    then use IsSimilar to see which axe they are

  8. #8
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    I'll do this tomorrow, because I can't script when I'm tired :S
    Ce ne sont que des gueux


  9. #9
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Stealing my features, eh?
    I am planning on adding this into mine as well. It will get the axes that you have in the bank and store them for future refrence and then when ever you level up, and its level 11, 21, 31, 41, 61, etc. it will bank your current axe and withdraw the best one you can use.

  10. #10
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    it aint anyones feature... 'sides i made something that did that 2 years ago Da 0wner.. B4 u existed

  11. #11
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No, before I existed at SRL. But you joined less than two years ago -.-.

    And Floor66, you can use a DDTM and just change the mainpoints color to the color of each axe at the same coord.

  12. #12
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    Stealing my features, eh?
    I am planning on adding this into mine as well. It will get the axes that you have in the bank and store them for future refrence and then when ever you level up, and its level 11, 21, 31, 41, 61, etc. it will bank your current axe and withdraw the best one you can use.
    Naa mines better anyways.
    Ce ne sont que des gueux


  13. #13
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Right now it is. But when I make mine, it will be more .

    Give me the dragon axe DTM pl0x.

  14. #14
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Okay okay...
    SCAR Code:
    D_AxeDTM := DTMFromString('78DA63F4676260506764400659E2BC0C3A402' +
           '190E87F2060F402AA51415503918591409A18356E40351A44A8D1' +
           '21A02608A84697809A70C2760100DFD10811');

    CREDIT MEEEEEEEEEEE.
    Ce ne sont que des gueux


  15. #15
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I think every banking chopping or mining script should detect the axes being used, the axes able to be used, and upgrade your pick or axe if you have a better one available.

    Just notifying the user isn't all that helpful, imo.


  16. #16
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okay. Haha thanks.

  17. #17
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Seems the dtm of dragon axe may be off =\
    Crap >.<

    here's a better one:
    SCAR Code:
    D_AxeDTM := DTMFromString('78DA63DCCEC0C0C0CEC8800C1CD9991974804' +
           '220D1FF40C0B817C860435503918591407A0F90E022A0661F90E0' +
           '25A06627901020A0662B116AD601094E026A407E6724A06617906' +
           '0C6AF0600F4CD0B64');

    EDIT:
    It's glitchy in gametab no.5 >:@
    Ce ne sont que des gueux


  18. #18
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Make it show it in the progress report, not just some random notification. I find those annoying*..

    Or like wizzup said, make it buy a better axe

    *most of the time.
    Interested in C# and Electrical Engineering? This might interest you.

  19. #19
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    I have it showing notifications with proggies, like when the character is dead or the axe is not the best you can
    Ce ne sont que des gueux


  20. #20
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Floor66 View Post
    This isn't really a scripting question like I have an error, but more a question to you.

    In my new willow chopper I have this function "DetectAxe".
    It perfectly detects any type of axe, sees if it's equipped or in the inventory, etc. ()

    The 'extra' thing I have, is that it also detects if the axe you are using is the best you can (e.x: you have WC lvl 45, but you use an Addy axe, the script will say this in the debug box: "The axe the character is using isn't the best the character can use.").

    It's quite handy IMO (so the user takes notice), but would users find it handy too?
    Mind posting the proc?

  21. #21
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  22. #22
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    I don't have the withdrawal but I do have my detection func.
    But incorporating it in to another script would be kinda hard because I use my own Type WCUser that holds all info about the current character (axe type, wielded, etc.).
    Ce ne sont que des gueux


  23. #23
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Code:
    Function GetPick(PickType:string):boolean;
    var x,y,GenericPick:integer;
    begin
      PickType:=LowerCase(PickType);
      case PickType of
        'rune'        : GenericPick:= DTMFromString('78DA63EC666060706540038C482490EE07124' +
           'EA82A1C231219F891D5F402097B02E6CC06125E04D43403896802' +
           '6A261061D72C20E14D404D0F90F0C1AF0600251307DD');
        'adamant'     : GenericPick:= DTMFromString('78DA637CC9C0C0E0CA800618914820FD16483' +
           '8A1AA70087060E04756F31A48D81330E72790F022A0E621908826' +
           'A0E61D1176FD0012DE04D4BC02123EF8D50000D84C0AA3');
        'mithril'     : GenericPick:= DTMFromString('78DA63DCC5C0C0E0CA800618914820BD0F483' +
           '8A1AAB0B68E60E04756B30748D81330E71490F022A06613908826' +
           'A0663F11769D0412DE04D4EC06123EF8D50000E9DA0929');
        'steel'       : GenericPick:= DTMFromString('78DA6374606260B8C3800618914820ED02547' +
           '3135545494E36033FB21A27A09A6B04CC0900AA7948408D0550CD' +
           '27026A5C89B0CB1FA8E61101358E40358FF1AB0100E3E20A9E');
        'iron'        : GenericPick:= DTMFromString('78DA63DCC5C0C0E0CA800618914820BD0F483' +
           '8A1AAF0F37067E04756B30748D81330E71490F022A06613908826' +
           'A0663F11769D0412DE04D4EC06123EF8D50000F7870938');
        'bronze'      : GenericPick:= DTMFromString('78DA63EC666060706540038C482490EE07124' +
           'EA82ABCAD1419F891D5F402097B02E6CC06125E04D43403896802' +
           '6A261061D72C902309A8E901123EF8D50000D9820789');
      end;
      if FindDTM(GenericPick,x,y,1,1,MSX2,MSY2) then
      begin
        //Writeln('Found '+PickType+' Pick BMP at '+IntToStr(x)+','+IntToStr(y));
        Mouse(x,y,2,2,true);
        Wait(3000);
        if not(FindDTM(GenericPick,x,y,MIX1,MIY1,MIX2,MIY2)) then
        begin
          FreeDTM(GenericPick);
          GetPick(PickType);
          exit;
        end;
        Result:=true;
        FreeDTM(GenericPick);
        Writeln('Withdrew '+PickType+' pick');
        Wait(500+random(1000));
        exit;
      end else
      begin
        FreeDTM(GenericPick);
        case PickType of
          'bronze'  :result:=false;
          'iron'    :result:=GetPick('bronze');
          'steel'   :result:=GetPick('iron');
          'mithril' :result:=GetPick('steel');
          'adamant' :result:=GetPick('mithril');
          'rune'    :result:=GetPick('adamant');
         end;
      end;
    end;
    That's what I use for Picks. Change the DTMs to axes, and it should work fine.
    Last edited by tarajunky; 05-06-2009 at 07:30 AM.


  24. #24
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sometimes I use an adamant axe/pick to avoid breaking(doesn't happen anymore) or losing the rune one. So if you are going to include it, you should add the option to choose


  25. #25
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    Stealing my features, eh?
    I am planning on adding this into mine as well. It will get the axes that you have in the bank and store them for future refrence and then when ever you level up, and its level 11, 21, 31, 41, 61, etc. it will bank your current axe and withdraw the best one you can use.
    def not your idea... i already have that in my script.

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