Town-of-Impostors / TownOfImpostors

TownOfImpostors Mod for Among Us
124 stars 17 forks source link

Recommended Settings #1

Closed Hadreshikrar closed 3 years ago

Hadreshikrar commented 3 years ago

Each time the game ends or someone joins the game the recommended settings checkbox will change and all custom settings are lost, only way to get customer settings for all players is for everyone to start at the computer on the game tab and for the host to reset the recommendation settings on and off

AJMix commented 3 years ago

Each time the game ends or someone joins the game the recommended settings checkbox will change and all custom settings are lost, only way to get customer settings for all players is for everyone to start at the computer on the game tab and for the host to reset the recommendation settings on and off

Hey Hadresh,

First off, please double check that you're using the right version of among us and that you've followed installation instructions properly. Are you using any other mods or a mod manager? I can't guarantee that my mod will work as intended if other mods or a mod manager is being used.

I can't seem to reproduce your issue. From my testing, it seems the custom settings are working fine and all settings are synced between all players, even when a player joins or game ends.

It sounds like there's an issue with your system not being able to write to PlayerPrefs (which is what unity uses to save data, like the settings). Please double check that your settings are actually being saved, even without the mod (try vanilla among us).

I'd be happy to assist further if you can provide me with more details.

Hadreshikrar commented 3 years ago

Hi AJMix/TownOfImpostors

Thanks for getting back to me so quickly, I can confirm that we downloaded the latest version of town of imposters 1.3.0 on Among us version v2021.3.5sWe made a fresh copy of the game directory downloaded and installed correctly into the separate folder and launched the game via the exe file.all 10 players confirmed that they could see the correct version number and that the mod had loaded correctly.

The fun part started when we joined the lobby, we had one person who does most of the hosting start up the game and setup custom settings,what would happen is each time a player joined the lobby the the checkbox on the computer for Recommended settings would activatethis would mean that some players would see that they had custom settings, and other players would have recommended settings.the game would launch perfectly fine but due to people having different settings it led to all sorts of problems. e.g if we set meeting times to start after 30 seconds, the player with recommended settings would only have to wait 15 seconds before they could voteor if we turned off confirmed ejects anyone with custom settings wouldn't see ejections but anyone with recommended settings would see who was ejected.

The only way we were able to resolve the issue is once all 10 people were in the lobby we would have everyone walk over the computer and bring up the Game Tab,then the host would have to flick recommended settings check box on and off a few times and this would then reset every player to custom settings.The problem is we would have to do this after every single game when we returned to the lobby screen.

I can confirm when just using the normal vanilla version of the game the settings were working correctly. I think you're correct in that the playerprefs aren't being written to but am unsure what to do to resolve this.

Cheers Hadre

AJMix commented 3 years ago

Hi Hadresh,

Good news, we've managed to get a repro on this issue! Looks like it's a new issue introduced after the mod was updated to be compatible with the latest among us. A fix for this is coming in 1.3.1, please keep an eye out for that 👍