mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Login with 3.2.2.10257 should work now.
This commit is contained in:
parent
48a470dfc1
commit
2c30020c7e
8 changed files with 53 additions and 21 deletions
|
|
@ -242,6 +242,8 @@ World::AddSession_ (WorldSession* s)
|
|||
pkt << uint32(sWorld.getConfig(CONFIG_CLIENTCACHE_VERSION));
|
||||
s->SendPacket(&pkt);
|
||||
|
||||
s->SendAccountDataTimes(GLOBAL_CACHE_MASK);
|
||||
|
||||
s->SendTutorialsData();
|
||||
|
||||
UpdateMaxSessionCounters ();
|
||||
|
|
@ -249,7 +251,7 @@ World::AddSession_ (WorldSession* s)
|
|||
// Updates the population
|
||||
if (pLimit > 0)
|
||||
{
|
||||
float popu = GetActiveSessionCount (); //updated number of users on the server
|
||||
float popu = GetActiveSessionCount (); // updated number of users on the server
|
||||
popu /= pLimit;
|
||||
popu *= 2;
|
||||
loginDatabase.PExecute ("UPDATE realmlist SET population = '%f' WHERE id = '%d'", popu, realmID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue