View previous topic :: View next topic |
Author |
Message |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Mon Oct 17, 2005 11:22 am Post subject: Gamelist Update |
|
|
Well...I have a really big final today (in 10 hours actually), which really hindered my ability to sleep. After the study induced headache kicked in (took about an hour and I didn't get through any of the coursework I wanted to look over), I pre-occupied myself with less stressful, non-school related work. Of course, this means I worked on CP all night.
It's not finished yet, but the framework is definitely appearant. There are quite a few quirks I have to work out, but nothing show stopping.
For starters, there's a new layout which is much better organized and nicely fits inside the main page's side menus.
Secondly, I've integrated user ratings as seen on the Song List. You'll notice the user ratings do affect the overall score, although standard reviews are weighted heavier in the new calculation. You'll also notice the first of many quirks I need to weed out. The gamelist currently uses POST data for all it's variables which causes a "Would you like to resend the POST Data?" message to sometimes appear when changing ratings. For now, clicking Yes or No won't affect your user rating...however, it may cause a different page to load when it refreshes. After my final, I'll be porting the code to GET data for convenience.
Third, there's no longer a search-gamelist.php. It still exists, since James currently uses it as a mirror, but I haven't altered it and it isn't fully functional with the new layout. All searching will be handled via the standard gamelist page. The link in the first forum will bring you to the appropriate page. It's just a matter of deciding where I want to stick the "Search" link on the main page now.
The stats page and random header now use the weighted overall score instead of the review score.
The gamelist display page has not been fully updated yet. It does not contain the user ratings nor does it use the user ratings to calculate it's overall score. I planned to do that tonight, but other pieces of code took a bit longer than I expected.
Also, the search page does not use the weighted score yet. It is definitely planned, but I didn't have enough time to finish it tonight.
If you run into any problems or have any suggestions regarding the gamelist, I'm all ears.
For those of you wondering what happened to the other features I promised to release (OSTs, journal ban lists, journal ignore lists, songlist-display pages), they are in the works but school is taking up quite a bit of my time. I'm still debating over the best interface for OST linking. The ban list becomes moot if you can't ban IPs and I'd rather not open up that can of worms...not that I don't trust you, but I don't want to leave you vulnerable to malicious behaviour of a disgruntled journal owner. It's bad enough some users get excessive spamming over AIM or that public e-mails suddenly get signed up for random mailing lists. Once I figure out a nice way to automatically ban a user by IP, you'll see it in the journal settings. Ignore simply got pushed back by school and banning. I'm waiting until I figure out OSTs before I do the songlist display. I'd hate to have to rework the layout of a new feature to incorporate even more new features when I can hold off and do it all in 1 go.
I'm gonna try that whole sleep thing and see how it goes. Hopefully I can pull in 8 hours before my final.
~IM _________________
|
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Mon Oct 17, 2005 12:42 pm Post subject: |
|
|
An awesome, awesome feature. |
|
Back to top |
|
 |
The Wobbler

Joined: 06 Feb 2003 Posts: 2221
|
Posted: Mon Oct 17, 2005 5:40 pm Post subject: |
|
|
Note from Castle Paradox Administration: | This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content. |
|
|
Back to top |
|
 |
Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner


Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
|
Posted: Mon Oct 17, 2005 6:09 pm Post subject: |
|
|
One really annoying side effect: now things like Save NPCs are taking the Top Rated Games list. It's okay to have the reviews affect the score, but the top-ranked games shouldn't be ones that one person gave a 5 to. _________________
|
|
Back to top |
|
 |
The Wobbler

Joined: 06 Feb 2003 Posts: 2221
|
Posted: Mon Oct 17, 2005 6:12 pm Post subject: |
|
|
Note from Castle Paradox Administration: | This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content. |
|
|
Back to top |
|
 |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Mon Oct 17, 2005 7:10 pm Post subject: |
|
|
Moogle1 wrote: | One really annoying side effect: now things like Save NPCs are taking the Top Rated Games list. It's okay to have the reviews affect the score, but the top-ranked games shouldn't be ones that one person gave a 5 to. |
Fixed that by rounding prior to sorting. Also threw in some sorting parameters to ensure games with more user input are higher in the list. _________________
|
|
Back to top |
|
 |
The Wobbler

Joined: 06 Feb 2003 Posts: 2221
|
Posted: Mon Oct 17, 2005 8:29 pm Post subject: |
|
|
Note from Castle Paradox Administration: | This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content. |
|
|
Back to top |
|
 |
Gizmog1 Don't Lurk In The Bushes!

Joined: 05 Mar 2003 Posts: 2257 Location: Lurking In The Bushes!
|
Posted: Mon Oct 17, 2005 8:40 pm Post subject: |
|
|
I'd wager money it has to do with games that have been given 0s, and the script trying to divide 0. |
|
Back to top |
|
 |
Iblis Ghost Cat

Joined: 26 May 2003 Posts: 1233 Location: Your brain
|
Posted: Mon Oct 17, 2005 8:48 pm Post subject: |
|
|
Quote: | I'd wager money it has to do with games that have been given 0s, and the script trying to divide 0. |
That shouldn't be a problem in this case, unless the rating system works in a really weird way. If a game has received X votes of zero, then that's 0/X, which always equals 0 (when X != 0). It's when you have X/0 that it starts being a problem. _________________ Locked
OHR Piano |
|
Back to top |
|
 |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Tue Oct 18, 2005 3:04 am Post subject: |
|
|
PHC wrote: | Bug:
Trailblazers had an A average when I checked this. |
The old stat code used "overall_score' to determine the letter grade. Now, it uses 'weighted_score' and I don't grab 'overall_score' from the MySQL database. The order was correct, but the variable used to calculate the second letter grade wasn't set (0), hence the F-.
Fixed. Now to get rid of that POST Data warning. _________________
|
|
Back to top |
|
 |
Uncommon His legend will never die

Joined: 10 Mar 2003 Posts: 2503
|
Posted: Tue Oct 18, 2005 6:04 am Post subject: |
|
|
Moogle1 wrote: | One really annoying side effect: now things like Save NPCs are taking the Top Rated Games list. It's okay to have the reviews affect the score, but the top-ranked games shouldn't be ones that one person gave a 5 to. |
I, um, uh... Well, this apparently isn't fixed yet. PAIN AND SUFFERING's the only game I've made I thought deserved a five (since it's everything I wanted it to be), but now it's been stuck in the top five with just my rating. |
|
Back to top |
|
 |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Tue Oct 18, 2005 8:56 am Post subject: |
|
|
Uncommon wrote: | Moogle1 wrote: | One really annoying side effect: now things like Save NPCs are taking the Top Rated Games list. It's okay to have the reviews affect the score, but the top-ranked games shouldn't be ones that one person gave a 5 to. |
I, um, uh... Well, this apparently isn't fixed yet. PAIN AND SUFFERING's the only game I've made I thought deserved a five (since it's everything I wanted it to be), but now it's been stuck in the top five with just my rating. |
Technically, it worked exactly as I said....PAIN AND SUFFERING was at the very bottom of the A+ listing. I can see how that's quite unjustified, and now everything should be in working order. _________________
|
|
Back to top |
|
 |
JSH357

Joined: 02 Feb 2003 Posts: 1705
|
Posted: Wed Oct 19, 2005 10:21 am Post subject: |
|
|
Why exactly does OHR House have 88 ratings?
I mean, I'm flattered and all, but that seems a little odd. |
|
Back to top |
|
 |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Wed Oct 19, 2005 11:14 am Post subject: |
|
|
JSH357 wrote: | Why exactly does OHR House have 88 ratings?
I mean, I'm flattered and all, but that seems a little odd. |
You'll notice you have 11 reviews and 8 user ratings and how I managed to multiply the two together is beyond me but it's fixed now. I blame lack of sleep. _________________
|
|
Back to top |
|
 |
Rinku

Joined: 02 Feb 2003 Posts: 690
|
Posted: Wed Oct 19, 2005 12:39 pm Post subject: |
|
|
I suggest a way to "list games by popularity" -- which would list them by the weighted average rating & number of ratings & number of downloads combination. The formula could be number of ratings * average rating * downloads. This way people who are new to the Ohrrpgce can get a quick list of the games which are popular and the ones which aren't, without having to do research on what are the best games to try out. _________________ Tower Defense Game |
|
Back to top |
|
 |
|