Ferby's Blog
These are just some random ramblings, because I have nothing better to do with my time.

Tuesday, July 15, 2008

RN - Standalone Level Support and Calendar

By John, Annie, Lucy and the Woof-Woofs at 9:44 AM

I added in standalone level support. So now if you set a minimum level to your raids the characters will be filtered on the sign up page. Also I added a check in the signup method to check that the character's level is valid for the raid. Before we were relying on the fact that the characters are sorted and no invalid character would be allowed to signup.

I also made some changes to the calendar. It will now display all the raids in a day instead of the first one. The raids are now sorted by start time. Also I made some changes to greatly increase speed. Nate was having some problems with it on his windows machine. The calendar was taking 6+ seconds to render. Which is odd considering my ubuntu laptop and debian server were dishing out that page almost instantaneously.

Nate also discovered last night that the calendar will pull all raids for the current month regardless of year. So right now if you set your display times to be 10 years ago and have the raid reoccur every week. Then raids for next July will also display on the current calendar. I think I'm going to modify the SQL to only pull raids from the current month. When I hacked this code together I just grabbed all the raids and sorted them by hand. I only did this because I wanted to get some prototype up and running and I didn't want to mess with dates in the SQL WHERE clause.

 
Category:

0 comments so far.

Something to say?