Menu

#238 Forcing A wizz to @toadplayer

Crasher
open-accepted
9
2005-07-13
2004-12-08
No

Attempting to go around the lack of toad player prim via
wizz "@toad *whomever*" force
crashes the muck.

Discussion

  • Kyle Hamilton

    Kyle Hamilton - 2005-06-06

    Logged In: YES
    user_id=7718

    Please provide a copy of logs/fbmuck.err of when the crash
    happens. Is this Winfuzz?

     
  • Shade@ndmuck

    Shade@ndmuck - 2005-06-17

    Logged In: YES
    user_id=1173889

    05/23/05 16:53:41: Attempt to re-CLEAR() instruction from
    interp.c:962 previously CLEAR()ed at interp.c:960
    LOADING: /fuzzball/newdraconia/data/std-db.db
    LOADING: /fuzzball/newdraconia/data/std-db.db (done)
    Checking objects 0 to 9999...
    Checking objects 10000 to 19999...
    Checking objects 20000 to 29999...
    Checking objects 30000 to 39999...
    Checking objects 40000 to 49999...
    Checking objects 50000 to 52261...
    Searching for orphan objects...
    Done.
    PANIC: BAILOUT: caught signal 11
    DUMPING: /fuzzball/newdraconia/data/std-db.new.PANIC
    DUMPING: /fuzzball/newdraconia/data/std-db.new.PANIC (done)
    LOADING: /fuzzball/newdraconia/data/std-db.db
    LOADING: /fuzzball/newdraconia/data/std-db.db (done)
    Checking objects 0 to 9999...
    Checking objects 10000 to 19999...
    Checking objects 20000 to 29999...
    Checking objects 30000 to 39999...
    Checking objects 40000 to 49999...
    Checking objects 50000 to 52261...
    Searching for orphan objects...

    Fbmuck.err relevant parts, I have the whole file available
    if you wish.
    The muf code causing the crash:
    cleanupguest
    5 sleep
    me @ "@/guest" getpropstr strlen 0 = if "You're not a guest,
    you almost got recycled, fun, fun, keep up the good work"
    abort then
    me @ awake? 0 > if "You are misusing this program." abort then
    prog "_usercount" getpropval 1 - prog swap "_usercount" swap
    setprop
    forcewizz "@toad " me @ name strcat force
    forcewizz "@recycle #" me @ intostr strcat force
    ;
     
  • Shade@ndmuck

    Shade@ndmuck - 2005-06-17

    Logged In: YES
    user_id=1173889

    Sorry I forgot to mention it isn't winfuzz, its running on a
    linux system actually.

     
  • Shade@ndmuck

    Shade@ndmuck - 2005-06-17

    Logged In: YES
    user_id=1173889

    Figured out it is actually a bug in recycling the leftover
    slimy toad left behind.

     
  • Kyle Hamilton

    Kyle Hamilton - 2005-07-02
    • status: open --> open-accepted
     
  • Kyle Hamilton

    Kyle Hamilton - 2005-07-02

    Logged In: YES
    user_id=7718

    When the command to @toad the player runs, all of that
    player's programs should be removed from the timequeue,
    including the one that's currently running. Thus, it should
    not proceed past the initial @toading.

    And if you want the TOADPLAYER primitive, recompile the
    server with SCARY_MUF_PRIMS set in config.h.

    The best thing to do would be to @force the wizard to run a
    program that would @force him to do the toad, and then the
    @rec. This would prevent the current program from having
    issues.

    I'm thinking about how this code is structured, and what
    it's supposed to do... not easy, since I don't know the
    interpreter that well yet.

     
  • Kyle Hamilton

    Kyle Hamilton - 2005-07-02
    • assigned_to: nobody --> revar
     
  • Wyld

    Wyld - 2005-07-13
    • priority: 5 --> 9
     

Log in to post a comment.