Up to Main Index                          Up to Journal for December, 2013

                   JOURNAL FOR THURSDAY 19TH DECEMBER, 2013
______________________________________________________________________________

SUBJECT: Here lies madness...
   DATE: Thu 19 Dec 21:35:43 GMT 2013

You may be wondering how things are going since I didn't write an entry for
last Wednesday. If you are not wondering, well...

Decided to have two maps: one to track client logins and one to track players
in the game. Why the separation? Clients and players are two different things
and you can be logged in without being in game - at the front end menus, and
you can be in game but not logged in - connection drops and you are fighting
something for example.

Doing this should fix the stuck player problem if a connection drops - in a
round about way as it makes handling things easier. It will also give us the
possibility of reconnecting instead of just bailing the player out as soon as
possible, but that's on the future wish list ;)

Yesterday I spent the time chasing and fixing obscure corner cases in the
networking/client/driver/player stack. I thought I had everything fixed and
working. I even started to commit the changes... then a server I had left
running from where I was testing the latest changes suddenly went pop, died
and spat out a stack trace :( So I stopped committing the changes and I'm
still trying to work out what went wrong.

So I'll keep this entry short and it's back to debugging I go...

--
Diddymus


  Up to Main Index                          Up to Journal for December, 2013