Skip to content

Conversation

@TakoTheDev
Copy link
Contributor

@TakoTheDev TakoTheDev commented Sep 13, 2024

Ugly design, open for suggestions!

image

@TakoTheDev
Copy link
Contributor Author

TakoTheDev commented Sep 13, 2024

no idea why it decided to delete src/main/kotlin/gg/skytils/skytilsws/shared/structs/BoundingBox.kt and src/main/kotlin/gg/skytils/skytilsws/shared/structs/CHWaypointType.kt, ig I'll revert and push that once I get the complaints from lily

room.foundSecrets = sec
if (team.size > 1)
WSClient.sendPacketAsync(C2SPacketDungeonRoomSecret(SBInfo.server ?: return@setFoundSecrets, room.mainRoom.data.name, sec))
WSClient.sendPacketAsync(C2SPacketDungeonRoomSecret(SBInfo.server ?: return@setFoundSecrets, room.mainRoom.data.name, sec, mc.thePlayer.name))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the point of this? two players can have the same update at the same time and can be in the same room at the same time

additionally the server is aware of the sender of the packet

@TakoTheDev
Copy link
Contributor Author

TakoTheDev commented Sep 14, 2024

I can't really test rooms and secrets, since I can't keep a websocket connection for some reason, so would be nice if someone else could test it <3 (Even on the version in Releases, I think it's internet issue)

@My-Name-Is-Jeff
Copy link
Member

My-Name-Is-Jeff commented Sep 20, 2024

I can't really test rooms and secrets, since I can't keep a websocket connection for some reason, so would be nice if someone else could test it <3 (Even on the version in Releases, I think it's internet issue)

make sure you did not modify packets. the server cannot parse modified packets due to protobuf

@My-Name-Is-Jeff My-Name-Is-Jeff force-pushed the dev branch 3 times, most recently from 5bade78 to 5140177 Compare December 13, 2024 17:21
@My-Name-Is-Jeff My-Name-Is-Jeff force-pushed the dev branch 2 times, most recently from 6828e44 to 9913e5d Compare April 2, 2025 23:05
@TakoTheDev TakoTheDev closed this May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants