Browser Extension Vote-Counter (early demo)

This forum is for discussion related to the game.
User avatar
JacksonVirgo
JacksonVirgo
they/him
Survivor
User avatar
User avatar
JacksonVirgo
they/him
Survivor
Survivor
Posts: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Browser Extension Vote-Counter (early demo)

Post Post #0 (isolation #0) » Sat Sep 02, 2023 5:50 am

Post by JacksonVirgo »

Hey there,

I've recently been working on a new vote-counter / mod-tool / player-tool project. I found that most tools either needed you to have some technical skills OR relied on a persistent server. Both of which are either unreliable or created a pretty hefty barrier to entry. I created a browser extension tool that bakes the functionality into the MafiaScum site itself to make using the tool as easy as accessing the site normally.

DISCLAIMER:
The tool is in early development and while it should all be functional, it is by no means confirmed to be super reliable.

Spoiler: Demo Video


Spoiler: Game Definition File

The .yaml file in the demo video is formatted as below. Make sure to replace all the required information and remove whatever you don't need. The only required section is the player list

Code: Select all

players:
    - Username
    - Username2

dead:
    Username: 123 # Post number of which they died.

startFrom: 123 # Post number of which to start from (usually a day start, if not added defaults to post 0)
endAt: 909 # If added, ends the counting at a particular post.

aliases:
    Username:
        - Alias1
        - Alias2
    Username2:
        - OtherAlias

Spoiler: Example Output
Link to game
Current Votes
JacksonVirgo (5/5)
-> Greeting (), wavemode (), Enchant (), JacksonVirgo (), Cat Scratch Fever ()
Cat Scratch Fever (1/5)
-> Toogeloo ()

Not Voting (3)
-> StrangeMatter, Malakittens, Dwlee99

Spoiler: Installation Process

This is for desktops only, don't try and install on a mobile (I got no idea if there's even mobile browser extensions)

I will eventually have this project on an unlisted extension store (for all major browsers except Safari) but for now you'll need to load the extension yourself. Download the latest versions zip file here (don't download the source code) into a folder you will not be deleting (the extension will be run from here). Extract the folder so you can access the "manifest.json" file.

If you're downloading a version that has multiple sub-versions (v2/v3). If you're using a chrome-based browser, use v3 otherwise use v2.

All Chrome-based browsers should work like the following:
1. Enter your Extensions menu (the jigsaw piece lookin' icon). You can also write "chrome://extensions", "brave://extensions/" etc into the URL bar depending on the browser.
2. Enable Developer mode. Top-right area in both Brave and Chrome.
3. Hit the "Load Unpacked" button on the top-left area.
4. A file browser will appear, find the "manifest.json" file and load that file.
5. The extension should now be active and running.

To update to newer versions. Delete/remove the extension from the Extension page (I'm not sure what will happen if you just delete the folder, but maybe that works too). Then repeat this process for newer versions.

Soon, when the extension is on stores you should be able to update it without any issues just like any other extension



The .yaml settings file can contain a few sections, I will list them below with a description of how to write them. Like always, the player list is the only that is required.

Spoiler: Game Definition File Explained

The hash (#) means anything afterwards is a comment (does nothing), and thus can be ignored/deleted.

Unless you know what you are doing, keep the formatting as strict to what I've written as you can

Player List

List all the current players, remove any players that are replaced out and add in their new account. This will be done automatically on a later update, but for now it needs to be done.

Code: Select all

players:
	- player_name
	- second_player_name


Dead

List all the dead players, and the post they have died in.

Code: Select all

dead:
	player_name: 123 # Post number of which they died.


Replacements

For each individual replacement, show who was replaced by who.
Make sure to create a brand new list item for each new replacement, even if it was from a slot that had a replacement before.
Below is an example player_one was replaced by player_two who then went and replaced out again.

Code: Select all

replacements:
    player_one:
        - player_two
    player_two:
        - most_recent_player


Aliases / Nicknames

Sometimes the bot cannot know the difference between what people are referred to as (CSF) as compared to what they are listed as under this tool (Cat Scratch Fever). List out all you know they're being referred under in this section

Code: Select all

aliases:
    username:
        - Alias1
        - Alias2
    Cat Scratch Fever:
        - CSF



Spoiler: Example Game Definition File

Code: Select all

## List all the current players here.
## You will need to list replacements here and in a replacements section
## The duplication will be removed in a later version
players:
    - Username
    - Username2
    
## List all the players that have died, and the post they died in.
dead:
    Username: 123 # Post number of which they died.
    
## For each individual replacement, show who was replaced by who. Create a brand new list item for each new replacement, even if it was from a slot that had a replacement before.

replacements:
    OldPlayerUsername:
        - NewPlayerUsername
    player2:
        - player2's replacement

startFrom: 123 # Post number of which to start from (usually a day start, if not added defaults to post 0)
endAt: 909 # If added, ends the counting at a particular post.

aliases:
    Username:
        - Alias1
        - Alias2
    Username2:
        - OtherAlias
Last edited by JacksonVirgo on Sun Dec 17, 2023 2:18 am, edited 3 times in total.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #2 (isolation #1) » Sun Sep 03, 2023 3:56 pm

Post by JacksonVirgo »

In post 1, Psyche wrote: Cool. Do you think a page topper would be hard to add as an additional feature?
A page topper as in a bot that snipes the top of each page?
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #4 (isolation #2) » Mon Sep 11, 2023 12:57 pm

Post by JacksonVirgo »

If anybody wants specific forum functionality (within reason) that can be added with this too. I'm gonna flesh the rest of it out today
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #5 (isolation #3) » Thu Sep 14, 2023 10:43 pm

Post by JacksonVirgo »

First update.

The vote-counter is working. Tested on Chrome and Brave. Firefox is temporarily not available but this is planned to be changed ASAP (within a week). The browser requires a .yaml or .yml file with data about the vote counter. If I find time, I will make sure to add different options such as
  • No-Data Vote Counts (shows you a generic list of all votes)
  • VC Settings in Post 0.
  • UI to input data to be stored and managed by the extension itself rather than as a file
But for now, the .yaml file is as follows. Make sure to replace all needed data and remove the values that are not needed.
The only required parts are the player list.

Spoiler: Yaml File

Code: Select all

players:
    - Username
    - Username2

dead:
    Username: 123 # Post number of which they died.

startFrom: 123 # Post number of which to start from (usually a day start, if not added defaults to post 0)
endAt: 909 # If added, ends the counting at a particular post.

aliases:
    Username:
        - Alias1
        - Alias2
    Username2:
        - OtherAlias

Spoiler: Example Output
Link to game
Current Votes
JacksonVirgo (5/5)
-> Greeting (), wavemode (), Enchant (), JacksonVirgo (), Cat Scratch Fever ()
Cat Scratch Fever (1/5)
-> Toogeloo ()

Not Voting (3)
-> StrangeMatter, Malakittens, Dwlee99


I will be slowly adding functionality such as:
  • Customisable formatting
  • Warnings for when a name spell-checking isn't entirely confident.
  • That's all I can think of but I wanted a third point
Installation Process

This is for desktops only, don't try and install on a mobile (I got no idea if there's even mobile browser extensions)

I will eventually have this project on an unlisted extension store (for all major browsers except Safari) but for now you'll need to load the extension yourself. Download the zip file here into a folder you will not be deleting (the extension will be run from here). Extract the folder so you can access the "manifest.json" file.

All Chrome-based browsers should work like the following:
1. Enter your Extensions menu (the jigsaw piece lookin' icon). You can also write "chrome://extensions", "brave://extensions/" etc into the URL bar depending on the browser.
2. Enable Developer mode. Top-right area in both Brave and Chrome.
3. Hit the "Load Unpacked" button on the top-left area.
4. A file browser will appear, find the "manifest.json" file and load that file.
5. The extension should now be active and running.

To update to newer versions. Delete/remove the extension from the Extension page (I'm not sure what will happen if you just delete the folder, but maybe that works too). Then repeat this process for newer versions.

Soon, when the extension is on stores you should be able to update it without any issues just like any other extension
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #7 (isolation #4) » Fri Sep 15, 2023 7:12 am

Post by JacksonVirgo »

In post 6, Thestatusquo wrote: Was doing some testing and it doesn't seem like its accurately getting votes, seems to be having some trouble with users with spaces in their usernames.

I think the most desirable feature for non-technical users will be the ability to generate a yaml file and not have to make one themselves.
Oh yeah? What game are you referring to, I can fiddle around to see what the problem is. Not sure if it’s spaces as the example game has CSF in it, who has spaces in her name.

The plan is to have different options for game definition stuff, I just started with yaml as that’s what osukas tool used.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #11 (isolation #5) » Fri Sep 15, 2023 7:34 am

Post by JacksonVirgo »

In post 8, Thestatusquo wrote: Its possible this is just user error on my part, I'll keep fiddling around. It was having trouble picking up random nurse for me.

I'm trying to think of the best way to input data for non technical people. I think the first post approach is probably best for the non technical user.

But maybe an option to generate the game file with text input fields would be useful.
Yeah so the form currently has two inputs for start/end. I was going to make a proper form for it, that you can use a yaml file to autofill that. Maybe storing the data to disk as well to make it super quick to reuse it in a particular thread

I have to cut the reply short so sending this but will eventually respond to the other two :)
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #12 (isolation #6) » Fri Sep 15, 2023 7:55 am

Post by JacksonVirgo »

In post 10, borkjerfkin wrote: yeah, posting here just to acknowledge that i'm following this effort and those like it. I'm committed to getting an environment available to people who want to do first party development on the site as my next major endeavor such that a tool like this could eventually be baked in if we decided that was useful, although the approach here tbh might just be good enough as it is. Nice work!
Oo that’d be so exciting.



On a more technical(?) side though if you’re considering baking in this into the site itself, instead of doing stuff in the first post etc, might be easier and more intuitive to use the activity overview page as that has a list of all users (that has posted) anyway so it shouldn’t be too difficult to extend that I would think. Unsure, just spitballing at work lol
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #15 (isolation #7) » Fri Sep 15, 2023 11:09 pm

Post by JacksonVirgo »

In post 13, Thestatusquo wrote: The idea we were tossing around is, similar to how PTs currently work where there is a list of players who have permissions to post.

We've sort of discussed doing something like this in the past because it would also do some other cool things like prevent alt slips.
Oh that'd actually be a really good idea, would also stop dead ppl from posting etc.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #16 (isolation #8) » Sat Sep 16, 2023 1:11 pm

Post by JacksonVirgo »

Update v0.0.3 Changelog:
Download Link
  • The wagon formatting will now have the larger wagons at the top.
  • No-Elimination now is implemented with unique majority mech. 50% of living players is needed rather than a flat majority.
  • I've implemented new game definition settings, allowing to disable specific functionality. Currently only can disable no-elim but can easily be extended or copied into a way to add special/unique functionality that isn't usually used.
  • Now has manifest v2 support (so now you can run it in Firefox, although the styling in firefox is kinda wacky cuz I haven't focused on designing for it yet)
Spoiler: Technical Changelog
Putting this in a spoiler as chances are, not everybody cares about this side of it.
  • Added README to the repository so anyone and their mother can know how to compile this for themselves (unless I worded it like I usually do, which is probably the case :D)
  • Changed the folder structure to make it clear what files are background scripts vs main scripts.
  • Added ESLint so I can avoid shooting myself in the foot later
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #17 (isolation #9) » Sat Sep 16, 2023 1:23 pm

Post by JacksonVirgo »

Should probably have clarified. Chrome browsers should use the v3 and everything else should use v2.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #19 (isolation #10) » Sun Sep 17, 2023 9:56 am

Post by JacksonVirgo »

Updated the OP.

It now contains a dodgy ass demo video, but it's a demo video nonetheless.
Better than a few random screenshots imo
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #22 (isolation #11) » Mon Sep 18, 2023 12:18 am

Post by JacksonVirgo »

In post 20, Psyche wrote: How much dev or validation do you think the vote tabulator itself might need? Can you remind of the basic strategy it implements?
I have absolutely no idea what you mean
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #24 (isolation #12) » Mon Sep 18, 2023 1:51 am

Post by JacksonVirgo »

In post 23, yessiree wrote:
In post 22, JacksonVirgo wrote:
In post 20, Psyche wrote: How much dev or validation do you think the vote tabulator itself might need? Can you remind of the basic strategy it implements?
I have absolutely no idea what you mean
i think psyche is asking how the votecounter matches vote strings to players
For now I'm using a library that uses a form of Dice's Coefficient. I was planning on swapping it out with custom logic later.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #25 (isolation #13) » Mon Sep 18, 2023 1:55 am

Post by JacksonVirgo »

I wanted to work on something that didn't need you to add aliases for abbreviations or other things like this, and I want it reliable so I wanted to make sure to really put effort into fine-tuning, of which I don't really have time for rn
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #27 (isolation #14) » Mon Sep 18, 2023 6:20 am

Post by JacksonVirgo »

In post 26, Psyche wrote: ok great!
i think i want to contribute along those lines if you're open, as i've done a lot of the legwork already in my various abandoned projects.
i'm willing to make sure it's in the right language and style too.
i think all i'd need to set things up is the initial implementation for the part of the code that parses votes
Of course :D
It's better to not reinvent the wheel after all

To be super clear I'm working in Typescript and the place I'm using the library is "/src/app/votecount.ts" line 123.

If you have any questions let me know.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #28 (isolation #15) » Mon Sep 18, 2023 6:23 am

Post by JacksonVirgo »

It's literally just a library I'm calling though so if you want the implementation they used, here is the JS file
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #31 (isolation #16) » Tue Sep 19, 2023 9:45 am

Post by JacksonVirgo »

I'm not sure how reliably this thread is getting checked, if nobody that can answer this answers it I'll ask the right people directly but is it permitted/okay to add a form of analytics to the tool, it would be to focus on being able to identify and fix bugs, and also to know what feature gets used the most etc (to see what should be focused on).

The stuff logged would be
  • The thread the VC was requested for
  • The VC settings that was requested
  • The user who used the tool
  • Time when the tool was used and the time it took to process everything
Stuff like this.
The VC settings/thread is to be able to replicate the issue when errors pop up.
The time and user is just nice information to have but not super important
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #32 (isolation #17) » Tue Sep 19, 2023 9:45 am

Post by JacksonVirgo »

In post 29, Psyche wrote: thanks. will be somewhat slow-going bc of what i'll have to learn but i'm legit happy for the excuse
Anything is better than nothing, I'm happy to answer whatever question or help in whatever way I can. I'd love any help I can get :D
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #33 (isolation #18) » Tue Sep 19, 2023 9:54 am

Post by JacksonVirgo »

I'll give you the general rundown of the current workflow I'm using.

The "/src" directory is the root folder as per usual.
The "/src/app" is for content scripts, the scripts that will be run on the site itself.
The "/src/background" is for background scripts. So the code that does a lot of the heavy work like data fetching.
The "/src/types" contains global types and validators. I use Zod, which is not too difficult to understand but I might reword the variables to make it extra clear for you.
The "/src/utils" contains globally used utilities as per the name.

The main.css is what gets injected into the site itself. Might be worth renaming to "injected.css" or something.
I use JQuery (really hurts me) to edit the sites DOM and I use Cheerio (which is like a backend JQuery) to fetch the data so the logic is all the same pretty much.
Using JQuery to create large UI elements is actually cursed but I don't really know how to fix this outside of possibly using iframes but I think they're deprecated? Not sure
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #34 (isolation #19) » Tue Sep 19, 2023 9:55 am

Post by JacksonVirgo »

Turns out, iframes are not deprecated and might be worth looking into. Not sure
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #36 (isolation #20) » Tue Sep 19, 2023 11:00 am

Post by JacksonVirgo »

I'm not actually sure, but I'll look into it for sure
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #38 (isolation #21) » Wed Sep 20, 2023 5:17 am

Post by JacksonVirgo »

In post 37, Thestatusquo wrote: Jquery is definitely the best way.

What are you having difficulty with?
It's not difficult as much as it's incredibly funky to create more complex UI elements using it.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #40 (isolation #22) » Wed Sep 20, 2023 5:44 am

Post by JacksonVirgo »

In post 39, Thestatusquo wrote: Can't you just create a template file and then pass it in as a parameter?
I didn't know that was an option
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #41 (isolation #23) » Wed Sep 20, 2023 5:45 am

Post by JacksonVirgo »

Oh, no I did know that was an option. I just didn't think of that
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #42 (isolation #24) » Wed Sep 20, 2023 7:12 am

Post by JacksonVirgo »

Yo it works so nicely, thanks for that. What a legend
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #44 (isolation #25) » Thu Sep 21, 2023 2:01 am

Post by JacksonVirgo »

This is generally the form design I'm going with. I've still only got the upload input and the two post inputs but I'll flesh it out so that everything needed is there.
Uploading the yaml file is planned to auto-fill the form with all the appropriate data.
It's also an idea to store the data for each thread onto disk so that if you do fill out the form once, on new pages it should be filled by default. Maybe an option to export the form to yaml is an idea.

Image

I want to add member verification to the tool too. So I can verify if a user actually exists with a given name or if you made a typo or something etc. Are usernames case-insensitive when it comes to making it unique? Can a JacksonVirgo and a jacksonvirgo both exist as two accounts?

Either way, the verification method I found is using the member list such as the following link and I can do a quick scrape to verify it but maybe that's a little intense to have for the server? Cuz that's like X fetches for X users and then the game fetching itself. Unsure
memberlist.php?username=JacksonVirgo
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #45 (isolation #26) » Sun Sep 24, 2023 3:23 pm

Post by JacksonVirgo »

In post 26, Psyche wrote: i think i want to contribute along those lines if you're open, as i've done a lot of the legwork already in my various abandoned projects.
I am curious what you've got, I recall you saying that you do some funky stuff regarding this (from osuka's thread I believe). If you have time I'd love to see how you did it
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #49 (isolation #27) » Mon Sep 25, 2023 9:22 am

Post by JacksonVirgo »

In post 47, DragonEater70 wrote: Can you please explain how to install on Firefox?

It says the add-on is corrupt when I try to "install add-on from file" and install "manifest.json"
I've found that Firefox is a little weird when it comes to loading unpacked extensions and you need to load it in a different area than traditional extensions for some reason, probably security. You can do so via the following

These will need to be re-installed every time you restart your browser, which is not ideal so I don't recommend outside of testing.
I am going to be working on getting the extension validated by Firefox itself so you can install it properly and without it being temporary, but I haven't looked too far into it so I have no idea if I can or not but:
  1. Download the latest version here.
  2. Extract the .zip file, there should be two folders within called v2 and v3. If not, you downloaded the wrong version.
  3. Open Firefox and in the URL bar enter "about:debugging"
  4. Press the "This Firefox" option on the left-hand side of the screen
  5. Make sure the "Temporary Extensions" drop-down is opened and click the "Load Temporary Add-ons..." button.
  6. You will be prompted with a file explorer, find the manifest.json in the v2 folder and upload that.
  7. You may be prompted with something asking for permissions to access that folder (or maybe folders that it is under, such as Downloads etc)
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #51 (isolation #28) » Mon Sep 25, 2023 9:54 am

Post by JacksonVirgo »

In post 46, Psyche wrote: The broad idea behind the validation framework is to bootstrap evaluation of votecounters using info recorded in the site's various game archives.
The game archives tracks for a lot of games who was eliminated each day, and eliminations (usually) depend on votes.
Therefore a good votecounter, given each thread mentioned in the archive and a post number initiating each day, should be able to reliably predict who was eliminated those days.
Not necessarily all of them -- mods can make weird calls or flat-out mistakes, PRs and other shenanigans can mess with hammer conditions, and aliases (like alt or irl names) might have nothing to do with a slot's username.
But still, most of them.

So what I did was take archive data, scrape applicable games, and set my votecounter to predict D1 outcomes across all of them.
Wherever there were errors, I checked them out. I ignored errors that could not be addressed with a fix to my votecounter, and tabulated -- and eventually fixed -- errors that potentially could.
Once errors were addressed enough for D1 outcomes, I similarly generated predictions for successive days.
Frequently, I needed to manually annotate D2+ post number start positions when long twilights messed with votecounting, but this also helped identify cases where the votecounter accurately predicted a lim, but thought hammer happened earlier or later than it really did.

So this method wasn't a perfect way of testing and identifying gaps in the votecounter, but it saved a lot of time compared to the hypothetical alternative of manually coding the target of every vote across games on the site and using those as test cases. And remains usable for new votecounter implementations that might be introduced in the future.

The votecounter was a grab-bag of different techniques. The validation technique confirms it works well, but because of the feedback-driven process behind how I made it, it doesn't have some basic principle behind it.
Ooo so you go the like "statistical" approach, that'd be interesting to see how it stands up against a more focused algorithm.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #52 (isolation #29) » Mon Sep 25, 2023 11:12 am

Post by JacksonVirgo »

To be verified for Firefox I need for them to be able to test the project so before I go get the MVP done I will make sure that the whole process is polished, I'll make sure to add a way that doesn't require a YAML file upload. And I will also allow a way to not require settings at all (just getting a list of votes, or even the last votes of players for people to verify a manual VC).
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #53 (isolation #30) » Fri Oct 06, 2023 4:43 am

Post by JacksonVirgo »

I want to add a way to set up multi-ISO's easier

EDIT:

I'd probably use the activity overview page, add a new button where the "PM Selected" button is to be "ISO Selected". Seems the easier way to do it, makes ISOing a whole slot or a specific group of people at once easier.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #54 (isolation #31) » Fri Oct 06, 2023 6:22 am

Post by JacksonVirgo »

Implemented it. Will be ready for the next release
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #55 (isolation #32) » Fri Oct 06, 2023 6:40 am

Post by JacksonVirgo »

"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #56 (isolation #33) » Fri Oct 06, 2023 7:12 am

Post by JacksonVirgo »

A few random ideas I wanted to test out and try are
  • Post highlighting for when quoted like how a discord ping highlights. Can be used to highlight
    @Host
    or similar things as well, maybe even like references to your name? But that would require to scan and parse every post, not sure how fast that would be on the fly.
  • Marking posts so that you can go back and see only the marked posts. I feel this might be bad though as it would likely need quite a lot of fetches unless limited.
Ofc each of these would an opt-in toggle somewhere
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #57 (isolation #34) » Fri Oct 06, 2023 7:21 am

Post by JacksonVirgo »

Quote highlighting such as this. Quickly pissed that one out but the idea should come across fine

Image

Also can't quote cuz ongoing game but my god it's so nice even with just this and it also marks subquotes
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #60 (isolation #35) » Sat Oct 14, 2023 12:03 pm

Post by JacksonVirgo »

My computer is currently in out of commission sadly and I’m not really wanting to go get it fixed for the moment just for some transparency
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #62 (isolation #36) » Sat Oct 14, 2023 4:52 pm

Post by JacksonVirgo »

I managed to fix it on my own lmao, I'm a god
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #65 (isolation #37) » Fri Nov 10, 2023 12:40 am

Post by JacksonVirgo »

In post 64, Gamma Emerald wrote: Pls make it more compatible with not-Chrome browsers
What browser did you want this to work for specifically?

For Firefox, I will need to get this reviewed and accepted by Firefox to be put on their extension stores (unlisted clearly) which will take an unknown amount of time from the moment I go and submit it, with no guarantees a tool like this would even get accepted. Unsure how it all works honestly
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #67 (isolation #38) » Fri Nov 10, 2023 2:46 am

Post by JacksonVirgo »

In post 66, DragonEater70 wrote: Well, if it can be compatible with either Firefox or Edge I'll be happy.
Edge is hilariously chrome-based now, so it should work for it
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #76 (isolation #39) » Fri Nov 10, 2023 10:59 pm

Post by JacksonVirgo »

In post 75, Zachrulez wrote: My understanding from what I've read on the download page is that the extension is compatible with Chromium based browsers so it's effectively compatible with virtually every web browser. (Except for Firefox)
Yeah exactly, the process might be slightly different depending on how they wanted to pay the extensions menu out but if you scan the process should be

1. Turn dev mode on
2. Find the load unpacked button
3. Find downloaded v3 folder and open it (or the manifest.json file within)
4. If v3 fails attempt the same with the v2 folder
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #77 (isolation #40) » Fri Nov 10, 2023 11:00 pm

Post by JacksonVirgo »

In post 74, DragonEater70 wrote:
In post 71, DragonEater70 wrote:
In post 67, JacksonVirgo wrote: Edge is hilariously chrome-based now, so it should work for it
Does it have the same installation process as google chrome?
I mean the extension not the browser
I checked for the MacOS version and it does, where the buttons to do it are shuffled around but they’re there and easy to find
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #79 (isolation #41) » Fri Nov 10, 2023 11:06 pm

Post by JacksonVirgo »

In post 78, DragonEater70 wrote: Yeha I managed to do it, but I can't seem to understand how to configure the definitions file.
Could you show me what you have and I can fix it up where appropriate?

Soon I will have this all be in the form so you don’t have to touch a text file but been busy with other projects for now.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #80 (isolation #42) » Fri Nov 10, 2023 11:06 pm

Post by JacksonVirgo »

Whether that’s DMs or here
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #82 (isolation #43) » Sun Dec 17, 2023 2:00 am

Post by JacksonVirgo »

In post 81, Aureal wrote: Yeah, the file formatting is possibly not explained well enough. A sample file might help? My first attempt at formatting the .yaml file led to absolutely nothing happening when I clicked the button. Removing the parts other than the playerlist and changing the indentation of the names through direct copy-paste of the formatting makes it
try
to do something, but it just pulses circles forever until leaving the page. Tested it on both Edge and Opera.

Is it supposed to actually be able to located the .json file when loading the extension? It loads when I navigate to the folder the file is in and tell it to use that folder so I thought that was good enough, but the file browser isn't actually
seeing
the file there.
Ah thanks for reminding me to format/explain an example better. How large is the game you are trying to make it work for?
It doesn't need to be in the .json file no, it can be located anywhere.

I'll write up a more in depth explanation as to how you can set up the settings.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #83 (isolation #44) » Sun Dec 17, 2023 2:17 am

Post by JacksonVirgo »

The .yaml settings file can contain a few sections, I will list them below with a description of how to write them. Like always, the player list is the only that is required.

Spoiler: Explanations

The hash (#) means anything afterwards is a comment (does nothing), and thus can be ignored/deleted.

Unless you know what you are doing, keep the formatting as strict to what I've written as you can

Player List

List all the current players, remove any players that are replaced out and add in their new account. This will be done automatically on a later update, but for now it needs to be done.

Code: Select all

players:
	- player_name
	- second_player_name


Dead

List all the dead players, and the post they have died in.

Code: Select all

dead:
	player_name: 123 # Post number of which they died.


Replacements

For each individual replacement, show who was replaced by who.
Make sure to create a brand new list item for each new replacement, even if it was from a slot that had a replacement before.
Below is an example player_one was replaced by player_two who then went and replaced out again.

Code: Select all

replacements:
    player_one:
        - player_two
    player_two:
        - most_recent_player


Aliases / Nicknames

Sometimes the bot cannot know the difference between what people are referred to as (CSF) as compared to what they are listed as under this tool (Cat Scratch Fever). List out all you know they're being referred under in this section

Code: Select all

aliases:
    username:
        - Alias1
        - Alias2
    Cat Scratch Fever:
        - CSF



Spoiler: Full Example

Code: Select all

## List all the current players here.
## You will need to list replacements here and in a replacements section
## The duplication will be removed in a later version
players:
    - Username
    - Username2
    
## List all the players that have died, and the post they died in.
dead:
    Username: 123 # Post number of which they died.
    
## For each individual replacement, show who was replaced by who. Create a brand new list item for each new replacement, even if it was from a slot that had a replacement before.

replacements:
    OldPlayerUsername:
        - NewPlayerUsername
    player2:
        - player2's replacement

startFrom: 123 # Post number of which to start from (usually a day start, if not added defaults to post 0)
endAt: 909 # If added, ends the counting at a particular post.

aliases:
    Username:
        - Alias1
        - Alias2
    Username2:
        - OtherAlias
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #84 (isolation #45) » Sun Dec 17, 2023 2:19 am

Post by JacksonVirgo »

I also thought I had some kind of display to show steady progress, to see it's actually working and not frozen (not talking about the spinner), if not that's probably something I should add ASAP
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #86 (isolation #46) » Sun Dec 17, 2023 9:39 pm

Post by JacksonVirgo »

In post 85, Aureal wrote: Yeah, I can't see that I'm doing anything that doesn't match your example. I'm not familiar specifically with .yaml format but I'm not totally ignorant of code and nothing in the further explanation helps figure out what's going on. I copy/pasted the playerlist section directly from your latest example here to make sure the spacing was what's intended and it's still just simply doing nothing again when I click the button (after trying to adjust things further I was never able to get back to even seeing the eternally-pulsing circle again. And yes, the circle is all I got when I had it, there was no text accompanying it like in your demo video).

Spoiler: just using the playerlist for a barebones effort

Code: Select all

players:
	- Black
	- NekoLover
	- DragonEater70
	- FakeGod
	- Klick
	- Titus
	- Dannflor
	- Skygazer
	- Claptastik

for the game here if you want to see if it works for you, all I can think right now is there's some incompatibility with my system. I don't really feel like putting all this on Chrome just to test whether somehow straight-up Chrome will work where other browsers fail. :?
Ah right, it seems using tabs instead of spaces don't work even though I expected them to.
I tried the following and it worked with your linked thread, give this a whirl.

Spoiler:

Code: Select all

players:
    - Black
    - NekoLover
    - DragonEater70
    - FakeGod
    - Klick
    - Titus
    - Dannflor
    - Skygazer
    - Claptastik
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #88 (isolation #47) » Wed Dec 20, 2023 5:20 am

Post by JacksonVirgo »

In post 87, Aureal wrote: Yeah, it's good now; knowing it needs indentation of four spaces instead of tab makes all the difference.
Amazing stuff, if you feel anything is clunky or you'd like for any stuff to be added to it feel free to let me know and I can see what I can do.

(I will be removing the need for a file to begin with, but that was always coming just need time to sink into this again)
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #89 (isolation #48) » Sun Jan 07, 2024 6:09 pm

Post by JacksonVirgo »

General update time, none of these changes are available right now unless you compile it yourself (the new game def isn't added, at all but I wanna see if people have thoughts one way or another on that first)

I added a popup menu you can use to select which additional functionality you want to use, all of them except the vote-counter will be disabled by default. The only one I have now is quote highlighting, making it very easy to see where you're being quoted (and sub-quoted). I've been using it for a while to see how well it works and I love it so I feel so will you.

Now that 3+ people have had issues with using yaml, and how I realised how bad the actual file is formatted I wanted to abandon cross-compatibility with osuka's tool (rip) and focus on a .toml format which allows for linking data close together so all information about a single player is next to each other.

As you can probably tell via intuition, each [[player]] creates a new player underneath it with whatever information you need about them. One stipulation I gotta make though is that even replaced players are labelled as [[player]] and must not be deleted but instead have a "replaced" value of them in the slot that replaced them. If this is too confusing I can add a [[replaced]] to be used instead but I don't feel that's necessary.

Code: Select all

start_from = 123
end_at = 456

[[player]]
name = "JacksonVirgo"
aliases = "JV, Virgo" # create as many aliases as you want seperated by a comma
replaced = "Cat Scratch Fever" # who the player replaced, if any
died_at = 123 # post number the player died at

[[player]]
name = "Psyche"

[[player]]
name = "Cat Scratch Fever"
aliases = "CSF"


This is much easier to understand I feel than having everything split all over the place.

If I don't get any feedback (and that's okay <3) I'll likely move to this format going forward.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #91 (isolation #49) » Sun Jan 07, 2024 6:32 pm

Post by JacksonVirgo »

In post 90, Psyche wrote: i can imagine the potential issues but feel like it’d be ideal would be something close to what mods already include in their OPs - or, say, something suitable for said inclusion. maybe can use the archive threads as a reference if it’s worh the trouble; they include most of these details in a structured but plain languagy format except alias.
Are you talking about putting the data in post 0? I did wanna eventually have many ways of giving the VC settings such as file upload, post 0, custom UI form (storing in the extensions storage, or possibly on my mafia engine bots database so that many people can use it). Etc

I've just been procrastinating pretty hard on building out the UI to do it through that which is by far the most user-friendly way to do it. Exporting to the .toml file is also a good thing to share the settings with other hosts.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #92 (isolation #50) » Sun Jan 07, 2024 9:18 pm

Post by JacksonVirgo »

I mean I hate CSS so much and I've been having issues with the layout given the choices I've made which is why I have been procrastinating making the form fully complete so I decided to dump the current popup style and instead have the form on the page itself, like here's a video of where I'd put it (which it looks so cool too so I'm trying to show off my idea :sob: )

"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #94 (isolation #51) » Mon Jan 15, 2024 6:15 pm

Post by JacksonVirgo »

In post 93, Psyche wrote: ive gotten pretty handy at javascript/typescript now, so that's one barrier to entry gone for me to actually do things
but yknow, i'm probably just blowing hot air
Oh huge W
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #95 (isolation #52) » Mon Jan 15, 2024 6:16 pm

Post by JacksonVirgo »

The repo is currently in a form of transitional period of sorts where I realised the code was absolutely all over the place so I'm trying to structure it better.

I also gotta update the README so that it's very obvious how to set it up and work on it
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #97 (isolation #53) » Mon Jan 15, 2024 7:06 pm

Post by JacksonVirgo »

In post 96, Thestatusquo wrote:
In post 92, JacksonVirgo wrote: I mean I hate CSS so much and I've been having issues with the layout given the choices I've made which is why I have been procrastinating making the form fully complete so I decided to dump the current popup style and instead have the form on the page itself, like here's a video of where I'd put it (which it looks so cool too so I'm trying to show off my idea :sob: )

Similar to last time if you've got css questions I'm happy to rubber duck
Ooo thank you I'll do exactly that. I wanted to add a players tab, where you can add/remove/edit player data in the UI itself rather than with a game definition file.

I seemed to do it fine, the form for editing the user itself was perfectly fine. It was anything to do with scrolling. I wanted to list them all and have an internal scrollbar for if there's more players than what fits on the UI. But it didn't scroll no matter what I seemed to do, it just made the popup larger to fit the data which I don't really know how to fix.

Although now that I'm saying this now, if I put a max-height on the UI itself it should lock up at a particular height and then scroll internally. I'll give that a stab
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #99 (isolation #54) » Mon Jan 15, 2024 7:42 pm

Post by JacksonVirgo »

Setting a max height for the form seemed to do it
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #100 (isolation #55) » Sat Feb 10, 2024 4:20 pm

Post by JacksonVirgo »

Bumping this so I remember that this project exists and I should complete it
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #101 (isolation #56) » Sat Feb 10, 2024 4:20 pm

Post by JacksonVirgo »

I've been massively overcomplicating it and the break for personal stuff has made me realise that so gonna simplify and then complete this and then have a personal pizza party
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #103 (isolation #57) » Tue Feb 13, 2024 8:15 am

Post by JacksonVirgo »

In post 102, Psyche wrote: am sure to drift in and out but would like to fit in some time to start contributing and helping keep momentum. would also help me build my comfort w/ typescript and get ideas for my other projects.
first step is probably checking if i can set up the dev environment by following your instructions
in the meantime do you think there are any "good first issues" you could add to the repo that could get my feet wet w/o disrupting your other plans?
Yeah so I just remembered I left the repo in a state that's broken in the sense that as soon as the bg script idles, the page needs to refreshed and thats not a super long time either so just beware of that. I should get that fixed pretty soon (today or tomorrow).

In terms of good first issues, I'll get back to that I just need time to look back over the project
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #105 (isolation #58) » Tue Feb 20, 2024 11:20 pm

Post by JacksonVirgo »

In post 104, yessiree wrote: been wanting to contribute to this project too, i'll revisit this soon!

quick question @JV, why did you decide to use a package like zod, as opposed to just regular TSDoc? zod is kind of intimidating to see in a ts project ngl :lol:
I used what I was most comfortable with as I wanted to spit something out pretty fast, I haven’t touched much tsdoc all things considered even though I probably should.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #107 (isolation #59) » Wed Feb 21, 2024 12:31 am

Post by JacksonVirgo »

Lmfao feel free if you wanna, I agree it’s overkill ahaha. Just awfully convenient for validating yaml without needing to use my brain
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #108 (isolation #60) » Wed Feb 21, 2024 3:29 pm

Post by JacksonVirgo »

I fixed my computer once again so with people wanting to contribute I should probably fix the glaring issue which is the timeout problem, I overcomplicated it to all hell and I really shouldn't have.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #109 (isolation #61) » Wed Feb 21, 2024 9:22 pm

Post by JacksonVirgo »

Alright so I realised that I've overcomplicated this project to an extreme degree, I've reverted back to an older version and I am going to focus on simplifying what the current process is cuz my god my eyes hurt looking at this code
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #110 (isolation #62) » Wed Feb 21, 2024 9:25 pm

Post by JacksonVirgo »

And for the record, I have very little experience working with other people on a codebase. I got no idea how to use github beyond the very surface level stuff, I reverted to an older commit so if that fucks anything over regarding your forks uh, sorry?

I did make a branch prior to doing so, so that I can copy/paste anything to do with the UI changes that I've made after moving to a tRPC thing like a chump
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #111 (isolation #63) » Wed Feb 21, 2024 9:31 pm

Post by JacksonVirgo »

In post 104, yessiree wrote: quick question @JV, why did you decide to use a package like zod, as opposed to just regular TSDoc? zod is kind of intimidating to see in a ts project ngl
Can TSDoc validate objects? Because I'm mostly using Zod to validate types so I don't have to go through and check them myself, as there is no typesafe layer when communicating from the content scripts and the bg scripts
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #113 (isolation #64) » Wed Feb 21, 2024 10:43 pm

Post by JacksonVirgo »

In post 112, yessiree wrote:
In post 111, JacksonVirgo wrote:
In post 104, yessiree wrote: quick question @JV, why did you decide to use a package like zod, as opposed to just regular TSDoc? zod is kind of intimidating to see in a ts project ngl
Can TSDoc validate objects? Because I'm mostly using Zod to validate types so I don't have to go through and check them myself, as there is no typesafe layer when communicating from the content scripts and the bg scripts
if you are validating objects during runtime (from user input), there is no easy way, because types don't exist in runtime, you'd have to go through the good ol' user input validation step

this might help (i see you have a lot of optional fields in the game definition check)
https://www.typescriptlang.org/docs/han ... predicates
Yeah I know types don't exist in runtime, that's why I am using zod to validate it
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #115 (isolation #65) » Wed Feb 21, 2024 10:58 pm

Post by JacksonVirgo »

In post 114, yessiree wrote:
In post 113, JacksonVirgo wrote:
In post 112, yessiree wrote:
In post 111, JacksonVirgo wrote:
In post 104, yessiree wrote: quick question @JV, why did you decide to use a package like zod, as opposed to just regular TSDoc? zod is kind of intimidating to see in a ts project ngl
Can TSDoc validate objects? Because I'm mostly using Zod to validate types so I don't have to go through and check them myself, as there is no typesafe layer when communicating from the content scripts and the bg scripts
if you are validating objects during runtime (from user input), there is no easy way, because types don't exist in runtime, you'd have to go through the good ol' user input validation step

this might help (i see you have a lot of optional fields in the game definition check)
https://www.typescriptlang.org/docs/han ... predicates
Yeah I know types don't exist in runtime, that's why I am using zod to validate it
yeah on a closer look of the codebase i dont think zod is as overkill as i thought it was lol
:sweat_smile: well that's good at least
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #119 (isolation #66) » Sun Mar 24, 2024 11:35 pm

Post by JacksonVirgo »

In post 118, Aureal wrote: This thing still hates me no matter what I do. :lol: Can't even get it working with just the player list again. I recall last time I used it I had to workaround the dead section not working by just removing those players from the list.
I recall last time the issue was using tabs and not spaces or something (which is so silly of a problem) is it that again?
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #122 (isolation #67) » Tue Mar 26, 2024 12:03 am

Post by JacksonVirgo »

In post 121, yessiree wrote:
In post 119, JacksonVirgo wrote:
In post 118, Aureal wrote: This thing still hates me no matter what I do. :lol: Can't even get it working with just the player list again. I recall last time I used it I had to workaround the dead section not working by just removing those players from the list.
I recall last time the issue was using tabs and not spaces or something (which is so silly of a problem) is it that again?
In post 120, Aureal wrote: Nope, definitely using spaces. Repeatedly tried copy/pasting the both the last game's file and the formatting you gave me and just adjusting the names.
https://github.com/JacksonVirgo/mafiasc ... ols/pull/3

I submitted a PR to fix the issue Aureal is having. Please review and merge, thanks!
Merged. Thanks for catching that btw lol.

Sadly I don’t have a way to compile it at the moment (my computer is deadge)
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #126 (isolation #68) » Wed Apr 03, 2024 10:17 am

Post by JacksonVirgo »

In post 124, yessiree wrote: submitted another PR for some refactoring

one of them is using "view=print" mode when scraping posts, which should drastically speed up votecount generation since it potentially reduces the response payload size by over 90%! (from over 1 MB to ~40 kB per request)
Had no idea that was even an option lmao

Looked over the PR and merged it
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #127 (isolation #69) » Tue Apr 09, 2024 11:22 am

Post by JacksonVirgo »

I am now able to work on this again with my computer fixed, I will be adding minor changes and then will be testing/compiling/releasing the new version.

Which Aureal's issues should be fixed in (thanks again yessiree <3 )
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #128 (isolation #70) » Tue Apr 09, 2024 6:51 pm

Post by JacksonVirgo »

The new version with the fixes (and quote highlighting ig) has been compiled and can be downloaded here
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #136 (isolation #71) » Fri Apr 12, 2024 10:03 pm

Post by JacksonVirgo »

I very rarely delve into VCA so the extent of what I'd do right now if I work on it is to have two options. One which sees votes in relation to the gamestate itself and then one slot in relation to itself.

In relation to the gamestate is to see generated votecounts with a particular frequency (either by time, amount of votes, or amount of total posts) and just colour the known alignments. Formatted in a super condensed way (as it's a pretty large chunk of data at a time).

In relation to themselves would be to see a list of their vote progression, which would show data like time between votes and coloured so you can see data in regards to a single player
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #137 (isolation #72) » Fri Apr 12, 2024 10:03 pm

Post by JacksonVirgo »

I have no idea how legible that post is
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #139 (isolation #73) » Sat Apr 13, 2024 10:44 am

Post by JacksonVirgo »

In post 138, Thestatusquo wrote: I am pretty leery of a tool that steps over the line from just showing players information about the current game state into the realm of helping players play the game (i.e. doing data analysis.)
It's not doing the analysis though, just making the analysis less tedious to set up
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #143 (isolation #74) » Sat Apr 13, 2024 5:26 pm

Post by JacksonVirgo »

There’s no way tmhs is getting corrected to “themanhimself” as it currently works
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #149 (isolation #75) » Sat Apr 13, 2024 9:06 pm

Post by JacksonVirgo »

I don’t think I do anything with the flagged names at the moment, that would be the next best thing for me to work on personally
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #150 (isolation #76) » Sat Apr 13, 2024 9:07 pm

Post by JacksonVirgo »

In post 147, Random Nurse wrote:
In post 146, Thestatusquo wrote:
In post 144, Random Nurse wrote: Where are we at currently with this votecounter?

Is a practical version available to be used in future game?
Its functional right now I believe.

Nice.

So say I set up a Normal game.

Where do I go to start implementing it, please?

I'm eager to get some games going with this.
The setup should be written in the OP iirc
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #152 (isolation #77) » Sat Apr 13, 2024 11:11 pm

Post by JacksonVirgo »

In post 148, yessiree wrote: For votes with ambiguous targets, I lean more towards flagging them to be checked manually rather than trying to parse the intended target using NLP. Reason one is that configuration (usernames, aliases and replacements) are needed for each game anyway, reason two is that if the string parsing algo is not 100% accurate, you dataset ends up with some incorrect data, and reason three - NLP is hard!

I imagine the process would be like
- configure basic settings (usernames, replacements, common aliases, etc) for games from which to collect data
- collect votes -> get a list of votes + a list of flagged votes
- go through the flagged votes one by one and add aliases as necessary
- repeat step 2 until you have no more flagged votes
I do think we should be working on a proper flagging system before delving into any more NLP, I do see the appeal in it though and we could implement it only be to be accessible for those that really want it (aka. explicitly having it as a feature flag). We could also do an inverse and just use NLP to create suggested aliases to be used in the configuration file if running it while generating the VC is too unpredictable.

Fancy talk is fun but I am going to just work on the flagging system. I like the way you wrote the process, I think a cool idea would be to offer a download for the configuration file with updated aliases. I also want to add cached config results so you don't have to upload over and over.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #153 (isolation #78) » Sat Apr 13, 2024 11:11 pm

Post by JacksonVirgo »

In post 151, Random Nurse wrote:
In post 150, JacksonVirgo wrote:
In post 147, Random Nurse wrote:
In post 146, Thestatusquo wrote:
In post 144, Random Nurse wrote: Where are we at currently with this votecounter?

Is a practical version available to be used in future game?
Its functional right now I believe.

Nice.

So say I set up a Normal game.

Where do I go to start implementing it, please?

I'm eager to get some games going with this.
The setup should be written in the OP iirc

WDYM?
The process to install the extension is in post 0
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #154 (isolation #79) » Sat Apr 13, 2024 11:13 pm

Post by JacksonVirgo »

If you still need help with it, let me know. Here, PMs or on Discord (my username is ._melancholic_.)
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #155 (isolation #80) » Sat Apr 13, 2024 11:19 pm

Post by JacksonVirgo »

I actually also want the option to show vote history like Gypyx seems to do in her VCs. You can possibly also store the config file in the vc itself to scrape instead of needing a file. Unsure if that's a good idea
at all
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #157 (isolation #81) » Sat Apr 13, 2024 11:26 pm

Post by JacksonVirgo »

In post 156, Random Nurse wrote: Once my game gets rolling I'll get this installed.

Thanks JV.
No problems at all, it'd be cool to see it used more :D
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #159 (isolation #82) » Sat Apr 13, 2024 11:33 pm

Post by JacksonVirgo »

In post 158, Random Nurse wrote:
In post 157, JacksonVirgo wrote:
In post 156, Random Nurse wrote: Once my game gets rolling I'll get this installed.

Thanks JV.
No problems at all, it'd be cool to see it used more :D

Do you have games that show it being used? I want to get a feel for how it operates, please.
I can record a clip of me using it from start to finish if you'd like? I assume Aureal uses it but I am not sure how much it's being used currently
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #161 (isolation #83) » Sat Apr 13, 2024 11:42 pm

Post by JacksonVirgo »

In post 160, Random Nurse wrote:
In post 159, JacksonVirgo wrote:
In post 158, Random Nurse wrote:
In post 157, JacksonVirgo wrote:
In post 156, Random Nurse wrote: Once my game gets rolling I'll get this installed.

Thanks JV.
No problems at all, it'd be cool to see it used more :D

Do you have games that show it being used? I want to get a feel for how it operates, please.
I can record a clip of me using it from start to finish if you'd like? I assume Aureal uses it but I am not sure how much it's being used currently

I'd appreciate it.

Just want to see what it'll look like.

Does it post on every page-top?
It's not fully automatic, although I'm increasingly wanting to make something for that. Essentially you get a new button on the web-page which you can click and get a generated/formatted vote-count. It's a little more to that but that'd be shown in the video demo I'll record soon.
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #162 (isolation #84) » Sat Apr 13, 2024 11:46 pm

Post by JacksonVirgo »

Image

The VC button is on every post, just next to the ISO
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #165 (isolation #85) » Sat Apr 13, 2024 11:49 pm

Post by JacksonVirgo »

In post 164, Random Nurse wrote: Can Mafiascum just implement it site-wide as an option? That'd be awesome.
Bork said the future may have a way for people to add stuff to the site itself (check post ) but for right now an extension is your second best option.

What a magical day that would be though, being able to have a votecounter built into the site :heart_eyes:
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #167 (isolation #86) » Sun Apr 14, 2024 12:06 am

Post by JacksonVirgo »

In post 166, yessiree wrote:
In post 152, JacksonVirgo wrote: I also want to add cached config results so you don't have to upload over and over.
Well actually I was thinking of working on a config editor to replace yaml config files altogether, but wasn't sure if that's the direction you wanted to go. Basically, it will be a UI that lets you edit configs and save/load them to/from local storage.
I wanted to do this much earlier but never got the motivation to actually get it to work so I scrapped it temporarily
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #169 (isolation #87) » Sun Apr 14, 2024 12:15 am

Post by JacksonVirgo »

In post 168, yessiree wrote:
In post 167, JacksonVirgo wrote:
In post 166, yessiree wrote:
In post 152, JacksonVirgo wrote: I also want to add cached config results so you don't have to upload over and over.
Well actually I was thinking of working on a config editor to replace yaml config files altogether, but wasn't sure if that's the direction you wanted to go. Basically, it will be a UI that lets you edit configs and save/load them to/from local storage.
I wanted to do this much earlier but never got the motivation to actually get it to work so I scrapped it temporarily
probably because you were using jquery :lol:
should be fairly trivial with react!
I wasn't able to figure out how to inject react into the site properly. I didn't really wanna use the extension popup as I couldn't figure out how to trigger that from the VC button injected into MS's html.

I tried a bunch of stuff, none of it worked super good. I'm also new to browser extensions so maybe I'm just an absolute goof on a stick
"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: 13383
Joined: October 29, 2019
Pronoun: they/him
Location: ɐılɐɹʇsn∀

Post Post #175 (isolation #88) » Fri Apr 19, 2024 1:20 am

Post by JacksonVirgo »

In post 174, Psyche wrote: maybe most salient is broken quote tags that allow a quoted vote to look like the poster's vote
I was going to bring this up. Also might need to ignore votes within spoiler tags as well as they're invalid also.

A weird solution may be to check if a closing tag for spoiler or a quote is after the vote. If so, invalidate it.
"Am I a ghost like you, caught between the seams of two intertwining melodies?"


wiki // GTKAS

Return to “Mafia Discussion”