mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-11 09:00:23 -07:00
I wish I could exist for a single day without getting a migraine from very stupid issues.
This commit is contained in:
parent
5b3a6bcf5e
commit
9ebcbe56e2
3 changed files with 342 additions and 344 deletions
|
|
@ -1349,8 +1349,8 @@ public final class Client extends GameShell {
|
|||
} else {
|
||||
try {
|
||||
if (PacketParser.anInt80 == 0) {
|
||||
System.out.println("Trying " + GameConfig.Companion.getJS5_SERVER_PORT());
|
||||
Class17.aClass64_413 = Class38.gameSignlink.method1441((byte) 8, Class38_Sub1.accRegistryIp, GameConfig.Companion.getJS5_SERVER_PORT());
|
||||
System.out.println("Trying " + GameConfig.JS5_SERVER_PORT);
|
||||
Class17.aClass64_413 = Class38.gameSignlink.method1441((byte) 8, Class38_Sub1.accRegistryIp, GameConfig.JS5_SERVER_PORT);
|
||||
++PacketParser.anInt80;
|
||||
}
|
||||
|
||||
|
|
@ -1358,7 +1358,7 @@ public final class Client extends GameShell {
|
|||
|
||||
/* If the connection is null we reset the JS5 port to the backup server JS5 for compatibility reasons */
|
||||
if (2 == Objects.requireNonNull(Class17.aClass64_413).anInt978) {
|
||||
GameConfig.Companion.setJS5_SERVER_PORT(GameConfig.SERVER_PORT + ObjectDefinition.paramWorldID);
|
||||
GameConfig.JS5_SERVER_PORT = GameConfig.SERVER_PORT + ObjectDefinition.paramWorldID;
|
||||
this.method46(1000);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue