Author Topic: Automate length setting?  (Read 498 times)

Automate length setting?
« on: 20 Nov 2020, 09:39 »
When browsing the games lists, there are lots of games in the category "Newly Added" that are anything but new. I guess the "Not set" category, which is choosable in a refined search, is a bit better, but still doesn't give any real information.

Reading through the old threads I see that the game length was originally decided by the ratings panel, then later added as something the game creator could choose when uploading a new game to the database. I guess the games with "Newly added" tags now are games added before the option became available for the game creator and games where the creator forgot to make this setting when adding the game to the database.

When we vote/rate games, we also put it in a length category. (Or content, like Joke games.)

Is it possible to make an automated process where "Newly added" changes into the length category chosen by a majority of the voters? If and when the ratings panel go operational again, they may overwrite this if they feel it's wrong. But I'd rather have some information about a game than none.

AGA

  • Adventure Game Aficionado
  • Administrator
  • Mittens Deity
  • ¡Qué alí­vio!
    • Lifetime Achievement Award Winner
    • AGA worked on one or more games that won an AGS Award!
    •  
    • AGA worked on one or more games that was nominated for an AGS Award!
Re: Automate length setting?
« Reply #1 on: 06 Dec 2020, 11:20 »
Okay, I've written a script that takes the highest voted for category for each game, where there are more than five votes.  It can only be run manually at the moment, but I'll look at getting it to be triggered by the voting.  It should have correctly applied the most voted for categories for all games now anyway.

AGA

  • Adventure Game Aficionado
  • Administrator
  • Mittens Deity
  • ¡Qué alí­vio!
    • Lifetime Achievement Award Winner
    • AGA worked on one or more games that won an AGS Award!
    •  
    • AGA worked on one or more games that was nominated for an AGS Award!
Re: Automate length setting?
« Reply #2 on: 06 Dec 2020, 12:27 »
Okay, in theory it will now work every time someone votes for a game (or updates their existing votes).

Re: Automate length setting?
« Reply #3 on: 06 Dec 2020, 15:16 »
Okay, in theory it will now work every time someone votes for a game (or updates their existing votes).

I tried with Brothers & Wreckers (Demo), but it didn't work.  :~(

AGA

  • Adventure Game Aficionado
  • Administrator
  • Mittens Deity
  • ¡Qué alí­vio!
    • Lifetime Achievement Award Winner
    • AGA worked on one or more games that won an AGS Award!
    •  
    • AGA worked on one or more games that was nominated for an AGS Award!
Re: Automate length setting?
« Reply #4 on: 06 Dec 2020, 23:58 »
That's because only three people have voted to change the category of that game, and each voted for something different!  As I said, it'll take at least five votes for a category for it to change (and the most votes over five will always win).  Otherwise it would be chaos, with the category changing every time someone voted; this would allow one voter to change a game's category to whatever they want, and be far too open to abuse.

Re: Automate length setting?
« Reply #5 on: 07 Dec 2020, 08:57 »
That's because only three people have voted to change the category of that game, and each voted for something different!  As I said, it'll take at least five votes for a category for it to change (and the most votes over five will always win).  Otherwise it would be chaos, with the category changing every time someone voted; this would allow one voter to change a game's category to whatever they want, and be far too open to abuse.

Thanks for the explanation. I'd have thought that one was obvious (Non-Adventure), so it was a logical one to test.

Danvzare

  • The Man with No Name
    • I can help with AGS tutoring
    • I can help with proof reading
    • I can help with scripting
    • I can help with voice acting
    • Danvzare worked on one or more games that was nominated for an AGS Award!
Re: Automate length setting?
« Reply #6 on: 07 Dec 2020, 16:40 »
That's because only three people have voted to change the category of that game, and each voted for something different!  As I said, it'll take at least five votes for a category for it to change (and the most votes over five will always win).  Otherwise it would be chaos, with the category changing every time someone voted; this would allow one voter to change a game's category to whatever they want, and be far too open to abuse.
Sounds fair.  (nod)
I like it.  :-D