Closed AminArria closed 2 weeks ago
muted.mp4 I can't go through the title screen when setting the custom server, but when using the Brazil one it works fine.
@AminArria please explain in the log that the input should be ARENA_IP https://GATEWAY_IP
muted.mp4
I can't go through the title screen when setting the custom server, but when using the Brazil one it works fine.
This was because https://
was missing from the second URL
Motivation
Currently in a client if you get a JWT for one server and then change servers the client will try to re-use that same JWT. In the case of Brazil and Europe it would work cause currently they share gateway server, but if you go from localhost to Europe then you face problems. Essentially when you try to go across gateway servers and have a JWT in your client
Summary of changes
SelectServerIP
to change the gateway server to use and the PlayerPrefs key where the JWT for that server is storedCUSTOM
expects 2 IPs, arena and server in a formatarena_ip gateway_ip
(notice the space, also gateway needs the http/https part)ServerUtils
to use the new information inSelectServerIP
IP
prefabsHow has this been tested?
To test this play across servers without clearing PlayerPrefs or app data
To test with Ngrok you will need to extend your configuration to be able to handle both tunnels. You can modify you ngrok config with
ngrok config edit
and puttingAnd then you can do
ngrok start --all
Checklist