MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard
    1. Home
    2. Cobalt
    3. Posts
    • Profile
    • Following 4
    • Followers 12
    • Topics 132
    • Posts 2004
    • Best 747
    • Controversial 4
    • Groups 6

    Posts made by Cobalt

    • RE: Building: A Basic Tutorial

      How do I format a player list?

      The way to do this is to edit your 'conformat' attribute on your room parent. You set this object by using @conformat <room parent>=<code>. You can do it in different ways, but I'll show you a basic way to do it now.

      You'll want to use iter(), lcon(), and a few other bits of a code. So you may want to read their help files if you plan to customize. (help lcon, help iter).

      So first we need to build a list of players in the room so we start with:

      lcon(%!) --> #42 #459 #79 #2526 #1127 #1186 #960 #12
      

      Are all of those players? Also what are their names?

      Here is where iter() comes in. We're going to put that list through an iter to give us the name of the objects in the room.

      iter(lcon(%!), name(%i0), ,%,%b) --> Cobalt, Official, Census, Tributary, Locus: Parent Object, Nuker Object <NO>, Richard Doll, Demon Eightball, Grey
      

      Okay so first of all those aren't all players, and they aren't all connected -- are they? The fix for that is to change the lcon() a little like this:

      iter(lcon(%!, player), name(%i0), ,%,%b) --> Cobalt, Tributary, Grey
      

      Now those are all the players in that room -- but Tributary and Grey are not connected. Do you want them still listed but marked as offline somehow? Or do you want them not listed? I'll show you how to do the latter first because it's easier. Once more we just change the lcon().

      iter(lcon(%!, connect), name(%i0), ,%,%b) --> Cobalt
      

      Now what if you want to have offline players listed, but noted as offline? Perhaps have their names greyed out or have a little asterisk by their name or something? This is a little complicated as you're going to have to check and see if the players have the 'connect' flag that tells the game if they are online at the time. And you'll need to to tell the code what to do if they do or don't, so we'll be using 'if()'.

      iter(lcon(%!, player), if(hasflag(%i0, connect), name(%i0), ansi(hx, %([name(%i0)]%))), ,%,%b) --> Cobalt, (Tributary), (Grey)
      

      (Where Tributary and Grey are grayed out (I put the %( %) around the name() so you could see it on the board.)

      Now how do you put that in your room parent? Simple!

      @conformat #25=[iter(lcon(%!, player), if(hasflag(%i0, connect), name(%i0), ansi(hx, %([name(%i0)]%))), ,%,%b)]

      Or

      @conformat #25=%r%r[iter(lcon(%!, connect), name(%i0), ,%,%b)]

      If you want you can set an 'itemize()' around the outside of your code and it'll make it so that an 'and' is thrown in after the last item (and a coma between each item if you delimit your list differently, technically). To do that you would do:

      @conformat #25=%r%r[itemize(iter(lcon(%!, player), if(hasflag(%i0, connect), name(%i0), ansi(hx, %([name(%i0)]%))), ,%,%b), %,%b)]

      (Replacing #25 with the number of your roomparent of course. So so far our roomparent will look like this:

      Conference Room(#80RI)
      This is the stock room description. You may replace it using the command @desc here=. For this
        build to be complete you must set @desc, @osucc, @odrop, and either @succ or @drop. Your exits
        should be @desc'd with at least one or two words. And your description should start with %r%tand
        have %r%r%t between each paragraph and end with %r.
      
      
      Cobalt and (Wizard)
      Obvious exits:
      OOC Room <O>
      
      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I set up a stock room desc?

      As I mentioned above, anything you set on your room parent will then be the default shown once a room is parented to that parent. So to set a default/stock description on rooms, you want to put it on your room parent. So find the #dbref of your room parent, and set the desc!

      @desc #25=This is the stock room description.  You may replace it using the command @desc here=.
        For this build to be complete you must set @desc, @osucc, @odrop, and either @succ or @drop.  Your 
      exits should be @desc'd with at least one or two words.  And your description should start with %r%t 
      and have %r%r%t between each paragraph and end with %r.
      

      Now this will be the default description that shows up for any room that has been @parented to #25, but does not have a desc of its own.

      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I create a room parent?

      You first step is simple. We're going to go back to our old friend @dig. So you'll dig your room that will be your room parent. You can do this for multiple room parents. Many games have had outdoor room parents and indoor room parents, so that that weather ambience (and possibly other reasons. I'm aware of) could be placed in the room easier.

      However, I mostly recommend a single room parent. You can link this to somewhere super secret staffly only, or you can link it nowhere and set it 'floating' (so you don't get annoying messages telling you that you own an unlinked room).

      So lets make your room parent!:

      @dig Room Parent
      @set Room Parent=inherit
      OR
      @set Room Parent=Wizard
      
      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I parent a room?

      This is actually very simple! You can parent a room, an exit, an object, or a player with the same command:

      @parent <thing>=<#parent>
      

      So for example if your room parent is #25 you can parent it with:

      @parent here=#25
      

      This will set the room you are in to the room parent of #25. So anything set on #25 will be the default for the room you are in.

      You can use this command on objects from afar by using @parent #1234=#25, if say '#1234' were the room you wanted to parent.

      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      What else do exits need?

      • @drop, somewhat optional
      • @odrop
      • @osucc
      • @succ, somewhat optional
      • @fail, somewhat optional
      • @ofail, somewhat optional

      Technically speaking these are all optional. Nothing "bad" will happen if you don't put them. However, they do serve important functions. However, you can stick a stock one of each of these on your room parent and then never have to do them again, if you don't want to, but again doing them for each non-basic-grid room does provide a bit more depth to your grid/build.

      @drop, optional

      This command will emit a message to a player when they go through an exit, the message arrives after they have entered the new room. For example Joe goes north to Wilderness, after the room desc for Wilderness has loaded he will get a message with what is specified in drop. This is optional, but I typically use it over 'succ' because it comes after you get spammed with a room desc. I also typically use it to describe what it is like to move from one room to the next.

      @drop <exit>=<message>

      Example:

      @drop wilderness=You take the long winding highway either on foot or by wheel, eventually arriving in the sprawling wilderness outside of Taminal city limits.

      (This is a little bit spammier than I would normally suggest, but I'd do something like that.)

      @odrop

      This command will emit a message to anyone in the room a person just entered. For example if Joe goes north to Wilderness and Sue and Bob are already in Wilderness, will get a message telling Joe has come into the room. As a note, the game should already have a 'Joe has arrived.' message already. So you could get away without having it, but it is nice to let people know where Joe came from. So I'd suggest having it at least on your room parent with code that references the room he just left.

      @odrop <exit>=<message>

      A note on this command is that the message that is sent is prefixed by '<name>'. So you don't it to be something like: 'The door flies open and %n flies in.' Because then you'd get Joe The door flies open and Joe flies in. Not very pretty is it?

      Example:

      @odrop wilderness=arrives either by wheel or foot to the wilderness beyond Taminkal.

      This will get you: Joe arrives either by wheel or foot to the wilderness beyond Taminkal.

      (That's kind of dopey, but you get the point.)

      @osucc

      This command will emit a message to the room a player just left. This is the reverse of '@odrop', basically. So it lets the folks you just know know that you have left. Again the game should have a stock 'Joe has left.' message, but I'd suggest having an @osucc on your room parent that at least references which room Joe went into.

      @osucc <exit>=<message>

      Like @odrop it will start the message with the player's name. So don't start it as a complete sentence.

      Example:

      @osucc wilderness=travels away from the city, either by wheel or foot, leaving for the wilderness.

      This will give you: Joe travels away from the city, either by wheel or foot, leaving for the wilderness.

      (Again, dopey, but work with me.)

      @succ

      I see this one as highly optional/slightly useless, and typically use @drop instead. Since a lot of the time a player won't even see the @succ message unless they scroll back up, or the room they are moving to has a very short @desc. Anywise, this will emit a message to a player upon going through an exit, triggered before they get the @desc of the new room.

      @succ <exit>=<message>

      Example:

      @succ wilderness=You leave behind the city and head out into the wilderness either by foot or wheel.

      @fail

      This command comes into play when an exit has a lock on it. It will be triggered when a player tries a locked exit. It will send them a message. Now the game should have a stock 'you can't go that way' or 'you can't pass' message, anywise. So this is, frankly, just for flavor. You can do it if you want, but I wouldn't bother unless you really enjoy coming up with messages for people.

      @fail <exit>=<message>

      Example:

      @fail wilderness=You try to leave the city but find the way out block by a police roadblock, or a raging inferno, or a supernatural forcefield. You are TRAPPED!

      @ofail

      Like @fail this is highly optional, and I wouldn't bother unless you really like to come up with build messages. I can't remember there is a stock 'Joe has failed to go X' message or not, but honestly people probably don't want to be spammed with it anywise. But for completion sake:

      @ofail <exit>=<message>

      Like @odrop and @osucc it'll start with the players name.

      Example:

      @ofail wilderness=tries to leave the city but finds that they are trapped within its confines by a herd of vicious kittens.

      Will give you: Joe tries to leave the city but finds that they are trapped within its confines by a herd of vicious kittens.

      A note: All of these commands can be used on objects and I think character objects. Why would bother I don't know.

      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I describe an exit?

      You use the same command as above! Now exits, like rooms, have different standards. You decide if you want a lot descriptive exit, or something short. I do typically suggest descing every exits-- with the exception of, sometimes, main grid exits.

        @desc <exit>=<desc>
      

      For example:

       @desc NC=The front of the Neon Cathedral is a large brick face, broken by stained glass windows depicting
        pagan rights.  From pan, to druids, to lupercalia.  The main doors are large, brass, and handled with
        rings etched with old roman words.
      

      Or you can just do:

       @desc NC=Two large double doors with ring handles.
      

      I prefer a more detailed @desc on my exits, but that's my opinion.

      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I describe a room?

      This is easy! It's as easy describing yourself! You will probably want to be in the room to describe it. Same command:

         @desc here=<desc> 
      

      Example:

         @desc here=%r%tWelcome to the Wildcard OOC room. This is an Anita Blake inspidred mush set
       in Taminkal (a fictional city in Washington). We use FAE (Fate Accelerated Edition) for our stats. We're 
      still putting some finishing touches on things but the majority of information can be found at:
      %r%r%t http://wildcard.mechanipus.com/wiki/Main_Page
      

      A note on descing:

      Every mush and every builder as different standards. Some people want every paragraph set up with a tab or indent (%t), some want a tab AND a line between each paragraph (%t%r%r). Others just want a line between each paragraph (%r%r). If you are starting up your own game decide what you like best:

      A desc like this:

             Welcome to the Wildcard OOC room. This is an Anita Blake inspidred mush set in Taminkal 
      (a fictional city in Washington). We use FAE (Fate Accelerated Edition) for our stats. We're still 
      putting some finishing touches on things but the majority of information can be found at:
      
             http://wildcard.mechanipus.com/wiki/Main_Page
      

      Like this:

            Welcome to the Wildcard OOC room. This is an Anita Blake inspidred mush set in Taminkal
       (a fictional city in Washington). We use FAE (Fate Accelerated Edition) for our stats. We're still 
      putting some finishing touches on things but the majority of information can be found at:
             http://wildcard.mechanipus.com/wiki/Main_Page
      

      Or like this:

      Welcome to the Wildcard OOC room. This is an Anita Blake inspidred mush set in Taminkal 
      (a fictional city in Washington). We use FAE (Fate Accelerated Edition) for our stats. We're still 
      putting some finishing touches on things but the majority of information can be found at:
      
      http://wildcard.mechanipus.com/wiki/Main_Page
      

      How do I describe a room I am not in?

      Well you need to know the #dbref of the room! Like before you can find this with @find <room name> or examining the room. You use the same command but instead of 'here' you put the #dbref.

      So for example:

      @desc #601=The isle of misfit code is fantasical place, filled with mischevious and delightful code that no longer belongs on the grid.
      
      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I link rooms?

      So you have a room with an exit that either goes nowhere, or you want to change where that exit goes? (Say you're moving the build around on the grid, for example.) That's okay! Here's where @link comes in.

        @link <exit>=<room #dbref>
      

      Like with @open you need to know the #dbref of the room you want to link to. You can find it either by examining that room, or using @find <room name>. One you have it you can link the room.

      For example:

        @open Main Harbor=#1235
      

      Now the exit 'Main Harbor' will lead a person to the room '#1235', whatever room that is.

      A note on @link

      @link does a bunch of other stuff as well. Including setting the 'home' for players or objects. But I won't get much into that since this is a building tutorial.

      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I connect rooms?

      So you need two rooms that are not currently connected to be connected via exits? So you can go back and forth? This is pretty easy!

      You'll want to be in one of the rooms, and have the #dbref of the other room. You can find it either by doing '@find <room name>' or examining the other room to get it. Once you have it you can use the @open command.

        @open <exit name>;<alias>;<alias>=#dbref,<exit name>;<alias><alias>
      

      So for example, I want to think the Neon Cathedral to the Industrial District as well. So I would type the following:

        @open Industrial District <IND>;ind;industrial district;industrial=#1234,Neon Cathedral <NC>;nc;neon cathedral;neon;cathedral
      

      A note on @open

      You can use @open to link to a room, but not link back (maybe to represent a one-way exit like a slid or a trap door, but again please don't trap people into rooms without reason!) by not putting anything after the #dbref just drop the ',<alias>' part.

      As well you can create an exit that goes no where by doing @open <exit>, and nothing else. You can then later @link it places, but I don't suggest just making blank exits.

      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Building: A Basic Tutorial

      How do I make a room room?

      With our friend the '@dig' command. You will want to know the following information when you use the @dig command:

      • Room name.
      • Exit into the room's name.
      • Exit out of the room's name.
      • Some exit aliases. (I try to be really thorough but also unique here.)

      The syntax for this command is:

        @dig <room name>=<exit into the room>;<alias1>;<alias2>,<Exit Back>;<alias1>;<alias2>
      

      So for example, say you are building a room with this information:

      • Room Name: Main Room - the Neon Cathedral

      • Exit into: Neon Cathedral

      • Exit back: Out (connected to the room 'main harbor')

        @dig Main Room - the Neon Cathedral=Neon Cathedral <NC>;nc;neon cathedral;neon;cathedral;Main Harbor <O>;o;out;main harbor;harbor
        

      This will build a room directly connected, via exit, to the room you are in and add an exit back to the room you are in.

      What if I want to build a floating room, with no links?

      Then just use '@dig <name>'. And it'll create a room that is 'floating', meaning that it isn't connected or link to anywhere else on the grid (which means the only way to get to it will be via @teleport).

       @dig Neon Cathedral
      

      What if I want to build a room with no exit back? Such as a TRAP?!

      Then you can use @dig <name>=<exit to>;<alias>;<alias> without the part after the ','. It'll create a room linked to the one you are in via an exit, but not an exit back to the room you are in. (This is mean! Don't trap people without good reason!)

       @dig Neon Cathedral=Neon Cathedral <NC>;nc;neon;neon cathedral;cathedral
      

      A note on exit names and exit aliases.

      When it comes to naming exits you can either be descriptive as to where they code, or descriptive as to what they are. Typically I name the exits after where they go to help with navigation and put what they are in the @desc. As well you don't have to put them in the above format, but this is the pretty standard one that is used. HOWEVER. I want to note that the first alias/name you put in the string of 'thing;thing;thing' is what is seen, everything after that is silent/hidden unless you examine the exit.

      So if you set an exit to be: 'Neon Cathedral;nc' all that is going to show up is 'neon cathedral' and they won't know what the short alias is.

      Again this is not something that is required, but typical standard, of naming an exit is to give it an alias that is one to three characters long -- some sort of abbreviation or anagram of the name, to make moving through an exit easier for people.

      posted in How-Tos
      Cobalt
      Cobalt
    • Building: A Basic Tutorial

      A basic "how to" of how to build for Tinymux (potentially tinymux). Rhost / Penn may have different commands, but Tinymux/tinymush are pretty similar.

      Contributors: @Cobaltasaurus, @2mspris, @Glitch, @Sponge

      Starting: How do I make a room?

      Starting: How do I connect rooms?

      Starting: How do I link a room?

      Starting: How do I describe a room?

      Starting: How do I describe an exit?

      Starting: What else do exits need?

      Starting: How do I move rooms?

      Starting: How do I parent a room?

      Room Parent: How do I create a room parent?

      Room Parent: How do I set up a stock room desc?

      Room Parent: How do I format a player list?

      Room Parent: How do I format an object list?

      Room Parent: How do I format an exit list?

      Advanced: How do I find a list of all rooms on the game?

      Advanced: How do I find a list of rooms with a specific parent?

      Advanced: How do I find a list of rooms missing a specific attribute?

      posted in How-Tos
      Cobalt
      Cobalt
    • RE: Steam Buddies?

      I am 'BADASS FIRE SPIDERANT' with the picture of a blue girl.

      posted in A Shout in the Dark
      Cobalt
      Cobalt
    • RE: Crafts & Things

      That is awesome @Stabby! I want one!

      posted in Tastes Less Game'y
      Cobalt
      Cobalt
    • RE: RL peeves! >< @$!#

      My rage makes it real, @tragedyjones.

      posted in Tastes Less Game'y
      Cobalt
      Cobalt
    • RE: RL peeves! >< @$!#

      @tragedyjones I'm going to beat you with the shadow of a rusty iron rod, sir.

      posted in Tastes Less Game'y
      Cobalt
      Cobalt
    • RE: RL peeves! >< @$!#

      Fuck Plato's Allegory of the Cave. Fuck it with a brick and a rusty iron rod.

      posted in Tastes Less Game'y
      Cobalt
      Cobalt
    • RE: Book suggestions

      I'll try these out!

      posted in Readers
      Cobalt
      Cobalt
    • RE: [Request] Places Desc'ing

      If you can drop the code you're using here, we can try and diagnose it. It might be a problem with the udefault().

      posted in MU Questions & Requests
      Cobalt
      Cobalt
    • RE: Muxify (MU code editor)

      @HelloRaptor said:

      I'm about to release some kind of doomsday curse on the world.

      This is essentially what MUX code is. It's an eldritch horror that warps the mind of any who know it. ^.^

      posted in MU Code
      Cobalt
      Cobalt
    • RE: [Request] Places Desc'ing

      So this is how Theno's rebuild of places stores things:

      &place.<num>.details ###=<name of place>|<spaces>|<description>.

      This is how it stores who is in a place:

      &place.<num>.occupancy ###=<who is there> -- I'm not positive how that is stored, but I'm going to guess it is a list of #dbrefs, question is whether or not it is stored as #123 #124 #125 or #123|#124|#125. I'm going to go with the latter from above. So to do this you will need to:


      I was going to put something here about how to do this, but I really need to install Theno's places on Wildcard, and see how it works first. Because I'm not positive what I think will work, will work -- or if I can do it in a slightly less clunky manner. So that will need to wait for a couple of more hours until my lunch time and I can be on my laptop.

      However, aside from TR possibly having it shut off so rooms can't pull their own attributes, this should also work on TR.

      @surreality, you should drop that into a tutorial thread! : P

      posted in MU Questions & Requests
      Cobalt
      Cobalt
    • 1
    • 2
    • 89
    • 90
    • 91
    • 92
    • 93
    • 100
    • 101
    • 91 / 101