Misc changes (#376)

* Allow shop spawn anywhere if develop account + misc

* update client

* Update localhost client

* fixup
This commit is contained in:
Danial
2020-02-15 01:57:26 +13:00
committed by GitHub
parent 34a1fe0e04
commit 02c7c30582
513 changed files with 9 additions and 11 deletions
+5 -7
View File
@@ -4786,7 +4786,7 @@ public class Game extends RSApplet {
if (inputString.equals("::gfxtgl") || inputString.equals("::tglgfx") || inputString.equals("::togglerender") || inputString.equals("::togglegfx")) { if (inputString.equals("::gfxtgl") || inputString.equals("::tglgfx") || inputString.equals("::togglerender") || inputString.equals("::togglegfx")) {
graphicsEnabled = !graphicsEnabled; graphicsEnabled = !graphicsEnabled;
} }
if (myPrivilege == 2) { if (myPrivilege >= 0) {
if (inputString.equals("::clientdrop")) { if (inputString.equals("::clientdrop")) {
dropClient(); dropClient();
} }
@@ -4883,10 +4883,8 @@ public class Game extends RSApplet {
myPlayer.anInt1513 = j2; myPlayer.anInt1513 = j2;
myPlayer.anInt1531 = i3; myPlayer.anInt1531 = i3;
myPlayer.textCycle = 150; myPlayer.textCycle = 150;
if (myPrivilege == 2 || myPrivilege == 3) { if (myPrivilege >= 1) {
pushMessage(myPlayer.textSpoken, 2, "@cr2@" + myPlayer.name); pushMessage(myPlayer.textSpoken, 2, "@cr" + Math.min(2, myPrivilege) + "@" + myPlayer.name);
} else if (myPrivilege == 1) {
pushMessage(myPlayer.textSpoken, 2, "@cr1@" + myPlayer.name);
} else { } else {
pushMessage(myPlayer.textSpoken, 2, myPlayer.name); pushMessage(myPlayer.textSpoken, 2, myPlayer.name);
} }
@@ -8508,7 +8506,7 @@ public class Game extends RSApplet {
aTextDrawingArea_1271.method380("Mem:" + j1 + "k", c, 0xffff00, k); aTextDrawingArea_1271.method380("Mem:" + j1 + "k", c, 0xffff00, k);
k += 15; k += 15;
} }
if (showInfo) { if (showInfo) {
if (super.fps < 15) if (super.fps < 15)
i1 = 0xff0000; i1 = 0xff0000;
aTextDrawingArea_1271.method385(0xffff00, "Fps:" + super.fps, 285, 5); aTextDrawingArea_1271.method385(0xffff00, "Fps:" + super.fps, 285, 5);
@@ -12098,7 +12096,7 @@ public class Game extends RSApplet {
public int anInt1289; public int anInt1289;
public static int tiara; public static int tiara;
public static int anInt1290; public static int anInt1290;
public boolean showInfo = true; public boolean showInfo = false;
public static int anInt1401 = 256; public static int anInt1401 = 256;
public static int[] anIntArray385 = new int[] { 12800, 12800, 12800, 12800, 12800, 12800, public static int[] anIntArray385 = new int[] { 12800, 12800, 12800, 12800, 12800, 12800,
12800, 12800, 12800, 12800, 12800, 12800, 12800, 12800, 12800, 12800, 12800, 12800,
+1 -1
View File
@@ -16,7 +16,7 @@ public final class Main {
*/ */
public static void main(String[] args) { public static void main(String[] args) {
ClientSettings.SERVER_IP = "127.0.0.1"; ClientSettings.SERVER_IP = "2006rebotted.hopto.org";
if (args.length > 1) if (args.length > 1)
{ {
System.out.println("Running local"); System.out.println("Running local");

Some files were not shown because too many files have changed in this diff Show More