Airline Mogul Forum

max players??

abc_32123

  • Airline Operative
  • *
    • Posts: 16
    • View Profile
on: May 17, 2009, 09:15:51 am
i cant stop but wondering that some world have more players than the max??
eg. public world 461 n 506??
is it always like that??


CHR

  • Brokers
  • Airline Supervisor
  • **
    • Posts: 744
    • View Profile
Reply #1 on: May 17, 2009, 09:35:04 am
The brokers can get in after the world is full so that they can provide brokerage services in the public worlds. You will find the worlds are usually only over by one or two people.


dktc

  • Administrator
  • Airline Board Member
  • *****
    • Posts: 4622
    • View Profile
Reply #2 on: May 17, 2009, 09:47:33 am
The brokers can do that? :o

The reason is that max player is calculated by the computer when the world is generated. The number is not an integer in most cases. The number with decimals is then truncated before being shown on the select world page, meaning that the real limit is a little more than the one listed. As a result, the world registration isn't closed at the full number, but instead, when the player numebr > limit.

Illustrating with algorithm

Real limit = x.yy
Shown limit = x
Check: close registration when player number >= real limit

Therefore, when player number = x
- player number = shown limit
- player number < real limit
- check = false

Therefore, when player number = (x+1)
- player number > shown limit
- player number > real limit
- check = true, and so registration is closed
« Last Edit: May 17, 2009, 09:49:06 am by dktc »
D Express (id 616) 8)
AM Membership Officer / Official Broker


abc_32123

  • Airline Operative
  • *
    • Posts: 16
    • View Profile
Reply #3 on: May 17, 2009, 10:01:39 am
thats a thorough explanation  ;)
it sure clears my doubt
thx


CHR

  • Brokers
  • Airline Supervisor
  • **
    • Posts: 744
    • View Profile
Reply #4 on: May 17, 2009, 10:52:21 am
I seem to recall a broker got themselves added to a world some time back even once it was full. As the brokers and AM developers work together (or are the same people), they would be able to add themselves in. I was just assuming this was the reason for the off numbers.

To fix the problem, perhaps the algorithm should be modified, so that the limit shown is one less than the actual limit. Or so that it rounds the limit, to ensure a whole number every time.


MrOrange

  • Administrator
  • Airline Senior Manager
  • *****
    • Posts: 3805
    • View Profile
Reply #5 on: May 17, 2009, 08:55:03 pm
Or so that it displays the number of users to be never higher than the maximum allowed number, so you don't see it so you don't care ;)


 

SMF spam blocked by CleanTalk