Results 1 to 9 of 9

Thread: Sorter script problem

  1. #1

    Default Sorter script problem

    Sorter just started giving me an error notification and showing the unsorted inventory in a container before showing the sorted inventory. Halp!


    >look in my back
    --- Lich: DownstreamHook: undefined local variable or method `line' for #<Scripting:0x4b4ab50>
    sorter:104:in `block in script'
    In the black rattan back-basket you see a sturdy maoral strongbox, a scratched maoral chest, a thin-spined grey leather manifest, a pure potion, a white flask, a blue crystal, a blue crystal, a white flask, a pure potion, a small statue, a small statue and a faded gold ring.
    >
    In the black rattan back-basket:
    box (2): a scratched maoral chest, a sturdy maoral strongbox.
    other (1): a thin-spined grey leather manifest.
    magic (9): a blue crystal (2), a white flask (2), a pure potion (2), a faded gold ring, a small statue (2).

  2. #2

    Default

    I started to notice this too. Something similar happened when Simu created their own type of sorter. I think you might have to flag theirs off or something like that. Maybe it got reset. I just haven't had time to mess around with it.

  3. #3

    Default

    No, tillmen messed up a variable at line 104. Change
    Code:
    elsif line =~ /^(?:<container.*inv>|<clearContainer.*inv>|<exposeContainer.*inv>)(?:(?:[IO]n the .*?) you see .*\.|(?:Peering into the .*?, you see .*?)(?:, | and )(?:a|an|some) <.*\.)/
    to
    Code:
    elsif s =~ /^(?:<container.*inv>|<clearContainer.*inv>|<exposeContainer.*inv>)(?:(?:[IO]n the .*?) you see .*\.|(?:Peering into the .*?, you see .*?)(?:, | and )(?:a|an|some) <.*\.)/

  4. #4

    Default

    Thanks for the help, I'll try it!

  5. Default

    I can't get my sorter to work /at all/. What am I not doing?

  6. Default

    Quote Originally Posted by Aluvius View Post
    Thanks for the help, I'll try it!
    Did that fix your problem, Aluvius?
    Get Lich - Vote for Gemstone (topmudsites.com)

  7. Default

    Quote Originally Posted by Listrezz View Post
    I can't get my sorter to work /at all/. What am I not doing?
    ;repo download sorter
    ;kill sorter
    ;sorter
    look in ugly container

    What do you see when you look in the container?
    Get Lich - Vote for Gemstone (topmudsites.com)

  8. #8
    Join Date
    May 2010
    Location
    With your mom
    Posts
    5,778

    Default

    Quote Originally Posted by Tillmen View Post
    ;repo download sorter
    ;kill sorter
    ;sorter
    look in ugly container

    What do you see when you look in the container?
    Bewbs

  9. Default

    You can also type SET SORTEDVIEW ON in game and not use a script.
    Truth, Justice and the Arabian way!

Similar Threads

  1. Loreinging script problem
    By Godsanvil in forum Scripting Discussion
    Replies: 1
    Last Post: 01-29-2016, 10:57 PM
  2. Troubleshooting script problem
    By Jymamon in forum The Lich Project
    Replies: 2
    Last Post: 03-20-2011, 04:42 PM
  3. jail script problem
    By Thug Life in forum Miscellaneous Scripts
    Replies: 8
    Last Post: 08-17-2010, 05:18 AM
  4. Problem with my script
    By radamanthys in forum Scripting Discussion
    Replies: 7
    Last Post: 11-20-2005, 01:46 PM
  5. Problem counter script
    By Trinitis in forum Scripting Discussion
    Replies: 4
    Last Post: 09-18-2003, 04:54 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
  •