-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide un-joinable lobbies from the player list #118
base: main
Are you sure you want to change the base?
Conversation
thats all due to the fact that i changes the LobbyController.MapMap call to be in the ui and not in the lobby code, so its not broken for lobbies created on this version. The bugs come from the fact that it ends up getting called twice for lobbies not created on my commits (once by the lobby internally, this is the current code. and then again by the new code) If these lobbies were made on the new code, the bugs wouldnt occur for those lobbies |
ah |
i really am dumb |
a fix would be keeping the LobbyController.MapMap calls the same and storing the scene in a separate part of the lobby's data, so that it could be checked that the scene isnt the main menu, but this fix wouldnt be needed if all lobbies used the new code |
kind of an unnecessary change tbh |
Yeah, I don't like this change too, there could be a better solution, for example, add a new line of code to the LobbyCont.Map method instead of changing a few hundreds of other lines, but okay, let it be |
the reason i did that is because my small brain thought it'd be better to store scene-related data once, instead of storing the level and the scene separately (because the stored level name is just the scene name but formatted nicely) |
i agree the solution i ended up on sucks, but its functional, and that describes 90% of all code i've ever written |
The thing is that the lobby data was never designed by me to be functional, all functional data is transmitted via socket connections |
Anyway, I'll clear the code after merging it, so no worries |
What, why? |
Oops! I was trying to clean up YAJF's repo because i'm doing a lot of refactoring, and I deleted the branch by accident. |
add second sprite of vichan
Ah, I see. Happens with the best |
this comes from this suggestion i made on the discord
Hide lobbies from the lobby list if:
(note: the ability to make lobbies in the main menu and a button that fakes a multikill lobby aren't in the final repo, these are just some things i did to showcase the features)
Video demos
P.S. The cutoff level names in the lobbies comes from the fact that I changed where LobbyController.MapMap is called