MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard
    1. Home
    2. Glitch
    3. Best
    • Profile
    • Following 1
    • Followers 4
    • Topics 50
    • Posts 525
    • Best 182
    • Controversial 11
    • Groups 6

    Best posts made by Glitch

    • RE: [Eldritch] Sphere Caps & Waiting Lists

      @Eerie said:

      So @Coin had proposed keeping a waiting list of 5 people and filling spots from that as they open up. We could do it so that, when the queue is empty and it’s time to refresh the list, Slot 1 goes to the person who’s been waiting longest, straight up. Slot 2 is a random pull among the 25% of the people who’ve been waiting longest, 3 the 50% of the people who’ve waited longest, 4/75% and the last one among the entire pool. I think this still preserves the chance for new people to get involved, but also shows deference to the people who’ve been there the longest, as people the top 25% are in every draw and the newcomers only one. Then if we email or @mail or whatever you and don’t respond within X days, we’ll redraw I suppose.

      This is like a solution in search of a problem. Who is unsatisfied with a first come, first served queue for entry into a sphere? Other policies are going to make this more or less appealing, such as giving priority to people with non-supers, etc, but it seems like an overly complex response to something that has yet to be proven an issue.

      posted in Mildly Constructive
      Glitch
      Glitch
    • RE: New forum version

      @Arkandel Did you try first shutting down your computer and then restarting?

      posted in Announcements
      Glitch
      Glitch
    • RE: Spoilers

      It's too soon to talk about spoilers! Siteban!

      posted in Tastes Less Game'y
      Glitch
      Glitch
    • RE: Coming Soon: Arx, After the Reckoning

      @Apos I still feel like the original "baby with the bathwater" complaint stands, here. Deus ex machina level magic is not the only level of magic possible by any stretch.

      @Kanye-Qwest A setting with magic and no system is still rather close to no magic at all for people that want to play magic users.

      I think you can look at almost any Brandon Sanderson book for ways in which magic can still be an integral part of setting and theme without being the solution to everything. Some of his magic systems are a bit higher powered, but I'm also a fan of actual magic in a fantasy setting.

      posted in Mildly Constructive
      Glitch
      Glitch
    • Code in the forums

      To post code in the forums, you need to put four spaces before the line. It's a little klunky, so I will see about adding in some wrapper tags to do so automatically. For now, however, it's how it needs to be done.

      Example:

      -------------------------------| Housing List |-------------------------------
      Limbo.........................Cobalt
      Conference Room...............Tributary
      Staff Lounge..................Cobalt
      Newbie Room...................No one
      Theno's Closet................Thenomain
      | 5 Housing Builds On Grid |--------------------------------------------------
      @create Housing Directory=10
      &F.HEADER Housing Directory=[center(ansi(h, | Housing List |), 78, ansi(%va, -))]
      @VA Housing Directory=<COLOR YOUR WANT>
      &FIL.OWNABLE Housing Directory=hasattr(%0, ownable)
      @VB Housing Directory=#<YOUR HOUSING OBJECT>
      @Desc Housing Directory=[u(f.header)]%r[iter(filter(%vb/fil.ownable, search(type=room)), [ljust(name(%i0), 30, .)][if(hasattr(%i0, owner), name(get(%i0/owner)), No one)], , %r)]%r[u(f.footer)]
      &F.FOOTER Housing Directory=[ljust(ansi(h, | [words(filter(%vb/fil.ownable, search(type=room)))] Housing Builds On Grid |), 78, ansi(%va, -))]
      @set Housing Directory=INHERIT
      
      posted in MU Code
      Glitch
      Glitch
    • RE: Coming Soon: Arx, After the Reckoning

      I'm sorry, @Roz this is a closed scene. As you can see, you're not in the pose-order code.

      posted in Mildly Constructive
      Glitch
      Glitch
    • RE: Sort by last character?

      You could use sortby:

      &d.stat.sort #<dbref>=comp(last(%0, :), last(%1, :))

      then in iter:

      iter(sortby(#<dbref>/d.stat.sort, <list>, |), %i0, |, %r)

      posted in MU Code
      Glitch
      Glitch
    • RE: Steps in deciding to run and setting up a MUSH

      Giving everyone a wizbit is not a good idea at all. It is the same reason you don't give anyone other than owner and possibly sitewiz/coder the server login: That level of access isn't needed to fulfill their duties.

      It may be easier than setting up powers, but it certainly isn't recommended or good starting advice.

      posted in Mildly Constructive
      Glitch
      Glitch
    • RE: The Shift Life (Changing Breeds + GMC)

      I know you're maybe hesitant about yet another Washington Game, but it seems like it'd still be a good setting for something like Changing Breeds. Particularly if you're looking to allow for sea-shifters.

      posted in Mildly Constructive
      Glitch
      Glitch
    • RE: Werewolf 2.0 & Nine Ways It Could Be Streamlined

      I think you're somewhat missing the point of what @Bobotron @Miss-Demeanor and @Thenomain are saying. You're right in that people completely unfamiliar with WoD likely have a different perception of playing a werewolf, but what the others are stressing is that anyone with even a passing familiarity with werewolves, as imagined by White Wolf, expects many of those pieces you're ripping out.

      I don't think anyone is saying that a game of werewolf like you describe has anything wrong with it and may even be great, but it's just no longer WoD Werewolf. If we can agree on that much, I'd say that your changes are too drastic for what I'd want to play, but I'm one of those that wants to play Werewolf as envisioned in WtF 2.0.

      posted in Mildly Constructive
      Glitch
      Glitch
    • RE: Managing command arguments

      I don't think there's a perfect solution since many people have different command practices when it comes to how to build one. The function you're looking for is still going to be regexp, though, even if you want to avoid it for readability. If you're looking for something fairly generic, my suggestion is the following:

      &d.parse-regexp <obj>=^(/(\w+))? ?((\w+)/)?(\w+)?(=([\w\s]+))?
      &f.parse <obj>=regmatchi(%0, get(%!/d.parse-regexp), -1 -1 0 -1 1 2 -1 3)]
      

      I didn't do much testing, but this should parse parameters of the following format:

      [/switch] [target/][action][=value]
      

      And then place them in the %q0-%q3 registers in the appropriate order.

      You can switch things up to suit your own purposes, or someone might have a more thorough/better regexp, but this should get you started on a generic parameter parser.

      posted in MU Code
      Glitch
      Glitch
    • RE: Comics Stuff

      @Arkandel It was great. I'll see it again. It'll be just as great.

      posted in Tastes Less Game'y
      Glitch
      Glitch
    • RE: Upvote vs Downvote Question

      @Derp You have to click it, not hover over it.

      posted in Suggestions & Questions
      Glitch
      Glitch
    • RE: Period Piece Face vs Modern Face

      Chris Pine: Either.
      Jeremy Renner: Period.
      Gal Gadot: Either.
      Ezra Miller: Modern.
      Henry Cavill: Either.
      Angelina Jolie: Modern.
      Emma Watson: Modern.
      Hayley Atwell: Either.

      posted in Mildly Constructive
      Glitch
      Glitch
    • RE: Code in the forums

      Man, it appears I didn't even have to do any work. To get a code block, use three backticks (```) in the line before and after the code.

      var str = "String",
          ind = 0;
      
      &d.name me=Glitch
      

      It will try to automatically determine language (not available for MU of course), but to specify, use: ```<language name>. For example: ```html

      <div class="col-md-7">
        <p>Foo</p>
      </div>
      
      posted in MU Code
      Glitch
      Glitch
    • RE: RL Anger

      @HelloRaptor I can't really give specifics other than what I look up right this second, but from what news I pay attention to, CEO pay has never correlated to company performance. Top link I found was a Forbes article from last year that suggests that CEO pay is even negatively correlated to company performance.

      posted in Tastes Less Game'y
      Glitch
      Glitch
    • RE: Upvote vs Downvote Question

      @Derp Oh. Duuuuuuuuuuuuumb.

      posted in Suggestions & Questions
      Glitch
      Glitch
    • RE: Period Piece Face vs Modern Face

      @kanye-qwest Okay, but period up through, like, the 50s or 60s.

      posted in Mildly Constructive
      Glitch
      Glitch
    • Muxify (MU code editor)

      So I have an online editor for MU code that I've added to the menu (the document icon with the hover text Muxify). This will bring you to the editor in a new tab.

      Usage:
      def <alias> { <code> } - Simple preprocessor for code repetition or object replacement.
      Ex:

      def roller {
        #36
      }
      
      def alert {
        [ansi(hr, |, hw, %o, hr, |)]
      }
      

      To use in code wrap the def in colons:

      &f.function :roller:=pemit(%1, :alert:)
      

      Which will result in:

      &f.function #36=pemit(%1, [ansi(hr, |, hw, %o, hr, |)])
      

      Commenting - Use // before any comments to have them parsed when minified. Everything after // is commented out, so make sure no code follows it. Block commenting is also available as /* <multiline comments> */
      Ex:

        // set initial total value
        [setq(t, ladd(%qf))] // here is okay too
      

      or

      /*
        this
        is
        a 
        multiline
        comment
      */
      

      Keyboard Shortcuts - Supported, see the ACE editor list

      Storage - Code can be saved locally or loaded in minified or expanded form.

      Minification - As you code, the minified version will be filled in simultaneously. It should cover most cases to proper format.

      Explode - This will take minified code and add whitespace to it in the left pane.

      Finally, here is some example code you can copy/paste to the left pane to test it out:

      /* Requires global function pluck: 
       * [setq(i, if(t(%2), %2, %b))][setq(o, if(t(%3), %3, %b))][extract(%0, match(%0, %1*, %qi), 1, %qi, %qo)]
       *
       * Requires global function alert:
       * [ansi(hr, |, hw, %b%0%b, hr, |)]
       *
       * For english stats, a fate stat object is needed, defined here with fss,
       * with the following format &d.skills fss=skill|skill|skill
       */
      
      def fr {
        #36 // set to object dbref
      }
      
      def fss {
        #75 // dbref for stat system
      }
      
      &c.roll :fr:=$+roll *:ulocal(%!/f.parse, %#, %0)
      
      &f.parse :fr:=
        // preformat roll string
        [setq(s, edit(%1, %b, , +, %b))]
        
        // set error register
        [setq(e,)]                       
        
        // set natural language register
        [setq(l,)]
        
        // fate dice
        [setq(f, lrand(-1, 1, 4))]
        
        // set initial total value
        [setq(t, ladd(%qf))]
        
        /* check if string token is a word and parse it, otherwise assume
         * it is a number and add to total
         */
        [iter( %qs, 
          if(isword(%i0), 
            setq(t, ladd(%qt [u(%!/f.get-dice, %0, %i0)])), 
            [setq(t, add(%qt, %i0))]
            [setq(l, %ql|%i0)]
          )
        )]
        
        // if error(s), display them, otherwise display successful roll
        [if( t(%qe), 
          u(%!/f.display.error, %0, trim(%qe, , |)), 
          u(%!/f.display.roll, %0, trim(%ql, , |), %qt, %qf)
        )]
        
      &f.get-dice :fr:=
        /* get the skill from the stat object (used for default cases where the
         * skill exists but is not present on charbit)
         */
        [setq( 0, pluck( get(%va/d.skills), %1, |))]
        [if( t(%q0), 
          
          // get skill value from charbit or return 0
          [setq( 1, pluck( get(%0/_skills), %q0, |))]
          [if( t(%q1),
            trim(rest(%q1, :)),
            0
          )]
          
          // add to the language output
          [setq( l, %ql|[if(t(%q1), %q1, %q0)])], 
          
          // or add as an error
          setq(e, %qe|could not find '%1'.)
        )]
        
      &f.display.roll :fr:=
        // send roll message to room
        remit(loc(%0), 
          [alert(+roll)]%b[name(%0)] rolls [u(%!/f.tr.dice, %3)] + 
          [iter(%1, if(t(rest(%i0,:)), [first(%i0,:)] %(+[rest(%i0,:)]%), %i0), |, %b+%b)]
          for a[case(%qt,1,n,7,n)] 
          [ansi(hw,[u(%!/f.tr.success, %qt)] %([if(gte(%qt,0), +%qt, %qt)]%))].)]
        )
        
      &f.tr.dice :fr:=
        // make fate dice pretty
        edit(%0, -1, ansi(y, %[, hw, -, y, %]), 
          0, ansi(y, %[, hw, %b, y, %]), 
          1, ansi(y, %[, hw, +, y, %])) 
          
      &f.tr.success :fr:=
        // provide english language values
        case(%0, -2, Terrible, -1, Poor, 0, Mediocre, 1, Average, 2, Fair, 
          3, Good, 4, Great, 5, Superb, 6, Fantastic, 7, Epic, 8, Legendary, Mythic)
        
      &f.display.error :fr:=
        // display any errors to roller
        pemit(%0, [alert(+roll)] Errors: [itemize(%1, |)])
      
      /* set the data object for skills list.  Alternatively add a d.skills
       * attribute to the roller and edit f.get-dice to use %! instead of %va
       */
      @va :fr:=:fss:
      
      posted in MU Code
      Glitch
      Glitch
    • RE: Good TV

      @Roz I thought the premise and the characters themselves were pretty good, but I guess I wasn't as impressed by the story/conflict/whatever? I watched it all, don't get me wrong, but I was perhaps too hyped for it.

      Also: Too. Much. Birthing.

      posted in Tastes Less Game'y
      Glitch
      Glitch
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 9
    • 10
    • 4 / 10