Improvement for workshop25

Posted By: Spirit

Improvement for workshop25 - 04/22/09 17:18

Just a little info for Conitec, the multiplayer workshop 25 is not optimal. With a very few changes, I reduced the traffic to 20% of the original value. Well this is what I did, I stored the pan angle also in skill2 and used skill1 and skill2 for rotating and moving the entity on both the server and the clients. I send the skills only when the keys change. And when the skill1 or 2 changes on the server I send it to all clients. This allows to have a smooth movement everywhere and set the entrate down to 4.

Traffic with 2 players,
workshop25 original: 120 ingoing, 400 outgoing
workshop25, my version: 20 ingoing, 60 outgoing smile

Maybe, time to improve workshop25?
Posted By: VeT

Re: Improvement for workshop25 - 04/22/09 22:42

Good work smile
Posted By: Cowabanga

Re: Improvement for workshop25 - 04/23/09 06:25

Yeah, that's better smile
Posted By: jcl

Re: Improvement for workshop25 - 04/23/09 09:11

Thanks for the hint! Workshop 25 was more intended for educational purposes than for optimized bandwidth. But your suggestion causes not only less traffic but is also easy to understand, thus I'll gratefully improve the workshop and add your method.
© 2024 lite-C Forums