Giter Club home page Giter Club logo

Comments (5)

jdoleary avatar jdoleary commented on August 13, 2024

@SoulMuncher, you mentioned that this occurs when waiting to choose spawn for over a minute but I have been unable to reproduce. I've only tried with a local server though. Maybe it's only on the community servers. If you have a way to consistently reproduce this please let me know.

from spellmasons.

SoulMuncher avatar SoulMuncher commented on August 13, 2024

@jdoleary

  • Initiate co-op game through steam + community server seashell
  • Both players join and play until a miniboss level
  • Both players go inactive for at least 1 minute before placing their character
  • Wait for Disconnect
  • Reconnect via ready button
  • Notice that minibosses have been halfway reverted to normal enemies

Reproduced first try, 1/1 repro attempts +the two times I saw it playing the other day.
Image of broken miniboss: Notice stats and sprite size have been reverted as if it were a regular unit.
MinibossBug

from spellmasons.

SoulMuncher avatar SoulMuncher commented on August 13, 2024

If you want, we could try to repro it tomorrow with dev tools open

from spellmasons.

jdoleary avatar jdoleary commented on August 13, 2024

Server log when the disconnect occurred:

[jordanoleary-spellmasons-server] [2023-12-06 17:44:35] Lobby: All players are ready, start game.
[jordanoleary-spellmasons-server] [2023-12-06 17:44:35] Prevented setting robe color to invalid value undefined
[jordanoleary-spellmasons-server] [2023-12-06 17:46:15] @websocketpie/server-bun: Client e5bb0235-68c8-4354-b7b8-a37ef94d108b disconnected; code 1006; message 
[jordanoleary-spellmasons-server] [2023-12-06 17:46:15] @websocketpie/server-bun: Removing client e5bb0235-68c8-4354-b7b8-a37ef94d108b from room Spellmasons;jtest;1.24.2
[jordanoleary-spellmasons-server] [2023-12-06 17:46:15] clientPresenceChanged {
[jordanoleary-spellmasons-server] [2023-12-06 17:46:15]   clients: [],
[jordanoleary-spellmasons-server] [2023-12-06 17:46:15]   time: 1701884775630,
[jordanoleary-spellmasons-server] [2023-12-06 17:46:15]   type: "ClientPresenceChanged"

Client log when the disconnect occurred:

websocket🥧: Connection closed.
wsPieSetup.ts:40 onConnectInfo {type: 'ConnectInfo', connected: false, msg: 'Connection to wss://lion-app-w5w4c.ondigitalocean.…ntId=e5bb0235-68c8-4354-b7b8-a37ef94d108b closed.'}
views.ts:72 setView( Disconnected )
wsPieSetup.ts:69 Client disconnected unintentionally
pie.onConnectInfo @ wsPieSetup.ts:69
PieClient.onClose @ PieClient.ts:292
App.svelte:43 Menu: Route: MULTIPLAYER_SERVER_CHOOSER

from spellmasons.

jdoleary avatar jdoleary commented on August 13, 2024

bun's websocket server has a 2 minute idle timeout.
https://github.com/oven-sh/bun/blob/24ca605832aeec2a4bb172de3664a2a6e02dcd8f/packages/bun-types/bun.d.ts#L1904

from spellmasons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.