Closed Maescool closed 11 years ago
picking up turrets and stuff is also causing desync.. guess caused by new feature of @delvar
ill look into it, i assume im missing sending a network event on pickup. ill checkout before my patch and see what i broke :)
ok i can see the issue, when buying/picking up it works on client but is not sent to server or vica versa the thing bought stays on the floor.
i reverted my code and the pickup worked fine so i am to blame. ill go fix it. i assume its due to the move of the pickup/carrying code.
seems to be an issue with Highlighted code, the other server/client doesn't see that the enemy player is highlighted the shop at all or highlighted other entities. so when the entity is created and added to the world it isn't picked up as it doesn't get to that bit of code.
@Maescool uh, its using TCP only for network IO :)
also you're right about the console. It is not synced up at all and will break mp
ok fixed the issue, 2 things i had to do 1. remove re-decliration of 'int team' from Turret 2. allow 'highlighted' from Other players not just local and move the local check to the draw marker.
this all fixed up now?
I think so. Almost all actions are synced now.
closing up due to the main issues being fixed with this