Client changes

This commit is contained in:
dginovker
2019-06-20 17:42:35 -04:00
parent e825f48dd1
commit cc169b33ab
3 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ public class ClientSettings {
/** /**
* The Servers Ip * The Servers Ip
*/ */
//public final static String SERVER_IP = "35.226.247.68"; public static String SERVER_IP = "35.226.247.68";
public final static String SERVER_IP = "127.0.0.1"; //public final static String SERVER_IP = "127.0.0.1";
/** /**
* The Npc Bits for the Server * The Npc Bits for the Server
*/ */
+3 -3
View File
@@ -3048,12 +3048,12 @@ public class Game extends RSApplet {
} }
method73(); method73();
super.idleTime++; super.idleTime++; //Idle timer nope!
if (super.idleTime > 12000) { /*if (super.idleTime > 12000) {
anInt1011 = 250; anInt1011 = 250;
super.idleTime -= 500; super.idleTime -= 500;
stream.createFrame(202); stream.createFrame(202);
} }*/
anInt988++; anInt988++;
if (anInt988 > 500) { if (anInt988 > 500) {
anInt988 = 0; anInt988 = 0;
+5
View File
@@ -4,6 +4,11 @@ import java.net.UnknownHostException;
public final class Main { public final class Main {
public static void main(String[] args) { public static void main(String[] args) {
if (args.length > 1)
{
System.out.println("Running local");
ClientSettings.SERVER_IP = "127.0.0.1";
}
try { try {
Game game = new Game(); Game game = new Game();
Game.nodeID = 10; Game.nodeID = 10;