Torben H.
Torben H.
If server is in range ask for spawn, if server isn't in range ask only for nuid. Check for entityData if other minäs are in range, if so send otherwise...
Make sure all sendToPeer are put into functions. In addition do checks that parameters aren't empty. Global function in MinaUtils for distance between minas. ``` if any mina in range...
Make sure entities are send immediatly, when spawned, no matter what tick is set, otherwise it's getting out of sync. Send entity data only on tick!
https://discord.com/channels/453998283174576133/632303734877192192/1082309565900668978
Add a list of entity names, which only be loaded once, like bosses. Can be modified by modders.
If client is in server minä range, remove entities.
Dextercd `np.SetGameModeDeterministic(true)`. This basically makes the game think it's a daily run. It makes it so all spells are available during the run and using spells does not count towards...
When needNuid is sent, serialise the entity and send it to the server. Remove then on client. Server will add nuid and sent spawned entity to the client.
- [ ] Make sure only root entities are serialised!
- before adding NoitaMP vscs serialise entities - when recieving serialised string compare and check, if it's the same entity, if not create a new one - if entity already...