Sign in to follow this  
Followers 0
GuzzenVonLidl

Servermonitor issues fixed

3 posts in this topic

Both 1-2 and AAC noticed some heavy de sync in their trainings, unfortunately this was happening because of my sloppy mistake of forgetting to remove some debugging items causing everyone to send large packages every 5 sec.
On top of this there was also a double execution meaning everything happened x2.

This morning I have tried to figure it why it was causing the double execution but no luck, so I figured I would rewrite how everything was handled between clients and server and hopefully fix it on the way, this was something I was going to do anyway since I knew there was going to be a lot of traffic when someone was monitoring the server but I figured it was something we could live with for a shorter time.

Old system:
A player request info from everyone and it sent directly from and back to him. This is happening every 5 sec until that player decides to stop. This happens for each player that starts the server monitor meaning it works but causes bigger traffic on the network, the more people requesting it the bigger delay.
old.png

New system:
This handles things very differently.
A player is requesting the server for info, the server gathers info from all players(including headless), same as before with 5 sec interval.
The server then sends it back to the player requesting the info. This does not sound like much however the main thing here is to remember the server does everything, then passes the info to the correct player/players requesting the info meaning it wont drag down performance.
new.png

After I was done with improving this system I still had the duplication issue but there was no reason for it, so I went ahead and looked through some of my configs and sure enough there was the problem.

Conclusion:
2 very simple mistake and easy to fix caused some bigger issues however thanks to that we got a major improvement of the new server monitor. If the mods are not updated before tonight's mission, I will do some hot fixes mid mission so no need to worry.
20161115114520_1.jpg

PARKER, Goralight and R4IDER like this

Share this post


Link to post
Share on other sites

My for the 5/12 was made from a framework i downloaded last week but it is finished will this play or will it have to be tweeked in someway?

Packet smugler!

Share this post


Link to post
Share on other sites

@PARKER

Previous versions of the framework still works without issues, the latest update have change many things meaning that you can NOT update a mission to the latest version
In other words next mission you make you can use the latest version

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

About us

We enjoy playing ArmA3 in a tactical and professional way and ensuring at the same time a high level of fun is kept within the game. We use tactics and procedures from various armies and modify them to suit our own needs. This allows us to operate in the ArmA 3 platform effectively.

Social Network

Add us on social networks