Base Thread Model
What is running during STANDARD (non-updating) processing
What is running during updating processing
Base Thread Model
What is running during STANDARD (non-updating) processing
What is running during updating processing
2/10
not gonna lie, I don’t really get it.
So normally, you handle packets in a single thread? Then when it’s time to update, you handle updates with a thread pool? Doesn’t sound too bad, should provide a decent speed boost on multi-core machines.
The biggest bottleneck by a fair bit is the player updating loop (updating all the Lists of playersInArea, objectsInArea, itemsInArea etc) and it looks like you’ve managed to solve that so good on you. I guess as long as the game data is read only while you’re updating players all should be well.
you should use flowchart software, paint is annoying to look at
i recommend SMART ideas