|
Post by ChebyshevII PE PMP on Jul 2, 2022 0:15:35 GMT -5
Per RBHeadge PE (and ChebyshevII PE PMP): "an automatic mafia moderator option for modding games" I am starting to think through this. This will end up being a pretty big endeavor. Use this thread to post suggestions about how it will operate. Current thoughts: - The limitations on the Proboards API and their ToS mean I have to do some things in a roundabout way. For example, I can't just cause something to happen at a specific time of day; in order for the mafia game's "day" to end, for example, a user action must be performed (i.e. button press, or similar).
- To get around the above limitation, I'm thinking of the possibility of a person designated as the "moderator" but only having responsibility to set up the initial game and end the day/night phases. This would not preclude the possibility of the moderator also being a participant in the game since they wouldn't necessarily need to know who's maf and who's not, etc. (the game's engine will store that data).
- I'm looking into the possibility of automatically 1) creating posts and 2) parsing posts to get voting information. But I'm not sure if/how that will work yet.
- I don't think I can automatically send/monitor PMs for game purposes. So we'll have to have mafia/doc/cassandra/etc. cast votes a different way. I'm thinking that a button visible for each person in the role would work; the game would keep track of the votes being cast and process the information once the moderator ends the phase.
This is going to be an exciting project. I appreciate your patience as I find the time to design it and program it.
|
|
|
Post by RBHeadge PE on Jul 5, 2022 19:19:28 GMT -5
I concur on points 1,2. There might need to be a human game moderator just to set up and initiate the game. Things like: adding players; setting the special roles (cop, doc, joat, cassandra, etc) and maybe number of mafia; and calling time at the end of the night and the beginning of the morning. We'll have to figure out a way to do it so that the moderator can also be a player without having access to privileged information.
Is there a way for the wesbite to send out PMs from an admin automatically? Maybe that function could be hijacked for the game?
|
|
|
Post by ChebyshevII PE PMP on Jul 5, 2022 21:35:50 GMT -5
Is there a way for the wesbite to send out PMs from an admin automatically? Maybe that function could be hijacked for the game? I don't think so, at least not without violating the ToS. Basically I'm not allowed to initiate those kinds of requests against their servers unless specifically given a function to do so (sending automatic PMs, from my research, is not something they provide a means to do). Instead, my current idea is to build a user interface on the thread that will 1) allow people to look up the vote count at any time during the game, and 2) if the player is mafia, see a) who the other mafia members are, and b) give them a way to cast a nightkill vote WITHOUT the PM. The forum does give me enough API space to figure out who the logged in user is and perform functions based on that; I can even display certain things to the user based on their role in the game.
|
|
|
Post by ChebyshevII PE PMP on Jul 6, 2022 0:29:46 GMT -5
RBHeadge PE and everyone else interested: here's what I'm up to right now. I'm going to create a "console" above the quick reply box that will show you things you can do within the mafia game threads. All I've done so far (and is only visible to admins right now) is create a button to start the game; it doesn't do anything yet, but the "console" idea is what I've been toying around with in order to allow for vote count viewing, moderator functions, and a display of which of the other players are mafia (if the current player is also mafia, of course). Attachments:
|
|
|
Post by EdgyCheesyGraphite_PE on Jul 6, 2022 15:41:30 GMT -5
RBHeadge PE and everyone else interested: here's what I'm up to right now. I'm going to create a "console" above the quick reply box that will show you things you can do within the mafia game threads. All I've done so far (and is only visible to admins right now) is create a button to start the game; it doesn't do anything yet, but the "console" idea is what I've been toying around with in order to allow for vote count viewing, moderator functions, and a display of which of the other players are mafia (if the current player is also mafia, of course). Will that console be visible everywhere or only in the mafia forum / threads?
|
|
|
Post by ChebyshevII PE PMP on Jul 6, 2022 15:43:36 GMT -5
Will that console be visible everywhere or only in the mafia forum / threads? The way I'm programming it right now, it will only be visible for mafia games. So anything under the Mafia board that isn't the forum rules thread. Incidentally, I've set the plugin to be visible only to admins right now until I'm ready to beta test it.
|
|