Archive for May 17, 2004
I’ll be updating the Quantum Star SE directory structure once again to treat Q_Lib as a drop in directory in the backend.
As for Shadows Rising all these problems stemmed from cookie usage and zero OOP. I’ll remember to use OOP where possible in SR. For example the old login process reset cookies at least four times – they were also reset in location.php with every page request. Seems a bit too much just to pass a few simple variables to identify a user to the game. Sessions need only be set once – or unset if the authentication checks fail.
On a side note I also noticed once again that superglobals were being replaced by simple variables – no doubt this was easier when superglobals were not being used – e.g. $login_id rather than $_COOKIE['login_id'] but it’s one area which now is not required and should be removed for consistency.
Quantum Star SE Beta2 will be released tomorrow with a little luck.