Thursday, 29 November 2007

Cookies!

The login script has been altered again. In the course of fixing the login code earlier, I added more error reporting and noticed the very next day that every log in was throwing one of the errors, even if the login was successful. Obviously this wasn't correct, so I sat down tonight and fixed it again.

It was a problem with sending the cookie-setting headers and the way the main script reads them, nothing too serious but it was worth fixing. The game also now reacts in a more sensible way for people with cookies turned off, and if you delete a cookie mid-session or fake a cookie in an attempt to log in as someone else.

All this talk of cookies is making me hungry...

Tuesday, 27 November 2007

Hell and High Water

This is the unofficial song of the game so far. I seem to listen to it a lot while adding in new stuff. For a while, the Hipster Goblin's Music Player let you watch this video, embedded in your inventory screen.

(I found Black Stone Cherry through the guys on the Underground Shortbus podcast.)

Monday, 26 November 2007

Signing up and logging in

I think there were some problems with either the account creation code or the login code. Today someone managed to create an account, then log in, trigger the login event, but not actually, y'know, log in. I looked at the code and decided this was impossible, but yet, it happened.

Then I looked at the code some more, swore a couple of times, rewrote a bit, and concluded it might happen if you have cookies turned off, or refuse one of the cookies set during the login process. I can't believe I hadn't checked for this already, but there you go.

All the changes I made have been pushed onto the live server, so this bug should (finally) be fixed. There have been a number of login-related bugs so far. I think I must have been drinking when I wrote the original script.

Saturday, 24 November 2007

Huge update!

The long promised rebalance is live!

First things first - a warning: your weapon has been unequipped! This was a side-effect of the weapons being rebalanced. You can re-equip a weapon using the equipment menu as usual.

Here's a list of everything that's changed:

  • Monsters now have a level and power rating, and have been rebalanced.
  • New monsters!
  • Two new areas: The Tuffet and The Farm!
  • Areas now unlock, and more monsters appear in them, as you level up.
  • More weapons!
  • Weapons now have a level-based equip restriction...
  • ...which means the one-handed short sword has been nerfed.
  • Exp granted is now based on word score, rather than length.
  • A level cap of 10 has been introduced. This will be incremented gradually to 20 in future updates.
  • Damage formulas have been tweaked slightly.
  • New item icons and descriptions!
  • Chat system has been tweaked and should be more responsive.
  • Support for medals: you cannot aquire any yet, but hang on to all those bits and guts.
  • The drop rate on the Hipster Goblin's Music Player has been nerfed adjusted.
  • Account creation / log in bug has been fixed.
  • Infrequent (but annoying) "combat state is corrupted" bug has been fixed.
  • Additions and fixes to the stylesheet and HTML header should mean better support across all browsers.
  • Various behind-the-scenes database stuff you don't care about.

So, enjoy all that. If you find any bugs or problems, please leave a comment here, or e-mail me from the contact link in the main menu. Thanks for playing!