Woops Wrong Ports

This commit is contained in:
Dark98
2021-11-14 23:02:53 +00:00
parent ccc0353bad
commit 00932b82ee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5927,7 +5927,7 @@ public class Game extends RSApplet {
loginMessage2 = "Connecting to server..."; loginMessage2 = "Connecting to server...";
drawLoginScreen(true); drawLoginScreen(true);
} }
socketStream = new RSSocket(this, openSocket((ClientSettings.SERVER_WORLD == 1) ? 43594 : 43595 + ClientSettings.SERVER_WORLD + portOff)); socketStream = new RSSocket(this, openSocket((ClientSettings.SERVER_WORLD == 1) ? 43594 : 43596 + ClientSettings.SERVER_WORLD + portOff));
long l = TextClass.longForName(s); long l = TextClass.longForName(s);
int i = (int) (l >> 16 & 31L); int i = (int) (l >> 16 & 31L);
stream.currentOffset = 0; stream.currentOffset = 0;
@@ -135,7 +135,7 @@ public class GameEngine {
* Port and Cycle rate. * Port and Cycle rate.
*/ */
static { static {
serverlistenerPort = (GameConstants.WORLD == 1) ? 43594 : 43595 + GameConstants.WORLD; serverlistenerPort = (GameConstants.WORLD == 1) ? 43594 : 43596 + GameConstants.WORLD;
shutdownServer = false; shutdownServer = false;
} }