diff --git a/docs/game_specific_info.md b/docs/game_specific_info.md index 9682bb0..8b00434 100644 --- a/docs/game_specific_info.md +++ b/docs/game_specific_info.md @@ -899,7 +899,7 @@ Config file is `pokken.yaml` | `loglevel` | String indicating how verbose pokken logs should be. Acceptable values are `debug`, `info`, `warn`, and `error`. | `info` | | `auto_register` | For games that don't use aimedb, this controls weather connecting cards that aren't registered should automatically be registered when making a profile. Set to `False` to require cards be already registered before being usable with Pokken. | `True` | | `enable_matching` | If `True`, allow non-local matching. This doesn't currently work because BIWA, the matching protocol the game uses, is not understood, so this should be set to `False`. | `False` | -| `stun_server_host` | Hostname of the STUN server the game will use for matching. | `stunserver.stunprotocol.org` (might not work anymore? recomend changing) | +| `stun_server_host` | Hostname of the STUN server the game will use for matching. | `stunserver2025.stunprotocol.org` | | `stun_server_port` | Port for the external STUN server. Will probably be moved to the `ports` section in the future. | `3478` | #### ports @@ -943,7 +943,7 @@ server: loglevel: "info" auto_register: True enable_matching: False - stun_server_host: "stunserver.stunprotocol.org" + stun_server_host: "stunserver2025.stunprotocol.org" stun_server_port: 3478 ports: diff --git a/example_config/pokken.yaml b/example_config/pokken.yaml index 423d9d3..5111f70 100644 --- a/example_config/pokken.yaml +++ b/example_config/pokken.yaml @@ -4,7 +4,7 @@ server: loglevel: "info" auto_register: True enable_matching: False - stun_server_host: "stunserver.stunprotocol.org" + stun_server_host: "stunserver2025.stunprotocol.org" stun_server_port: 3478 ports: diff --git a/titles/pokken/base.py b/titles/pokken/base.py index f9a622a..ab62931 100644 --- a/titles/pokken/base.py +++ b/titles/pokken/base.py @@ -76,7 +76,7 @@ class PokkenBase: "addr": self.game_cfg.server.stun_server_host, "port": self.game_cfg.server.stun_server_port, }, - "AdmissionUrl": f"ws://{self.game_cfg.server.hostname}:{self.game_cfg.ports.admission}/pokken/admission", + "AdmissionUrl": f"wss://{self.game_cfg.server.hostname}:{self.game_cfg.ports.admission}/pokken/admission", "locationId": locid, "logfilename": "J:\\JackalMatchingLibrary.log", "biwalogfilename": "J:\\biwa_log.log", diff --git a/titles/pokken/config.py b/titles/pokken/config.py index d3741af..5c69334 100644 --- a/titles/pokken/config.py +++ b/titles/pokken/config.py @@ -50,7 +50,7 @@ class PokkenServerConfig: Hostname of the EXTERNAL stun server the game should connect to. This is not handled by artemis. """ return CoreConfig.get_config_field( - self.__config, "pokken", "server", "stun_server_host", default="stunserver.stunprotocol.org" + self.__config, "pokken", "server", "stun_server_host", default="stunserver2025.stunprotocol.org" ) @property