hey! :) ah that logic is quite specific to the server. there are multiple ways of achieving it, one simple way is to have a heartbeat signal sent from client (e.g. every 30s), notifying the server that a character is 'online'. if the boolean is true, it means 'account/character is currently logged in'. you could piggy back this logic off motion requests too account is an aggregate of characters, so you fetch 'is any character from account online'. this is automatically checked upon logic requests usually so the client doesn't need to ask this directly.
hey :) I had some people ask me in discord about OWS few times so I thought I should give it a go I'll finish the select/create character screens and getting a custom character in the game There's some big changes to come in OWS soon, which I am not confident will be backwards compatible, so I may work on the hobby custom server until then. I think its referred to as OWS Hub World
Looks good. Can't wait for the next episode :)
Really nice work!!!! this help us a lot!!!
Such a good video, I can't wait for more! This is really helpful :)
My one and only complaint is all the similar vids like this but not a one has ever shown how to build in "account already logged in" logic 😫
hey! :)
ah that logic is quite specific to the server.
there are multiple ways of achieving it, one simple way is to have a heartbeat signal sent from client (e.g. every 30s), notifying the server that a character is 'online'.
if the boolean is true, it means 'account/character is currently logged in'.
you could piggy back this logic off motion requests too
account is an aggregate of characters, so you fetch 'is any character from account online'.
this is automatically checked upon logic requests usually so the client doesn't need to ask this directly.
So you swapping from a custom Java server to OWS?
hey :)
I had some people ask me in discord about OWS few times so I thought I should give it a go
I'll finish the select/create character screens and getting a custom character in the game
There's some big changes to come in OWS soon, which I am not confident will be backwards compatible, so I may work on the hobby custom server until then.
I think its referred to as OWS Hub World