Up to Main Index                         Up to Journal for September, 2013

                   JOURNAL FOR SUNDAY 15TH SEPTEMBER, 2013
______________________________________________________________________________

SUBJECT: Progress with the loader
   DATE: Sun 15 Sep 18:43:47 BST 2013

Due to a few issues this entry was intended to be published on Friday 13th
September...

WolfMUD Wednesday went ahead this week and I actually managed to get some
coding done. I just didn't get a chance to write a journal entry.

Some progress was made - I threw out all of the changes I had been making as a
result of my epiphany :) Where I had been hacking away trying to refactor
everything from the inside out I just ended up with a big convoluted mess.
However my efforts were not in vain as I'd learnt quite a few things while
hacking away.

I reset my workspace to commit e423c68 - the latest public dev update I had
pushed out. I then re-examined the two problems that was giving me extreme
grief before taking the epiphany detour[1].

After a few hours I had the loader loading player files complete with -
handwritten - inventory items. Yay me! Surprisingly everything fell into place
quite easily. Now it is a little hacky and needs some cleanup but it is
working again. What's more I've removed *ALL* entity imports from the loader
and I also dropped the horrible switch statement that was going to become
larger over time as more entities are implemented.

I'm not going to give up on the ideas from the epiphany as I think each are
still valid. I just need to 'evolve' the code gradually instead of trying to
rewrite everything at once and ending up in a huge mess again :(

--
Diddymus

  [1] See: ../7/25.html


  Up to Main Index                         Up to Journal for September, 2013