mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Small Cleanup For World 2 Support
Calculate Port For World Based On World Number Use Existing World int For World In Server
This commit is contained in:
@@ -5927,7 +5927,7 @@ public class Game extends RSApplet {
|
||||
loginMessage2 = "Connecting to server...";
|
||||
drawLoginScreen(true);
|
||||
}
|
||||
socketStream = new RSSocket(this, openSocket((ClientSettings.SERVER_WORLD == 1) ? 43594 : 43597 + portOff));
|
||||
socketStream = new RSSocket(this, openSocket((ClientSettings.SERVER_WORLD == 1) ? 43594 : 43595 + ClientSettings.SERVER_WORLD + portOff));
|
||||
long l = TextClass.longForName(s);
|
||||
int i = (int) (l >> 16 & 31L);
|
||||
stream.currentOffset = 0;
|
||||
|
||||
Reference in New Issue
Block a user