Search:

Type: Posts; User: Vanatar

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Thread: Tiny Script

    by Vanatar
    Replies
    5
    Views
    3,781

    I cancelled my GS sub so haven't kept up with the...

    I cancelled my GS sub so haven't kept up with the forums recently...

    The biggest difference in the hiding code is the original block will always loop thrice and check the conditional. The...
  2. Thread: Tiny Script

    by Vanatar
    Replies
    5
    Views
    3,781

    There's a lot of valid way to accomplish this. I...

    There's a lot of valid way to accomplish this. I would do something like this to start:



    waitrt?
    fput "stand" until standing? unless standing?
    waitrt?
    3.times do
    break if hiding?
    ...
  3. Replies
    1,526
    Views
    259,567

    The sleep command is probably the closest to what...

    The sleep command is probably the closest to what you want. Setup your targets as normal, but enter only sleep(x) in the hunting commands. X is the number of seconds you want bigshot to sleep...
  4. Replies
    0
    Views
    339

    Lost shield in OTF

    A scout grabbed my shield this morning- if anyone happens across it I'd appreciate its return.
  5. Replies
    1,526
    Views
    259,567

    If you want to duplicate (or near enough) the...

    If you want to duplicate (or near enough) the behavior of the mana and stamina checks modify this code:




    # check mana/stamina
    if( command =~ /(.*)\(([s|m])(\d+)\)$/ )
    if( $2 == 's' )
    ...
  6. Replies
    1,526
    Views
    259,567

    I think what it comes down to is how much code...

    I think what it comes down to is how much code you want to write yourself. If you want everything to happen inside Bigshot, there are two easy places to start:
    1. By default the ambush commands get...
  7. Replies
    13
    Views
    972

    300k on the MBP.

    300k on the MBP.
  8. Replies
    107
    Views
    12,317

    Bug: jewelrysack is not initialized, so turning...

    Bug: jewelrysack is not initialized, so turning in heirlooms tasks fails.

    I added this line in the same spot lootsack and skinsack are initialized:

    jewelrysack = GameObj.inv.find { |i| i.noun...
  9. Replies
    1,526
    Views
    259,567

    I think Bigshot targets in the order you have the...

    I think Bigshot targets in the order you have the critters listed in the setup. Try putting the critter you want to prefer first in the list.
  10. Replies
    110
    Views
    11,925

    Also forgot to mention this bug: All instances...

    Also forgot to mention this bug:
    All instances of UserVars.tpick["trap_roll"] should be UserVars.tpick["trap_roll"].to_i
  11. Replies
    110
    Views
    11,925

    More of a suggestion than a bug: If the lock is...

    More of a suggestion than a bug: If the lock is within your capabilities but takes several attempts to pick there's probably no need put the lockpick away between attempts.

    This one is an actual...
  12. Replies
    107
    Views
    12,317

    A couple of bugs I noticed: 1. Pre-rest...

    A couple of bugs I noticed:

    1. Pre-rest commands: they're in the GUI, but not used anywhere that I can find. I ended up adding a rest_prepare proc to process any commands found and called it at...
  13. Replies
    1,526
    Views
    259,567

    Not sure if Versin still cares, but someone else...

    Not sure if Versin still cares, but someone else might. I realized today that the code I provided was to detect how your target responded to an attack. I use this to to determine if my ambushing...
  14. Replies
    1,526
    Views
    259,567

    I think you want to modify the line that starts...

    I think you want to modify the line that starts with clear.any?... somewhere around line 775. The regex match could look something like this:
    ...
  15. Replies
    3
    Views
    851

    Generally, you'll want to use regular expressions...

    Generally, you'll want to use regular expressions to pull out the text you want. Then a simple comparison of whatever match you found to your trap limit will determine whether or not to use 404.
  16. Thread: Azbounty

    by Vanatar
    Replies
    183
    Views
    25,659

    Take a look at the first couple pages of the...

    Take a look at the first couple pages of the bigshot thread. Almost everything you want to know about setting up hunting grounds is there.

    For reference, (sXX) or (mXX) in the attack routine...
  17. Thread: Azbounty

    by Vanatar
    Replies
    183
    Views
    25,659

    Are you sure you're using the full creature name?...

    Are you sure you're using the full creature name? For instance, for the purpose of bounties I think 'being' should actually be 'gnarled being', or 'bent being', or 'twisted being', etc...

    Also, I...
  18. Thread: The API

    by Vanatar
    Replies
    15
    Views
    1,750

    A few more comments for you: Use the detect...

    A few more comments for you:

    Use the detect verb instead of the disarm verb for the initial trap detection.
    Detect will ONLY find traps, it will never attempt to disarm one. So you can detect a...
  19. Thread: The API

    by Vanatar
    Replies
    15
    Views
    1,750

    Thanks for the clarification. I didn't read your...

    Thanks for the clarification. I didn't read your earlier post carefully enough.

    --Vanatar
  20. Thread: The API

    by Vanatar
    Replies
    15
    Views
    1,750

    Just to be crystal clear -- Are you using the...

    Just to be crystal clear -- Are you using the entire sentence for possibility1, possibiliy2, etc...? Because if you are, don't. Find something you know is unique from each result and match on that. ...
  21. Thread: The API

    by Vanatar
    Replies
    15
    Views
    1,750

    disarmed = dothis "disarm right", /(.*)/ echo...

    disarmed = dothis "disarm right", /(.*)/
    echo "#{disarmed}"
    if disarmed=~ /You discover no traps/
    blah
    end


    Your problem is your matching regex is not restrictive enough. The expression...
  22. Thread: The API

    by Vanatar
    Replies
    15
    Views
    1,750

    Most of this stuff isn't documented anywhere but...

    Most of this stuff isn't documented anywhere but within the code for lich itself...

    Muckled? -- A shortcut method for checking status values all at once. Returns true if you're webbed or stunned...
  23. Replies
    1,526
    Views
    259,567

    Sure do... (copy and paste!) The default...

    Sure do... (copy and paste!)

    The default behavior of the wrack() routine is to use sigil of power as many times as your stamina allows.

    Change Line 714 ( or thereabouts) from this:

    (...
  24. Thread: IDE/Debugger

    by Vanatar
    Replies
    19
    Views
    2,099

    I use Notepad++... basic syntax highlighting is...

    I use Notepad++... basic syntax highlighting is good enough for me. There are probably Ruby specific plugins available for it, but I never cared enough to look.
  25. Thread: Azbounty

    by Vanatar
    Replies
    183
    Views
    25,659

    I don't think autofill ever worked in azbounty...

    I don't think autofill ever worked in azbounty...
Results 1 to 25 of 55
Page 1 of 3 1 2 3