Brand MU Day
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Darren
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 6
    • Groups 0

    Darren

    @Darren

    0
    Reputation
    4
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 44
    Location Maryland

    Darren Unfollow Follow

    Latest posts made by Darren

    • RE: What is a MUSH?

      @Polk said in What is a MUSH?:

      @Pavel I don’t think I agree with that. The most natural way softcode is useful is to [run code()] in a desc.

      But we’ll see. All of this is last on my list of features anyway. 🙂

      That is what I do with my Evennia game core, I process descs through the funcparser. This allows me to pull in data and do formatting just like you would do with softcode on MUSH, only without the overhead and security issues.

      Ex:

          def get_desc(self, looker=None):
      
              desc = self.db.desc or ''
              if not desc:
                  return ''
              parser = FuncParser(dict(FUNCPARSER_CALLABLES, **LOCAL_FUNCPARSER_CALLABLES))
              parsed_string = parser.parse(desc,
                  raise_errors=False,
                  escape=False,
                  strip=False,
                  return_str=True
              )
      
              return parsed_string
      
      
      
      posted in Game Gab
      D
      Darren
    • RE: What is a MUSH?

      @Faraday You are correct, the function parser isn’t currently up to the task of replicating the functionality of softcode, but it could be, with a bit of work. Pretty much everything is in place already, you’d just have to implement a lot of functions and figure out how you’re going to tie it into the rest of the game. Again, the end result is going to look more like MPI rather than softcode.

      By default, the funcparser is disabled. When enabled, func calls in output are processed. You can also call it manually, which is what I do for my messages (@SUCCESS, etc). I also use it for room descriptions for dynamic formatting and data generation. This gives me some of the functionality of softcode without having too much overhead. I haven’t thought too much about how you might tie in into the rest of the game to give true softcode functionality. I’m sure it’s possible to do.

      TBH I really don’t feel the need for softcode at all (I can say the same about Ares).

      posted in Game Gab
      D
      Darren
    • RE: What is a MUSH?

      @Polk I honestly thought that you would be the last person to go that route (since you dislike DJANGO) but yeah it’s certainly doable. It wouldn’t even be the first such attempt.

      posted in Game Gab
      D
      Darren
    • RE: What is a MUSH?

      @Polk You could certainly do that (with a lot of work) but the end result would be more like MUCK’s MPI language than MUSH softcode. Do you really want to tackle server development on top of game development though?

      posted in Game Gab
      D
      Darren
    • RE: What is a MUSH?

      @Faraday You are correct. Evennia does not support softcode and likely never will.

      posted in Game Gab
      D
      Darren
    • RE: Prospective Star Wars

      I would love to see a new Star Wars game!

      I’ve been working on my own Star Wars game (based on Evennia, and incorporating a variant of HSpace 5 rewritten in Python) but have come to the realization that I simply do not have the time or energy to complete it. I’d absolutely be interested in helping out on someone else’s (preferably Evennia or Ares based) project, so I am curious to see where this goes!

      posted in Helping Hands
      D
      Darren