MonaNAT Update & Improvements (27.06.2021)

New EE2 Government (since: 01.03.2014), everything about the EE2 management. You can report other players here.
Post Reply
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

MonaNAT Update & Improvements (27.06.2021)

Post by Dr.MonaLisa »

As some of you noticed, the Multiplayer Lobby was restarted multiple times on 24th of March 2019.
It's because I was working on MonaNAT improvements.

What is MonaNAT?
https://www.ee2.eu/multiplayer/help/#monanat

What's new in MonaNAT after 25.03.2019?
The Multiplayer Lobby NAT module has been fully rebuilt to decide about MonaNAT connections using an external PHP script. It allows me modify/fix MonaNAT behavior in the future, without Lobby restarts.
The best improvement is the behavior of the first MonaNAT connection. It now finds the MonaNAT Server which is located closest players who are trying to connect. It uses IP addresses to determine latitude and longitude. After that it finds the shortest distance sum (of Player1 to MonaNAT Server and Player 2 to MonaNAT Server) and uses this closest Server. Before this update, MonaNAT used a fixed Servers list, so all connections were first going to Germany, at the second attempt to Netherlands, etc.

What was updated in MonaNAT?
I fixed a bug where in rare cases the Host Player and the Joiner Player were wrongly identified. It caused an issue where joiner (after join attempt) wasn't in the game room, while all other players present in this game room seen his presence. It needed around 2 minutes to "timeout", before this player was able to join again. Host couldn't kick the bugged player even after closing and reopening his slot trillion times.

What's the future of MonaNAT?
In the near future I'm going to purchase a Server in United States. It will allow US players (who have the highest contribution in UP1.5 Development by the biggest number of donations) to play with low pings in case their ISP blocks ports. Currently, all the traffic between those players is routed by Europe, even if they live very close each other.
The USA MonaNAT will be Asia-optimized (low pings for Asian players), but I'm also planning to purchase a MonaNAT Server located in Asia in the future.
Information about new MonaNAT Servers will be posted at EE2News Twitter: https://twitter.com/EE2News

Have a nice day!
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: MonaNAT Update & Improvements (25.03.2019)

Post by Dr.MonaLisa »

MonaNAT® United States (Los Angeles):
A new MonaNAT® Server located in United States (Los Angeles) has been launched! It is already available on the Multiplayer Lobby. Ping reduction for North/South American players is noticeable. The MonaNAT Servers status can be checked at: https://www.ee2.eu/status
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: MonaNAT Update & Improvements (25.03.2019)

Post by Dr.MonaLisa »

07.12.2019 - MonaNAT On-Join Messages Improvements:
We have improved the on-join experience from players connected to the MonaNAT Server. The old on-join messages method has been replaced by the Server controlled one. The new messages may appear slower than before, but they don't cause additional bugs where the first sent command or message was not visible, or where it was impossible to download game saves.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: MonaNAT Update & Improvements (27.06.2021)

Post by Dr.MonaLisa »

26.06.2021 - MonaNAT® Sydney (Australia):
A new MonaNAT® Server located in Sydney (Australia) has been launched! It is already available on the Multiplayer Lobby. Ping reduction for Oceania players is noticeable. The MonaNAT Servers status can be checked at: https://www.ee2.eu/status

27.06.2021 - MonaNAT® is now even smarter than before!
The MonaNAT® servers selection has been improved. Before 27.06.2021, the MonaNAT® script was first selecting the BEST SERVER (shortest distance between the server and both players), and at the next attempts selecting the next server defined in the list. One of the problems of this solution was that it could often try to connect to the same server two times in row (Best server, and the next server in the list).
Since 27.06.2021 the list of MonaNAT® Servers is sorted individually from the shortest to the longest distance between the two players and the MonaNAT® servers. It means that, that there won't be duplicated attempts of connection to the same server, and the order of MonaNAT® Servers selection will always be from the shortest to the longest distance. That should help reduce pings even more. Additionally, the MonaNAT® Lobby Messages will now always show the total route distance, not only when the server is considered as the closest one.
It should have been improved to work this way much earlier, however that wasn't really needed. As first we only had 2 servers, then it increased to 3 locations, so it also wasn't very needed. At the moment we have got 5 MonaNAT® servers, so this solution makes sense.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
These users thanked the author Dr.MonaLisa for the post:
KennetRP
User avatar
Dr.MonaLisa
High Representative
Posts: 8697
Joined: 17 Jun 2010, 11:21
Location: Poland
Has thanked: 49 times
Been thanked: 108 times

Re: MonaNAT Update & Improvements (27.06.2021)

Post by Dr.MonaLisa »

07.07.2021 - MonaNAT® Miami (United States):
A new MonaNAT® Server located in Miami (United States) has been launched! It is already available on the Multiplayer Lobby. Ping reduction for the North / South American players is noticeable. The MonaNAT Servers status can be checked at: https://www.ee2.eu/status
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Post Reply

Return to “Ministry of Game Affairs of the Empire Earth II Community”