osuka's votecounter + modtools

This forum is for discussion related to the game.
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10721
Joined: April 28, 2011
Pronoun: he/they

Post Post #50 (ISO) » Sun Sep 03, 2023 2:09 am

Post by Psyche »

i suggest a page-topper as the next "modtool"
people traditionally like their votecounts near the top of a thread
my library donbot has an implementation of a bot that can interact with the site using posts and the like. not sure if it still works.
User avatar
Random Nurse
Random Nurse
He/Him
Mafia Scum
User avatar
User avatar
Random Nurse
He/Him
Mafia Scum
Mafia Scum
Posts: 2700
Joined: April 29, 2023
Pronoun: He/Him

Post Post #51 (ISO) » Sun Sep 03, 2023 2:44 am

Post by Random Nurse »

Auto-votecounter + page-topper = far more seamless games

I'd be open to demo'ing any of that in the current game I'm modding to see how it works.
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13224
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀
Contact:

Post Post #52 (ISO) » Sun Sep 03, 2023 4:19 pm

Post by JacksonVirgo »

Honestly, having a page-topper sounds fairly dangerous to have easily accessible.
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS
User avatar
Random Nurse
Random Nurse
He/Him
Mafia Scum
User avatar
User avatar
Random Nurse
He/Him
Mafia Scum
Mafia Scum
Posts: 2700
Joined: April 29, 2023
Pronoun: He/Him

Post Post #53 (ISO) » Sun Sep 03, 2023 4:20 pm

Post by Random Nurse »

In post 52, JacksonVirgo wrote: Honestly, having a page-topper sounds fairly dangerous to have easily accessible.

How so?
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13224
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀
Contact:

Post Post #54 (ISO) » Sun Sep 03, 2023 4:22 pm

Post by JacksonVirgo »

In post 53, Random Nurse wrote:
In post 52, JacksonVirgo wrote: Honestly, having a page-topper sounds fairly dangerous to have easily accessible.
How so?
Because there would be no restrictions as to who can use it.
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS
User avatar
Random Nurse
Random Nurse
He/Him
Mafia Scum
User avatar
User avatar
Random Nurse
He/Him
Mafia Scum
Mafia Scum
Posts: 2700
Joined: April 29, 2023
Pronoun: He/Him

Post Post #55 (ISO) » Sun Sep 03, 2023 4:28 pm

Post by Random Nurse »

In post 54, JacksonVirgo wrote:
In post 53, Random Nurse wrote:
In post 52, JacksonVirgo wrote: Honestly, having a page-topper sounds fairly dangerous to have easily accessible.
How so?
Because there would be no restrictions as to who can use it.

Could it be limited to just game mods per site rules?
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13224
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀
Contact:

Post Post #56 (ISO) » Sun Sep 03, 2023 9:30 pm

Post by JacksonVirgo »

In post 55, Random Nurse wrote:
In post 54, JacksonVirgo wrote:
In post 53, Random Nurse wrote:
In post 52, JacksonVirgo wrote: Honestly, having a page-topper sounds fairly dangerous to have easily accessible.
How so?
Because there would be no restrictions as to who can use it.

Could it be limited to just game mods per site rules?
I am slightly exaggerating the danger in my head, I am aware but it still makes me uncomfortable.
And there's no way to limit it that can't just be removed from the code to abuse it, as it's client-side and not on a designated server or anything.
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10721
Joined: April 28, 2011
Pronoun: he/they

Post Post #57 (ISO) » Mon Sep 04, 2023 1:53 am

Post by Psyche »

a pagetopper has been hosted in this subforum before, made no problems
in the end, mods seem perfectly able to discourage and act against spam
we probably don't automate account creation though
User avatar
osuka
osuka
he/him/his
Jack of All Trades
User avatar
User avatar
osuka
he/him/his
Jack of All Trades
Jack of All Trades
Posts: 5898
Joined: July 2, 2017
Pronoun: he/him/his
Location: with my scumpartners

Post Post #58 (ISO) » Mon Sep 04, 2023 10:45 am

Post by osuka »

we should never automate account creation or batch posting. matter of fact i chose not to automate posting because:
- it gives the moderator a chance to verify everything
- it avoids mistakes, including posting on the wrong thread
- it reduces risk by only making unauthenticated requests


"I would also like to reiterate my claim that Osuka is sort of obviously town" - rc about scumsuka
"don't tell anyone, but there's a reason why you're one of my favourite people to mod for" - datisi
User avatar
osuka
osuka
he/him/his
Jack of All Trades
User avatar
User avatar
osuka
he/him/his
Jack of All Trades
Jack of All Trades
Posts: 5898
Joined: July 2, 2017
Pronoun: he/him/his
Location: with my scumpartners

Post Post #59 (ISO) » Mon Sep 04, 2023 10:46 am

Post by osuka »

i think a page top isn't even that big of a deal, honestly - i usually just iso the mod if i'm looking for a vc. do you guys not do that?


"I would also like to reiterate my claim that Osuka is sort of obviously town" - rc about scumsuka
"don't tell anyone, but there's a reason why you're one of my favourite people to mod for" - datisi
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10721
Joined: April 28, 2011
Pronoun: he/they

Post Post #60 (ISO) » Mon Sep 04, 2023 12:04 pm

Post by Psyche »

i dont mod a lot. but i feel like ive seen tons of moderator scummies handed based in part on consistent votecount posts. people seem to value it a lot. but i don't feel strongly
User avatar
Random Nurse
Random Nurse
He/Him
Mafia Scum
User avatar
User avatar
Random Nurse
He/Him
Mafia Scum
Mafia Scum
Posts: 2700
Joined: April 29, 2023
Pronoun: He/Him

Post Post #61 (ISO) » Mon Sep 04, 2023 8:56 pm

Post by Random Nurse »

I for one immensely value an auto-VC at the top of every page.

Keeps things crisp, current.
User avatar
osuka
osuka
he/him/his
Jack of All Trades
User avatar
User avatar
osuka
he/him/his
Jack of All Trades
Jack of All Trades
Posts: 5898
Joined: July 2, 2017
Pronoun: he/him/his
Location: with my scumpartners

Post Post #62 (ISO) » Mon Sep 04, 2023 9:26 pm

Post by osuka »

i think auto posting is genuinely too dangerous to have out in the wild. we have to consider that post requests (including authentication) might put a lot more strain into the server than a typical unauthenticated get request


"I would also like to reiterate my claim that Osuka is sort of obviously town" - rc about scumsuka
"don't tell anyone, but there's a reason why you're one of my favourite people to mod for" - datisi
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13224
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀
Contact:

Post Post #63 (ISO) » Mon Sep 04, 2023 10:45 pm

Post by JacksonVirgo »

I agree with Osuka, it shouldn't be made imo
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS
User avatar
RH9
RH9
he/him
Mafia Scum
User avatar
User avatar
RH9
he/him
Mafia Scum
Mafia Scum
Posts: 2907
Joined: November 15, 2019
Pronoun: he/him
Location: Epping, New South Wales, Australia

Post Post #64 (ISO) » Mon Sep 04, 2023 11:29 pm

Post by RH9 »

In post 59, osuka wrote: i think a page top isn't even that big of a deal, honestly - i usually just iso the mod if i'm looking for a vc. do you guys not do that?
I agree with this.
Honestly, I care more about the timeliness of the VC more than its position.
GTKAS: 2022, 2024

v/la every weekend

indefinite hiatus from mafia solo
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10721
Joined: April 28, 2011
Pronoun: he/they

Post Post #65 (ISO) » Tue Sep 05, 2023 6:14 am

Post by Psyche »

yeah but like...i've had a pagetopper out for years now. even a full-on multi-threaded site scraper. there's been no apocalypse.
User avatar
osuka
osuka
he/him/his
Jack of All Trades
User avatar
User avatar
osuka
he/him/his
Jack of All Trades
Jack of All Trades
Posts: 5898
Joined: July 2, 2017
Pronoun: he/him/his
Location: with my scumpartners

Post Post #66 (ISO) » Tue Sep 05, 2023 9:30 am

Post by osuka »

let’s see what the admins have to say - if there is an actual phpbb api?l, i’d be much more comfortable shipping the pagetopper since we’d be able to talk about things like rate limiting and api key revocation in case shit goes sideways


"I would also like to reiterate my claim that Osuka is sort of obviously town" - rc about scumsuka
"don't tell anyone, but there's a reason why you're one of my favourite people to mod for" - datisi
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13224
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀
Contact:

Post Post #67 (ISO) » Tue Sep 05, 2023 10:44 am

Post by JacksonVirgo »

In post 66, osuka wrote: let’s see what the admins have to say - if there is an actual phpbb api?l, i’d be much more comfortable shipping the pagetopper since we’d be able to talk about things like rate limiting and api key revocation in case shit goes sideways
Yeah I'd only be comfortable if we had a backend doing it but having a backend is not sustainable unless it's directly in the site itself.
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4389
Joined: June 6, 2013
Pronoun: he

Post Post #68 (ISO) » Tue Sep 05, 2023 3:06 pm

Post by yessiree »

echo what others have said about pagetopper, I don't think a centralized backend solution is a good idea. Having to manage user credentials and auth cookies sounds like a security disaster waiting to happen

I also don't think a client side solution by itself is gonna work either. Since for it to work properly, the program needs to run 24/7. I don't think anyone keeps their computer on 24/7. Realistically we design a client side pagetopper and teach people how to deploy it to a hosting service (like heroku) but maybe that's a topic for another time
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10721
Joined: April 28, 2011
Pronoun: he/they

Post Post #69 (ISO) » Tue Sep 05, 2023 4:46 pm

Post by Psyche »

A side issue with client-side approaches to votecounting if "client-side" means that the votecount is generated automatically for each mafiascum user to view is that it sidesteps moderator validation in a way that we probably don't want.
So given prioritization of moderator validation, the browser extension or other implementation should probably be mod-focused -- make them easy to prepare/post, rather than easy for players to quickly peek at.
i honestly hate that. even in the best case scenario it's a worse experience than what mafia universe achieves.
but i don't see a clean way to address the issue while players still make votes by typing usernames into posts -- imo a good moderator counts typo votes
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4389
Joined: June 6, 2013
Pronoun: he

Post Post #70 (ISO) » Tue Sep 05, 2023 4:55 pm

Post by yessiree »

im pretty sure "client side" just means code is ran on the browser client and not in some deployed backend service that is always running. It's meant to be used by the moderator only, and not by the players
and the tool should just help collect votes and present it for the mod to post in the thread, whenever they need to generate a VC
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10721
Joined: April 28, 2011
Pronoun: he/they

Post Post #71 (ISO) » Tue Sep 05, 2023 6:12 pm

Post by Psyche »

sure. still a bit dissatisfied with that sort of UX
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13224
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀
Contact:

Post Post #72 (ISO) » Tue Sep 05, 2023 11:16 pm

Post by JacksonVirgo »

In post 68, yessiree wrote: echo what others have said about pagetopper, I don't think a centralized backend solution is a good idea. Having to manage user credentials and auth cookies sounds like a security disaster waiting to happen
Auth isn't the issue as you can use a service like Clerk to manage the entire thing for you (for web technologies anyway, for that specific example)
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13224
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀
Contact:

Post Post #73 (ISO) » Tue Sep 05, 2023 11:25 pm

Post by JacksonVirgo »

I'd be okay with expanding on my mafia engine servers (which rn is a discord bot + attached site) if you wanted a reliable backend for anything.
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS
User avatar
yessiree
yessiree
he
Mafia Scum
User avatar
User avatar
yessiree
he
Mafia Scum
Mafia Scum
Posts: 4389
Joined: June 6, 2013
Pronoun: he

Post Post #74 (ISO) » Wed Sep 06, 2023 12:44 am

Post by yessiree »

In post 72, JacksonVirgo wrote:
In post 68, yessiree wrote: echo what others have said about pagetopper, I don't think a centralized backend solution is a good idea. Having to manage user credentials and auth cookies sounds like a security disaster waiting to happen
Auth isn't the issue as you can use a service like Clerk to manage the entire thing for you (for web technologies anyway, for that specific example)
Can Clerk manage third party auth credentials? (I'm talking about logging in to ms and storing the session cookie)
Post Reply

Return to “Mafia Discussion”