mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Mob position updates now completely only send to 600 units range defined by Range:MobPositionUpdates
Client updates nearby clients more often because they will disappear after 10 seconds without a position update to the client This results in a massive reduction in unnecessary traffic as we only update clients of their relevance around them This also resembles live-like packet sending behavior of positions
This commit is contained in:
@@ -588,10 +588,10 @@ void Client::CompleteConnect()
|
||||
}
|
||||
}
|
||||
else {
|
||||
Group *group_update = nullptr;
|
||||
group_update = this->GetGroup();
|
||||
if (group_update)
|
||||
group_update->SendHPPacketsTo(this);
|
||||
Group *group = nullptr;
|
||||
group = this->GetGroup();
|
||||
if (group)
|
||||
group->SendHPPacketsTo(this);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user