MU Soapbox

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

    Need Python Code Projects

    MU Code
    7
    11
    943
    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.
    • SparklesTheClown
      SparklesTheClown Creator Banned last edited by

      Hello! I'm still on this whole learn code to make an Evennia MUSH thing. Though through all my past failings I've learned how I actually need to learn that would work for me.

      Given all the various systems one might have to deal with in a MUSH, like combat, inventories, items, and other weird bullshit if you think about RPIs and Firan, and possibly stuff I'm not even thinking of...

      Anyone know any projects I can do that might teach me valuable concepts in coding a MUSH with Python/Evennia coding?

      I know that the obvious kneejerk answer might be "just make the game and learn with that", but I'd really like to do some self-contained projects that might teach me useful concepts before I go through the intimidating process of staring down a wall of an entire game.

      1 Reply Last reply Reply Quote 0
      • D
        Darren last edited by

        The problem with the standalone project approach is that it might help you learn Python but it won't help you learn Evennia.

        If you want to learn Evennia, the best way (IMO) is to dive in. Start with something small-- I think my first project was changing the appearance of the room parent-- then work your way up to more complex things. If you don't know Python at all then taking a course (or investing in a good Python book) will definitely help, especially when it comes to more advanced topics (such as django).

        If you need help, jump on the Evennia Discord server (I think you're on it already?).

        1 Reply Last reply Reply Quote 2
        • Tributary
          Tributary last edited by

          The last time I messed with Evennia, there was essentially a "Hello World!" tutorial. That may be of interest to you, if you haven't done it yet. I suggest that you start there.

          Otherwise, pull down the Arx codebase and start altering it. Figure out how to customize the stats. Figure out how to customize the recipes. Figure out how to add "<name> seems to be holding <object list>" to descriptions. Poke and fiddle and try to change things.

          I have a playlist: http://musoapbox.net/topic/91/tributary-s-playlist

          1 Reply Last reply Reply Quote 0
          • T
            Tehom last edited by

            There's a number of tutorials in Evennia. I tend to also favor the "just dive in" approach, but you could also try a book like "Automate the Boring Stuff With Python" which tries to teach python by letting you write various scripts for different tasks. A lot of them are kind of contrived but I think it gets the point across.

            As others echo though, general python knowledge might be a prerequisite for Evennia, but that's in itself just a starting point. Evennia is a framework built on other frameworks, so there's some deep tribal knowledge there that there's no way around than just looking through it.

            V 1 Reply Last reply Reply Quote 3
            • V
              VL_Raptor @Tehom last edited by

              @Tehom said in Need Python Code Projects:

              There's a number of tutorials in Evennia. I tend to also favor the "just dive in" approach, but you could also try a book like "Automate the Boring Stuff With Python" which tries to teach python by letting you write various scripts for different tasks. A lot of them are kind of contrived but I think it gets the point across.

              In general, and especially for Python in particular, No Starch Press rocks. If you're of a mind to go buy books or to look for them through your local library (even in electronic collections, if necessary), you're in great hands with No Starch's stuff.

              1 Reply Last reply Reply Quote 1
              • SparklesTheClown
                SparklesTheClown Creator Banned last edited by

                Okay, I've decided that I'm gonna get a server up and fuck with Evennia and just read documentation.

                That's what I've narrowed things down to.

                Trial by fire.

                R 1 Reply Last reply Reply Quote 0
                • R
                  Reason @SparklesTheClown last edited by

                  @HelloProject said in Need Python Code Projects:

                  Okay, I've decided that I'm gonna get a server up and fuck with Evennia and just read documentation.

                  That's what I've narrowed things down to.

                  Trial by fire.

                  Trial by fire works. Evennia code itself is super well documented so you can open up files and putz around looking for how stuff works.

                  It's good to have a working knowledge of Python though too. There used to be a good years and years ago in the 'Headfirst' series of coding books: "Headfirst Python". I've recommended it more than once to folks new to writing code that were interested in Python.

                  Not sure how new you are, but if you want some little projects to learn the syntax and some of the "guts" of Python itself you can probably score that book for cheap.

                  A black book:
                  ALBUMS CA. AGRIPPA
                  Order Extra Leaves by Letter and Name

                  SparklesTheClown 1 Reply Last reply Reply Quote 2
                  • SparklesTheClown
                    SparklesTheClown Creator Banned @Reason last edited by

                    @Reason said in Need Python Code Projects:

                    @HelloProject said in Need Python Code Projects:

                    Okay, I've decided that I'm gonna get a server up and fuck with Evennia and just read documentation.

                    That's what I've narrowed things down to.

                    Trial by fire.

                    Trial by fire works. Evennia code itself is super well documented so you can open up files and putz around looking for how stuff works.

                    It's good to have a working knowledge of Python though too. There used to be a good years and years ago in the 'Headfirst' series of coding books: "Headfirst Python". I've recommended it more than once to folks new to writing code that were interested in Python.

                    Not sure how new you are, but if you want some little projects to learn the syntax and some of the "guts" of Python itself you can probably score that book for cheap.

                    In all my searching and reading suggestions, oddly the most sensible learning Evennia + Python suggestion has been "read the official Python website". >__> This has so far actually worked better than nearly anything I've tried over the years.

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

                      You have a github? I want to do the same thing.

                      SparklesTheClown 1 Reply Last reply Reply Quote 0
                      • SparklesTheClown
                        SparklesTheClown Creator Banned @Doozer last edited by

                        @Doozer said in Need Python Code Projects:

                        You have a github? I want to do the same thing.

                        I do but I'm probably gonna make a new one because I think I made it as a part of some thing that I don't feel like cleaning up!

                        Doozer 1 Reply Last reply Reply Quote 0
                        • Doozer
                          Doozer @SparklesTheClown last edited by

                          @HelloProject
                          No rush. Holla when ya do.

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