rev187
This commit is contained in:
@@ -1,33 +1,49 @@
|
||||
import java.net.URL;
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("br")
|
||||
@ObfuscatedName("bo")
|
||||
@Implements("MouseRecorder")
|
||||
public class MouseRecorder implements Runnable {
|
||||
@ObfuscatedName("e")
|
||||
static int[] field588;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("bo")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1462457493
|
||||
)
|
||||
static int field564;
|
||||
@ObfuscatedName("dt")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lif;"
|
||||
)
|
||||
@Export("archive7")
|
||||
static Archive archive7;
|
||||
@ObfuscatedName("ee")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -365482057
|
||||
)
|
||||
@Export("port2")
|
||||
static int port2;
|
||||
@ObfuscatedName("f")
|
||||
@Export("isRunning")
|
||||
boolean isRunning;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("i")
|
||||
@Export("lock")
|
||||
Object lock;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -499559501
|
||||
intValue = -134768521
|
||||
)
|
||||
@Export("index")
|
||||
int index;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("w")
|
||||
@Export("xs")
|
||||
int[] xs;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("p")
|
||||
@Export("ys")
|
||||
int[] ys;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("b")
|
||||
@Export("millis")
|
||||
long[] millis;
|
||||
|
||||
@@ -41,7 +57,7 @@ public class MouseRecorder implements Runnable {
|
||||
}
|
||||
|
||||
public void run() {
|
||||
while (this.isRunning) {
|
||||
for (; this.isRunning; ServerBuild.method4111(50L)) {
|
||||
synchronized(this.lock) {
|
||||
if (this.index < 500) {
|
||||
this.xs[this.index] = MouseHandler.MouseHandler_x;
|
||||
@@ -50,29 +66,61 @@ public class MouseRecorder implements Runnable {
|
||||
++this.index;
|
||||
}
|
||||
}
|
||||
|
||||
long var4 = 49L;
|
||||
|
||||
try {
|
||||
Thread.sleep(var4);
|
||||
} catch (InterruptedException var7) {
|
||||
}
|
||||
|
||||
try {
|
||||
Thread.sleep(1L);
|
||||
} catch (InterruptedException var6) {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("jc")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)Z",
|
||||
garbageValue = "42"
|
||||
signature = "(I)Z",
|
||||
garbageValue = "1809769909"
|
||||
)
|
||||
@Export("getTapToDrop")
|
||||
static boolean getTapToDrop() {
|
||||
return Client.tapToDrop;
|
||||
@Export("loadWorlds")
|
||||
static boolean loadWorlds() {
|
||||
try {
|
||||
if (Login.World_request == null) {
|
||||
Login.World_request = BufferedNetSocket.urlRequester.request(new URL(TextureProvider.field1510));
|
||||
} else if (Login.World_request.isDone()) {
|
||||
byte[] var0 = Login.World_request.getResponse();
|
||||
Buffer var1 = new Buffer(var0);
|
||||
var1.readInt();
|
||||
World.World_count = var1.readUnsignedShort();
|
||||
class162.World_worlds = new World[World.World_count];
|
||||
|
||||
World var3;
|
||||
for (int var2 = 0; var2 < World.World_count; var3.index = var2++) {
|
||||
var3 = class162.World_worlds[var2] = new World();
|
||||
var3.id = var1.readUnsignedShort();
|
||||
var3.properties = var1.readInt();
|
||||
var3.host = var1.readStringCp1252NullTerminated();
|
||||
var3.activity = var1.readStringCp1252NullTerminated();
|
||||
var3.location = var1.readUnsignedByte();
|
||||
var3.population = var1.readShort();
|
||||
}
|
||||
|
||||
class192.sortWorlds(class162.World_worlds, 0, class162.World_worlds.length - 1, World.World_sortOption1, World.World_sortOption2);
|
||||
Login.World_request = null;
|
||||
return true;
|
||||
}
|
||||
} catch (Exception var4) {
|
||||
var4.printStackTrace();
|
||||
Login.World_request = null;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)V",
|
||||
garbageValue = "171278603"
|
||||
)
|
||||
static void method1187() {
|
||||
for (ObjectSound var0 = (ObjectSound)ObjectSound.objectSounds.last(); var0 != null; var0 = (ObjectSound)ObjectSound.objectSounds.previous()) {
|
||||
if (var0.obj != null) {
|
||||
var0.set();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user