Thursday, May 16, 2019

Project Status Update

Progress on Wayfarer is much slower than it was before switching to Evennia. A lot of this is due to my unfamiliarity with Evennia; I'm spending far more time researching what the 'Evennian' way of doing X is versus just implementing it and moving on. I'm still hopeful that this switch will be a net time savings due to not having to re-implement a lot of Evennia's existing features, but it'll be slow going for a while more.

As a note to future users of the Wilderness contrib, I'm finding that some of the design decisions don't make sense in the original contrib. For instance, map generators are responsible for dictating whether or not a given coordinate set is valid, but the code for updating coordinates via movement is a standalone function outside of the map generator class. I've moved it inside to allow map generators to dictate their own coordinate-change behaviors (wrapping worlds, etc).

Current work list:
- Design method of generating and saving playfields out-of-band to avoid loading the server during exploration.
- Design method of saving and loading alterations to playfields (sector/biome evolution, clear-cutting, etc).
- Re-implement work from custom codebase re: procedural generation.

3 comments:

  1. I encountered a lot of the same problems with Evennia, especially regarding the wilderness grid

    ReplyDelete
  2. Thanks! I eventually managed to get it to work in a semi-sane manner, but the recent update from 0.9.0 to 0.9.whateveritisnow broke it during the DB migration phase.

    ReplyDelete