Just tried to redeploy/ restart my game server and got the subject error ....is this a bug in my code or an Arena malfunction?
0
Reputation
3
Posts
898
Profile views
0
Followers
0
Following
Posts made by karneaud
Files Synced. ⚠️ Deployment Restart Failed
posted in Colyseus Arena - Cloud Hosting •
Listeners triggered even though listening to different state properties
posted in Questions & Help •
I have the following logic client side
room.listen('pullPosition/:position', (change) => {
console.log('position', change);
if(ready && !state.isHoldEnabled) state.setPosition(change.value)
})
room.listen('pullPosition/:hold', (change) => {
console.log('hold', change);
})
I'm experiencing and issue where if pullPosition/:position
changes BOTH listeners are triggered despite not listening to the same property.... Is this how its suppose to happen by design?
On locked event
posted in Questions & Help •
Is there an locked unlocked event we can listen to or is it I need to implement my own triggers for when room is full/ maxClient reached?