MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard

    Building: A Basic Tutorial

    How-Tos
    tutorial building tinymux
    18
    58
    35562
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Cobalt
      Cobalt Tutorialist last edited by

      @Creepy, after thinking about it I went ahead and put in some placeholders for those and will fill'em out. We'll just try to be as code-friendly as possible when we get there. X D

      Creepy 1 Reply Last reply Reply Quote 1
      • Creepy
        Creepy @Cobalt last edited by

        @Cobaltasaurus said:

        @Creepy, after thinking about it I went ahead and put in some placeholders for those and will fill'em out. We'll just try to be as code-friendly as possible when we get there. X D

        Perfecto!

        “It takes many sheep to satisfy one wolf.”
        ― Nenia Campbell, Horrorscape

        1 Reply Last reply Reply Quote 0
        • Glitch
          Glitch @Creepy last edited by Glitch

          @Creepy said:

          You know what I always needed help with? Finding rooms. I know there are search commands and whatnot but sometimes the help files read like a foreign language as I have no coding background.

          For example, if I want a list of all room dbrefs, what would I type, exactly?

          @search type=room
          

          The rest of these mostly want to find an object of a particular type and then do some check with it. So here are your <thing> + <do> searches:

            EOBJECT   - A combination of TYPE=OBJECT and EVAL=<restriction>.
            ETHING    - An alias for OBJECTS.
            EROOM     - A combination of TYPE=ROOM and EVAL=<restriction>.
            EEXIT     - A combination of TYPE=EXIT and EVAL=<restriction>.
            EPLAYER   - A combination of TYPE=PLAYER and EVAL=<restriction>.
            PARENT    - Restricts to the parent designated by <restriction>.
            ZONE      - Restricts to the zone designated by <restriction>.
          

          If I want a list of all rooms with a certain parent, such as an outdoor parent, what would I type?
          To get the outdoor parent's dbref (or find any object with a given name)

          @find Outdoor Parent
          

          Then, if the Outdoor Parent's dbref is #25, for example:

          @search parent=#25
          

          How about a search for any rooms or exits without some attribute set? Say, desc or odrop? Then I could plow through to see what areas I haven't finished yet.

          We'll use eroom and eexit for these:

          @search eroom=not(get(##/desc))
          @search eexit=not(get(##/odrop))
          

          How can I use basic commands, such as @desc here, without being in the room? @desc dbref#=Text here?

          You got it.

          ETA: This may have been better as part of a more thorough tutorial. I have a different one lined up right now (part of which @Cobaltasaurus has now kindly already covered for me), but I'll keep this one in mind too.

          Cobalt Creepy 2 Replies Last reply Reply Quote 2
          • Cobalt
            Cobalt Tutorialist @Glitch last edited by Cobalt

            @Glitch

            ...>.> I'm basically just going to requote you for now on the placeholder bits. : D I hope you don't mind.

            1 Reply Last reply Reply Quote 0
            • Creepy
              Creepy @Glitch last edited by

              @Glitch said:

              @Creepy said:

              You know what I always needed help with? Finding rooms. I know there are search commands and whatnot but sometimes the help files read like a foreign language as I have no coding background.

              For example, if I want a list of all room dbrefs, what would I type, exactly?

              @search type=room
              

              The rest of these mostly want to find an object of a particular type and then do some check with it. So here are your <thing> + <do> searches:

                EOBJECT   - A combination of TYPE=OBJECT and EVAL=<restriction>.
                ETHING    - An alias for OBJECTS.
                EROOM     - A combination of TYPE=ROOM and EVAL=<restriction>.
                EEXIT     - A combination of TYPE=EXIT and EVAL=<restriction>.
                EPLAYER   - A combination of TYPE=PLAYER and EVAL=<restriction>.
                PARENT    - Restricts to the parent designated by <restriction>.
                ZONE      - Restricts to the zone designated by <restriction>.
              

              If I want a list of all rooms with a certain parent, such as an outdoor parent, what would I type?
              To get the outdoor parent's dbref (or find any object with a given name)

              @find Outdoor Parent
              

              Then, if the Outdoor Parent's dbref is #25, for example:

              @search parent=#25
              

              How about a search for any rooms or exits without some attribute set? Say, desc or odrop? Then I could plow through to see what areas I haven't finished yet.

              We'll use eroom and eexit for these:

              @search eroom=not(get(##/desc))
              @search eexit=not(get(##/odrop))
              

              How can I use basic commands, such as @desc here, without being in the room? @desc dbref#=Text here?

              You got it.

              ETA: This may have been better as part of a more thorough tutorial. I have a different one lined up right now (part of which @Cobaltasaurus has now kindly already covered for me), but I'll keep this one in mind too.

              That's awesome. Thanks!

              “It takes many sheep to satisfy one wolf.”
              ― Nenia Campbell, Horrorscape

              1 Reply Last reply Reply Quote 0
              • 2mspris
                2mspris last edited by

                How can I use basic commands, such as @desc here, without being in the room? @desc #dbref=Text here?

                Presuming you are a player, you first need to find out the #dbref of the room you are wanting to change. If the room is @chowned to you, then you can do this with an @search of yourself - looking for the room name on your list of personally owned rooms.

                With the #dbref you set the information the same way you set a room description while being inside the room, replacing <here> with the #dbref.

                 @desc #dbref=<What you would like this to look like.>
                

                Exit descriptions and all exit information can be set the same way, replacing the exit alias or room alias with the #dbref.

                1 Reply Last reply Reply Quote 0
                • Sunny
                  Sunny last edited by

                  So helpful. Thank you, Cobalt! I'm getting ready to have to deal with a whole grid, and there is definitely a trick or two here that should prove useful. Figuring out what rooms are parented to a parent is...very very helpful, and I actually didn't know that one because I fail. Thanks!

                  https://www.youtube.com/watch?v=1yUYvyAY954

                  1 Reply Last reply Reply Quote 1
                  • Sponge
                    Sponge @Cobalt last edited by

                    @Cobaltasaurus said:

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

                    @Glitch said:

                    @find Outdoor Parent 
                    

                    Then, if the Outdoor Parent's dbref is #25, for example:

                    @search parent=#25
                    

                    On MUX at least:

                    think children(#25)
                    
                    Thenomain Cobalt 2 Replies Last reply Reply Quote 1
                    • Thenomain
                      Thenomain @Sponge last edited by

                      @Sponge thinks of the children.

                      “If you wish to make an apple pie from scratch, you must first invent the universe.”
                      ― Carl Sagan, Cosmos

                      1 Reply Last reply Reply Quote 0
                      • Cobalt
                        Cobalt Tutorialist @Sponge last edited by

                        @Sponge I will add that tonight to that post!

                        1 Reply Last reply Reply Quote 0
                        • Cobalt
                          Cobalt Tutorialist last edited by

                          Updated with Sponge's info, and added to the 'what else do exits need' part.

                          1 Reply Last reply Reply Quote 0
                          • Cobalt
                            Cobalt Tutorialist last edited by

                            Updated with how to format a playerlist on the build parent. Will try and get the object and exit format lists done tomorrow or later this week.

                            Derp 1 Reply Last reply Reply Quote 0
                            • Derp
                              Derp Admin @Cobalt last edited by

                              @Cobaltasaurus

                              This guide is fantastic. I'm learning so much! Thank you! But any idea on when you'll have the time to update the placeholders that are currently empty? Or have you written a guide somewhere?

                              Racism isn't Tinkerbell. It doesn't need you to believe in it for it to exist.

                              1 Reply Last reply Reply Quote 0
                              • Cobalt
                                Cobalt Tutorialist last edited by

                                So it looks like the last two items are the object and exit lists of the room parent. Are there anything else I'm missing?

                                I can probably has those out in a little bit. This got pushed onto the back-burner, and then I stopped mushing so I kind of forgot about it. : [

                                But I'll fix it!

                                : ]

                                Derp 1 Reply Last reply Reply Quote 2
                                • Derp
                                  Derp Admin @Cobalt last edited by

                                  @Cobaltasaurus

                                  Nope, that's all I got!

                                  Racism isn't Tinkerbell. It doesn't need you to believe in it for it to exist.

                                  1 Reply Last reply Reply Quote 0
                                  • Cobalt
                                    Cobalt Tutorialist last edited by

                                    Okay those pieces are in. I'm not mushing right now, but if anyone has any questions, suggestions, or whatever I'd be glad to update this tutorial.

                                    1 Reply Last reply Reply Quote 2
                                    • Cobalt
                                      Cobalt Tutorialist last edited by

                                      I had someone go through the guide for the room parent, and they let me know that things weren't working the way they should. I went through and fixed it! Turns out you want %! rather than %#. ^^;

                                      1 Reply Last reply Reply Quote 0
                                      • Alzie
                                        Alzie last edited by Alzie

                                        Just remember all these search functions are relative to yourself. A wizard will return all objects in the database, a royal will return only non-wizard set objects and anything else will only return their own objects or those they pass the lock of (IE: can examine).

                                        Edit: though for builders and keeping objects together I highly recommend the shared flag at least on penn. I do not know if mux has that flag.

                                        Alzie's Too Long Playlist

                                        1 Reply Last reply Reply Quote 0
                                        • boneghazi
                                          boneghazi last edited by

                                          Hi @Cobaltasaurus !
                                          Out of curiosity, how do I delete rooms I have dug, or change their aliases?

                                          The road to hell is paved with adverbs.

                                          Thenomain Cobalt 2 Replies Last reply Reply Quote 0
                                          • Thenomain
                                            Thenomain @boneghazi last edited by

                                            @nyctophiliac

                                            @destroy, and I think you're looking for @name?

                                            “If you wish to make an apple pie from scratch, you must first invent the universe.”
                                            ― Carl Sagan, Cosmos

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post