Results 1 to 6 of 6

Thread: Uberfletch freezes

  1. Default Uberfletch freezes

    Looks like on line 2237 is the cause of the freeze to me but I don't know how to fix it. I attached the full section of code that is involved in that line.

    Quote Originally Posted by LOG
    You remove a black imflass dagger from in your leather longcoat.
    >
    Using your previous mark as a guide, you cleanly slice the end off the arrow shaft.
    Roundtime: 4 sec.
    R>
    You put a black imflass dagger in your leather longcoat.
    >
    You remove a bottle of fletching glue from in your leather longcoat.
    >
    You carefully smear a bit of glue on the arrow shaft.
    Roundtime: 15 sec.
    R>
    You put a bottle of fletching glue in your leather longcoat.
    >
    You reach for a bundle of fletchings and remove 3 of them.
    >
    You attempt to attach some fletchings to the arrow shaft, but they refuse to comply, falling off time and again, until the glue is too dry to work with. Luckily, you are able to salvage the shaft.
    Roundtime: 21 sec.
    R>
    [uberbarv: ******** 32 EXP Gained this Pulse ********* (00:07:31)+]
    >;k
    --- Lich: exec1 has exited.
    >
    [uberbarv: ******** 32 EXP Gained this Pulse ********* (00:08:19)+]
    >;k
    --- Lich: uberfletch has exited.
    PHP Code:
    def refletch_shaft(settings)
        
    fput "get my glue"
            
    endtime Time.now 6
            loop
    {
            
            if 
    checkleft =~ /glue/
                break
            
    elsif Time.now endtime
                
    "Failed to get glue"
                
    exit
            else
                
    sleep 0.1
            end
            
    }
        
            
    haste!
            
    check dothistimeout "put my glue on my shaft"3, /You carefully smear a bit of glue/
            if 
    check.nil?
                echo 
    "failed, do something about this later"
                
    exit
            
    end
            sleep 1
            waitrt
    ?
            
    stow("left",settings['fletch_sack'])
            
    fput "get 3 my fletching in my #{settings['fletch_sack']}"
            
    endtime Time.now 6
            loop
    {
                if 
    checkleft =~ /fletching/
                    break
                
    elsif Time.now endtime
                    
    "Failed to get fletchings"
                    
    exit
                else
                    
    sleep 0.1
                end
            
    }
        
            
    haste!
            
    check dothistimeout "put my fletching on my shaft"3, /You attach your|You attempt to attach some|Unfortunatelythe glue is now too dry to remove them and try againso you discard /
        if 
    check =~/You attatch your/
            return
        
    elsif check =~/You attempt to attatch some/
            
    waitrt?
            
    refletch_shaft(settings)
        
    end
        check 
    matchtimeout 60"The glue on your arrow shaft has dried."
        
    if check == false
            refletch_shaft
    (settings)
            return
        
    end
        waitrt
    ?
        if 
    checkright !~ /shaft/
            
    stow("left",settings['fletch_sack'])
            return
        
    end
        haste
    !
        if 
    settings['fletch_flip'] == true
            fput 
    "flip my shaft"
        
    end
        
    if settings['fletch_drilling'] == true
            check 
    dothistimeout "get my #{settings['fletch_drill']} from my #{settings['fletch_sack']}" ,2, /You remove/
            if 
    check == false
                
    echo "failure!! you didnt get  your drill out"
                
    exit
                
    end
            check 
    dothistimeout "turn my #{settings['fletch_drill']}" 6, /and look at your now drilled shaft/
            
    waitrt?
            if 
    check == false
                
    echo "you didnt drill the shaft"
                
    exit
                
    end
            fput 
    "put my #{settings['fletch_drill']} in my #{settings['fletch_sack']}"
            
    check dothistimeout "get my #{settings['fletch_arrowhead']} from my #{settings['fletch_sack']}" ,3, /You remove/
            if 
    check == false
                
    echo "you dont have any arrowheads"
                
    exit
                
    end
            check 
    dothistimeout "turn my #{settings['fletch_arrowhead']}" ,3,/As you turn the arrowhead into the shaft/
            
    waitrt?
            if 
    check == false
                
    echo "unable to find you turning the arrowhead into the shaft"
                
    exit
                
    end
            
    return
            else
                
    get_knife(settings)    
                
    put "cut my shaft with my  #{settings['fletch_knife']}"
                
    put "cut my shaft with my  #{settings['fletch_knife']}"
                
    check matchtimeout 6"With a few quick cuts,""Working a bit too hastily, you slice the end right off!"
                
    if check == false
                    
    echo "didnt see you cut the shaft for some reason, stopping"
                
    exit
                
    end
        end
        
        waitrt
    ?
        
    stow("left",settings['fletch_sack'])
        

    end 

  2. Default

    Found another spot too

    You unsling a mechanical ruic long bow off from over your shoulder, its copper limbs unfolding neatly to the sound of whirring gears.
    >
    Nocking the arrow shaft in your ruic long bow, you draw it back as though preparing to let fly. When the bow string reaches optimal tension, you carefully un-nock the shaft and ease the string forward while grasping the shaft with your left hand to mark the length until you can make a tiny cut on the shaft.
    Roundtime: 5 sec.
    R>
    You sling your ruic long bow over your shoulder, its copper limbs folding up neatly to the sound of whirring gears.
    >
    You remove a black imflass dagger from in your leather longcoat.
    >
    This isn't necessarily a good time to be cutting the arrow shaft. You might want to think about attaching fletchings first.
    >
    [uberfletch: failed, do something about this later]
    --- Lich: uberfletch has exited.
    >drop shaft
    You drop a single arrow shaft.
    >
    --- Lich: exec1 has exited.
    >

  3. Default

    Sooo here is another one but doesn't make sense because it went past the point on the very first post.

    You carefully smear a bit of glue on the arrow shaft.
    Roundtime: 11 sec.
    R>
    You put a bottle of fletching glue in your leather longcoat.
    >
    You remove a bundle of fletchings from in your leather longcoat.
    >
    You attempt to attach some fletchings to the arrow shaft, but they refuse to comply, falling off time and again, until the glue is too dry to work with. Luckily, you are able to salvage the shaft.
    Roundtime: 25 sec.
    R>
    [uberbarv: ******** 30 EXP Gained this Pulse ********* (08:01:26)+]
    You remove a bottle of fletching glue from in your leather longcoat.
    >
    You carefully smear a bit of glue on the arrow shaft, then discard the empty bottle.
    Roundtime: 12 sec.
    R>
    Get what?
    >
    --- Lich: uberfletch has exited.
    The glue on your arrow shaft has dried.
    >
    --- Lich: exec1 has exited.

  4. Default

    I don't know what a fix would be, but I do know that if you're leveling fletching rather than just trying to make arrows (and even if you are making arrows maybe), sammu2 is the script to use, not uberfletch.

  5. Default

    Didnt know about that one will give it a try, trying to level fletching.

    - Jennyfer -

  6. Default

    Sammu does not work either... waste variable set as wastebasket but it does not put the correct term no matter what i put in that variable so code is wrong for rank mode

    [sammu2]>look at my shaft
    You see an inky black arrow shaft, made from wood, probably intended to be used with a bow. The arrow shaft has been pared down and smoothed. A coat of inky black paint covers the shaft.
    >
    -- current state: waste
    [sammu2]>put shaft in #0
    I could not find what you were referring to.
    >
    [sammu2]>
    PHP Code:
        def do_state_waste
            unless put_item
    ('shaft', @settings['wastesack'])                
                @
    settings['fletch_room_exit'].split(',').each { |xfput x }
                
    go2(@settings['waste_room'])
                @
    settings['waste_room_enter'].split(',') { |commandfput command.strip }
                
                
    loop {
                    
    fput @settings['waste_command'] if holding?('shaft')
                    
    dothistimeout "get shaft from #{@settings['wastesack']}"3, /could not|You remove|what\?/
                    break 
    unless holding?('shaft')
                }
                
                @
    settings['waste_room_exit'].split(',') { |commandfput command.strip }
                
    go2(@settings['fletch_room'])
                @
    settings['fletch_room_enter'].split(',').each { |xfput x }
            
    end
        end 
    - Jennyfer -
    Last edited by Jennyfer; 10-08-2018 at 10:05 AM.

Similar Threads

  1. Does anyone use uberfletch? some bugs....?
    By ctsfinest in forum Miscellaneous Scripts
    Replies: 7
    Last Post: 11-03-2016, 08:34 AM

Posting Permissions

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