mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-19 04:50:25 -07:00
Support optional config.json
This commit is contained in:
parent
60880455de
commit
2bb188a6a5
14 changed files with 107 additions and 8 deletions
|
|
@ -243,6 +243,10 @@ public class LoginManager {
|
|||
errors++;
|
||||
}
|
||||
if (step == 1) {
|
||||
if (GlobalJsonConfig.instance != null) {
|
||||
client.hostname = GlobalJsonConfig.instance.ip_management;
|
||||
client.port = GlobalJsonConfig.instance.server_port + client.worldListId;
|
||||
}
|
||||
Protocol.socketRequest = GameShell.signLink.openSocket(client.hostname, client.port);
|
||||
step = 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue