molenzwiebel / Impostor

Automatic Discord muting for Among Us! No installs necessary, just enter the code, join the voice channel, and you're off!
https://impostor.molenzwiebel.xyz/
129 stars 14 forks source link

Trying to understand where a user is being used up #13

Open alex-kwan opened 3 years ago

alex-kwan commented 3 years ago

Super interested in this project. I was wondering where exactly are we losing one player in the game?

I am trying to understand if its possible to just host the client code in the cloud as well and no one needs to run anything locally outside of the game?

TECHNOFAB11 commented 3 years ago

You can definitely host it wherever you want. The one player that's missing is the Bot itself. It's technically there on the server, but it does not send a "Spawn" packet and thus won't get a player character (and the other clients won't show it). That's also why the clients say 9/10 players, but when someone joins it says the game is full. Ive been working on reverse engineering that for a while now and it's a weird implementation, but you also have to keep in mind that the team behind this game just has one dev afaik and just 3 people in total (at least last time I've heard).

So yeah, host it wherever you want. But you'll never be able to have 10 player AND the bot/client in a lobby :)