Region list addition to yml file for increased flexibility and compatibility - #39
Region list addition to yml file for increased flexibility and compatibility#39thesystemcoder168 wants to merge 2 commits into
Conversation
Addition of RegionList to config.yml which will override the default regions being used.
|
Hi! Thank you for your pull request. First of all:
Which game(s) are you observing this with exactly? Just so that I can reproduce this myself and verify.
"Either or both sides"? Well if that's the case we can't do much about the client failing here besides giving the client exactly what it expects. But are you indicating the server can fail occasionally based on this? Can you give me more info on that, like server side debug logs?
That's weird. The game creation phase is no longer in any way related to the region list, since each region will point to the same master and game servers. Can you give me more info on this, like debug logs? Your implementation is too unforgiving. Clients expect region strings like This would be up to the person configuring this to figure out... in fact, your configuration example got this wrong and would send strings to the client it doesn't expect. I am not sure what the correct solution to this is, but your current solution ain't it :-( |
|
@thesystemcoder168 I have received your email and have been unable to decrypt it, since the published key is not up to date. Here's my current keys fingerprint: You can find it here: https://keys.openpgp.org/vks/v1/by-fingerprint/B79A5AADC66FF02E098C254D2D26A680600BA537 |
|
It's also available under my domain: https://public.tuxifan.net/tuxifan/Tuxifan_0x2D26A680600BA537_public.asc |
This pull request adds the RegionList key to the config.yml file. Instead of relying only on the default of:
regions = {"asia", "au", "cae", "cn", "eu", "hk", "in", "jp", "za", "sa", "kr", "tr", "uae", "us", "usw", "ussc"};
a user can now specify the regions which are used.
YML Syntax (Under the Misc Section of config.yml):
Example 1:
RegionList:
- Asia
Example 2:
RegionList:
- Asia
- Europe
Example 3:
RegionList: Asia
Example #2 has been added to the config.yml file but it is commented out.
Reasons to add this: