mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-11 06:54:43 +02:00
Server list is now sent from db rather than hard coded.
This commit is contained in:
parent
091166b41a
commit
a65e81273b
3 changed files with 16 additions and 14 deletions
|
@ -206,8 +206,9 @@ namespace FFXIVClassic_Lobby_Server
|
|||
world.address = address;
|
||||
world.port = port;
|
||||
world.listPosition = listPosition;
|
||||
uint result = ((numChars / maxChars) *0xFF) & 0xFF;
|
||||
uint result = (uint)(((float)numChars / (float)maxChars) * (float)100);
|
||||
world.population = (ushort)result;
|
||||
|
||||
world.isActive = isActive;
|
||||
worldList.Add(world);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue