mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
Moved around some Static fields/methods, named LocType opcode 74
This commit is contained in:
parent
82c75b3ec9
commit
5e66d3ba01
95 changed files with 946 additions and 993 deletions
|
|
@ -59,7 +59,8 @@ public final class AnimFrameset extends SecondaryNode {
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
return new AnimFrameset(animsArchive, basesArchive, id, false);
|
return new AnimFrameset(animsArchive, basesArchive, id, false);
|
||||||
} catch (@Pc(84) Exception local84) {
|
} catch (@Pc(84) Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,8 @@ public class AudioChannel {
|
||||||
thread.channels[arg3] = audioChannel;
|
thread.channels[arg3] = audioChannel;
|
||||||
}
|
}
|
||||||
return audioChannel;
|
return audioChannel;
|
||||||
} catch (@Pc(109) Throwable local109) {
|
} catch (@Pc(109) Throwable ex1) {
|
||||||
|
ex1.printStackTrace();
|
||||||
try {
|
try {
|
||||||
@Pc(120) SignLinkAudioChannel local120 = new SignLinkAudioChannel(arg1, arg3);
|
@Pc(120) SignLinkAudioChannel local120 = new SignLinkAudioChannel(arg1, arg3);
|
||||||
local120.samples = new int[(stereo ? 2 : 1) * 256];
|
local120.samples = new int[(stereo ? 2 : 1) * 256];
|
||||||
|
|
@ -120,7 +121,8 @@ public class AudioChannel {
|
||||||
thread.channels[arg3] = local120;
|
thread.channels[arg3] = local120;
|
||||||
}
|
}
|
||||||
return local120;
|
return local120;
|
||||||
} catch (@Pc(186) Throwable local186) {
|
} catch (@Pc(186) Throwable ex2) {
|
||||||
|
ex2.printStackTrace();
|
||||||
return new AudioChannel();
|
return new AudioChannel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -303,7 +305,8 @@ public class AudioChannel {
|
||||||
this.consumedSamples = 0;
|
this.consumedSamples = 0;
|
||||||
}
|
}
|
||||||
this.prevBufferSize = local38;
|
this.prevBufferSize = local38;
|
||||||
} catch (@Pc(202) Exception local202) {
|
} catch (@Pc(202) Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
this.flush();
|
this.flush();
|
||||||
this.closeUntil = now + 2000L;
|
this.closeUntil = now + 2000L;
|
||||||
}
|
}
|
||||||
|
|
@ -315,7 +318,8 @@ public class AudioChannel {
|
||||||
this.skip();
|
this.skip();
|
||||||
this.time += 256000 / sampleRate;
|
this.time += 256000 / sampleRate;
|
||||||
}
|
}
|
||||||
} catch (@Pc(247) Exception local247) {
|
} catch (@Pc(247) Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
this.time = now;
|
this.time = now;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -348,7 +352,8 @@ public class AudioChannel {
|
||||||
this.skipConsumptionCheck = true;
|
this.skipConsumptionCheck = true;
|
||||||
try {
|
try {
|
||||||
this.close();
|
this.close();
|
||||||
} catch (@Pc(10) Exception local10) {
|
} catch (@Pc(10) Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
this.flush();
|
this.flush();
|
||||||
this.closeUntil = MonotonicClock.currentTimeMillis() + 2000L;
|
this.closeUntil = MonotonicClock.currentTimeMillis() + 2000L;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ public final class AudioThread implements Runnable {
|
||||||
GameShell.flush(this.signLink, null);
|
GameShell.flush(this.signLink, null);
|
||||||
}
|
}
|
||||||
} catch (@Pc(43) Exception ex) {
|
} catch (@Pc(43) Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
TracingException.report(null, ex);
|
TracingException.report(null, ex);
|
||||||
} finally {
|
} finally {
|
||||||
this.running = false;
|
this.running = false;
|
||||||
|
|
|
||||||
|
|
@ -179,6 +179,7 @@ public final class BufferedFile {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (@Pc(464) IOException ex) {
|
} catch (@Pc(464) IOException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
this.physicalPosition = -1L;
|
this.physicalPosition = -1L;
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
|
|
@ -276,6 +277,7 @@ public final class BufferedFile {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (@Pc(414) IOException ex) {
|
} catch (@Pc(414) IOException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
this.physicalPosition = -1L;
|
this.physicalPosition = -1L;
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,8 @@ public final class Cache {
|
||||||
@Pc(297) byte[] local297 = local134;
|
@Pc(297) byte[] local297 = local134;
|
||||||
return local297;
|
return local297;
|
||||||
}
|
}
|
||||||
} catch (@Pc(301) IOException local301) {
|
} catch (@Pc(301) IOException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ public class Cheat {
|
||||||
Chat.add(null, 0, JagString.concatenate(new JagString[] { RECT_DEBUG_EQUALS, JagString.parseInt(rectDebug) }));
|
Chat.add(null, 0, JagString.concatenate(new JagString[] { RECT_DEBUG_EQUALS, JagString.parseInt(rectDebug) }));
|
||||||
}
|
}
|
||||||
if (arg0.equalsIgnoreCase(QA_OP_TEST)) {
|
if (arg0.equalsIgnoreCase(QA_OP_TEST)) {
|
||||||
Static121.aBoolean154 = true;
|
Static121.qaOpTest = true;
|
||||||
}
|
}
|
||||||
if (arg0.equalsIgnoreCase(TWEENING)) {
|
if (arg0.equalsIgnoreCase(TWEENING)) {
|
||||||
if (SeqType.applyTweening) {
|
if (SeqType.applyTweening) {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ public class ClientProt {
|
||||||
ScriptRunner.run(local19);
|
ScriptRunner.run(local19);
|
||||||
}
|
}
|
||||||
@Pc(37) boolean local37 = true;
|
@Pc(37) boolean local37 = true;
|
||||||
if (local8.anInt453 > 0) {
|
if (local8.clientCode > 0) {
|
||||||
local37 = MiniMenu.method4265(local8);
|
local37 = MiniMenu.method4265(local8);
|
||||||
}
|
}
|
||||||
if (!local37 || !InterfaceList.getServerActiveProperties(local8).method503(arg2 - 1)) {
|
if (!local37 || !InterfaceList.getServerActiveProperties(local8).method503(arg2 - 1)) {
|
||||||
|
|
@ -453,12 +453,12 @@ public class ClientProt {
|
||||||
InterfaceList.redraw(Static40.aClass13_14);
|
InterfaceList.redraw(Static40.aClass13_14);
|
||||||
Static40.anInt4851++;
|
Static40.anInt4851++;
|
||||||
if (Static44.aBoolean83 && Static146.aBoolean174) {
|
if (Static44.aBoolean83 && Static146.aBoolean174) {
|
||||||
@Pc(30) int local30 = Mouse.anInt4873;
|
@Pc(30) int local30 = Mouse.lastMouseX;
|
||||||
local30 -= Static40.anInt5388;
|
local30 -= Static40.anInt5388;
|
||||||
if (Static81.anInt2225 > local30) {
|
if (Static81.anInt2225 > local30) {
|
||||||
local30 = Static81.anInt2225;
|
local30 = Static81.anInt2225;
|
||||||
}
|
}
|
||||||
@Pc(41) int local41 = Mouse.anInt5032;
|
@Pc(41) int local41 = Mouse.lastMouseY;
|
||||||
if (Static81.anInt2225 + Static40.aClass13_1.width < local30 - -Static40.aClass13_14.width) {
|
if (Static81.anInt2225 + Static40.aClass13_1.width < local30 - -Static40.aClass13_14.width) {
|
||||||
local30 = Static81.anInt2225 + Static40.aClass13_1.width - Static40.aClass13_14.width;
|
local30 = Static81.anInt2225 + Static40.aClass13_1.width - Static40.aClass13_14.width;
|
||||||
}
|
}
|
||||||
|
|
@ -504,7 +504,7 @@ public class ClientProt {
|
||||||
Protocol.outboundBuffer.p4(Static56.aClass13_12.id);
|
Protocol.outboundBuffer.p4(Static56.aClass13_12.id);
|
||||||
Protocol.outboundBuffer.p2le(Static40.aClass13_14.createdComponentId);
|
Protocol.outboundBuffer.p2le(Static40.aClass13_14.createdComponentId);
|
||||||
}
|
}
|
||||||
} else if ((Static116.anInt2952 == 1 || MiniMenu.method4640(MiniMenu.size - 1)) && MiniMenu.size > 2) {
|
} else if ((VarpDomain.anInt2952 == 1 || MiniMenu.method4640(MiniMenu.size - 1)) && MiniMenu.size > 2) {
|
||||||
Static226.method3901();
|
Static226.method3901();
|
||||||
} else if (MiniMenu.size > 0) {
|
} else if (MiniMenu.size > 0) {
|
||||||
Static59.method1372();
|
Static59.method1372();
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,9 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
@OriginalClass("client!pf")
|
@OriginalClass("client!pf")
|
||||||
public final class ColorImageCache {
|
public final class ColorImageCache {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!pf", name = "d", descriptor = "I")
|
@OriginalMember(owner = "client!ib", name = "c", descriptor = "Lclient!qi;")
|
||||||
|
public static final ColorImageCacheEntry VALID = new ColorImageCacheEntry(0, 0);
|
||||||
|
@OriginalMember(owner = "client!pf", name = "d", descriptor = "I")
|
||||||
private int size = 0;
|
private int size = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!pf", name = "m", descriptor = "I")
|
@OriginalMember(owner = "client!pf", name = "m", descriptor = "I")
|
||||||
|
|
@ -55,7 +57,7 @@ public final class ColorImageCache {
|
||||||
public final int[] method3445(@OriginalArg(1) int row) {
|
public final int[] method3445(@OriginalArg(1) int row) {
|
||||||
if (this.height == this.capacity) {
|
if (this.height == this.capacity) {
|
||||||
this.invalid = this.entries[row] == null;
|
this.invalid = this.entries[row] == null;
|
||||||
this.entries[row] = Static105.VALID;
|
this.entries[row] = VALID;
|
||||||
return this.pixels[row];
|
return this.pixels[row];
|
||||||
} else if (this.capacity == 1) {
|
} else if (this.capacity == 1) {
|
||||||
this.invalid = this.singleRow != row;
|
this.invalid = this.singleRow != row;
|
||||||
|
|
@ -89,7 +91,7 @@ public final class ColorImageCache {
|
||||||
throw new RuntimeException("Can only retrieve a full image cache");
|
throw new RuntimeException("Can only retrieve a full image cache");
|
||||||
}
|
}
|
||||||
for (@Pc(24) int local24 = 0; local24 < this.capacity; local24++) {
|
for (@Pc(24) int local24 = 0; local24 < this.capacity; local24++) {
|
||||||
this.entries[local24] = Static105.VALID;
|
this.entries[local24] = VALID;
|
||||||
}
|
}
|
||||||
return this.pixels;
|
return this.pixels;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,7 @@ public final class Component {
|
||||||
public boolean textAntiMacro = false;
|
public boolean textAntiMacro = false;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "cb", descriptor = "I")
|
@OriginalMember(owner = "client!be", name = "cb", descriptor = "I")
|
||||||
public int anInt465 = -1;
|
public int rectangleLoop = -1;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "jc", descriptor = "I")
|
@OriginalMember(owner = "client!be", name = "jc", descriptor = "I")
|
||||||
public int anInt496 = 1;
|
public int anInt496 = 1;
|
||||||
|
|
@ -296,7 +296,7 @@ public final class Component {
|
||||||
public int anInt480 = 0;
|
public int anInt480 = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "Hb", descriptor = "Z")
|
@OriginalMember(owner = "client!be", name = "Hb", descriptor = "Z")
|
||||||
public boolean usingScripts = false;
|
public boolean if3 = false;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!di", name = "F", descriptor = "Lclient!bf;")
|
@OriginalMember(owner = "client!di", name = "F", descriptor = "Lclient!bf;")
|
||||||
public static final ServerActiveProperties DEFAULT_SERVER_ACTIVE_PROPERTIES = new ServerActiveProperties(0, -1);
|
public static final ServerActiveProperties DEFAULT_SERVER_ACTIVE_PROPERTIES = new ServerActiveProperties(0, -1);
|
||||||
|
|
@ -431,10 +431,10 @@ public final class Component {
|
||||||
public int objCount = 0;
|
public int objCount = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "Uc", descriptor = "I")
|
@OriginalMember(owner = "client!be", name = "Uc", descriptor = "I")
|
||||||
public int anInt517 = -1;
|
public int rectangle = -1;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "K", descriptor = "I")
|
@OriginalMember(owner = "client!be", name = "K", descriptor = "I")
|
||||||
public int anInt453 = 0;
|
public int clientCode = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "Oc", descriptor = "I")
|
@OriginalMember(owner = "client!be", name = "Oc", descriptor = "I")
|
||||||
public int shadowColor = 0;
|
public int shadowColor = 0;
|
||||||
|
|
@ -565,10 +565,10 @@ public final class Component {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "a", descriptor = "(ILclient!wa;)V")
|
@OriginalMember(owner = "client!be", name = "a", descriptor = "(ILclient!wa;)V")
|
||||||
public final void decodeNoScripts(@OriginalArg(1) Buffer arg0) {
|
public final void decodeNoScripts(@OriginalArg(1) Buffer arg0) {
|
||||||
this.usingScripts = false;
|
this.if3 = false;
|
||||||
this.type = arg0.g1();
|
this.type = arg0.g1();
|
||||||
this.anInt530 = arg0.g1();
|
this.anInt530 = arg0.g1();
|
||||||
this.anInt453 = arg0.g2();
|
this.clientCode = arg0.g2();
|
||||||
this.baseX = arg0.g2s();
|
this.baseX = arg0.g2s();
|
||||||
this.baseY = arg0.g2s();
|
this.baseY = arg0.g2s();
|
||||||
this.baseWidth = arg0.g2();
|
this.baseWidth = arg0.g2();
|
||||||
|
|
@ -840,13 +840,14 @@ public final class Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "b", descriptor = "(III)V")
|
@OriginalMember(owner = "client!be", name = "b", descriptor = "(III)V")
|
||||||
public final void swapObjs(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
public final void swapObjs(@OriginalArg(0) int oldIndex, @OriginalArg(1) int newIndex) {
|
||||||
@Pc(8) int local8 = this.objTypes[arg1];
|
@Pc(8) int tmpObj = this.objTypes[newIndex];
|
||||||
this.objTypes[arg1] = this.objTypes[arg0];
|
this.objTypes[newIndex] = this.objTypes[oldIndex];
|
||||||
this.objTypes[arg0] = local8;
|
this.objTypes[oldIndex] = tmpObj;
|
||||||
@Pc(34) int local34 = this.objCounts[arg1];
|
|
||||||
this.objCounts[arg1] = this.objCounts[arg0];
|
@Pc(34) int tmpCount = this.objCounts[newIndex];
|
||||||
this.objCounts[arg0] = local34;
|
this.objCounts[newIndex] = this.objCounts[oldIndex];
|
||||||
|
this.objCounts[oldIndex] = tmpCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "a", descriptor = "(ILclient!tk;IIIZLclient!hh;)Lclient!ak;")
|
@OriginalMember(owner = "client!be", name = "a", descriptor = "(ILclient!tk;IIIZLclient!hh;)Lclient!ak;")
|
||||||
|
|
@ -995,14 +996,14 @@ public final class Component {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!be", name = "c", descriptor = "(ILclient!wa;)V")
|
@OriginalMember(owner = "client!be", name = "c", descriptor = "(ILclient!wa;)V")
|
||||||
public final void decodeScriptFormat(@OriginalArg(1) Buffer buffer) {
|
public final void decodeScriptFormat(@OriginalArg(1) Buffer buffer) {
|
||||||
this.usingScripts = true;
|
this.if3 = true;
|
||||||
buffer.offset++;
|
buffer.offset++;
|
||||||
this.type = buffer.g1();
|
this.type = buffer.g1();
|
||||||
if ((this.type & 0x80) != 0) {
|
if ((this.type & 0x80) != 0) {
|
||||||
this.type &= 0x7F;
|
this.type &= 0x7F;
|
||||||
buffer.gjstr();
|
buffer.gjstr();
|
||||||
}
|
}
|
||||||
this.anInt453 = buffer.g2();
|
this.clientCode = buffer.g2();
|
||||||
this.baseX = buffer.g2s();
|
this.baseX = buffer.g2s();
|
||||||
this.baseY = buffer.g2s();
|
this.baseY = buffer.g2s();
|
||||||
this.baseWidth = buffer.g2();
|
this.baseWidth = buffer.g2();
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ public final class DisplayMode {
|
||||||
public static DisplayMode[] aClass114Array1;
|
public static DisplayMode[] aClass114Array1;
|
||||||
@OriginalMember(owner = "client!rc", name = "M", descriptor = "Z")
|
@OriginalMember(owner = "client!rc", name = "M", descriptor = "Z")
|
||||||
public static boolean aBoolean73 = false;
|
public static boolean aBoolean73 = false;
|
||||||
|
@OriginalMember(owner = "client!jk", name = "y", descriptor = "Z")
|
||||||
|
public static boolean aBoolean156 = false;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!od", name = "j", descriptor = "I")
|
@OriginalMember(owner = "client!od", name = "j", descriptor = "I")
|
||||||
public int width;
|
public int width;
|
||||||
|
|
@ -64,9 +66,9 @@ public final class DisplayMode {
|
||||||
public static int getWindowMode() {
|
public static int getWindowMode() {
|
||||||
if (GameShell.fullScreenFrame != null) {
|
if (GameShell.fullScreenFrame != null) {
|
||||||
return 3;
|
return 3;
|
||||||
} else if (GlRenderer.enabled && Static124.aBoolean156) {
|
} else if (GlRenderer.enabled && aBoolean156) {
|
||||||
return 2;
|
return 2;
|
||||||
} else if (GlRenderer.enabled && !Static124.aBoolean156) {
|
} else if (GlRenderer.enabled && !aBoolean156) {
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -224,9 +226,9 @@ public final class DisplayMode {
|
||||||
client.method2721();
|
client.method2721();
|
||||||
}
|
}
|
||||||
if (arg1 >= 2) {
|
if (arg1 >= 2) {
|
||||||
Static124.aBoolean156 = true;
|
aBoolean156 = true;
|
||||||
} else {
|
} else {
|
||||||
Static124.aBoolean156 = false;
|
aBoolean156 = false;
|
||||||
}
|
}
|
||||||
if (InterfaceList.topLevelInterface != -1) {
|
if (InterfaceList.topLevelInterface != -1) {
|
||||||
Static210.method3712(true);
|
Static210.method3712(true);
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ public class Flames {
|
||||||
public static final JagString RUNES = JagString.parse("runes");
|
public static final JagString RUNES = JagString.parse("runes");
|
||||||
@OriginalMember(owner = "client!km", name = "Yc", descriptor = "I")
|
@OriginalMember(owner = "client!km", name = "Yc", descriptor = "I")
|
||||||
public static int anInt3443;
|
public static int anInt3443;
|
||||||
|
@OriginalMember(owner = "client!uf", name = "e", descriptor = "I")
|
||||||
|
public static int anInt5434 = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!gg", name = "a", descriptor = "(ILclient!ve;)V")
|
@OriginalMember(owner = "client!gg", name = "a", descriptor = "(ILclient!ve;)V")
|
||||||
public static void init(@OriginalArg(1) Js5 arg0) {
|
public static void init(@OriginalArg(1) Js5 arg0) {
|
||||||
|
|
@ -23,6 +25,6 @@ public class Flames {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!wa", name = "a", descriptor = "(Z)V")
|
@OriginalMember(owner = "client!wa", name = "a", descriptor = "(Z)V")
|
||||||
public static void update() {
|
public static void update() {
|
||||||
Static250.anInt5434++;
|
anInt5434++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,7 @@ public final class GlRenderer {
|
||||||
lightingEnabled = true;
|
lightingEnabled = true;
|
||||||
depthTestEnabled = true;
|
depthTestEnabled = true;
|
||||||
fogEnabled = true;
|
fogEnabled = true;
|
||||||
Static83.method440();
|
resetMaterial();
|
||||||
gl.glActiveTexture(GL2.GL_TEXTURE1);
|
gl.glActiveTexture(GL2.GL_TEXTURE1);
|
||||||
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_TEXTURE_ENV_MODE, GL2.GL_COMBINE);
|
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_TEXTURE_ENV_MODE, GL2.GL_COMBINE);
|
||||||
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_COMBINE_RGB, GL2.GL_MODULATE);
|
gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_COMBINE_RGB, GL2.GL_MODULATE);
|
||||||
|
|
@ -811,4 +811,9 @@ public final class GlRenderer {
|
||||||
LightingManager.method2401();
|
LightingManager.method2401();
|
||||||
MaterialManager.init();
|
MaterialManager.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!gj", name = "b", descriptor = "(I)V")
|
||||||
|
public static void resetMaterial() {
|
||||||
|
MaterialManager.setMaterial(0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,16 @@ public class InterfaceList {
|
||||||
public static final int[] keyCodes = new int[128];
|
public static final int[] keyCodes = new int[128];
|
||||||
@OriginalMember(owner = "client!rb", name = "b", descriptor = "Lclient!sc;")
|
@OriginalMember(owner = "client!rb", name = "b", descriptor = "Lclient!sc;")
|
||||||
public static final HashTable properties = new HashTable(512);
|
public static final HashTable properties = new HashTable(512);
|
||||||
|
@OriginalMember(owner = "client!vh", name = "b", descriptor = "[I")
|
||||||
|
public static final int[] rectangleX = new int[100];
|
||||||
|
@OriginalMember(owner = "client!e", name = "sc", descriptor = "[I")
|
||||||
|
public static final int[] rectangleY = new int[100];
|
||||||
|
@OriginalMember(owner = "client!sd", name = "V", descriptor = "[I")
|
||||||
|
public static final int[] rectangleWidth = new int[100];
|
||||||
|
@OriginalMember(owner = "client!fe", name = "lb", descriptor = "[I")
|
||||||
|
public static final int[] rectangleHeight = new int[100];
|
||||||
@OriginalMember(owner = "client!bn", name = "V", descriptor = "I")
|
@OriginalMember(owner = "client!bn", name = "V", descriptor = "I")
|
||||||
public static int anInt766 = 0;
|
public static int rectangles = 0;
|
||||||
@OriginalMember(owner = "client!md", name = "W", descriptor = "I")
|
@OriginalMember(owner = "client!md", name = "W", descriptor = "I")
|
||||||
public static int topLevelInterface = -1;
|
public static int topLevelInterface = -1;
|
||||||
@OriginalMember(owner = "client!bm", name = "f", descriptor = "Lclient!ve;")
|
@OriginalMember(owner = "client!bm", name = "f", descriptor = "Lclient!ve;")
|
||||||
|
|
@ -127,7 +135,7 @@ public class InterfaceList {
|
||||||
@Pc(27) int local27;
|
@Pc(27) int local27;
|
||||||
for (local27 = 0; local27 < local25.length; local27++) {
|
for (local27 = 0; local27 < local25.length; local27++) {
|
||||||
if (local25[local27] != null) {
|
if (local25[local27] != null) {
|
||||||
local21 = local25[local27].usingScripts;
|
local21 = local25[local27].if3;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -144,23 +152,22 @@ public class InterfaceList {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!af", name = "a", descriptor = "(BI)Lclient!be;")
|
@OriginalMember(owner = "client!af", name = "a", descriptor = "(BI)Lclient!be;")
|
||||||
public static Component getComponent(@OriginalArg(1) int id) {
|
public static Component getComponent(@OriginalArg(1) int id) {
|
||||||
// TODO: _why_ are there some interfaces/components that are null! (i.e. banking)
|
|
||||||
try {
|
try {
|
||||||
@Pc(7) int interfaceId = id >> 16;
|
@Pc(7) int parent = id >> 16;
|
||||||
@Pc(18) int componentId = id & 0xFFFF;
|
@Pc(18) int child = id & 0xFFFF;
|
||||||
if (components.length <= interfaceId || interfaceId < 0) {
|
if (components.length <= parent || parent < 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (components[interfaceId] == null || components[interfaceId].length <= componentId || components[interfaceId][componentId] == null) {
|
if (components[parent] == null || components[parent].length <= child || components[parent][child] == null) {
|
||||||
@Pc(33) boolean success = load(interfaceId);
|
@Pc(33) boolean success = load(parent);
|
||||||
if (!success) {
|
if (!success) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (components[interfaceId].length <= componentId) {
|
if (components[parent].length <= child) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return components[interfaceId][componentId];
|
return components[parent][child];
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
|
|
@ -175,8 +182,8 @@ public class InterfaceList {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!dg", name = "a", descriptor = "(ILclient!be;)V")
|
@OriginalMember(owner = "client!dg", name = "a", descriptor = "(ILclient!be;)V")
|
||||||
public static void redraw(@OriginalArg(1) Component arg0) {
|
public static void redraw(@OriginalArg(1) Component arg0) {
|
||||||
if (Static182.anInt4311 == arg0.anInt465) {
|
if (Static182.anInt4311 == arg0.rectangleLoop) {
|
||||||
Static186.aBooleanArray100[arg0.anInt517] = true;
|
Static186.aBooleanArray100[arg0.rectangle] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -185,7 +192,7 @@ public class InterfaceList {
|
||||||
if (!getServerActiveProperties(arg0).method503(arg1) && arg0.onOptionClick == null) {
|
if (!getServerActiveProperties(arg0).method503(arg1) && arg0.onOptionClick == null) {
|
||||||
return null;
|
return null;
|
||||||
} else if (arg0.ops == null || arg0.ops.length <= arg1 || arg0.ops[arg1] == null || arg0.ops[arg1].trim().length() == 0) {
|
} else if (arg0.ops == null || arg0.ops.length <= arg1 || arg0.ops[arg1] == null || arg0.ops[arg1].trim().length() == 0) {
|
||||||
return Static121.aBoolean154 ? JagString.concatenate(new JagString[] { Static207.aClass100_903, JagString.parseInt(arg1) }) : null;
|
return Static121.qaOpTest ? JagString.concatenate(new JagString[] { Static207.aClass100_903, JagString.parseInt(arg1) }) : null;
|
||||||
} else {
|
} else {
|
||||||
return arg0.ops[arg1];
|
return arg0.ops[arg1];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -87,9 +87,9 @@ public final class LiquidMaterialRenderer implements MaterialRenderer {
|
||||||
local5.glCallList(this.anInt4831);
|
local5.glCallList(this.anInt4831);
|
||||||
local5.glActiveTexture(GL2.GL_TEXTURE1);
|
local5.glActiveTexture(GL2.GL_TEXTURE1);
|
||||||
local5.glMatrixMode(GL2.GL_TEXTURE);
|
local5.glMatrixMode(GL2.GL_TEXTURE);
|
||||||
local5.glTranslatef((float) Static12.anInt406, (float) Static199.anInt4675, (float) Static230.anInt5158);
|
local5.glTranslatef((float) Static253.anInt406, (float) Static253.anInt4675, (float) Static253.anInt5158);
|
||||||
local5.glRotatef(-((float) Static59.anInt1815 * 360.0F) / 2048.0F, 0.0F, 1.0F, 0.0F);
|
local5.glRotatef(-((float) Static253.anInt1815 * 360.0F) / 2048.0F, 0.0F, 1.0F, 0.0F);
|
||||||
local5.glRotatef(-((float) Static254.anInt5559 * 360.0F) / 2048.0F, 1.0F, 0.0F, 0.0F);
|
local5.glRotatef(-((float) Static253.anInt5559 * 360.0F) / 2048.0F, 1.0F, 0.0F, 0.0F);
|
||||||
local5.glRotatef(-180.0F, 1.0F, 0.0F, 0.0F);
|
local5.glRotatef(-180.0F, 1.0F, 0.0F, 0.0F);
|
||||||
local5.glMatrixMode(GL2.GL_MODELVIEW);
|
local5.glMatrixMode(GL2.GL_MODELVIEW);
|
||||||
if (!Static151.allows3DTextureMapping) {
|
if (!Static151.allows3DTextureMapping) {
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ public final class LocType {
|
||||||
private int resizeY = 128;
|
private int resizeY = 128;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!pb", name = "y", descriptor = "Z")
|
@OriginalMember(owner = "client!pb", name = "y", descriptor = "Z")
|
||||||
public boolean aBoolean210 = false;
|
public boolean breakroutefinding = false;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!pb", name = "kb", descriptor = "I")
|
@OriginalMember(owner = "client!pb", name = "kb", descriptor = "I")
|
||||||
public int anInt4429 = -1;
|
public int anInt4429 = -1;
|
||||||
|
|
@ -514,7 +514,7 @@ public final class LocType {
|
||||||
} else if (arg1 == 73) {
|
} else if (arg1 == 73) {
|
||||||
this.aBoolean206 = true;
|
this.aBoolean206 = true;
|
||||||
} else if (arg1 == 74) {
|
} else if (arg1 == 74) {
|
||||||
this.aBoolean210 = true;
|
this.breakroutefinding = true;
|
||||||
} else if (arg1 == 75) {
|
} else if (arg1 == 75) {
|
||||||
this.anInt4438 = arg0.g1();
|
this.anInt4438 = arg0.g1();
|
||||||
} else if (arg1 == 77 || arg1 == 92) {
|
} else if (arg1 == 77 || arg1 == 92) {
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ public class LocTypeList {
|
||||||
if (!allowMembers && local15.members) {
|
if (!allowMembers && local15.members) {
|
||||||
local15.ops = null;
|
local15.ops = null;
|
||||||
}
|
}
|
||||||
if (local15.aBoolean210) {
|
if (local15.breakroutefinding) {
|
||||||
local15.anInt4435 = 0;
|
local15.anInt4435 = 0;
|
||||||
local15.aBoolean207 = false;
|
local15.aBoolean207 = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -774,4 +774,39 @@ public class LoginManager {
|
||||||
Static99.aClass69_64.clear();
|
Static99.aClass69_64.clear();
|
||||||
Static217.aClass69_116.clear();
|
Static217.aClass69_116.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!dh", name = "a", descriptor = "(Z)V")
|
||||||
|
public static void reconnect() {
|
||||||
|
Protocol.outboundBuffer.offset = 0;
|
||||||
|
Protocol.opcode3 = -1;
|
||||||
|
Static40.aBoolean108 = false;
|
||||||
|
Protocol.length = 0;
|
||||||
|
mapFlagX = 0;
|
||||||
|
MiniMenu.size = 0;
|
||||||
|
Protocol.opcode2 = -1;
|
||||||
|
MiniMap.state = 0;
|
||||||
|
Player.rebootTimer = 0;
|
||||||
|
Protocol.opcode4 = -1;
|
||||||
|
Protocol.inboundBuffer.offset = 0;
|
||||||
|
Static201.anInt1862 = 0;
|
||||||
|
Protocol.opcode = -1;
|
||||||
|
@Pc(35) int local35;
|
||||||
|
for (local35 = 0; local35 < PlayerList.players.length; local35++) {
|
||||||
|
if (PlayerList.players[local35] != null) {
|
||||||
|
PlayerList.players[local35].faceEntity = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (local35 = 0; local35 < NpcList.npcs.length; local35++) {
|
||||||
|
if (NpcList.npcs[local35] != null) {
|
||||||
|
NpcList.npcs[local35].faceEntity = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Inv.method2073();
|
||||||
|
Camera.cameraType = 1;
|
||||||
|
client.setGameState(30);
|
||||||
|
for (local35 = 0; local35 < 100; local35++) {
|
||||||
|
Static186.aBooleanArray100[local35] = true;
|
||||||
|
}
|
||||||
|
ClientProt.method1373();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,26 +23,30 @@ public class MidiPlayer {
|
||||||
public static boolean aBoolean116;
|
public static boolean aBoolean116;
|
||||||
@OriginalMember(owner = "client!rb", name = "f", descriptor = "Lclient!ve;")
|
@OriginalMember(owner = "client!rb", name = "f", descriptor = "Lclient!ve;")
|
||||||
public static Js5 aClass153_87;
|
public static Js5 aClass153_87;
|
||||||
|
@OriginalMember(owner = "client!gd", name = "m", descriptor = "Lclient!ve;")
|
||||||
|
public static Js5 aClass153_32;
|
||||||
|
@OriginalMember(owner = "client!le", name = "c", descriptor = "Lclient!rf;")
|
||||||
|
public static Song aClass3_Sub29_1;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!km", name = "c", descriptor = "(Z)Z")
|
@OriginalMember(owner = "client!km", name = "c", descriptor = "(Z)Z")
|
||||||
public static boolean method2699() {
|
public static boolean method2699() {
|
||||||
try {
|
try {
|
||||||
if (anInt441 == 2) {
|
if (anInt441 == 2) {
|
||||||
if (Static144.aClass3_Sub29_1 == null) {
|
if (aClass3_Sub29_1 == null) {
|
||||||
Static144.aClass3_Sub29_1 = Song.create(Static172.aClass153_70, anInt5853, Static226.anInt5085);
|
aClass3_Sub29_1 = Song.create(Static172.aClass153_70, anInt5853, Static226.anInt5085);
|
||||||
if (Static144.aClass3_Sub29_1 == null) {
|
if (aClass3_Sub29_1 == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (aClass89_1 == null) {
|
if (aClass89_1 == null) {
|
||||||
aClass89_1 = new SoundBank(Static78.aClass153_32, aClass153_103);
|
aClass89_1 = new SoundBank(aClass153_32, aClass153_103);
|
||||||
}
|
}
|
||||||
if (Static172.midiPcmStream.method4411(Static144.aClass3_Sub29_1, aClass153_87, aClass89_1)) {
|
if (Static172.midiPcmStream.method4411(aClass3_Sub29_1, aClass153_87, aClass89_1)) {
|
||||||
Static172.midiPcmStream.method4412();
|
Static172.midiPcmStream.method4412();
|
||||||
Static172.midiPcmStream.method4447(anInt5527);
|
Static172.midiPcmStream.method4447(anInt5527);
|
||||||
Static172.midiPcmStream.method4431(aBoolean116, Static144.aClass3_Sub29_1);
|
Static172.midiPcmStream.method4431(aBoolean116, aClass3_Sub29_1);
|
||||||
anInt441 = 0;
|
anInt441 = 0;
|
||||||
Static144.aClass3_Sub29_1 = null;
|
aClass3_Sub29_1 = null;
|
||||||
aClass89_1 = null;
|
aClass89_1 = null;
|
||||||
Static172.aClass153_70 = null;
|
Static172.aClass153_70 = null;
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -52,7 +56,7 @@ public class MidiPlayer {
|
||||||
local68.printStackTrace();
|
local68.printStackTrace();
|
||||||
Static172.midiPcmStream.method4446();
|
Static172.midiPcmStream.method4446();
|
||||||
Static172.aClass153_70 = null;
|
Static172.aClass153_70 = null;
|
||||||
Static144.aClass3_Sub29_1 = null;
|
aClass3_Sub29_1 = null;
|
||||||
anInt441 = 0;
|
anInt441 = 0;
|
||||||
aClass89_1 = null;
|
aClass89_1 = null;
|
||||||
}
|
}
|
||||||
|
|
@ -84,7 +88,7 @@ public class MidiPlayer {
|
||||||
@OriginalMember(owner = "client!ck", name = "a", descriptor = "(ILclient!va;Lclient!ve;Lclient!ve;Lclient!ve;)Z")
|
@OriginalMember(owner = "client!ck", name = "a", descriptor = "(ILclient!va;Lclient!ve;Lclient!ve;Lclient!ve;)Z")
|
||||||
public static boolean init(@OriginalArg(1) MidiPcmStream arg0, @OriginalArg(2) Js5 arg1, @OriginalArg(3) Js5 arg2, @OriginalArg(4) Js5 arg3) {
|
public static boolean init(@OriginalArg(1) MidiPcmStream arg0, @OriginalArg(2) Js5 arg1, @OriginalArg(3) Js5 arg2, @OriginalArg(4) Js5 arg3) {
|
||||||
aClass153_87 = arg1;
|
aClass153_87 = arg1;
|
||||||
Static78.aClass153_32 = arg3;
|
aClass153_32 = arg3;
|
||||||
aClass153_103 = arg2;
|
aClass153_103 = arg2;
|
||||||
Static172.midiPcmStream = arg0;
|
Static172.midiPcmStream = arg0;
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -105,7 +109,7 @@ public class MidiPlayer {
|
||||||
}
|
}
|
||||||
Static172.midiPcmStream.method4446();
|
Static172.midiPcmStream.method4446();
|
||||||
Static172.midiPcmStream.method4426();
|
Static172.midiPcmStream.method4426();
|
||||||
Static144.aClass3_Sub29_1 = null;
|
aClass3_Sub29_1 = null;
|
||||||
aClass89_1 = null;
|
aClass89_1 = null;
|
||||||
if (Static172.aClass153_70 == null) {
|
if (Static172.aClass153_70 == null) {
|
||||||
anInt441 = 0;
|
anInt441 = 0;
|
||||||
|
|
@ -117,7 +121,7 @@ public class MidiPlayer {
|
||||||
local62.printStackTrace();
|
local62.printStackTrace();
|
||||||
Static172.midiPcmStream.method4446();
|
Static172.midiPcmStream.method4446();
|
||||||
Static172.aClass153_70 = null;
|
Static172.aClass153_70 = null;
|
||||||
Static144.aClass3_Sub29_1 = null;
|
aClass3_Sub29_1 = null;
|
||||||
anInt441 = 0;
|
anInt441 = 0;
|
||||||
aClass89_1 = null;
|
aClass89_1 = null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,12 @@ public class MiniMenu {
|
||||||
public static final JagString aClass100_1039 = JagString.parse(" x ");
|
public static final JagString aClass100_1039 = JagString.parse(" x ");
|
||||||
@OriginalMember(owner = "client!hd", name = "l", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!hd", name = "l", descriptor = "Lclient!na;")
|
||||||
public static final JagString NULL = JagString.parse("null");
|
public static final JagString NULL = JagString.parse("null");
|
||||||
|
@OriginalMember(owner = "client!ib", name = "k", descriptor = "Lclient!na;")
|
||||||
|
public static final JagString aClass100_561 = JagString.parse(" )2> <col=ffffff>");
|
||||||
|
@OriginalMember(owner = "client!tg", name = "e", descriptor = "Lclient!na;")
|
||||||
|
public static final JagString aClass100_1008 = JagString.parse("<col=00ffff>");
|
||||||
|
@OriginalMember(owner = "client!uf", name = "q", descriptor = "Lclient!na;")
|
||||||
|
public static final JagString aClass100_1042 = JagString.parse("Null");
|
||||||
@OriginalMember(owner = "client!ck", name = "D", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!ck", name = "D", descriptor = "Lclient!na;")
|
||||||
public static JagString aClass100_203 = null;
|
public static JagString aClass100_203 = null;
|
||||||
@OriginalMember(owner = "client!hn", name = "W", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!hn", name = "W", descriptor = "Lclient!na;")
|
||||||
|
|
@ -74,7 +80,7 @@ public class MiniMenu {
|
||||||
@OriginalMember(owner = "client!sk", name = "kb", descriptor = "I")
|
@OriginalMember(owner = "client!sk", name = "kb", descriptor = "I")
|
||||||
public static int size = 0;
|
public static int size = 0;
|
||||||
@OriginalMember(owner = "client!v", name = "b", descriptor = "Lclient!be;")
|
@OriginalMember(owner = "client!v", name = "b", descriptor = "Lclient!be;")
|
||||||
public static Component aClass13_7;
|
public static Component pressedInventoryComponent;
|
||||||
@OriginalMember(owner = "client!gd", name = "i", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!gd", name = "i", descriptor = "Lclient!na;")
|
||||||
public static JagString aClass100_466 = null;
|
public static JagString aClass100_466 = null;
|
||||||
@OriginalMember(owner = "client!vd", name = "C", descriptor = "I")
|
@OriginalMember(owner = "client!vd", name = "C", descriptor = "I")
|
||||||
|
|
@ -101,6 +107,12 @@ public class MiniMenu {
|
||||||
public static int anInt1742 = -1;
|
public static int anInt1742 = -1;
|
||||||
@OriginalMember(owner = "client!jb", name = "p", descriptor = "I")
|
@OriginalMember(owner = "client!jb", name = "p", descriptor = "I")
|
||||||
public static int anInt2954 = -1;
|
public static int anInt2954 = -1;
|
||||||
|
@OriginalMember(owner = "client!id", name = "k", descriptor = "I")
|
||||||
|
public static int anInt2878;
|
||||||
|
@OriginalMember(owner = "client!u", name = "i", descriptor = "I")
|
||||||
|
public static int anInt5393;
|
||||||
|
@OriginalMember(owner = "client!uf", name = "t", descriptor = "I")
|
||||||
|
public static int anInt5444 = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!va", name = "a", descriptor = "(IZILclient!be;)V")
|
@OriginalMember(owner = "client!va", name = "a", descriptor = "(IZILclient!be;)V")
|
||||||
public static void addComponentEntries(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) Component component) {
|
public static void addComponentEntries(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) Component component) {
|
||||||
|
|
@ -139,8 +151,8 @@ public class MiniMenu {
|
||||||
local195 += component.anIntArray41[local171];
|
local195 += component.anIntArray41[local171];
|
||||||
}
|
}
|
||||||
if (arg1 >= local195 && local202 <= arg0 && local195 + 32 > arg1 && local202 + 32 > arg0) {
|
if (arg1 >= local195 && local202 <= arg0 && local195 + 32 > arg1 && local202 + 32 > arg0) {
|
||||||
Static169.aClass13_18 = component;
|
Static169.mouseOverInventoryInterface = component;
|
||||||
Static18.anInt588 = local171;
|
Static18.clickedInventoryIndex = local171;
|
||||||
if (component.objTypes[local171] > 0) {
|
if (component.objTypes[local171] > 0) {
|
||||||
@Pc(267) ServerActiveProperties local267 = InterfaceList.getServerActiveProperties(component);
|
@Pc(267) ServerActiveProperties local267 = InterfaceList.getServerActiveProperties(component);
|
||||||
@Pc(276) ObjType local276 = ObjTypeList.get(component.objTypes[local171] - 1);
|
@Pc(276) ObjType local276 = ObjTypeList.get(component.objTypes[local171] - 1);
|
||||||
|
|
@ -151,7 +163,7 @@ public class MiniMenu {
|
||||||
} else if (Static241.aBoolean302 && local267.isObjOpsEnabled()) {
|
} else if (Static241.aBoolean302 && local267.isObjOpsEnabled()) {
|
||||||
@Pc(596) ParamType local596 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
@Pc(596) ParamType local596 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||||
if ((anInt4999 & 0x10) != 0 && (local596 == null || local276.getParam(local596.defaultInt, Static121.anInt3039) != local596.defaultInt)) {
|
if ((anInt4999 & 0x10) != 0 && (local596 == null || local276.getParam(local596.defaultInt, Static121.anInt3039) != local596.defaultInt)) {
|
||||||
add(Static246.anInt5393, (long) local276.anInt2354, JagString.concatenate(new JagString[] { aClass100_466, aClass100_947, local276.name}), local171, (short) 3, aClass100_545, component.id);
|
add(anInt5393, (long) local276.anInt2354, JagString.concatenate(new JagString[] { aClass100_466, aClass100_947, local276.name}), local171, (short) 3, aClass100_545, component.id);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@Pc(296) JagString[] local296 = local276.inventoryOps;
|
@Pc(296) JagString[] local296 = local276.inventoryOps;
|
||||||
|
|
@ -227,7 +239,7 @@ public class MiniMenu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!component.usingScripts) {
|
if (!component.if3) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!Static241.aBoolean302) {
|
if (!Static241.aBoolean302) {
|
||||||
|
|
@ -251,7 +263,7 @@ public class MiniMenu {
|
||||||
add(-1, 0L, JagString.EMPTY, component.createdComponentId, (short) 41, LocalizedText.CONTINUE, component.id);
|
add(-1, 0L, JagString.EMPTY, component.createdComponentId, (short) 41, LocalizedText.CONTINUE, component.id);
|
||||||
}
|
}
|
||||||
} else if (InterfaceList.getServerActiveProperties(component).method508() && (anInt4999 & 0x20) != 0) {
|
} else if (InterfaceList.getServerActiveProperties(component).method508() && (anInt4999 & 0x20) != 0) {
|
||||||
add(Static246.anInt5393, 0L, JagString.concatenate(new JagString[] { aClass100_466, aClass100_408, component.optionBase}), component.createdComponentId, (short) 12, aClass100_545, component.id);
|
add(anInt5393, 0L, JagString.concatenate(new JagString[] { aClass100_466, aClass100_408, component.optionBase}), component.createdComponentId, (short) 12, aClass100_545, component.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -366,8 +378,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2leadd(anInt4997);
|
Protocol.outboundBuffer.p2leadd(anInt4997);
|
||||||
Protocol.outboundBuffer.p2leadd(local36);
|
Protocol.outboundBuffer.p2leadd(local36);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
@Pc(192) Npc local192;
|
@Pc(192) Npc local192;
|
||||||
if (local23 == 19) {
|
if (local23 == 19) {
|
||||||
|
|
@ -412,8 +424,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2add(local15);
|
Protocol.outboundBuffer.p2add(local15);
|
||||||
Protocol.outboundBuffer.p4me(local19);
|
Protocol.outboundBuffer.p4me(local19);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 42) {
|
if (local23 == 42) {
|
||||||
PathFinder.findPathToLoc(local31, local19, local15);
|
PathFinder.findPathToLoc(local31, local19, local15);
|
||||||
|
|
@ -483,8 +495,8 @@ public class MiniMenu {
|
||||||
Chat.add(JagString.EMPTY, 0, JagString.concatenate(new JagString[] { JagString.parseInt(local693.objCounts[local15]), aClass100_1039, ObjTypeList.get(local36).name}));
|
Chat.add(JagString.EMPTY, 0, JagString.concatenate(new JagString[] { JagString.parseInt(local693.objCounts[local15]), aClass100_1039, ObjTypeList.get(local36).name}));
|
||||||
}
|
}
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 60) {
|
if (local23 == 60) {
|
||||||
if (local36 == 0) {
|
if (local36 == 0) {
|
||||||
|
|
@ -494,7 +506,7 @@ public class MiniMenu {
|
||||||
Cheat.teleport(Camera.originX + local15, Camera.originZ + local19, Player.level);
|
Cheat.teleport(Camera.originX + local15, Camera.originZ + local19, Player.level);
|
||||||
} else if (PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, true, 0, local15, 0, 0, 1, local19, PlayerList.self.movementQueueX[0])) {
|
} else if (PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, true, 0, local15, 0, 0, 1, local19, PlayerList.self.movementQueueX[0])) {
|
||||||
Protocol.outboundBuffer.p1(Static1.anInt5);
|
Protocol.outboundBuffer.p1(Static1.anInt5);
|
||||||
Protocol.outboundBuffer.p1(Static107.anInt2878);
|
Protocol.outboundBuffer.p1(anInt2878);
|
||||||
Protocol.outboundBuffer.p2((int)Camera.yawTarget);
|
Protocol.outboundBuffer.p2((int)Camera.yawTarget);
|
||||||
Protocol.outboundBuffer.p1(57);
|
Protocol.outboundBuffer.p1(57);
|
||||||
Protocol.outboundBuffer.p1(MiniMap.anInt1814);
|
Protocol.outboundBuffer.p1(MiniMap.anInt1814);
|
||||||
|
|
@ -530,8 +542,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2add(local36);
|
Protocol.outboundBuffer.p2add(local36);
|
||||||
Protocol.outboundBuffer.p4le2(local19);
|
Protocol.outboundBuffer.p4le2(local19);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 3) {
|
if (local23 == 3) {
|
||||||
Protocol.outboundBuffer.p1isaac(253);
|
Protocol.outboundBuffer.p1isaac(253);
|
||||||
|
|
@ -541,8 +553,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2add(local36);
|
Protocol.outboundBuffer.p2add(local36);
|
||||||
Protocol.outboundBuffer.p2le(anInt506);
|
Protocol.outboundBuffer.p2le(anInt506);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 10) {
|
if (local23 == 10) {
|
||||||
local43 = PlayerList.players[local36];
|
local43 = PlayerList.players[local36];
|
||||||
|
|
@ -574,8 +586,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2le(local15);
|
Protocol.outboundBuffer.p2le(local15);
|
||||||
Protocol.outboundBuffer.p4le2(local19);
|
Protocol.outboundBuffer.p4le2(local19);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 14 && PathFinder.findPathToLoc(local31, local19, local15)) {
|
if (local23 == 14 && PathFinder.findPathToLoc(local31, local19, local15)) {
|
||||||
Protocol.outboundBuffer.p1isaac(134);
|
Protocol.outboundBuffer.p1isaac(134);
|
||||||
|
|
@ -607,8 +619,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2add(local15);
|
Protocol.outboundBuffer.p2add(local15);
|
||||||
Protocol.outboundBuffer.p4rme(local19);
|
Protocol.outboundBuffer.p4rme(local19);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 21) {
|
if (local23 == 21) {
|
||||||
if (client.game == 1) {
|
if (client.game == 1) {
|
||||||
|
|
@ -649,9 +661,9 @@ public class MiniMenu {
|
||||||
anInt5014 = 0;
|
anInt5014 = 0;
|
||||||
aClass100_545 = Static97.getTargetVerb(local693);
|
aClass100_545 = Static97.getTargetVerb(local693);
|
||||||
if (aClass100_545 == null) {
|
if (aClass100_545 == null) {
|
||||||
aClass100_545 = Static250.aClass100_1042;
|
aClass100_545 = aClass100_1042;
|
||||||
}
|
}
|
||||||
if (local693.usingScripts) {
|
if (local693.if3) {
|
||||||
aClass100_466 = JagString.concatenate(new JagString[] { local693.optionBase, COLOR_WHITE});
|
aClass100_466 = JagString.concatenate(new JagString[] { local693.optionBase, COLOR_WHITE});
|
||||||
} else {
|
} else {
|
||||||
aClass100_466 = JagString.concatenate(new JagString[] {COLOR_GREEN, local693.aClass100_85, COLOR_WHITE});
|
aClass100_466 = JagString.concatenate(new JagString[] {COLOR_GREEN, local693.aClass100_85, COLOR_WHITE});
|
||||||
|
|
@ -677,8 +689,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2leadd(local36);
|
Protocol.outboundBuffer.p2leadd(local36);
|
||||||
Protocol.outboundBuffer.p2leadd(local15);
|
Protocol.outboundBuffer.p2leadd(local15);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 15) {
|
if (local23 == 15) {
|
||||||
local43 = PlayerList.players[local36];
|
local43 = PlayerList.players[local36];
|
||||||
|
|
@ -718,8 +730,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2(local36);
|
Protocol.outboundBuffer.p2(local36);
|
||||||
Protocol.outboundBuffer.p4rme(local19);
|
Protocol.outboundBuffer.p4rme(local19);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 2) {
|
if (local23 == 2) {
|
||||||
local192 = NpcList.npcs[local36];
|
local192 = NpcList.npcs[local36];
|
||||||
|
|
@ -811,7 +823,7 @@ public class MiniMenu {
|
||||||
if (local23 == 8) {
|
if (local23 == 8) {
|
||||||
local693 = InterfaceList.getComponent(local19);
|
local693 = InterfaceList.getComponent(local19);
|
||||||
@Pc(2287) boolean local2287 = true;
|
@Pc(2287) boolean local2287 = true;
|
||||||
if (local693.anInt453 > 0) {
|
if (local693.clientCode > 0) {
|
||||||
local2287 = method4265(local693);
|
local2287 = method4265(local693);
|
||||||
}
|
}
|
||||||
if (local2287) {
|
if (local2287) {
|
||||||
|
|
@ -840,8 +852,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2(local15);
|
Protocol.outboundBuffer.p2(local15);
|
||||||
Protocol.outboundBuffer.p2add(local36);
|
Protocol.outboundBuffer.p2add(local36);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 24) {
|
if (local23 == 24) {
|
||||||
if (client.game == 1) {
|
if (client.game == 1) {
|
||||||
|
|
@ -875,8 +887,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2add(local15);
|
Protocol.outboundBuffer.p2add(local15);
|
||||||
Protocol.outboundBuffer.p2le(local36);
|
Protocol.outboundBuffer.p2le(local36);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 57) {
|
if (local23 == 57) {
|
||||||
local43 = PlayerList.players[local36];
|
local43 = PlayerList.players[local36];
|
||||||
|
|
@ -917,8 +929,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p4rme(local19);
|
Protocol.outboundBuffer.p4rme(local19);
|
||||||
Protocol.outboundBuffer.p2leadd(local36);
|
Protocol.outboundBuffer.p2leadd(local36);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 30) {
|
if (local23 == 30) {
|
||||||
local43 = PlayerList.players[local36];
|
local43 = PlayerList.players[local36];
|
||||||
|
|
@ -938,8 +950,8 @@ public class MiniMenu {
|
||||||
Protocol.outboundBuffer.p2le(local15);
|
Protocol.outboundBuffer.p2le(local15);
|
||||||
Protocol.outboundBuffer.p2le(local36);
|
Protocol.outboundBuffer.p2le(local36);
|
||||||
anInt2043 = 0;
|
anInt2043 = 0;
|
||||||
aClass13_7 = InterfaceList.getComponent(local19);
|
pressedInventoryComponent = InterfaceList.getComponent(local19);
|
||||||
Static250.anInt5444 = local15;
|
anInt5444 = local15;
|
||||||
}
|
}
|
||||||
if (local23 == 39) {
|
if (local23 == 39) {
|
||||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||||
|
|
@ -1025,8 +1037,8 @@ public class MiniMenu {
|
||||||
if (Static241.aBoolean302) {
|
if (Static241.aBoolean302) {
|
||||||
Static53.method1294();
|
Static53.method1294();
|
||||||
}
|
}
|
||||||
if (aClass13_7 != null && anInt2043 == 0) {
|
if (pressedInventoryComponent != null && anInt2043 == 0) {
|
||||||
InterfaceList.redraw(aClass13_7);
|
InterfaceList.redraw(pressedInventoryComponent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1068,7 +1080,7 @@ public class MiniMenu {
|
||||||
if (local61 == null) {
|
if (local61 == null) {
|
||||||
Static53.method1294();
|
Static53.method1294();
|
||||||
} else {
|
} else {
|
||||||
add(Static246.anInt5393, 0L, aClass100_961, local33, (short) 11, aClass100_545, x);
|
add(anInt5393, 0L, aClass100_961, local33, (short) 11, aClass100_545, x);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (client.game == 1) {
|
if (client.game == 1) {
|
||||||
|
|
@ -1100,7 +1112,7 @@ public class MiniMenu {
|
||||||
} else if (Static241.aBoolean302) {
|
} else if (Static241.aBoolean302) {
|
||||||
@Pc(363) ParamType local363 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
@Pc(363) ParamType local363 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||||
if ((anInt4999 & 0x4) != 0 && (local363 == null || local172.getParam(local363.defaultInt, Static121.anInt3039) != local363.defaultInt)) {
|
if ((anInt4999 & 0x4) != 0 && (local363 == null || local172.getParam(local363.defaultInt, Static121.anInt3039) != local363.defaultInt)) {
|
||||||
add(Static246.anInt5393, local121, JagString.concatenate(new JagString[] { aClass100_466, aClass100_164, local172.name}), x, (short) 38, aClass100_545, z);
|
add(anInt5393, local121, JagString.concatenate(new JagString[] { aClass100_466, aClass100_164, local172.name}), x, (short) 38, aClass100_545, z);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@Pc(228) JagString[] local228 = local172.ops;
|
@Pc(228) JagString[] local228 = local172.ops;
|
||||||
|
|
@ -1133,11 +1145,11 @@ public class MiniMenu {
|
||||||
if (local240 == 4) {
|
if (local240 == 4) {
|
||||||
local254 = 1001;
|
local254 = 1001;
|
||||||
}
|
}
|
||||||
add(local268, local121, JagString.concatenate(new JagString[] { Static240.aClass100_1008, local172.name}), x, local254, local228[local240], z);
|
add(local268, local121, JagString.concatenate(new JagString[] { aClass100_1008, local172.name}), x, local254, local228[local240], z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
add(Static225.anInt5073, (long) local172.id, JagString.concatenate(new JagString[] { Static240.aClass100_1008, local172.name}), x, (short) 1004, LocalizedText.EXAMINE, z);
|
add(Static225.anInt5073, (long) local172.id, JagString.concatenate(new JagString[] { aClass100_1008, local172.name}), x, (short) 1004, LocalizedText.EXAMINE, z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@Pc(514) int local514;
|
@Pc(514) int local514;
|
||||||
|
|
@ -1205,7 +1217,7 @@ public class MiniMenu {
|
||||||
} else if (Static241.aBoolean302) {
|
} else if (Static241.aBoolean302) {
|
||||||
@Pc(1142) ParamType local1142 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
@Pc(1142) ParamType local1142 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||||
if ((anInt4999 & 0x1) != 0 && (local1142 == null || local951.getParam(local1142.defaultInt, Static121.anInt3039) != local1142.defaultInt)) {
|
if ((anInt4999 & 0x1) != 0 && (local1142 == null || local951.getParam(local1142.defaultInt, Static121.anInt3039) != local1142.defaultInt)) {
|
||||||
add(Static246.anInt5393, (long) local240, JagString.concatenate(new JagString[] { aClass100_466, aClass100_947, local951.name }), x, (short) 39, aClass100_545, z);
|
add(anInt5393, (long) local240, JagString.concatenate(new JagString[] { aClass100_466, aClass100_947, local951.name }), x, (short) 39, aClass100_545, z);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@Pc(997) JagString[] local997 = local951.ops;
|
@Pc(997) JagString[] local997 = local951.ops;
|
||||||
|
|
@ -1300,7 +1312,7 @@ public class MiniMenu {
|
||||||
} else if (Static241.aBoolean302) {
|
} else if (Static241.aBoolean302) {
|
||||||
@Pc(378) ParamType local378 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
@Pc(378) ParamType local378 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||||
if ((anInt4999 & 0x2) != 0 && (local378 == null || arg0.getParam(Static121.anInt3039, local378.defaultInt) != local378.defaultInt)) {
|
if ((anInt4999 & 0x2) != 0 && (local378 == null || arg0.getParam(Static121.anInt3039, local378.defaultInt) != local378.defaultInt)) {
|
||||||
add(Static246.anInt5393, (long) arg2, JagString.concatenate(new JagString[] {aClass100_466, aClass100_407, local35 }), arg1, (short) 45, aClass100_545, arg3);
|
add(anInt5393, (long) arg2, JagString.concatenate(new JagString[] {aClass100_466, aClass100_407, local35 }), arg1, (short) 45, aClass100_545, arg3);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@Pc(129) JagString[] local129 = arg0.ops;
|
@Pc(129) JagString[] local129 = arg0.ops;
|
||||||
|
|
@ -1403,7 +1415,7 @@ public class MiniMenu {
|
||||||
}
|
}
|
||||||
@Pc(275) int local275;
|
@Pc(275) int local275;
|
||||||
if (anInt5014 == 1) {
|
if (anInt5014 == 1) {
|
||||||
add(Static169.anInt4075, (long) arg0, JagString.concatenate(new JagString[] {aClass100_203, Static105.aClass100_561, string }), arg3, (short) 1, LocalizedText.USE, arg1);
|
add(Static169.anInt4075, (long) arg0, JagString.concatenate(new JagString[] {aClass100_203, aClass100_561, string }), arg3, (short) 1, LocalizedText.USE, arg1);
|
||||||
} else if (!Static241.aBoolean302) {
|
} else if (!Static241.aBoolean302) {
|
||||||
for (local275 = 7; local275 >= 0; local275--) {
|
for (local275 = 7; local275 >= 0; local275--) {
|
||||||
if (Player.options[local275] != null) {
|
if (Player.options[local275] != null) {
|
||||||
|
|
@ -1428,7 +1440,7 @@ public class MiniMenu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if ((anInt4999 & 0x8) != 0) {
|
} else if ((anInt4999 & 0x8) != 0) {
|
||||||
add(Static246.anInt5393, (long) arg0, JagString.concatenate(new JagString[] {aClass100_466, Static105.aClass100_561, string }), arg3, (short) 15, aClass100_545, arg1);
|
add(anInt5393, (long) arg0, JagString.concatenate(new JagString[] {aClass100_466, aClass100_561, string }), arg3, (short) 15, aClass100_545, arg1);
|
||||||
}
|
}
|
||||||
for (local275 = 0; local275 < size; local275++) {
|
for (local275 = 0; local275 < size; local275++) {
|
||||||
if (actions[local275] == 60) {
|
if (actions[local275] == 60) {
|
||||||
|
|
@ -1473,7 +1485,7 @@ public class MiniMenu {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ud", name = "a", descriptor = "(ILclient!be;)Z")
|
@OriginalMember(owner = "client!ud", name = "a", descriptor = "(ILclient!be;)Z")
|
||||||
public static boolean method4265(@OriginalArg(1) Component arg0) {
|
public static boolean method4265(@OriginalArg(1) Component arg0) {
|
||||||
if (arg0.anInt453 == 205) {
|
if (arg0.clientCode == 205) {
|
||||||
Static267.anInt5775 = 250;
|
Static267.anInt5775 = 250;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,9 @@ public final class Mouse implements MouseListener, MouseMotionListener, FocusLis
|
||||||
@OriginalMember(owner = "client!em", name = "y", descriptor = "I")
|
@OriginalMember(owner = "client!em", name = "y", descriptor = "I")
|
||||||
public static int clickY = 0;
|
public static int clickY = 0;
|
||||||
@OriginalMember(owner = "client!sc", name = "v", descriptor = "I")
|
@OriginalMember(owner = "client!sc", name = "v", descriptor = "I")
|
||||||
public static int anInt5032 = 0;
|
public static int lastMouseY = 0;
|
||||||
@OriginalMember(owner = "client!rh", name = "o", descriptor = "I")
|
@OriginalMember(owner = "client!rh", name = "o", descriptor = "I")
|
||||||
public static int anInt4873 = 0;
|
public static int lastMouseX = 0;
|
||||||
@OriginalMember(owner = "client!he", name = "bb", descriptor = "Lclient!ug;")
|
@OriginalMember(owner = "client!he", name = "bb", descriptor = "Lclient!ug;")
|
||||||
public static Mouse instance = new Mouse();
|
public static Mouse instance = new Mouse();
|
||||||
@OriginalMember(owner = "client!he", name = "Y", descriptor = "I")
|
@OriginalMember(owner = "client!he", name = "Y", descriptor = "I")
|
||||||
|
|
@ -76,8 +76,8 @@ public final class Mouse implements MouseListener, MouseMotionListener, FocusLis
|
||||||
@Pc(2) Mouse local2 = instance;
|
@Pc(2) Mouse local2 = instance;
|
||||||
synchronized (instance) {
|
synchronized (instance) {
|
||||||
pressedButton = anInt1759;
|
pressedButton = anInt1759;
|
||||||
anInt4873 = anInt3521;
|
lastMouseX = anInt3521;
|
||||||
anInt5032 = anInt4039;
|
lastMouseY = anInt4039;
|
||||||
clickButton = anInt1313;
|
clickButton = anInt1313;
|
||||||
clickX = anInt1034;
|
clickX = anInt1034;
|
||||||
anInt2467++;
|
anInt2467++;
|
||||||
|
|
|
||||||
|
|
@ -35,8 +35,8 @@ public final class MouseRecorder implements Runnable {
|
||||||
@Pc(12) Object local12 = this.lock;
|
@Pc(12) Object local12 = this.lock;
|
||||||
synchronized (this.lock) {
|
synchronized (this.lock) {
|
||||||
if (this.samples < 500) {
|
if (this.samples < 500) {
|
||||||
this.x[this.samples] = Mouse.anInt4873;
|
this.x[this.samples] = Mouse.lastMouseX;
|
||||||
this.y[this.samples] = Mouse.anInt5032;
|
this.y[this.samples] = Mouse.lastMouseY;
|
||||||
this.samples++;
|
this.samples++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,9 @@ public final class Player extends PathingEntity {
|
||||||
public static long name37;
|
public static long name37;
|
||||||
@OriginalMember(owner = "client!sm", name = "k", descriptor = "Lsignlink!im;")
|
@OriginalMember(owner = "client!sm", name = "k", descriptor = "Lsignlink!im;")
|
||||||
public static PrivilegedRequest lastLogAddress;
|
public static PrivilegedRequest lastLogAddress;
|
||||||
@OriginalMember(owner = "client!e", name = "Bc", descriptor = "Lclient!hh;")
|
@OriginalMember(owner = "client!ib", name = "l", descriptor = "I")
|
||||||
|
public static int anInt2863 = 0;
|
||||||
|
@OriginalMember(owner = "client!e", name = "Bc", descriptor = "Lclient!hh;")
|
||||||
public PlayerAppearance appearance;
|
public PlayerAppearance appearance;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!e", name = "Mc", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!e", name = "Mc", descriptor = "Lclient!na;")
|
||||||
|
|
@ -320,13 +322,13 @@ public final class Player extends PathingEntity {
|
||||||
@Pc(102) int local102;
|
@Pc(102) int local102;
|
||||||
if (client.modeWhat != 0 && local79 < 50) {
|
if (client.modeWhat != 0 && local79 < 50) {
|
||||||
local102 = 50 - local79;
|
local102 = 50 - local79;
|
||||||
while (Static105.anInt2863 < local102) {
|
while (anInt2863 < local102) {
|
||||||
Static51.aByteArrayArray8[Static105.anInt2863] = new byte[102400];
|
Static51.aByteArrayArray8[anInt2863] = new byte[102400];
|
||||||
Static105.anInt2863++;
|
anInt2863++;
|
||||||
}
|
}
|
||||||
while (Static105.anInt2863 > local102) {
|
while (anInt2863 > local102) {
|
||||||
Static105.anInt2863--;
|
anInt2863--;
|
||||||
Static51.aByteArrayArray8[Static105.anInt2863] = null;
|
Static51.aByteArrayArray8[anInt2863] = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (local76 == null) {
|
if (local76 == null) {
|
||||||
|
|
|
||||||
|
|
@ -1276,10 +1276,10 @@ public class Protocol {
|
||||||
long ptr = (long) slot + ((long) parent << 32);
|
long ptr = (long) slot + ((long) parent << 32);
|
||||||
ServerActiveProperties prev = (ServerActiveProperties) InterfaceList.properties.get(ptr);
|
ServerActiveProperties prev = (ServerActiveProperties) InterfaceList.properties.get(ptr);
|
||||||
if (prev != null) {
|
if (prev != null) {
|
||||||
properties = new ServerActiveProperties(prev.accessMask, value);
|
properties = new ServerActiveProperties(prev.events, value);
|
||||||
prev.unlink();
|
prev.unlink();
|
||||||
} else if (slot == -1) {
|
} else if (slot == -1) {
|
||||||
properties = new ServerActiveProperties(InterfaceList.getComponent(parent).properties.accessMask, value);
|
properties = new ServerActiveProperties(InterfaceList.getComponent(parent).properties.events, value);
|
||||||
} else {
|
} else {
|
||||||
properties = new ServerActiveProperties(0, value);
|
properties = new ServerActiveProperties(0, value);
|
||||||
}
|
}
|
||||||
|
|
@ -2200,7 +2200,7 @@ public class Protocol {
|
||||||
setVerifyId(tracknum);
|
setVerifyId(tracknum);
|
||||||
@Pc(5603) Component component = InterfaceList.getComponent(id);
|
@Pc(5603) Component component = InterfaceList.getComponent(id);
|
||||||
@Pc(5615) ObjType objType;
|
@Pc(5615) ObjType objType;
|
||||||
if (component.usingScripts) {
|
if (component.if3) {
|
||||||
DelayedStateChange.method3707(id, slot, itemId);
|
DelayedStateChange.method3707(id, slot, itemId);
|
||||||
objType = ObjTypeList.get(itemId);
|
objType = ObjTypeList.get(itemId);
|
||||||
DelayedStateChange.updateView(objType.zoom2d, id, objType.yAngle2d, objType.xAngle2d);
|
DelayedStateChange.updateView(objType.zoom2d, id, objType.yAngle2d, objType.xAngle2d);
|
||||||
|
|
@ -2296,15 +2296,17 @@ public class Protocol {
|
||||||
public static boolean readPacket() {
|
public static boolean readPacket() {
|
||||||
try {
|
try {
|
||||||
return readPacketInternal();
|
return readPacketInternal();
|
||||||
} catch (@Pc(14) IOException local14) {
|
} catch (@Pc(14) IOException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
Static175.method3279();
|
Static175.method3279();
|
||||||
return true;
|
return true;
|
||||||
} catch (@Pc(19) Exception local19) {
|
} catch (@Pc(19) Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
@Pc(61) String local61 = "T2 - " + opcode + "," + opcode3 + "," + opcode4 + " - " + length + "," + (Camera.originX + PlayerList.self.movementQueueX[0]) + "," + (PlayerList.self.movementQueueZ[0] + Camera.originZ) + " - ";
|
@Pc(61) String local61 = "T2 - " + opcode + "," + opcode3 + "," + opcode4 + " - " + length + "," + (Camera.originX + PlayerList.self.movementQueueX[0]) + "," + (PlayerList.self.movementQueueZ[0] + Camera.originZ) + " - ";
|
||||||
for (@Pc(63) int local63 = 0; local63 < length && local63 < 50; local63++) {
|
for (@Pc(63) int local63 = 0; local63 < length && local63 < 50; local63++) {
|
||||||
local61 = local61 + inboundBuffer.data[local63] + ",";
|
local61 = local61 + inboundBuffer.data[local63] + ",";
|
||||||
}
|
}
|
||||||
TracingException.report(local61, local19);
|
TracingException.report(local61, ex);
|
||||||
LoginManager.processLogout();
|
LoginManager.processLogout();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -2598,16 +2600,16 @@ public class Protocol {
|
||||||
InterfaceList.redraw(component);
|
InterfaceList.redraw(component);
|
||||||
} else if (type == 12) {
|
} else if (type == 12) {
|
||||||
component = InterfaceList.getComponent(i);
|
component = InterfaceList.getComponent(i);
|
||||||
x = change.intArg1;
|
int scrollY = change.intArg1;
|
||||||
if (component != null && component.type == 0) {
|
if (component != null && component.type == 0) {
|
||||||
if (x > component.scrollMaxV - component.height) {
|
if (scrollY > component.scrollMaxV - component.height) {
|
||||||
x = component.scrollMaxV - component.height;
|
scrollY = component.scrollMaxV - component.height;
|
||||||
}
|
}
|
||||||
if (x < 0) {
|
if (scrollY < 0) {
|
||||||
x = 0;
|
scrollY = 0;
|
||||||
}
|
}
|
||||||
if (x != component.scrollY) {
|
if (scrollY != component.scrollY) {
|
||||||
component.scrollY = x;
|
component.scrollY = scrollY;
|
||||||
InterfaceList.redraw(component);
|
InterfaceList.redraw(component);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -2624,74 +2626,79 @@ public class Protocol {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Static178.anInt4247++;
|
Static178.anInt4247++;
|
||||||
if (MiniMenu.aClass13_7 != null) {
|
if (MiniMenu.pressedInventoryComponent != null) {
|
||||||
MiniMenu.anInt2043++;
|
MiniMenu.anInt2043++;
|
||||||
if (MiniMenu.anInt2043 >= 15) {
|
if (MiniMenu.anInt2043 >= 15) {
|
||||||
InterfaceList.redraw(MiniMenu.aClass13_7);
|
InterfaceList.redraw(MiniMenu.pressedInventoryComponent);
|
||||||
MiniMenu.aClass13_7 = null;
|
MiniMenu.pressedInventoryComponent = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@Pc(1361) Component local1361;
|
|
||||||
if (Static118.aClass13_15 != null) {
|
@Pc(1361) Component component;
|
||||||
InterfaceList.redraw(Static118.aClass13_15);
|
if (Static118.clickedInventoryComponent != null) {
|
||||||
if (Static149.anInt3554 + 5 < Mouse.anInt4873 || Mouse.anInt4873 < Static149.anInt3554 - 5 || Static206.anInt4773 + 5 < Mouse.anInt5032 || Static206.anInt4773 - 5 > Mouse.anInt5032) {
|
InterfaceList.redraw(Static118.clickedInventoryComponent);
|
||||||
Static123.aBoolean155 = true;
|
if (Static149.clickedInventoryComponentX + 5 < Mouse.lastMouseX || Mouse.lastMouseX < Static149.clickedInventoryComponentX - 5 || Static206.clickedInventoryComponentY + 5 < Mouse.lastMouseY || Static206.clickedInventoryComponentY - 5 > Mouse.lastMouseY) {
|
||||||
|
Static123.draggingClickedInventoryObject = true;
|
||||||
}
|
}
|
||||||
Static78.anInt2145++;
|
Static78.clickedInventoryComponentCycle++;
|
||||||
|
|
||||||
if (Mouse.pressedButton == 0) {
|
if (Mouse.pressedButton == 0) {
|
||||||
if (Static123.aBoolean155 && Static78.anInt2145 >= 5) {
|
if (Static123.draggingClickedInventoryObject && Static78.clickedInventoryComponentCycle >= 5) {
|
||||||
if (Static118.aClass13_15 == Static169.aClass13_18 && Static4.anInt36 != Static18.anInt588) {
|
if (Static118.clickedInventoryComponent == Static169.mouseOverInventoryInterface && Static4.mouseOverInventoryObjectIndex != Static18.clickedInventoryIndex) {
|
||||||
local1361 = Static118.aClass13_15;
|
component = Static118.clickedInventoryComponent;
|
||||||
@Pc(1363) byte local1363 = 0;
|
@Pc(1363) byte inserting = 0;
|
||||||
if (Static179.anInt4254 == 1 && local1361.anInt453 == 206) {
|
|
||||||
local1363 = 1;
|
if (VarpDomain.inserting == 1 && component.clientCode == 206) {
|
||||||
|
inserting = 1;
|
||||||
}
|
}
|
||||||
if (local1361.objTypes[Static18.anInt588] <= 0) {
|
|
||||||
local1363 = 0;
|
if (component.objTypes[Static18.clickedInventoryIndex] <= 0) {
|
||||||
|
inserting = 0;
|
||||||
}
|
}
|
||||||
if (InterfaceList.getServerActiveProperties(local1361).isObjReplaceEnabled()) {
|
|
||||||
y = Static4.anInt36;
|
if (InterfaceList.getServerActiveProperties(component).isObjReplaceEnabled()) {
|
||||||
x = Static18.anInt588;
|
int newIndex = Static4.mouseOverInventoryObjectIndex;
|
||||||
local1361.objTypes[x] = local1361.objTypes[y];
|
int currentIndex = Static18.clickedInventoryIndex;
|
||||||
local1361.objCounts[x] = local1361.objCounts[y];
|
component.objTypes[currentIndex] = component.objTypes[newIndex];
|
||||||
local1361.objTypes[y] = -1;
|
component.objCounts[currentIndex] = component.objCounts[newIndex];
|
||||||
local1361.objCounts[y] = 0;
|
component.objTypes[newIndex] = -1;
|
||||||
} else if (local1363 == 1) {
|
component.objCounts[newIndex] = 0;
|
||||||
x = Static18.anInt588;
|
} else if (inserting == 1) {
|
||||||
y = Static4.anInt36;
|
int currentIndex = Static18.clickedInventoryIndex;
|
||||||
while (x != y) {
|
int newIndex = Static4.mouseOverInventoryObjectIndex;
|
||||||
if (y > x) {
|
while (currentIndex != newIndex) {
|
||||||
local1361.swapObjs(y - 1, y);
|
if (currentIndex > newIndex) {
|
||||||
y--;
|
component.swapObjs(currentIndex - 1, currentIndex);
|
||||||
} else if (x > y) {
|
currentIndex--;
|
||||||
local1361.swapObjs(y + 1, y);
|
} else {
|
||||||
y++;
|
component.swapObjs(currentIndex + 1, currentIndex);
|
||||||
|
currentIndex++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
local1361.swapObjs(Static18.anInt588, Static4.anInt36);
|
component.swapObjs(Static18.clickedInventoryIndex, Static4.mouseOverInventoryObjectIndex);
|
||||||
}
|
}
|
||||||
outboundBuffer.p1isaac(231);
|
outboundBuffer.p1isaac(231);
|
||||||
outboundBuffer.p2(Static4.anInt36);
|
outboundBuffer.p2(Static4.mouseOverInventoryObjectIndex);
|
||||||
outboundBuffer.p4le2(Static118.aClass13_15.id);
|
outboundBuffer.p4le2(Static118.clickedInventoryComponent.id);
|
||||||
outboundBuffer.p2add(Static18.anInt588);
|
outboundBuffer.p2add(Static18.clickedInventoryIndex);
|
||||||
outboundBuffer.p1sub(local1363);
|
outboundBuffer.p1sub(inserting);
|
||||||
}
|
}
|
||||||
} else if ((Static116.anInt2952 == 1 || MiniMenu.method4640(MiniMenu.size - 1)) && MiniMenu.size > 2) {
|
} else if ((VarpDomain.anInt2952 == 1 || MiniMenu.method4640(MiniMenu.size - 1)) && MiniMenu.size > 2) {
|
||||||
Static226.method3901();
|
Static226.method3901();
|
||||||
} else if (MiniMenu.size > 0) {
|
} else if (MiniMenu.size > 0) {
|
||||||
Static59.method1372();
|
Static59.method1372();
|
||||||
}
|
}
|
||||||
Mouse.clickButton = 0;
|
Mouse.clickButton = 0;
|
||||||
MiniMenu.anInt2043 = 10;
|
MiniMenu.anInt2043 = 10;
|
||||||
Static118.aClass13_15 = null;
|
Static118.clickedInventoryComponent = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Static146.aBoolean174 = false;
|
Static146.aBoolean174 = false;
|
||||||
Static56.aClass13_12 = null;
|
Static56.aClass13_12 = null;
|
||||||
Static44.aBoolean83 = false;
|
Static44.aBoolean83 = false;
|
||||||
InterfaceList.keyQueueSize = 0;
|
InterfaceList.keyQueueSize = 0;
|
||||||
local1361 = Static180.aClass13_22;
|
component = Static180.aClass13_22;
|
||||||
Static180.aClass13_22 = null;
|
Static180.aClass13_22 = null;
|
||||||
@Pc(1508) Component local1508 = Static43.aClass13_11;
|
@Pc(1508) Component local1508 = Static43.aClass13_11;
|
||||||
Static43.aClass13_11 = null;
|
Static43.aClass13_11 = null;
|
||||||
|
|
@ -2777,9 +2784,9 @@ public class Protocol {
|
||||||
}
|
}
|
||||||
MiniMenu.anInt1742 = -1;
|
MiniMenu.anInt1742 = -1;
|
||||||
Static7.method843();
|
Static7.method843();
|
||||||
if (Static180.aClass13_22 != local1361) {
|
if (Static180.aClass13_22 != component) {
|
||||||
if (local1361 != null) {
|
if (component != null) {
|
||||||
InterfaceList.redraw(local1361);
|
InterfaceList.redraw(component);
|
||||||
}
|
}
|
||||||
if (Static180.aClass13_22 != null) {
|
if (Static180.aClass13_22 != null) {
|
||||||
InterfaceList.redraw(Static180.aClass13_22);
|
InterfaceList.redraw(Static180.aClass13_22);
|
||||||
|
|
|
||||||
|
|
@ -709,7 +709,7 @@ public final class ScriptRunner {
|
||||||
throw new RuntimeException("Gap at:" + (int2 - 1));
|
throw new RuntimeException("Gap at:" + (int2 - 1));
|
||||||
}
|
}
|
||||||
@Pc(1137) Component local1137 = new Component();
|
@Pc(1137) Component local1137 = new Component();
|
||||||
local1137.usingScripts = true;
|
local1137.if3 = true;
|
||||||
local1137.createdComponentId = int2;
|
local1137.createdComponentId = int2;
|
||||||
local1137.layer = local1137.id = local1063.id;
|
local1137.layer = local1137.id = local1063.id;
|
||||||
local1137.type = int3;
|
local1137.type = int3;
|
||||||
|
|
@ -4357,13 +4357,13 @@ public final class ScriptRunner {
|
||||||
if (opcode == Cs2Opcodes.toLower) {
|
if (opcode == Cs2Opcodes.toLower) {
|
||||||
isp--;
|
isp--;
|
||||||
int1 = intStack[isp];
|
int1 = intStack[isp];
|
||||||
intStack[isp++] = Static231.toLowerCase(int1);
|
intStack[isp++] = StringUtils.toLowerCase(int1);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (opcode == Cs2Opcodes.toUpper) {
|
if (opcode == Cs2Opcodes.toUpper) {
|
||||||
isp--;
|
isp--;
|
||||||
int1 = intStack[isp];
|
int1 = intStack[isp];
|
||||||
intStack[isp++] = Static143.toUpperCase(int1);
|
intStack[isp++] = StringUtils.toUpperCase(int1);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (opcode == Cs2Opcodes.formatNumber) {
|
if (opcode == Cs2Opcodes.formatNumber) {
|
||||||
|
|
@ -4371,7 +4371,7 @@ public final class ScriptRunner {
|
||||||
local12388 = intStack[isp] != 0;
|
local12388 = intStack[isp] != 0;
|
||||||
isp--;
|
isp--;
|
||||||
int3 = intStack[isp];
|
int3 = intStack[isp];
|
||||||
stringStack[ssp++] = Static182.formatNumber(client.language, local12388, 0, (long) int3);
|
stringStack[ssp++] = StringUtils.formatNumber(client.language, local12388, 0, (long) int3);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,61 +11,61 @@ public final class ServerActiveProperties extends Node {
|
||||||
public final int anInt540;
|
public final int anInt540;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "x", descriptor = "I")
|
@OriginalMember(owner = "client!bf", name = "x", descriptor = "I")
|
||||||
public final int accessMask;
|
public final int events;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "<init>", descriptor = "(II)V")
|
@OriginalMember(owner = "client!bf", name = "<init>", descriptor = "(II)V")
|
||||||
public ServerActiveProperties(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
public ServerActiveProperties(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||||
this.anInt540 = arg1;
|
this.anInt540 = arg1;
|
||||||
this.accessMask = arg0;
|
this.events = arg0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "a", descriptor = "(IB)Z")
|
@OriginalMember(owner = "client!bf", name = "a", descriptor = "(IB)Z")
|
||||||
public final boolean method503(@OriginalArg(0) int arg0) {
|
public final boolean method503(@OriginalArg(0) int arg0) {
|
||||||
return (this.accessMask >> arg0 + 1 & 0x1) != 0;
|
return (this.events >> arg0 + 1 & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "d", descriptor = "(I)Z")
|
@OriginalMember(owner = "client!bf", name = "d", descriptor = "(I)Z")
|
||||||
public final boolean isObjReplaceEnabled() {
|
public final boolean isObjReplaceEnabled() {
|
||||||
return (this.accessMask >> 29 & 0x1) != 0;
|
return (this.events >> 29 & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "e", descriptor = "(B)I")
|
@OriginalMember(owner = "client!bf", name = "e", descriptor = "(B)I")
|
||||||
public final int method505() {
|
public final int method505() {
|
||||||
return this.accessMask >> 18 & 0x7;
|
return this.events >> 18 & 0x7;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "e", descriptor = "(I)Z")
|
@OriginalMember(owner = "client!bf", name = "e", descriptor = "(I)Z")
|
||||||
public final boolean method506() {
|
public final boolean method506() {
|
||||||
return (this.accessMask & 0x1) != 0;
|
return (this.events & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "f", descriptor = "(I)Z")
|
@OriginalMember(owner = "client!bf", name = "f", descriptor = "(I)Z")
|
||||||
public final boolean method507() {
|
public final boolean method507() {
|
||||||
return (this.accessMask >> 31 & 0x1) != 0;
|
return (this.events >> 31 & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "g", descriptor = "(I)Z")
|
@OriginalMember(owner = "client!bf", name = "g", descriptor = "(I)Z")
|
||||||
public final boolean method508() {
|
public final boolean method508() {
|
||||||
return (this.accessMask >> 22 & 0x1) != 0;
|
return (this.events >> 22 & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "a", descriptor = "(Z)Z")
|
@OriginalMember(owner = "client!bf", name = "a", descriptor = "(Z)Z")
|
||||||
public final boolean method509() {
|
public final boolean method509() {
|
||||||
return (this.accessMask >> 21 & 0x1) != 0;
|
return (this.events >> 21 & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "h", descriptor = "(I)Z")
|
@OriginalMember(owner = "client!bf", name = "h", descriptor = "(I)Z")
|
||||||
public final boolean isObjOpsEnabled() {
|
public final boolean isObjOpsEnabled() {
|
||||||
return (this.accessMask >> 30 & 0x1) != 0;
|
return (this.events >> 30 & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "f", descriptor = "(B)Z")
|
@OriginalMember(owner = "client!bf", name = "f", descriptor = "(B)Z")
|
||||||
public final boolean method511() {
|
public final boolean method511() {
|
||||||
return (this.accessMask >> 28 & 0x1) != 0;
|
return (this.events >> 28 & 0x1) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bf", name = "i", descriptor = "(I)I")
|
@OriginalMember(owner = "client!bf", name = "i", descriptor = "(I)I")
|
||||||
public final int getTargetMask() {
|
public final int getTargetMask() {
|
||||||
return Static199.method3594(this.accessMask);
|
return Static199.method3594(this.events);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ public final class Static1 {
|
||||||
if (local50.anInt5899 == -1) {
|
if (local50.anInt5899 == -1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@Pc(61) GlTile local61 = Static243.method4212(local10, local50);
|
@Pc(61) GlTile local61 = method4212(local10, local50);
|
||||||
@Pc(67) byte local67 = arg7[local12][local17];
|
@Pc(67) byte local67 = arg7[local12][local17];
|
||||||
@Pc(71) int[] local71 = Static228.anIntArrayArray35[local67];
|
@Pc(71) int[] local71 = Static228.anIntArrayArray35[local67];
|
||||||
local61.anInt2482 += local71.length / 2;
|
local61.anInt2482 += local71.length / 2;
|
||||||
|
|
@ -230,7 +230,7 @@ public final class Static1 {
|
||||||
@Pc(1077) boolean[] local1077 = aBooleanArrayArray4[local143 == local777 ? local129 : 0];
|
@Pc(1077) boolean[] local1077 = aBooleanArrayArray4[local143 == local777 ? local129 : 0];
|
||||||
local1086 = aBooleanArrayArray4[local190 == local777 ? local168 : 0];
|
local1086 = aBooleanArrayArray4[local190 == local777 ? local168 : 0];
|
||||||
@Pc(1092) FloType local1092 = FloTypeList.method4395(local777 - 1);
|
@Pc(1092) FloType local1092 = FloTypeList.method4395(local777 - 1);
|
||||||
@Pc(1097) GlTile local1097 = Static243.method4212(local10, local1092);
|
@Pc(1097) GlTile local1097 = method4212(local10, local1092);
|
||||||
local1097.anInt2482 += 5;
|
local1097.anInt2482 += 5;
|
||||||
local1097.anInt2482 += local1077.length - 2;
|
local1097.anInt2482 += local1077.length - 2;
|
||||||
local1097.anInt2482 += local1055.length - 2;
|
local1097.anInt2482 += local1055.length - 2;
|
||||||
|
|
@ -261,7 +261,7 @@ public final class Static1 {
|
||||||
if (local1250.anInt5899 == -1) {
|
if (local1250.anInt5899 == -1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@Pc(1261) GlTile local1261 = Static243.method4212(local10, local1250);
|
@Pc(1261) GlTile local1261 = method4212(local10, local1250);
|
||||||
@Pc(1267) byte local1267 = arg7[local12][local17];
|
@Pc(1267) byte local1267 = arg7[local12][local17];
|
||||||
@Pc(1273) byte local1273 = arg5[local12][local17];
|
@Pc(1273) byte local1273 = arg5[local12][local17];
|
||||||
local168 = Static19.method588(local1250.texture, local1250.anInt5899, arg6[local12][local17]);
|
local168 = Static19.method588(local1250.texture, local1250.anInt5899, arg6[local12][local17]);
|
||||||
|
|
@ -461,7 +461,7 @@ public final class Static1 {
|
||||||
local1086 = aBooleanArrayArray4[local2003 == local190 ? local168 : 0];
|
local1086 = aBooleanArrayArray4[local2003 == local190 ? local168 : 0];
|
||||||
@Pc(2318) boolean[] local2318 = aBooleanArrayArray4[local2003 == local180 ? local143 : 0];
|
@Pc(2318) boolean[] local2318 = aBooleanArrayArray4[local2003 == local180 ? local143 : 0];
|
||||||
@Pc(2324) FloType local2324 = FloTypeList.method4395(local2003 - 1);
|
@Pc(2324) FloType local2324 = FloTypeList.method4395(local2003 - 1);
|
||||||
@Pc(2329) GlTile local2329 = Static243.method4212(local10, local2324);
|
@Pc(2329) GlTile local2329 = method4212(local10, local2324);
|
||||||
@Pc(2345) int local2345 = Static19.method588(local2324.texture, local2324.anInt5899, arg6[local12][local17]) << 8 | 0xFF;
|
@Pc(2345) int local2345 = Static19.method588(local2324.texture, local2324.anInt5899, arg6[local12][local17]) << 8 | 0xFF;
|
||||||
@Pc(2365) int local2365 = Static19.method588(local2324.texture, local2324.anInt5899, arg6[local12 + 1][local17]) << 8 | 0xFF;
|
@Pc(2365) int local2365 = Static19.method588(local2324.texture, local2324.anInt5899, arg6[local12 + 1][local17]) << 8 | 0xFF;
|
||||||
@Pc(2385) int local2385 = Static19.method588(local2324.texture, local2324.anInt5899, arg6[local12 + 1][local17 + 1]) << 8 | 0xFF;
|
@Pc(2385) int local2385 = Static19.method588(local2324.texture, local2324.anInt5899, arg6[local12 + 1][local17 + 1]) << 8 | 0xFF;
|
||||||
|
|
@ -589,4 +589,15 @@ public final class Static1 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!tk", name = "a", descriptor = "(Lclient!sc;ZLclient!wl;)Lclient!hg;")
|
||||||
|
public static GlTile method4212(@OriginalArg(0) HashTable arg0, @OriginalArg(2) FloType arg1) {
|
||||||
|
@Pc(23) long local23 = (long) ((arg1.texture + 1 << 16) + arg1.anInt5885) + ((long) arg1.anInt5897 << 56) + ((long) arg1.anInt5889 << 32);
|
||||||
|
@Pc(38) GlTile local38 = (GlTile) arg0.get(local23);
|
||||||
|
if (local38 == null) {
|
||||||
|
local38 = new GlTile(arg1.texture, (float) arg1.anInt5885, true, false, arg1.anInt5889);
|
||||||
|
arg0.put(local38, local23);
|
||||||
|
}
|
||||||
|
return local38;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,15 +6,6 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
|
|
||||||
public final class Static105 {
|
public final class Static105 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ib", name = "c", descriptor = "Lclient!qi;")
|
|
||||||
public static final ColorImageCacheEntry VALID = new ColorImageCacheEntry(0, 0);
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ib", name = "k", descriptor = "Lclient!na;")
|
|
||||||
public static final JagString aClass100_561 = JagString.parse(" )2> <col=ffffff>");
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ib", name = "l", descriptor = "I")
|
|
||||||
public static int anInt2863 = 0;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ib", name = "a", descriptor = "(IIIIIIIILclient!th;IZJ)Z")
|
@OriginalMember(owner = "client!ib", name = "a", descriptor = "(IIIIIIIILclient!th;IZJ)Z")
|
||||||
public static boolean method2256(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(4) int arg4, @OriginalArg(5) int arg5, @OriginalArg(6) int arg6, @OriginalArg(7) int arg7, @OriginalArg(8) Entity arg8, @OriginalArg(9) int arg9, @OriginalArg(10) boolean arg10, @OriginalArg(11) long arg11) {
|
public static boolean method2256(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(4) int arg4, @OriginalArg(5) int arg5, @OriginalArg(6) int arg6, @OriginalArg(7) int arg7, @OriginalArg(8) Entity arg8, @OriginalArg(9) int arg9, @OriginalArg(10) boolean arg10, @OriginalArg(11) long arg11) {
|
||||||
@Pc(6) boolean local6 = SceneGraph.tileHeights == SceneGraph.underwaterTileHeights;
|
@Pc(6) boolean local6 = SceneGraph.tileHeights == SceneGraph.underwaterTileHeights;
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,6 @@ import org.openrs2.deob.annotation.OriginalMember;
|
||||||
|
|
||||||
public final class Static107 {
|
public final class Static107 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!id", name = "k", descriptor = "I")
|
|
||||||
public static int anInt2878;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!id", name = "b", descriptor = "I")
|
@OriginalMember(owner = "client!id", name = "b", descriptor = "I")
|
||||||
public static int anInt2875 = -1;
|
public static int anInt2875 = -1;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalArg;
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static110 {
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ih", name = "a", descriptor = "(I[Lclient!hg;)V")
|
|
||||||
public static void method2280(@OriginalArg(0) int arg0, @OriginalArg(1) GlTile[] arg1) {
|
|
||||||
SceneGraph.underwaterHdTiles[arg0] = arg1;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -33,7 +33,7 @@ public final class Static111 {
|
||||||
} else {
|
} else {
|
||||||
arg0.x = arg2 - (arg2 * arg0.baseX >> 14) - arg0.width;
|
arg0.x = arg2 - (arg2 * arg0.baseX >> 14) - arg0.width;
|
||||||
}
|
}
|
||||||
if (!Static121.aBoolean154 || InterfaceList.getServerActiveProperties(arg0).accessMask == 0 && arg0.type != 0) {
|
if (!Static121.qaOpTest || InterfaceList.getServerActiveProperties(arg0).events == 0 && arg0.type != 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (arg0.y < 0) {
|
if (arg0.y < 0) {
|
||||||
|
|
|
||||||
|
|
@ -52,8 +52,8 @@ public final class Static112 {
|
||||||
} else {
|
} else {
|
||||||
SoftwareRaster.fillRectAlpha(local3, local9 + 20, local13, local11 - 20, Static40.anInt1275, 256 - Static40.anInt2910);
|
SoftwareRaster.fillRectAlpha(local3, local9 + 20, local13, local11 - 20, Static40.anInt1275, 256 - Static40.anInt2910);
|
||||||
}
|
}
|
||||||
local114 = Mouse.anInt5032;
|
local114 = Mouse.lastMouseY;
|
||||||
local112 = Mouse.anInt4873;
|
local112 = Mouse.lastMouseX;
|
||||||
@Pc(203) int local203;
|
@Pc(203) int local203;
|
||||||
@Pc(219) int local219;
|
@Pc(219) int local219;
|
||||||
for (local203 = 0; local203 < MiniMenu.size; local203++) {
|
for (local203 = 0; local203 < MiniMenu.size; local203++) {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,5 @@
|
||||||
package rt4;
|
package rt4;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static116 {
|
public final class Static116 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jb", name = "n", descriptor = "I")
|
|
||||||
public static int anInt2952 = 0;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,15 +7,15 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
public final class Static118 {
|
public final class Static118 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jd", name = "i", descriptor = "Lclient!be;")
|
@OriginalMember(owner = "client!jd", name = "i", descriptor = "Lclient!be;")
|
||||||
public static Component aClass13_15;
|
public static Component clickedInventoryComponent;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jd", name = "a", descriptor = "(II[Lclient!be;)V")
|
@OriginalMember(owner = "client!jd", name = "a", descriptor = "(II[Lclient!be;)V")
|
||||||
public static void method2354(@OriginalArg(1) int arg0, @OriginalArg(2) Component[] arg1) {
|
public static void method2354(@OriginalArg(1) int arg0, @OriginalArg(2) Component[] arg1) {
|
||||||
for (@Pc(7) int local7 = 0; local7 < arg1.length; local7++) {
|
for (@Pc(7) int local7 = 0; local7 < arg1.length; local7++) {
|
||||||
@Pc(15) Component local15 = arg1[local7];
|
@Pc(15) Component local15 = arg1[local7];
|
||||||
if (local15 != null && local15.layer == arg0 && (!local15.usingScripts || !Static36.method947(local15))) {
|
if (local15 != null && local15.layer == arg0 && (!local15.if3 || !Static36.method947(local15))) {
|
||||||
if (local15.type == 0) {
|
if (local15.type == 0) {
|
||||||
if (!local15.usingScripts && Static36.method947(local15) && local15 != Static180.aClass13_22) {
|
if (!local15.if3 && Static36.method947(local15) && local15 != Static180.aClass13_22) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
method2354(local15.id, arg1);
|
method2354(local15.id, arg1);
|
||||||
|
|
@ -61,7 +61,7 @@ public final class Static118 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (local15.modelRotationSpeed != 0 && !local15.usingScripts) {
|
if (local15.modelRotationSpeed != 0 && !local15.if3) {
|
||||||
@Pc(239) int local239 = local15.modelRotationSpeed >> 16;
|
@Pc(239) int local239 = local15.modelRotationSpeed >> 16;
|
||||||
@Pc(243) int local243 = local239 * Static178.anInt4247;
|
@Pc(243) int local243 = local239 * Static178.anInt4247;
|
||||||
local105 = local15.modelRotationSpeed << 16 >> 16;
|
local105 = local15.modelRotationSpeed << 16 >> 16;
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static12 {
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bb", name = "M", descriptor = "I")
|
|
||||||
public static int anInt406;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -12,16 +12,13 @@ public final class Static121 {
|
||||||
@OriginalMember(owner = "client!jg", name = "b", descriptor = "I")
|
@OriginalMember(owner = "client!jg", name = "b", descriptor = "I")
|
||||||
public static int anInt3039;
|
public static int anInt3039;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jg", name = "g", descriptor = "I")
|
@OriginalMember(owner = "client!jg", name = "e", descriptor = "Z")
|
||||||
public static int anInt3041;
|
public static boolean qaOpTest = false;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jg", name = "e", descriptor = "Z")
|
|
||||||
public static boolean aBoolean154 = false;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jg", name = "a", descriptor = "(IBIII)V")
|
@OriginalMember(owner = "client!jg", name = "a", descriptor = "(IBIII)V")
|
||||||
public static void method2407(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3) {
|
public static void method2407(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3) {
|
||||||
for (@Pc(3) int local3 = 0; local3 < InterfaceList.anInt766; local3++) {
|
for (@Pc(3) int local3 = 0; local3 < InterfaceList.rectangles; local3++) {
|
||||||
if (arg0 < Static264.anIntArray410[local3] + Static224.anIntArray443[local3] && arg0 + arg3 > Static264.anIntArray410[local3] && Static50.anIntArray133[local3] + Static67.anIntArray320[local3] > arg1 && Static50.anIntArray133[local3] < arg2 + arg1) {
|
if (arg0 < InterfaceList.rectangleX[local3] + InterfaceList.rectangleWidth[local3] && arg0 + arg3 > InterfaceList.rectangleX[local3] && InterfaceList.rectangleY[local3] + InterfaceList.rectangleHeight[local3] > arg1 && InterfaceList.rectangleY[local3] < arg2 + arg1) {
|
||||||
InterfaceList.rectangleRedraw[local3] = true;
|
InterfaceList.rectangleRedraw[local3] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ public final class Static123 {
|
||||||
public static int anInt3058 = 0;
|
public static int anInt3058 = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jj", name = "j", descriptor = "Z")
|
@OriginalMember(owner = "client!jj", name = "j", descriptor = "Z")
|
||||||
public static boolean aBoolean155 = false;
|
public static boolean draggingClickedInventoryObject = false;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ml", name = "K", descriptor = "I")
|
@OriginalMember(owner = "client!ml", name = "K", descriptor = "I")
|
||||||
public static int anInt3947;
|
public static int anInt3947;
|
||||||
|
|
|
||||||
|
|
@ -1,56 +1,10 @@
|
||||||
package rt4;
|
package rt4;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalArg;
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
import org.openrs2.deob.annotation.OriginalMember;
|
||||||
import org.openrs2.deob.annotation.Pc;
|
|
||||||
|
|
||||||
public final class Static124 {
|
public final class Static124 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jk", name = "p", descriptor = "I")
|
@OriginalMember(owner = "client!jk", name = "p", descriptor = "I")
|
||||||
public static int anInt3075 = -1;
|
public static int anInt3075 = -1;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jk", name = "y", descriptor = "Z")
|
|
||||||
public static boolean aBoolean156 = false;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jk", name = "a", descriptor = "(IZ[BII[Lclient!mj;)V")
|
|
||||||
public static void method2437(@OriginalArg(0) int arg0, @OriginalArg(1) boolean arg1, @OriginalArg(2) byte[] arg2, @OriginalArg(3) int arg3, @OriginalArg(5) CollisionMap[] arg4) {
|
|
||||||
@Pc(10) Buffer local10 = new Buffer(arg2);
|
|
||||||
@Pc(12) int local12 = -1;
|
|
||||||
while (true) {
|
|
||||||
@Pc(16) int local16 = local10.gVarSmart();
|
|
||||||
if (local16 == 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
local12 += local16;
|
|
||||||
@Pc(27) int local27 = 0;
|
|
||||||
while (true) {
|
|
||||||
@Pc(31) int local31 = local10.gSmart1or2();
|
|
||||||
if (local31 == 0) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
local27 += local31 - 1;
|
|
||||||
@Pc(46) int local46 = local27 & 0x3F;
|
|
||||||
@Pc(50) int local50 = local27 >> 12;
|
|
||||||
@Pc(56) int local56 = local27 >> 6 & 0x3F;
|
|
||||||
@Pc(60) int local60 = local10.g1();
|
|
||||||
@Pc(64) int local64 = local60 >> 2;
|
|
||||||
@Pc(68) int local68 = local60 & 0x3;
|
|
||||||
@Pc(72) int local72 = arg0 + local56;
|
|
||||||
@Pc(76) int local76 = local46 + arg3;
|
|
||||||
if (local72 > 0 && local76 > 0 && local72 < 103 && local76 < 103) {
|
|
||||||
@Pc(90) CollisionMap local90 = null;
|
|
||||||
if (!arg1) {
|
|
||||||
@Pc(95) int local95 = local50;
|
|
||||||
if ((SceneGraph.tileFlags[1][local72][local76] & 0x2) == 2) {
|
|
||||||
local95 = local50 - 1;
|
|
||||||
}
|
|
||||||
if (local95 >= 0) {
|
|
||||||
local90 = arg4[local95];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Static185.method3397(local50, !arg1, local50, arg1, local90, local12, local64, local72, local76, local68);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ public final class Static126 {
|
||||||
if (InterfaceList.topLevelInterface != -1) {
|
if (InterfaceList.topLevelInterface != -1) {
|
||||||
Static96.method1949(InterfaceList.topLevelInterface);
|
Static96.method1949(InterfaceList.topLevelInterface);
|
||||||
}
|
}
|
||||||
for (@Pc(15) int local15 = 0; local15 < InterfaceList.anInt766; local15++) {
|
for (@Pc(15) int local15 = 0; local15 < InterfaceList.rectangles; local15++) {
|
||||||
if (Static186.aBooleanArray100[local15]) {
|
if (Static186.aBooleanArray100[local15]) {
|
||||||
InterfaceList.rectangleRedraw[local15] = true;
|
InterfaceList.rectangleRedraw[local15] = true;
|
||||||
}
|
}
|
||||||
|
|
@ -18,14 +18,14 @@ public final class Static126 {
|
||||||
Static186.aBooleanArray100[local15] = false;
|
Static186.aBooleanArray100[local15] = false;
|
||||||
}
|
}
|
||||||
Static97.anInt2503 = -1;
|
Static97.anInt2503 = -1;
|
||||||
Static169.aClass13_18 = null;
|
Static169.mouseOverInventoryInterface = null;
|
||||||
Static182.anInt4311 = client.loop;
|
Static182.anInt4311 = client.loop;
|
||||||
if (GlRenderer.enabled) {
|
if (GlRenderer.enabled) {
|
||||||
Static263.aBoolean299 = true;
|
Static263.aBoolean299 = true;
|
||||||
}
|
}
|
||||||
Static214.anInt5574 = -1;
|
Static214.anInt5574 = -1;
|
||||||
if (InterfaceList.topLevelInterface != -1) {
|
if (InterfaceList.topLevelInterface != -1) {
|
||||||
InterfaceList.anInt766 = 0;
|
InterfaceList.rectangles = 0;
|
||||||
Static9.method182();
|
Static9.method182();
|
||||||
}
|
}
|
||||||
if (GlRenderer.enabled) {
|
if (GlRenderer.enabled) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
public final class Static128 {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -17,8 +17,8 @@ public final class Static133 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!kf", name = "a", descriptor = "(IIBII)V")
|
@OriginalMember(owner = "client!kf", name = "a", descriptor = "(IIBII)V")
|
||||||
public static void method4012(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3) {
|
public static void method4012(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3) {
|
||||||
for (@Pc(12) int local12 = 0; local12 < InterfaceList.anInt766; local12++) {
|
for (@Pc(12) int local12 = 0; local12 < InterfaceList.rectangles; local12++) {
|
||||||
if (Static224.anIntArray443[local12] + Static264.anIntArray410[local12] > arg0 && arg1 + arg0 > Static264.anIntArray410[local12] && arg2 < Static67.anIntArray320[local12] + Static50.anIntArray133[local12] && Static50.anIntArray133[local12] < arg2 + arg3) {
|
if (InterfaceList.rectangleWidth[local12] + InterfaceList.rectangleX[local12] > arg0 && arg1 + arg0 > InterfaceList.rectangleX[local12] && arg2 < InterfaceList.rectangleHeight[local12] + InterfaceList.rectangleY[local12] && InterfaceList.rectangleY[local12] < arg2 + arg3) {
|
||||||
Static186.aBooleanArray100[local12] = true;
|
Static186.aBooleanArray100[local12] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
package rt4;
|
package rt4;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalArg;
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
import org.openrs2.deob.annotation.OriginalMember;
|
||||||
|
|
||||||
public final class Static143 {
|
public final class Static143 {
|
||||||
|
|
@ -17,25 +16,4 @@ public final class Static143 {
|
||||||
@OriginalMember(owner = "client!ld", name = "i", descriptor = "I")
|
@OriginalMember(owner = "client!ld", name = "i", descriptor = "I")
|
||||||
public static int anInt3486 = 0;
|
public static int anInt3486 = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ld", name = "a", descriptor = "(IIIIZI)V")
|
|
||||||
public static void method2731(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(5) int arg4) {
|
|
||||||
Static230.anInt5158 = arg1;
|
|
||||||
Static59.anInt1815 = arg4;
|
|
||||||
Static254.anInt5559 = arg0;
|
|
||||||
Static12.anInt406 = arg3;
|
|
||||||
Static199.anInt4675 = arg2;
|
|
||||||
}
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ld", name = "a", descriptor = "(IB)I")
|
|
||||||
public static int toUpperCase(@OriginalArg(0) int arg0) {
|
|
||||||
if (arg0 >= 97 && arg0 <= 122 || arg0 >= 224 && arg0 <= 254 && arg0 != 247) {
|
|
||||||
return arg0 - 32;
|
|
||||||
} else if (arg0 == 255) {
|
|
||||||
return 159;
|
|
||||||
} else if (arg0 == 156) {
|
|
||||||
return 140;
|
|
||||||
} else {
|
|
||||||
return arg0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static144 {
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!le", name = "c", descriptor = "Lclient!rf;")
|
|
||||||
public static Song aClass3_Sub29_1;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -68,8 +68,8 @@ public final class Static145 {
|
||||||
SoftwareRaster.drawRect(local11 + 1, local3 + 18, local9 - 2, local15 + -19, 0);
|
SoftwareRaster.drawRect(local11 + 1, local3 + 18, local9 - 2, local15 + -19, 0);
|
||||||
}
|
}
|
||||||
Fonts.b12Full.renderLeft(LocalizedText.CHOOSE_OPTION, local11 + 3, local3 + 14, 6116423, -1);
|
Fonts.b12Full.renderLeft(LocalizedText.CHOOSE_OPTION, local11 + 3, local3 + 14, 6116423, -1);
|
||||||
@Pc(96) int local96 = Mouse.anInt5032;
|
@Pc(96) int local96 = Mouse.lastMouseY;
|
||||||
@Pc(98) int local98 = Mouse.anInt4873;
|
@Pc(98) int local98 = Mouse.lastMouseX;
|
||||||
for (@Pc(107) int local107 = 0; local107 < MiniMenu.size; local107++) {
|
for (@Pc(107) int local107 = 0; local107 < MiniMenu.size; local107++) {
|
||||||
@Pc(127) int local127 = (MiniMenu.size - local107 - 1) * 15 + local3 + 31;
|
@Pc(127) int local127 = (MiniMenu.size - local107 - 1) * 15 + local3 + 31;
|
||||||
@Pc(129) int local129 = 16777215;
|
@Pc(129) int local129 = 16777215;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ public final class Static149 {
|
||||||
public static int anInt3555;
|
public static int anInt3555;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!lj", name = "w", descriptor = "I")
|
@OriginalMember(owner = "client!lj", name = "w", descriptor = "I")
|
||||||
public static int anInt3554 = 0;
|
public static int clickedInventoryComponentX = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!lj", name = "z", descriptor = "[I")
|
@OriginalMember(owner = "client!lj", name = "z", descriptor = "[I")
|
||||||
public static int[] anIntArray338 = new int[2];
|
public static int[] anIntArray338 = new int[2];
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ public final class Static150 {
|
||||||
if (arg2.dynamicHeightValue == 4) {
|
if (arg2.dynamicHeightValue == 4) {
|
||||||
arg2.height = arg2.aspectHeight * arg2.width / arg2.aspectWidth;
|
arg2.height = arg2.aspectHeight * arg2.width / arg2.aspectWidth;
|
||||||
}
|
}
|
||||||
if (Static121.aBoolean154 && (InterfaceList.getServerActiveProperties(arg2).accessMask != 0 || arg2.type == 0)) {
|
if (Static121.qaOpTest && (InterfaceList.getServerActiveProperties(arg2).events != 0 || arg2.type == 0)) {
|
||||||
if (arg2.height < 5 && arg2.width < 5) {
|
if (arg2.height < 5 && arg2.width < 5) {
|
||||||
arg2.height = 5;
|
arg2.height = 5;
|
||||||
arg2.width = 5;
|
arg2.width = 5;
|
||||||
|
|
@ -58,7 +58,7 @@ public final class Static150 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (arg2.anInt453 == 1337) {
|
if (arg2.clientCode == 1337) {
|
||||||
Static280.aClass13_26 = arg2;
|
Static280.aClass13_26 = arg2;
|
||||||
}
|
}
|
||||||
if (arg3 && arg2.onResize != null && (local4 != arg2.width || arg2.height != local7)) {
|
if (arg3 && arg2.onResize != null && (local4 != arg2.width || arg2.height != local7)) {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
public final class Static169 {
|
public final class Static169 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!nf", name = "h", descriptor = "Lclient!be;")
|
@OriginalMember(owner = "client!nf", name = "h", descriptor = "Lclient!be;")
|
||||||
public static Component aClass13_18;
|
public static Component mouseOverInventoryInterface;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!nf", name = "i", descriptor = "I")
|
@OriginalMember(owner = "client!nf", name = "i", descriptor = "I")
|
||||||
public static int anInt4075 = -1;
|
public static int anInt4075 = -1;
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,5 @@
|
||||||
package rt4;
|
package rt4;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static179 {
|
public final class Static179 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!oe", name = "b", descriptor = "I")
|
|
||||||
public static int anInt4254 = 0;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
public final class Static18 {
|
public final class Static18 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bh", name = "t", descriptor = "I")
|
@OriginalMember(owner = "client!bh", name = "t", descriptor = "I")
|
||||||
public static int anInt588 = 0;
|
public static int clickedInventoryIndex = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bh", name = "C", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!bh", name = "C", descriptor = "Lclient!na;")
|
||||||
public static final JagString COMPLETE_PERCENT = JagString.parse("<br>(X100(U(Y");
|
public static final JagString COMPLETE_PERCENT = JagString.parse("<br>(X100(U(Y");
|
||||||
|
|
|
||||||
|
|
@ -13,65 +13,13 @@ public final class Static182 {
|
||||||
@OriginalMember(owner = "client!oj", name = "t", descriptor = "[I")
|
@OriginalMember(owner = "client!oj", name = "t", descriptor = "[I")
|
||||||
public static int[] anIntArray372;
|
public static int[] anIntArray372;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!oj", name = "p", descriptor = "I")
|
@OriginalMember(owner = "client!oj", name = "v", descriptor = "I")
|
||||||
public static final int anInt4306 = 2301979;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!oj", name = "v", descriptor = "I")
|
|
||||||
public static int anInt4311 = -2;
|
public static int anInt4311 = -2;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!oj", name = "z", descriptor = "[Z")
|
@OriginalMember(owner = "client!oj", name = "z", descriptor = "[Z")
|
||||||
public static final boolean[] aBooleanArray97 = new boolean[] { true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false };
|
public static final boolean[] aBooleanArray97 = new boolean[] { true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false };
|
||||||
|
|
||||||
@OriginalMember(owner = "client!oj", name = "a", descriptor = "(IZIJI)Lclient!na;")
|
@OriginalMember(owner = "client!oj", name = "a", descriptor = "(IBI[[III)I")
|
||||||
public static JagString formatNumber(@OriginalArg(0) int arg0, @OriginalArg(1) boolean arg1, @OriginalArg(2) int arg2, @OriginalArg(3) long arg3) {
|
|
||||||
@Pc(9) JagString local9 = Static87.allocate(0);
|
|
||||||
if (arg3 < 0L) {
|
|
||||||
arg3 = -arg3;
|
|
||||||
local9.method3113(Static73.aClass100_453);
|
|
||||||
}
|
|
||||||
@Pc(26) JagString local26 = aClass100_1017;
|
|
||||||
@Pc(28) JagString local28 = aClass100_185;
|
|
||||||
if (arg0 == 1) {
|
|
||||||
local26 = aClass100_185;
|
|
||||||
local28 = aClass100_1017;
|
|
||||||
}
|
|
||||||
if (arg0 == 2) {
|
|
||||||
local28 = aClass100_1017;
|
|
||||||
local26 = Static26.aClass100_160;
|
|
||||||
}
|
|
||||||
if (arg0 == 3) {
|
|
||||||
local26 = aClass100_185;
|
|
||||||
local28 = aClass100_1017;
|
|
||||||
}
|
|
||||||
@Pc(59) JagString local59 = Static87.allocate(0);
|
|
||||||
@Pc(61) int local61;
|
|
||||||
for (local61 = 0; local61 < arg2; local61++) {
|
|
||||||
local59.method3113(JagString.parseInt((int) (arg3 % 10L)));
|
|
||||||
arg3 /= 10L;
|
|
||||||
}
|
|
||||||
local61 = 0;
|
|
||||||
@Pc(137) JagString local137;
|
|
||||||
if (arg3 == 0L) {
|
|
||||||
local137 = Static6.aClass100_17;
|
|
||||||
} else {
|
|
||||||
@Pc(95) JagString local95 = Static87.allocate(0);
|
|
||||||
while (arg3 > 0L) {
|
|
||||||
if (arg1 && local61 != 0 && local61 % 3 == 0) {
|
|
||||||
local95.method3113(local26);
|
|
||||||
}
|
|
||||||
local95.method3113(JagString.parseInt((int) (arg3 % 10L)));
|
|
||||||
local61++;
|
|
||||||
arg3 /= 10L;
|
|
||||||
}
|
|
||||||
local137 = local95;
|
|
||||||
}
|
|
||||||
if (local59.length() > 0) {
|
|
||||||
local59.method3113(local28);
|
|
||||||
}
|
|
||||||
return JagString.concatenate(new JagString[] { local9, local137.method3124(), local59.method3124() });
|
|
||||||
}
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!oj", name = "a", descriptor = "(IBI[[III)I")
|
|
||||||
public static int method3361(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int[][] arg2, @OriginalArg(4) int arg3, @OriginalArg(5) int arg4) {
|
public static int method3361(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int[][] arg2, @OriginalArg(4) int arg3, @OriginalArg(5) int arg4) {
|
||||||
@Pc(25) int local25 = arg0 * arg2[arg3 + 1][arg1] + (128 - arg0) * arg2[arg3][arg1] >> 7;
|
@Pc(25) int local25 = arg0 * arg2[arg3 + 1][arg1] + (128 - arg0) * arg2[arg3][arg1] >> 7;
|
||||||
@Pc(52) int local52 = arg2[arg3][arg1 + 1] * (128 - arg0) + arg2[arg3 + 1][arg1 + 1] * arg0 >> 7;
|
@Pc(52) int local52 = arg2[arg3][arg1 + 1] * (128 - arg0) + arg2[arg3 + 1][arg1 + 1] * arg0 >> 7;
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,6 @@ import org.openrs2.deob.annotation.OriginalMember;
|
||||||
|
|
||||||
public final class Static199 {
|
public final class Static199 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!qc", name = "cb", descriptor = "I")
|
|
||||||
public static int anInt4675;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!qc", name = "a", descriptor = "(BI)I")
|
@OriginalMember(owner = "client!qc", name = "a", descriptor = "(BI)I")
|
||||||
public static int method3594(@OriginalArg(1) int arg0) {
|
public static int method3594(@OriginalArg(1) int arg0) {
|
||||||
return arg0 >> 11 & 0x7F;
|
return arg0 >> 11 & 0x7F;
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ public final class Static2 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!aa", name = "a", descriptor = "(BLclient!be;)V")
|
@OriginalMember(owner = "client!aa", name = "a", descriptor = "(BLclient!be;)V")
|
||||||
public static void method13(@OriginalArg(1) Component arg0) {
|
public static void method13(@OriginalArg(1) Component arg0) {
|
||||||
@Pc(16) int local16 = arg0.anInt453;
|
@Pc(16) int local16 = arg0.clientCode;
|
||||||
if (local16 == 324) {
|
if (local16 == 324) {
|
||||||
if (Static158.anInt3851 == -1) {
|
if (Static158.anInt3851 == -1) {
|
||||||
Static158.anInt3851 = arg0.spriteId;
|
Static158.anInt3851 = arg0.spriteId;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ public final class Static206 {
|
||||||
public static final JagString aClass100_900 = JagString.parse("tbrefresh");
|
public static final JagString aClass100_900 = JagString.parse("tbrefresh");
|
||||||
|
|
||||||
@OriginalMember(owner = "client!qk", name = "f", descriptor = "I")
|
@OriginalMember(owner = "client!qk", name = "f", descriptor = "I")
|
||||||
public static int anInt4773 = 0;
|
public static int clickedInventoryComponentY = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!qk", name = "h", descriptor = "I")
|
@OriginalMember(owner = "client!qk", name = "h", descriptor = "I")
|
||||||
public static int anInt4774 = 0;
|
public static int anInt4774 = 0;
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,7 @@ public final class Static219 {
|
||||||
@OriginalMember(owner = "client!rl", name = "Y", descriptor = "[Lclient!na;")
|
@OriginalMember(owner = "client!rl", name = "Y", descriptor = "[Lclient!na;")
|
||||||
public static final JagString[] aClass100Array149 = new JagString[] { aClass100_927, aClass100_922, aClass100_926, aClass100_924, aClass100_925, aClass100_923, aClass100_921 };
|
public static final JagString[] aClass100Array149 = new JagString[] { aClass100_927, aClass100_922, aClass100_926, aClass100_924, aClass100_925, aClass100_923, aClass100_921 };
|
||||||
|
|
||||||
@OriginalMember(owner = "client!rl", name = "Z", descriptor = "I")
|
@OriginalMember(owner = "client!rl", name = "eb", descriptor = "Lclient!na;")
|
||||||
public static final int anInt4938 = 7759444;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!rl", name = "eb", descriptor = "Lclient!na;")
|
|
||||||
public static final JagString aClass100_928 = JagString.parse("(U0a )2 in: ");
|
public static final JagString aClass100_928 = JagString.parse("(U0a )2 in: ");
|
||||||
|
|
||||||
@OriginalMember(owner = "client!rl", name = "i", descriptor = "(I)V")
|
@OriginalMember(owner = "client!rl", name = "i", descriptor = "(I)V")
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,9 @@ public final class Static221 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!s", name = "b", descriptor = "(III)V")
|
@OriginalMember(owner = "client!s", name = "b", descriptor = "(III)V")
|
||||||
public static void method3392(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
public static void method3392(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
||||||
if (Static250.anInt5434 > 0) {
|
if (Flames.anInt5434 > 0) {
|
||||||
Static267.method4528(Static250.anInt5434);
|
Static267.method4528(Flames.anInt5434);
|
||||||
Static250.anInt5434 = 0;
|
Flames.anInt5434 = 0;
|
||||||
}
|
}
|
||||||
@Pc(20) int local20 = 0;
|
@Pc(20) int local20 = 0;
|
||||||
@Pc(24) int local24 = SoftwareRaster.width * arg1;
|
@Pc(24) int local24 = SoftwareRaster.width * arg1;
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,6 @@ public final class Static224 {
|
||||||
@OriginalMember(owner = "client!sd", name = "T", descriptor = "I")
|
@OriginalMember(owner = "client!sd", name = "T", descriptor = "I")
|
||||||
public static int anInt5064 = 0;
|
public static int anInt5064 = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!sd", name = "V", descriptor = "[I")
|
|
||||||
public static final int[] anIntArray443 = new int[100];
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!sd", name = "c", descriptor = "(II)V")
|
@OriginalMember(owner = "client!sd", name = "c", descriptor = "(II)V")
|
||||||
public static void method3884(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
public static void method3884(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||||
@Pc(7) Tile local7 = SceneGraph.tiles[0][arg0][arg1];
|
@Pc(7) Tile local7 = SceneGraph.tiles[0][arg0][arg1];
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static227 {
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!sg", name = "e", descriptor = "Lclient!na;")
|
|
||||||
public static final JagString SETTINGS = JagString.parse("settings");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
package rt4;
|
package rt4;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalArg;
|
import org.openrs2.deob.annotation.OriginalArg;
|
||||||
|
|
@ -27,10 +26,8 @@ public final class Static230 {
|
||||||
public static final JagString aClass100_946 = JagString.parse("(R");
|
public static final JagString aClass100_946 = JagString.parse("(R");
|
||||||
@OriginalMember(owner = "client!fb", name = "i", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!fb", name = "i", descriptor = "Lclient!na;")
|
||||||
public static final JagString aClass100_431 = JagString.parse("; Max)2Age=");
|
public static final JagString aClass100_431 = JagString.parse("; Max)2Age=");
|
||||||
@OriginalMember(owner = "client!sj", name = "D", descriptor = "I")
|
|
||||||
public static int anInt5158;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!sj", name = "p", descriptor = "I")
|
@OriginalMember(owner = "client!sj", name = "p", descriptor = "I")
|
||||||
public static int anInt5150 = 1;
|
public static int anInt5150 = 1;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!sj", name = "u", descriptor = "Z")
|
@OriginalMember(owner = "client!sj", name = "u", descriptor = "Z")
|
||||||
|
|
|
||||||
|
|
@ -70,17 +70,4 @@ public final class Static231 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!sk", name = "c", descriptor = "(II)I")
|
|
||||||
public static int toLowerCase(@OriginalArg(1) int arg0) {
|
|
||||||
if (arg0 >= 65 && arg0 <= 90 || arg0 >= 192 && arg0 <= 222 && arg0 != 215) {
|
|
||||||
return arg0 + 32;
|
|
||||||
} else if (arg0 == 159) {
|
|
||||||
return 255;
|
|
||||||
} else if (arg0 == 140) {
|
|
||||||
return 156;
|
|
||||||
} else {
|
|
||||||
return arg0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,10 @@
|
||||||
package rt4;
|
package rt4;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalArg;
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
import org.openrs2.deob.annotation.OriginalMember;
|
||||||
import org.openrs2.deob.annotation.Pc;
|
|
||||||
|
|
||||||
public final class Static24 {
|
public final class Static24 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bn", name = "O", descriptor = "I")
|
@OriginalMember(owner = "client!bn", name = "O", descriptor = "I")
|
||||||
public static int anInt761;
|
public static int anInt761;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bn", name = "a", descriptor = "(III)I")
|
|
||||||
public static int method667(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
|
||||||
@Pc(8) int local8 = 0;
|
|
||||||
while (arg0 > 0) {
|
|
||||||
local8 = local8 << 1 | arg1 & 0x1;
|
|
||||||
arg1 >>>= 0x1;
|
|
||||||
arg0--;
|
|
||||||
}
|
|
||||||
return local8;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static240 {
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!tg", name = "e", descriptor = "Lclient!na;")
|
|
||||||
public static final JagString aClass100_1008 = JagString.parse("<col=00ffff>");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -1,23 +1,10 @@
|
||||||
package rt4;
|
package rt4;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalArg;
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
import org.openrs2.deob.annotation.OriginalMember;
|
||||||
import org.openrs2.deob.annotation.Pc;
|
|
||||||
|
|
||||||
public final class Static243 {
|
public final class Static243 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!tk", name = "K", descriptor = "[I")
|
@OriginalMember(owner = "client!tk", name = "K", descriptor = "[I")
|
||||||
public static int[] anIntArray476 = new int[2];
|
public static int[] anIntArray476 = new int[2];
|
||||||
|
|
||||||
@OriginalMember(owner = "client!tk", name = "a", descriptor = "(Lclient!sc;ZLclient!wl;)Lclient!hg;")
|
|
||||||
public static GlTile method4212(@OriginalArg(0) HashTable arg0, @OriginalArg(2) FloType arg1) {
|
|
||||||
@Pc(23) long local23 = (long) ((arg1.texture + 1 << 16) + arg1.anInt5885) + ((long) arg1.anInt5897 << 56) + ((long) arg1.anInt5889 << 32);
|
|
||||||
@Pc(38) GlTile local38 = (GlTile) arg0.get(local23);
|
|
||||||
if (local38 == null) {
|
|
||||||
local38 = new GlTile(arg1.texture, (float) arg1.anInt5885, true, false, arg1.anInt5889);
|
|
||||||
arg0.put(local38, local23);
|
|
||||||
}
|
|
||||||
return local38;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static246 {
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!u", name = "i", descriptor = "I")
|
|
||||||
public static int anInt5393;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -681,7 +681,7 @@ public final class Static247 {
|
||||||
MiniMenu.anInt2512 = arg0;
|
MiniMenu.anInt2512 = arg0;
|
||||||
MiniMenu.anInt4999 = arg2;
|
MiniMenu.anInt4999 = arg2;
|
||||||
Static241.aBoolean302 = true;
|
Static241.aBoolean302 = true;
|
||||||
Static246.anInt5393 = arg4;
|
MiniMenu.anInt5393 = arg4;
|
||||||
Static35.anInt1092 = arg5;
|
Static35.anInt1092 = arg5;
|
||||||
InterfaceList.redraw(local8);
|
InterfaceList.redraw(local8);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
package rt4;
|
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
|
||||||
|
|
||||||
public final class Static250 {
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!uf", name = "p", descriptor = "I")
|
|
||||||
public static int anInt5443;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!uf", name = "e", descriptor = "I")
|
|
||||||
public static int anInt5434 = 0;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!uf", name = "q", descriptor = "Lclient!na;")
|
|
||||||
public static final JagString aClass100_1042 = JagString.parse("Null");
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!uf", name = "t", descriptor = "I")
|
|
||||||
public static int anInt5444 = 0;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -12,6 +12,16 @@ public final class Static253 {
|
||||||
public static int anInt5854 = 0;
|
public static int anInt5854 = 0;
|
||||||
@OriginalMember(owner = "client!kk", name = "j", descriptor = "I")
|
@OriginalMember(owner = "client!kk", name = "j", descriptor = "I")
|
||||||
public static int anInt3325 = 0;
|
public static int anInt3325 = 0;
|
||||||
|
@OriginalMember(owner = "client!sj", name = "D", descriptor = "I")
|
||||||
|
public static int anInt5158;
|
||||||
|
@OriginalMember(owner = "client!ej", name = "X", descriptor = "I")
|
||||||
|
public static int anInt1815;
|
||||||
|
@OriginalMember(owner = "client!uj", name = "H", descriptor = "I")
|
||||||
|
public static int anInt5559;
|
||||||
|
@OriginalMember(owner = "client!bb", name = "M", descriptor = "I")
|
||||||
|
public static int anInt406;
|
||||||
|
@OriginalMember(owner = "client!qc", name = "cb", descriptor = "I")
|
||||||
|
public static int anInt4675;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ui", name = "a", descriptor = "(IIZIII)V")
|
@OriginalMember(owner = "client!ui", name = "a", descriptor = "(IIZIII)V")
|
||||||
public static void method4326(@OriginalArg(1) int arg0, @OriginalArg(2) boolean arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3, @OriginalArg(5) int arg4) {
|
public static void method4326(@OriginalArg(1) int arg0, @OriginalArg(2) boolean arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3, @OriginalArg(5) int arg4) {
|
||||||
|
|
@ -120,12 +130,12 @@ public final class Static253 {
|
||||||
}
|
}
|
||||||
LightingManager.method2394(client.loop, !Preferences.flickeringEffectsOn);
|
LightingManager.method2394(client.loop, !Preferences.flickeringEffectsOn);
|
||||||
GlRenderer.clearColorAndDepthBuffers(local171);
|
GlRenderer.clearColorAndDepthBuffers(local171);
|
||||||
Static143.method2731(Camera.cameraPitch, Camera.renderZ, Static5.anInt40, Camera.renderX, Camera.cameraYaw);
|
method2731(Camera.cameraPitch, Camera.renderZ, Static5.anInt40, Camera.renderX, Camera.cameraYaw);
|
||||||
GlRenderer.anInt5323 = client.loop;
|
GlRenderer.anInt5323 = client.loop;
|
||||||
Static156.method2954(Camera.renderX, Static5.anInt40, Camera.renderZ, Camera.cameraPitch, Camera.cameraYaw, Static266.aByteArrayArrayArray15, Static79.anIntArray205, Static149.anIntArray338, Static267.anIntArray518, Static50.anIntArray134, Static243.anIntArray476, Player.level + 1, local387, PlayerList.self.xFine >> 7, PlayerList.self.zFine >> 7);
|
Static156.method2954(Camera.renderX, Static5.anInt40, Camera.renderZ, Camera.cameraPitch, Camera.cameraYaw, Static266.aByteArrayArrayArray15, Static79.anIntArray205, Static149.anIntArray338, Static267.anIntArray518, Static50.anIntArray134, Static243.anIntArray476, Player.level + 1, local387, PlayerList.self.xFine >> 7, PlayerList.self.zFine >> 7);
|
||||||
Static263.aBoolean299 = true;
|
Static263.aBoolean299 = true;
|
||||||
LightingManager.method2390();
|
LightingManager.method2390();
|
||||||
Static143.method2731(0, 0, 0, 0, 0);
|
method2731(0, 0, 0, 0, 0);
|
||||||
client.audioLoop();
|
client.audioLoop();
|
||||||
Static223.method3858();
|
Static223.method3858();
|
||||||
method2726(arg4, arg3, arg2, Static115.anInt5029, arg0, Static115.anInt5029);
|
method2726(arg4, arg3, arg2, Static115.anInt5029, arg0, Static115.anInt5029);
|
||||||
|
|
@ -362,7 +372,7 @@ public final class Static253 {
|
||||||
Static65.anInt1951 = Static191.anIntArray385[local5];
|
Static65.anInt1951 = Static191.anIntArray385[local5];
|
||||||
Static16.anInt548 = Static191.anIntArray392[local5] = local74;
|
Static16.anInt548 = Static191.anIntArray392[local5] = local74;
|
||||||
@Pc(962) JagString local962 = Static191.aClass100Array132[local5];
|
@Pc(962) JagString local962 = Static191.aClass100Array132[local5];
|
||||||
if (Static79.anInt2157 == 0) {
|
if (VarpDomain.anInt2157 == 0) {
|
||||||
local639 = 16776960;
|
local639 = 16776960;
|
||||||
if (Static191.anIntArray390[local5] < 6) {
|
if (Static191.anIntArray390[local5] < 6) {
|
||||||
local639 = Static16.anIntArray52[Static191.anIntArray390[local5]];
|
local639 = Static16.anIntArray52[Static191.anIntArray390[local5]];
|
||||||
|
|
@ -768,4 +778,13 @@ public final class Static253 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!ld", name = "a", descriptor = "(IIIIZI)V")
|
||||||
|
public static void method2731(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(5) int arg4) {
|
||||||
|
anInt5158 = arg1;
|
||||||
|
anInt1815 = arg4;
|
||||||
|
anInt5559 = arg0;
|
||||||
|
anInt406 = arg3;
|
||||||
|
anInt4675 = arg2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,7 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
|
|
||||||
public final class Static254 {
|
public final class Static254 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!uj", name = "H", descriptor = "I")
|
@OriginalMember(owner = "client!uj", name = "a", descriptor = "(BZII[[[Lclient!bj;I)Z")
|
||||||
public static int anInt5559;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!uj", name = "a", descriptor = "(BZII[[[Lclient!bj;I)Z")
|
|
||||||
public static boolean method4348(@OriginalArg(1) boolean arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) Tile[][][] arg3, @OriginalArg(5) int arg4) {
|
public static boolean method4348(@OriginalArg(1) boolean arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) Tile[][][] arg3, @OriginalArg(5) int arg4) {
|
||||||
@Pc(14) byte local14 = arg0 ? 1 : (byte) (Static253.anInt3325 & 0xFF);
|
@Pc(14) byte local14 = arg0 ? 1 : (byte) (Static253.anInt3325 & 0xFF);
|
||||||
if (local14 == Static266.aByteArrayArrayArray15[Player.level][arg1][arg2]) {
|
if (local14 == Static266.aByteArrayArrayArray15[Player.level][arg1][arg2]) {
|
||||||
|
|
|
||||||
|
|
@ -27,9 +27,50 @@ public final class Static26 {
|
||||||
@Pc(45) int local45 = (LoginManager.regionBitPacked[local25] >> 8) * 64 - Camera.originX;
|
@Pc(45) int local45 = (LoginManager.regionBitPacked[local25] >> 8) * 64 - Camera.originX;
|
||||||
@Pc(56) int local56 = (LoginManager.regionBitPacked[local25] & 0xFF) * 64 - Camera.originZ;
|
@Pc(56) int local56 = (LoginManager.regionBitPacked[local25] & 0xFF) * 64 - Camera.originZ;
|
||||||
client.audioLoop();
|
client.audioLoop();
|
||||||
Static124.method2437(local45, arg0, local32, local56, PathFinder.collisionMaps);
|
method2437(local45, arg0, local32, local56, PathFinder.collisionMaps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!jk", name = "a", descriptor = "(IZ[BII[Lclient!mj;)V")
|
||||||
|
public static void method2437(@OriginalArg(0) int arg0, @OriginalArg(1) boolean arg1, @OriginalArg(2) byte[] arg2, @OriginalArg(3) int arg3, @OriginalArg(5) CollisionMap[] arg4) {
|
||||||
|
@Pc(10) Buffer local10 = new Buffer(arg2);
|
||||||
|
@Pc(12) int local12 = -1;
|
||||||
|
while (true) {
|
||||||
|
@Pc(16) int local16 = local10.gVarSmart();
|
||||||
|
if (local16 == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
local12 += local16;
|
||||||
|
@Pc(27) int local27 = 0;
|
||||||
|
while (true) {
|
||||||
|
@Pc(31) int local31 = local10.gSmart1or2();
|
||||||
|
if (local31 == 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
local27 += local31 - 1;
|
||||||
|
@Pc(46) int local46 = local27 & 0x3F;
|
||||||
|
@Pc(50) int local50 = local27 >> 12;
|
||||||
|
@Pc(56) int local56 = local27 >> 6 & 0x3F;
|
||||||
|
@Pc(60) int local60 = local10.g1();
|
||||||
|
@Pc(64) int local64 = local60 >> 2;
|
||||||
|
@Pc(68) int local68 = local60 & 0x3;
|
||||||
|
@Pc(72) int local72 = arg0 + local56;
|
||||||
|
@Pc(76) int local76 = local46 + arg3;
|
||||||
|
if (local72 > 0 && local76 > 0 && local72 < 103 && local76 < 103) {
|
||||||
|
@Pc(90) CollisionMap local90 = null;
|
||||||
|
if (!arg1) {
|
||||||
|
@Pc(95) int local95 = local50;
|
||||||
|
if ((SceneGraph.tileFlags[1][local72][local76] & 0x2) == 2) {
|
||||||
|
local95 = local50 - 1;
|
||||||
|
}
|
||||||
|
if (local95 >= 0) {
|
||||||
|
local90 = arg4[local95];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Static185.method3397(local50, !arg1, local50, arg1, local90, local12, local64, local72, local76, local68);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,7 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
|
|
||||||
public final class Static264 {
|
public final class Static264 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!vh", name = "b", descriptor = "[I")
|
@OriginalMember(owner = "client!vh", name = "c", descriptor = "Lclient!na;")
|
||||||
public static final int[] anIntArray410 = new int[100];
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!vh", name = "c", descriptor = "Lclient!na;")
|
|
||||||
public static final JagString COLON = JagString.parse(":");
|
public static final JagString COLON = JagString.parse(":");
|
||||||
|
|
||||||
@OriginalMember(owner = "client!vh", name = "p", descriptor = "[I")
|
@OriginalMember(owner = "client!vh", name = "p", descriptor = "[I")
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
|
|
||||||
public final class Static35 {
|
public final class Static35 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!cl", name = "X", descriptor = "I")
|
|
||||||
public static int anInt1091;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!cl", name = "K", descriptor = "Ljava/util/Calendar;")
|
@OriginalMember(owner = "client!cl", name = "K", descriptor = "Ljava/util/Calendar;")
|
||||||
public static final Calendar aCalendar1 = Calendar.getInstance(TimeZone.getTimeZone("GMT"));
|
public static final Calendar aCalendar1 = Calendar.getInstance(TimeZone.getTimeZone("GMT"));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ public final class Static36 {
|
||||||
public static void method946(@OriginalArg(0) Component[] arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(4) int arg4, @OriginalArg(5) int arg5, @OriginalArg(6) int arg6, @OriginalArg(7) int arg7) {
|
public static void method946(@OriginalArg(0) Component[] arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(4) int arg4, @OriginalArg(5) int arg5, @OriginalArg(6) int arg6, @OriginalArg(7) int arg7) {
|
||||||
for (@Pc(1) int local1 = 0; local1 < arg0.length; local1++) {
|
for (@Pc(1) int local1 = 0; local1 < arg0.length; local1++) {
|
||||||
@Pc(9) Component component = arg0[local1];
|
@Pc(9) Component component = arg0[local1];
|
||||||
if (component != null && component.layer == arg1 && (!component.usingScripts || component.type == 0 || component.aBoolean25 || InterfaceList.getServerActiveProperties(component).accessMask != 0 || component == Static40.aClass13_1 || component.anInt453 == 1338) && (!component.usingScripts || !method947(component))) {
|
if (component != null && component.layer == arg1 && (!component.if3 || component.type == 0 || component.aBoolean25 || InterfaceList.getServerActiveProperties(component).events != 0 || component == Static40.aClass13_1 || component.clientCode == 1338) && (!component.if3 || !method947(component))) {
|
||||||
@Pc(50) int local50 = component.x + arg6;
|
@Pc(50) int local50 = component.x + arg6;
|
||||||
@Pc(55) int local55 = component.y + arg7;
|
@Pc(55) int local55 = component.y + arg7;
|
||||||
@Pc(61) int local61;
|
@Pc(61) int local61;
|
||||||
|
|
@ -61,12 +61,12 @@ public final class Static36 {
|
||||||
Static124.anInt3075 = local50;
|
Static124.anInt3075 = local50;
|
||||||
anInt660 = local55;
|
anInt660 = local55;
|
||||||
}
|
}
|
||||||
if (!component.usingScripts || local61 < local65 && local63 < local67) {
|
if (!component.if3 || local61 < local65 && local63 < local67) {
|
||||||
if (component.type == 0) {
|
if (component.type == 0) {
|
||||||
if (!component.usingScripts && method947(component) && Static180.aClass13_22 != component) {
|
if (!component.if3 && method947(component) && Static180.aClass13_22 != component) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (component.noClickThrough && Mouse.anInt4873 >= local61 && Mouse.anInt5032 >= local63 && Mouse.anInt4873 < local65 && Mouse.anInt5032 < local67) {
|
if (component.noClickThrough && Mouse.lastMouseX >= local61 && Mouse.lastMouseY >= local63 && Mouse.lastMouseX < local65 && Mouse.lastMouseY < local67) {
|
||||||
for (@Pc(164) HookRequest local164 = (HookRequest) InterfaceList.lowPriorityRequests.head(); local164 != null; local164 = (HookRequest) InterfaceList.lowPriorityRequests.next()) {
|
for (@Pc(164) HookRequest local164 = (HookRequest) InterfaceList.lowPriorityRequests.head(); local164 != null; local164 = (HookRequest) InterfaceList.lowPriorityRequests.next()) {
|
||||||
if (local164.aBoolean158) {
|
if (local164.aBoolean158) {
|
||||||
local164.unlink();
|
local164.unlink();
|
||||||
|
|
@ -80,9 +80,9 @@ public final class Static36 {
|
||||||
anInt3337 = 0;
|
anInt3337 = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (component.usingScripts) {
|
if (component.if3) {
|
||||||
@Pc(207) boolean local207;
|
@Pc(207) boolean local207;
|
||||||
if (Mouse.anInt4873 >= local61 && Mouse.anInt5032 >= local63 && Mouse.anInt4873 < local65 && Mouse.anInt5032 < local67) {
|
if (Mouse.lastMouseX >= local61 && Mouse.lastMouseY >= local63 && Mouse.lastMouseX < local65 && Mouse.lastMouseY < local67) {
|
||||||
local207 = true;
|
local207 = true;
|
||||||
} else {
|
} else {
|
||||||
local207 = false;
|
local207 = false;
|
||||||
|
|
@ -131,7 +131,7 @@ public final class Static36 {
|
||||||
Static81.anInt2225 = local50;
|
Static81.anInt2225 = local50;
|
||||||
Static228.anInt5103 = local55;
|
Static228.anInt5103 = local55;
|
||||||
}
|
}
|
||||||
if (component.aBoolean25 || component.anInt453 != 0) {
|
if (component.aBoolean25 || component.clientCode != 0) {
|
||||||
@Pc(399) HookRequest request;
|
@Pc(399) HookRequest request;
|
||||||
if (local207 && MouseWheel.wheelRotation != 0 && component.onScroll != null) {
|
if (local207 && MouseWheel.wheelRotation != 0 && component.onScroll != null) {
|
||||||
request = new HookRequest();
|
request = new HookRequest();
|
||||||
|
|
@ -141,26 +141,26 @@ public final class Static36 {
|
||||||
request.arguments = component.onScroll;
|
request.arguments = component.onScroll;
|
||||||
InterfaceList.lowPriorityRequests.addTail(request);
|
InterfaceList.lowPriorityRequests.addTail(request);
|
||||||
}
|
}
|
||||||
if (Static40.aClass13_14 != null || Static118.aClass13_15 != null || Static40.aBoolean108 || component.anInt453 != 1400 && anInt3337 > 0) {
|
if (Static40.aClass13_14 != null || Static118.clickedInventoryComponent != null || Static40.aBoolean108 || component.clientCode != 1400 && anInt3337 > 0) {
|
||||||
local221 = false;
|
local221 = false;
|
||||||
local212 = false;
|
local212 = false;
|
||||||
local207 = false;
|
local207 = false;
|
||||||
}
|
}
|
||||||
@Pc(508) int skill;
|
@Pc(508) int skill;
|
||||||
if (component.anInt453 != 0) {
|
if (component.clientCode != 0) {
|
||||||
if (component.anInt453 == 1337) {
|
if (component.clientCode == 1337) {
|
||||||
Static280.aClass13_26 = component;
|
Static280.aClass13_26 = component;
|
||||||
InterfaceList.redraw(component);
|
InterfaceList.redraw(component);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (component.anInt453 == 1338) {
|
if (component.clientCode == 1338) {
|
||||||
if (local221) {
|
if (local221) {
|
||||||
Static1.anInt5 = Mouse.clickX - local50;
|
Static1.anInt5 = Mouse.clickX - local50;
|
||||||
Static107.anInt2878 = Mouse.clickY - local55;
|
MiniMenu.anInt2878 = Mouse.clickY - local55;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (component.anInt453 == 1400) {
|
if (component.clientCode == 1400) {
|
||||||
WorldMap.component = component;
|
WorldMap.component = component;
|
||||||
if (local221) {
|
if (local221) {
|
||||||
if (Keyboard.pressedKeys[Keyboard.KEY_CTRL] && LoginManager.staffModLevel > 0) {
|
if (Keyboard.pressedKeys[Keyboard.KEY_CTRL] && LoginManager.staffModLevel > 0) {
|
||||||
|
|
@ -175,32 +175,32 @@ public final class Static36 {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
anInt3337 = 1;
|
anInt3337 = 1;
|
||||||
Static40.anInt5388 = Mouse.anInt4873;
|
Static40.anInt5388 = Mouse.lastMouseX;
|
||||||
Static40.anInt4035 = Mouse.anInt5032;
|
Static40.anInt4035 = Mouse.lastMouseY;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (local212 && anInt3337 > 0) {
|
if (local212 && anInt3337 > 0) {
|
||||||
if (anInt3337 == 1 && (Static40.anInt5388 != Mouse.anInt4873 || Static40.anInt4035 != Mouse.anInt5032)) {
|
if (anInt3337 == 1 && (Static40.anInt5388 != Mouse.lastMouseX || Static40.anInt4035 != Mouse.lastMouseY)) {
|
||||||
Static197.anInt4620 = WorldMap.anInt435;
|
Static197.anInt4620 = WorldMap.anInt435;
|
||||||
anInt1885 = WorldMap.anInt919;
|
anInt1885 = WorldMap.anInt919;
|
||||||
anInt3337 = 2;
|
anInt3337 = 2;
|
||||||
}
|
}
|
||||||
if (anInt3337 == 2) {
|
if (anInt3337 == 2) {
|
||||||
WorldMap.method1964(Static197.anInt4620 + (int) ((double) (Static40.anInt5388 - Mouse.anInt4873) * 2.0D / (double) WorldMap.targetZoom));
|
WorldMap.method1964(Static197.anInt4620 + (int) ((double) (Static40.anInt5388 - Mouse.lastMouseX) * 2.0D / (double) WorldMap.targetZoom));
|
||||||
WorldMap.method4641(anInt1885 + (int) ((double) (Static40.anInt4035 - Mouse.anInt5032) * 2.0D / (double) WorldMap.targetZoom));
|
WorldMap.method4641(anInt1885 + (int) ((double) (Static40.anInt4035 - Mouse.lastMouseY) * 2.0D / (double) WorldMap.targetZoom));
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
anInt3337 = 0;
|
anInt3337 = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (component.anInt453 == 1401) {
|
if (component.clientCode == 1401) {
|
||||||
if (local212) {
|
if (local212) {
|
||||||
WorldMap.method2387(component.width, Mouse.anInt5032 - local55, Mouse.anInt4873 - local50, component.height);
|
WorldMap.method2387(component.width, Mouse.lastMouseY - local55, Mouse.lastMouseX - local50, component.height);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (component.anInt453 == 1402) {
|
if (component.clientCode == 1402) {
|
||||||
if (!GlRenderer.enabled) {
|
if (!GlRenderer.enabled) {
|
||||||
InterfaceList.redraw(component);
|
InterfaceList.redraw(component);
|
||||||
}
|
}
|
||||||
|
|
@ -223,8 +223,8 @@ public final class Static36 {
|
||||||
request = new HookRequest();
|
request = new HookRequest();
|
||||||
request.aBoolean158 = true;
|
request.aBoolean158 = true;
|
||||||
request.source = component;
|
request.source = component;
|
||||||
request.mouseX = Mouse.anInt4873 - local50;
|
request.mouseX = Mouse.lastMouseX - local50;
|
||||||
request.mouseY = Mouse.anInt5032 - local55;
|
request.mouseY = Mouse.lastMouseY - local55;
|
||||||
request.arguments = component.onDrag;
|
request.arguments = component.onDrag;
|
||||||
InterfaceList.lowPriorityRequests.addTail(request);
|
InterfaceList.lowPriorityRequests.addTail(request);
|
||||||
}
|
}
|
||||||
|
|
@ -234,8 +234,8 @@ public final class Static36 {
|
||||||
request = new HookRequest();
|
request = new HookRequest();
|
||||||
request.aBoolean158 = true;
|
request.aBoolean158 = true;
|
||||||
request.source = component;
|
request.source = component;
|
||||||
request.mouseX = Mouse.anInt4873 - local50;
|
request.mouseX = Mouse.lastMouseX - local50;
|
||||||
request.mouseY = Mouse.anInt5032 - local55;
|
request.mouseY = Mouse.lastMouseY - local55;
|
||||||
request.arguments = component.onRelease;
|
request.arguments = component.onRelease;
|
||||||
Static115.mediumPriorityRequests.addTail(request);
|
Static115.mediumPriorityRequests.addTail(request);
|
||||||
}
|
}
|
||||||
|
|
@ -244,8 +244,8 @@ public final class Static36 {
|
||||||
request = new HookRequest();
|
request = new HookRequest();
|
||||||
request.aBoolean158 = true;
|
request.aBoolean158 = true;
|
||||||
request.source = component;
|
request.source = component;
|
||||||
request.mouseX = Mouse.anInt4873 - local50;
|
request.mouseX = Mouse.lastMouseX - local50;
|
||||||
request.mouseY = Mouse.anInt5032 - local55;
|
request.mouseY = Mouse.lastMouseY - local55;
|
||||||
request.arguments = component.onHold;
|
request.arguments = component.onHold;
|
||||||
InterfaceList.lowPriorityRequests.addTail(request);
|
InterfaceList.lowPriorityRequests.addTail(request);
|
||||||
}
|
}
|
||||||
|
|
@ -255,8 +255,8 @@ public final class Static36 {
|
||||||
request = new HookRequest();
|
request = new HookRequest();
|
||||||
request.aBoolean158 = true;
|
request.aBoolean158 = true;
|
||||||
request.source = component;
|
request.source = component;
|
||||||
request.mouseX = Mouse.anInt4873 - local50;
|
request.mouseX = Mouse.lastMouseX - local50;
|
||||||
request.mouseY = Mouse.anInt5032 - local55;
|
request.mouseY = Mouse.lastMouseY - local55;
|
||||||
request.arguments = component.onMouseOver;
|
request.arguments = component.onMouseOver;
|
||||||
InterfaceList.lowPriorityRequests.addTail(request);
|
InterfaceList.lowPriorityRequests.addTail(request);
|
||||||
}
|
}
|
||||||
|
|
@ -265,8 +265,8 @@ public final class Static36 {
|
||||||
request = new HookRequest();
|
request = new HookRequest();
|
||||||
request.aBoolean158 = true;
|
request.aBoolean158 = true;
|
||||||
request.source = component;
|
request.source = component;
|
||||||
request.mouseX = Mouse.anInt4873 - local50;
|
request.mouseX = Mouse.lastMouseX - local50;
|
||||||
request.mouseY = Mouse.anInt5032 - local55;
|
request.mouseY = Mouse.lastMouseY - local55;
|
||||||
request.arguments = component.onMouseRepeat;
|
request.arguments = component.onMouseRepeat;
|
||||||
InterfaceList.lowPriorityRequests.addTail(request);
|
InterfaceList.lowPriorityRequests.addTail(request);
|
||||||
}
|
}
|
||||||
|
|
@ -276,8 +276,8 @@ public final class Static36 {
|
||||||
request = new HookRequest();
|
request = new HookRequest();
|
||||||
request.aBoolean158 = true;
|
request.aBoolean158 = true;
|
||||||
request.source = component;
|
request.source = component;
|
||||||
request.mouseX = Mouse.anInt4873 - local50;
|
request.mouseX = Mouse.lastMouseX - local50;
|
||||||
request.mouseY = Mouse.anInt5032 - local55;
|
request.mouseY = Mouse.lastMouseY - local55;
|
||||||
request.arguments = component.onMouseLeave;
|
request.arguments = component.onMouseLeave;
|
||||||
Static115.mediumPriorityRequests.addTail(request);
|
Static115.mediumPriorityRequests.addTail(request);
|
||||||
}
|
}
|
||||||
|
|
@ -450,19 +450,19 @@ public final class Static36 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!component.usingScripts && Static40.aClass13_14 == null && Static118.aClass13_15 == null && !Static40.aBoolean108) {
|
if (!component.if3 && Static40.aClass13_14 == null && Static118.clickedInventoryComponent == null && !Static40.aBoolean108) {
|
||||||
if ((component.anInt470 >= 0 || component.anInt480 != 0) && Mouse.anInt4873 >= local61 && Mouse.anInt5032 >= local63 && Mouse.anInt4873 < local65 && Mouse.anInt5032 < local67) {
|
if ((component.anInt470 >= 0 || component.anInt480 != 0) && Mouse.lastMouseX >= local61 && Mouse.lastMouseY >= local63 && Mouse.lastMouseX < local65 && Mouse.lastMouseY < local67) {
|
||||||
if (component.anInt470 >= 0) {
|
if (component.anInt470 >= 0) {
|
||||||
Static180.aClass13_22 = arg0[component.anInt470];
|
Static180.aClass13_22 = arg0[component.anInt470];
|
||||||
} else {
|
} else {
|
||||||
Static180.aClass13_22 = component;
|
Static180.aClass13_22 = component;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (component.type == 8 && Mouse.anInt4873 >= local61 && Mouse.anInt5032 >= local63 && Mouse.anInt4873 < local65 && Mouse.anInt5032 < local67) {
|
if (component.type == 8 && Mouse.lastMouseX >= local61 && Mouse.lastMouseY >= local63 && Mouse.lastMouseX < local65 && Mouse.lastMouseY < local67) {
|
||||||
Static43.aClass13_11 = component;
|
Static43.aClass13_11 = component;
|
||||||
}
|
}
|
||||||
if (component.scrollMaxV > component.height) {
|
if (component.scrollMaxV > component.height) {
|
||||||
Static236.method4049(Mouse.anInt5032, component.height, component, Mouse.anInt4873, local50 + component.width, local55, component.scrollMaxV);
|
Static236.method4049(Mouse.lastMouseY, component.height, component, Mouse.lastMouseX, local50 + component.width, local55, component.scrollMaxV);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (component.type == 0) {
|
if (component.type == 0) {
|
||||||
|
|
@ -482,8 +482,8 @@ public final class Static36 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!client", name = "c", descriptor = "(Lclient!be;)Z")
|
@OriginalMember(owner = "client!client", name = "c", descriptor = "(Lclient!be;)Z")
|
||||||
public static boolean method947(@OriginalArg(0) Component arg0) {
|
public static boolean method947(@OriginalArg(0) Component arg0) {
|
||||||
if (Static121.aBoolean154) {
|
if (Static121.qaOpTest) {
|
||||||
if (InterfaceList.getServerActiveProperties(arg0).accessMask != 0) {
|
if (InterfaceList.getServerActiveProperties(arg0).events != 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (arg0.type == 0) {
|
if (arg0.type == 0) {
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ public final class Static4 {
|
||||||
public static final LinkedList highPriorityRequests = new LinkedList();
|
public static final LinkedList highPriorityRequests = new LinkedList();
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ac", name = "n", descriptor = "I")
|
@OriginalMember(owner = "client!ac", name = "n", descriptor = "I")
|
||||||
public static int anInt36 = 0;
|
public static int mouseOverInventoryObjectIndex = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ac", name = "a", descriptor = "(IIII)I")
|
@OriginalMember(owner = "client!ac", name = "a", descriptor = "(IIII)I")
|
||||||
public static int method22(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2) {
|
public static int method22(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2) {
|
||||||
|
|
|
||||||
|
|
@ -12,41 +12,6 @@ public final class Static44 {
|
||||||
@OriginalMember(owner = "client!dh", name = "i", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!dh", name = "i", descriptor = "Lclient!na;")
|
||||||
public static final JagString IMG1 = JagString.parse("<img=1>");
|
public static final JagString IMG1 = JagString.parse("<img=1>");
|
||||||
|
|
||||||
@OriginalMember(owner = "client!dh", name = "a", descriptor = "(Z)V")
|
|
||||||
public static void method1146() {
|
|
||||||
Protocol.outboundBuffer.offset = 0;
|
|
||||||
Protocol.opcode3 = -1;
|
|
||||||
Static40.aBoolean108 = false;
|
|
||||||
Protocol.length = 0;
|
|
||||||
LoginManager.mapFlagX = 0;
|
|
||||||
MiniMenu.size = 0;
|
|
||||||
Protocol.opcode2 = -1;
|
|
||||||
MiniMap.state = 0;
|
|
||||||
Player.rebootTimer = 0;
|
|
||||||
Protocol.opcode4 = -1;
|
|
||||||
Protocol.inboundBuffer.offset = 0;
|
|
||||||
Static201.anInt1862 = 0;
|
|
||||||
Protocol.opcode = -1;
|
|
||||||
@Pc(35) int local35;
|
|
||||||
for (local35 = 0; local35 < PlayerList.players.length; local35++) {
|
|
||||||
if (PlayerList.players[local35] != null) {
|
|
||||||
PlayerList.players[local35].faceEntity = -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (local35 = 0; local35 < NpcList.npcs.length; local35++) {
|
|
||||||
if (NpcList.npcs[local35] != null) {
|
|
||||||
NpcList.npcs[local35].faceEntity = -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Inv.method2073();
|
|
||||||
Camera.cameraType = 1;
|
|
||||||
client.setGameState(30);
|
|
||||||
for (local35 = 0; local35 < 100; local35++) {
|
|
||||||
Static186.aBooleanArray100[local35] = true;
|
|
||||||
}
|
|
||||||
ClientProt.method1373();
|
|
||||||
}
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!dh", name = "a", descriptor = "(IIII)Lclient!wk;")
|
@OriginalMember(owner = "client!dh", name = "a", descriptor = "(IIII)Lclient!wk;")
|
||||||
public static ComponentPointer method1148(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2) {
|
public static ComponentPointer method1148(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2) {
|
||||||
@Pc(9) ComponentPointer local9 = new ComponentPointer();
|
@Pc(9) ComponentPointer local9 = new ComponentPointer();
|
||||||
|
|
|
||||||
|
|
@ -324,7 +324,7 @@ public final class Static45 {
|
||||||
@Pc(2025) GlTile[] local2025;
|
@Pc(2025) GlTile[] local2025;
|
||||||
if (underwater) {
|
if (underwater) {
|
||||||
local2025 = Static193.method3501(SceneGraph.tileFlags, SceneGraph.tileShapes[local152], SceneGraph.tileUnderlays[local152], local146, local1896, Static62.anIntArrayArray11, SceneGraph.tileOverlays[local152], SceneGraph.tileAngles[local152], local1888, local152, local1900, local142, SceneGraph.tileHeights[local152], SceneGraph.surfaceTileHeights[0]);
|
local2025 = Static193.method3501(SceneGraph.tileFlags, SceneGraph.tileShapes[local152], SceneGraph.tileUnderlays[local152], local146, local1896, Static62.anIntArrayArray11, SceneGraph.tileOverlays[local152], SceneGraph.tileAngles[local152], local1888, local152, local1900, local142, SceneGraph.tileHeights[local152], SceneGraph.surfaceTileHeights[0]);
|
||||||
Static110.method2280(local152, local2025);
|
method2280(local152, local2025);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
local2025 = Static193.method3501(SceneGraph.tileFlags, SceneGraph.tileShapes[local152], SceneGraph.tileUnderlays[local152], local146, local1896, null, SceneGraph.tileOverlays[local152], SceneGraph.tileAngles[local152], local1888, local152, local1900, local142, SceneGraph.tileHeights[local152], null);
|
local2025 = Static193.method3501(SceneGraph.tileFlags, SceneGraph.tileShapes[local152], SceneGraph.tileUnderlays[local152], local146, local1896, null, SceneGraph.tileOverlays[local152], SceneGraph.tileAngles[local152], local1888, local152, local1900, local142, SceneGraph.tileHeights[local152], null);
|
||||||
|
|
@ -336,7 +336,7 @@ public final class Static45 {
|
||||||
for (local349 = 0; local349 < local2049.length; local349++) {
|
for (local349 = 0; local349 < local2049.length; local349++) {
|
||||||
local2057[local2025.length + local349] = local2049[local349];
|
local2057[local2025.length + local349] = local2049[local349];
|
||||||
}
|
}
|
||||||
Static110.method2280(local152, local2057);
|
method2280(local152, local2057);
|
||||||
Static221.method3393(local1900, SceneGraph.tileUnderlays[local152], SceneGraph.tileAngles[local152], LightingManager.lights, local152, LightingManager.lightCount, local1896, SceneGraph.tileShapes[local152], SceneGraph.tileOverlays[local152], SceneGraph.tileHeights[local152], local1888);
|
Static221.method3393(local1900, SceneGraph.tileUnderlays[local152], SceneGraph.tileAngles[local152], LightingManager.lights, local152, LightingManager.lightCount, local1896, SceneGraph.tileShapes[local152], SceneGraph.tileOverlays[local152], SceneGraph.tileHeights[local152], local1888);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -496,4 +496,9 @@ public final class Static45 {
|
||||||
local3.anInt4447 = arg6;
|
local3.anInt4447 = arg6;
|
||||||
SceneGraph.aClass120Array1[SceneGraph.anInt917++] = local3;
|
SceneGraph.aClass120Array1[SceneGraph.anInt917++] = local3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!ih", name = "a", descriptor = "(I[Lclient!hg;)V")
|
||||||
|
public static void method2280(@OriginalArg(0) int arg0, @OriginalArg(1) GlTile[] arg1) {
|
||||||
|
SceneGraph.underwaterHdTiles[arg0] = arg1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,7 @@ public final class Static50 {
|
||||||
@OriginalMember(owner = "client!e", name = "pc", descriptor = "[I")
|
@OriginalMember(owner = "client!e", name = "pc", descriptor = "[I")
|
||||||
public static final int[] anIntArray132 = new int[4];
|
public static final int[] anIntArray132 = new int[4];
|
||||||
|
|
||||||
@OriginalMember(owner = "client!e", name = "sc", descriptor = "[I")
|
@OriginalMember(owner = "client!e", name = "xc", descriptor = "[I")
|
||||||
public static final int[] anIntArray133 = new int[100];
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!e", name = "xc", descriptor = "[I")
|
|
||||||
public static int[] anIntArray134 = new int[2];
|
public static int[] anIntArray134 = new int[2];
|
||||||
|
|
||||||
@OriginalMember(owner = "client!e", name = "Dc", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!e", name = "Dc", descriptor = "Lclient!na;")
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,7 @@ public final class Static53 {
|
||||||
@OriginalMember(owner = "client!ec", name = "d", descriptor = "Lclient!gn;")
|
@OriginalMember(owner = "client!ec", name = "d", descriptor = "Lclient!gn;")
|
||||||
public static final LruHashTable aClass54_5 = new LruHashTable(16);
|
public static final LruHashTable aClass54_5 = new LruHashTable(16);
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ec", name = "l", descriptor = "I")
|
@OriginalMember(owner = "client!ec", name = "B", descriptor = "[[I")
|
||||||
public static final int anInt1704 = 5063219;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ec", name = "B", descriptor = "[[I")
|
|
||||||
public static final int[][] anIntArrayArray8 = new int[][] { new int[0], { 128, 0, 128, 128, 0, 128 }, { 0, 0, 128, 0, 128, 128, 64, 128 }, { 0, 128, 0, 0, 128, 0, 64, 128 }, { 0, 0, 64, 128, 0, 128 }, { 128, 128, 64, 128, 128, 0 }, { 64, 0, 128, 0, 128, 128, 64, 128 }, { 128, 0, 128, 128, 0, 128, 0, 64, 64, 0 }, { 0, 0, 64, 0, 0, 64 }, { 0, 0, 128, 0, 128, 128, 64, 96, 32, 64 }, { 0, 128, 0, 0, 32, 64, 64, 96, 128, 128 }, { 0, 128, 0, 0, 32, 32, 96, 32, 128, 0, 128, 128 } };
|
public static final int[][] anIntArrayArray8 = new int[][] { new int[0], { 128, 0, 128, 128, 0, 128 }, { 0, 0, 128, 0, 128, 128, 64, 128 }, { 0, 128, 0, 0, 128, 0, 64, 128 }, { 0, 0, 64, 128, 0, 128 }, { 128, 128, 64, 128, 128, 0 }, { 64, 0, 128, 0, 128, 128, 64, 128 }, { 128, 0, 128, 128, 0, 128, 0, 64, 64, 0 }, { 0, 0, 64, 0, 0, 64 }, { 0, 0, 128, 0, 128, 128, 64, 96, 32, 64 }, { 0, 128, 0, 0, 32, 64, 64, 96, 128, 128 }, { 0, 128, 0, 0, 32, 32, 96, 32, 128, 0, 128, 128 } };
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ec", name = "a", descriptor = "([[IZILclient!hg;[IIIIZ[[FZI[[FIIIZ[[I[[FBI[Z)V")
|
@OriginalMember(owner = "client!ec", name = "a", descriptor = "([[IZILclient!hg;[IIIIZ[[FZI[[FIIIZ[[I[[FBI[Z)V")
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
|
|
||||||
public final class Static59 {
|
public final class Static59 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ej", name = "X", descriptor = "I")
|
|
||||||
public static int anInt1815;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ej", name = "h", descriptor = "(I)V")
|
@OriginalMember(owner = "client!ej", name = "h", descriptor = "(I)V")
|
||||||
public static void method1372() {
|
public static void method1372() {
|
||||||
if (Static226.anInt3953 == 2) {
|
if (Static226.anInt3953 == 2) {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,4 @@ public final class Static67 {
|
||||||
@OriginalMember(owner = "client!fe", name = "R", descriptor = "Z")
|
@OriginalMember(owner = "client!fe", name = "R", descriptor = "Z")
|
||||||
public static boolean prevFocus = true;
|
public static boolean prevFocus = true;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!fe", name = "lb", descriptor = "[I")
|
|
||||||
public static final int[] anIntArray320 = new int[100];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ public final class Static7 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ah", name = "b", descriptor = "(I)V")
|
@OriginalMember(owner = "client!ah", name = "b", descriptor = "(I)V")
|
||||||
public static void method843() {
|
public static void method843() {
|
||||||
if (Static118.aClass13_15 != null || Static40.aClass13_14 != null) {
|
if (Static118.clickedInventoryComponent != null || Static40.aClass13_14 != null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@Pc(20) int local20 = Mouse.clickButton;
|
@Pc(20) int local20 = Mouse.clickButton;
|
||||||
|
|
@ -28,21 +28,21 @@ public final class Static7 {
|
||||||
@Pc(103) Component local103 = InterfaceList.getComponent(local99);
|
@Pc(103) Component local103 = InterfaceList.getComponent(local99);
|
||||||
@Pc(106) ServerActiveProperties local106 = InterfaceList.getServerActiveProperties(local103);
|
@Pc(106) ServerActiveProperties local106 = InterfaceList.getServerActiveProperties(local103);
|
||||||
if (local106.method511() || local106.isObjReplaceEnabled()) {
|
if (local106.method511() || local106.isObjReplaceEnabled()) {
|
||||||
Static78.anInt2145 = 0;
|
Static78.clickedInventoryComponentCycle = 0;
|
||||||
Static123.aBoolean155 = false;
|
Static123.draggingClickedInventoryObject = false;
|
||||||
if (Static118.aClass13_15 != null) {
|
if (Static118.clickedInventoryComponent != null) {
|
||||||
InterfaceList.redraw(Static118.aClass13_15);
|
InterfaceList.redraw(Static118.clickedInventoryComponent);
|
||||||
}
|
}
|
||||||
Static118.aClass13_15 = InterfaceList.getComponent(local99);
|
Static118.clickedInventoryComponent = InterfaceList.getComponent(local99);
|
||||||
Static149.anInt3554 = Mouse.clickX;
|
Static149.clickedInventoryComponentX = Mouse.clickX;
|
||||||
Static206.anInt4773 = Mouse.clickY;
|
Static206.clickedInventoryComponentY = Mouse.clickY;
|
||||||
Static4.anInt36 = local93;
|
Static4.mouseOverInventoryObjectIndex = local93;
|
||||||
InterfaceList.redraw(Static118.aClass13_15);
|
InterfaceList.redraw(Static118.clickedInventoryComponent);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (local20 == 1 && (Static116.anInt2952 == 1 && MiniMenu.size > 2 || MiniMenu.method4640(MiniMenu.size - 1))) {
|
if (local20 == 1 && (VarpDomain.anInt2952 == 1 && MiniMenu.size > 2 || MiniMenu.method4640(MiniMenu.size - 1))) {
|
||||||
local20 = 2;
|
local20 = 2;
|
||||||
}
|
}
|
||||||
if (local20 == 2 && MiniMenu.size > 0 || Static226.anInt3953 == 1) {
|
if (local20 == 2 && MiniMenu.size > 0 || Static226.anInt3953 == 1) {
|
||||||
|
|
@ -55,8 +55,8 @@ public final class Static7 {
|
||||||
}
|
}
|
||||||
@Pc(204) int local204;
|
@Pc(204) int local204;
|
||||||
if (local20 != 1) {
|
if (local20 != 1) {
|
||||||
local93 = Mouse.anInt5032;
|
local93 = Mouse.lastMouseY;
|
||||||
local204 = Mouse.anInt4873;
|
local204 = Mouse.lastMouseX;
|
||||||
if (local204 < Static183.anInt4271 - 10 || local204 > Static24.anInt761 + Static183.anInt4271 + 10 || Static229.anInt5138 - 10 > local93 || local93 > Static13.anInt436 + Static229.anInt5138 + 10) {
|
if (local204 < Static183.anInt4271 - 10 || local204 > Static24.anInt761 + Static183.anInt4271 + 10 || Static229.anInt5138 - 10 > local93 || local93 > Static13.anInt436 + Static229.anInt5138 + 10) {
|
||||||
Static40.aBoolean108 = false;
|
Static40.aBoolean108 = false;
|
||||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,7 @@ import org.openrs2.deob.annotation.Pc;
|
||||||
|
|
||||||
public final class Static74 {
|
public final class Static74 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!bj", name = "V", descriptor = "I")
|
@OriginalMember(owner = "client!fn", name = "a", descriptor = "(ZIIIIIII)V")
|
||||||
public static final int anInt671 = 3353893;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!fn", name = "a", descriptor = "(ZIIIIIII)V")
|
|
||||||
public static void method1623(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3, @OriginalArg(5) int arg4, @OriginalArg(6) int arg5, @OriginalArg(7) int arg6) {
|
public static void method1623(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3, @OriginalArg(5) int arg4, @OriginalArg(6) int arg5, @OriginalArg(7) int arg6) {
|
||||||
if (arg3 == arg6) {
|
if (arg3 == arg6) {
|
||||||
method2826(arg0, arg2, arg5, arg6, arg1, arg4);
|
method2826(arg0, arg2, arg5, arg6, arg1, arg4);
|
||||||
|
|
|
||||||
|
|
@ -5,17 +5,14 @@ import org.openrs2.deob.annotation.OriginalMember;
|
||||||
|
|
||||||
public final class Static78 {
|
public final class Static78 {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!gd", name = "m", descriptor = "Lclient!ve;")
|
@OriginalMember(owner = "client!gd", name = "b", descriptor = "Lclient!na;")
|
||||||
public static Js5 aClass153_32;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!gd", name = "b", descriptor = "Lclient!na;")
|
|
||||||
public static final JagString aClass100_464 = JagString.parse("null");
|
public static final JagString aClass100_464 = JagString.parse("null");
|
||||||
|
|
||||||
@OriginalMember(owner = "client!gd", name = "h", descriptor = "[I")
|
@OriginalMember(owner = "client!gd", name = "h", descriptor = "[I")
|
||||||
public static final int[] anIntArray204 = new int[] { 16, 32, 64, 128 };
|
public static final int[] anIntArray204 = new int[] { 16, 32, 64, 128 };
|
||||||
|
|
||||||
@OriginalMember(owner = "client!gd", name = "j", descriptor = "I")
|
@OriginalMember(owner = "client!gd", name = "j", descriptor = "I")
|
||||||
public static int anInt2145 = 0;
|
public static int clickedInventoryComponentCycle = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!gd", name = "a", descriptor = "(IIBI)I")
|
@OriginalMember(owner = "client!gd", name = "a", descriptor = "(IIBI)I")
|
||||||
public static int method1690(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2) {
|
public static int method1690(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2) {
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,6 @@ public final class Static79 {
|
||||||
@OriginalMember(owner = "client!ge", name = "k", descriptor = "[I")
|
@OriginalMember(owner = "client!ge", name = "k", descriptor = "[I")
|
||||||
public static int[] anIntArray205 = new int[2];
|
public static int[] anIntArray205 = new int[2];
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ge", name = "m", descriptor = "I")
|
|
||||||
public static int anInt2157 = 0;
|
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ge", name = "a", descriptor = "(IIIZIZZ)V")
|
@OriginalMember(owner = "client!ge", name = "a", descriptor = "(IIIZIZZ)V")
|
||||||
public static void method1697(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) boolean arg3, @OriginalArg(4) int arg4, @OriginalArg(5) boolean arg5) {
|
public static void method1697(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) boolean arg3, @OriginalArg(4) int arg4, @OriginalArg(5) boolean arg5) {
|
||||||
if (arg2 <= arg4) {
|
if (arg2 <= arg4) {
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,4 @@ public final class Static83 {
|
||||||
method436(arg0, local20 + 1, arg2, arg3);
|
method436(arg0, local20 + 1, arg2, arg3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!gj", name = "b", descriptor = "(I)V")
|
|
||||||
public static void method440() {
|
|
||||||
MaterialManager.setMaterial(0, 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -92,8 +92,8 @@ public final class Static89 {
|
||||||
Static155.anInt3751 = Mouse.anInt5850;
|
Static155.anInt3751 = Mouse.anInt5850;
|
||||||
Static60.anInt1892 = Static280.anInt5895;
|
Static60.anInt1892 = Static280.anInt5895;
|
||||||
} else if (Mouse.clickButton == 0) {
|
} else if (Mouse.clickButton == 0) {
|
||||||
Static155.anInt3751 = Mouse.anInt4873;
|
Static155.anInt3751 = Mouse.lastMouseX;
|
||||||
Static60.anInt1892 = Mouse.anInt5032;
|
Static60.anInt1892 = Mouse.lastMouseY;
|
||||||
} else {
|
} else {
|
||||||
Static155.anInt3751 = Mouse.clickX;
|
Static155.anInt3751 = Mouse.clickX;
|
||||||
Static60.anInt1892 = Mouse.clickY;
|
Static60.anInt1892 = Mouse.clickY;
|
||||||
|
|
@ -108,7 +108,7 @@ public final class Static89 {
|
||||||
Static96.method1949(InterfaceList.topLevelInterface);
|
Static96.method1949(InterfaceList.topLevelInterface);
|
||||||
}
|
}
|
||||||
@Pc(60) int local60;
|
@Pc(60) int local60;
|
||||||
for (local60 = 0; local60 < InterfaceList.anInt766; local60++) {
|
for (local60 = 0; local60 < InterfaceList.rectangles; local60++) {
|
||||||
if (Static186.aBooleanArray100[local60]) {
|
if (Static186.aBooleanArray100[local60]) {
|
||||||
InterfaceList.rectangleRedraw[local60] = true;
|
InterfaceList.rectangleRedraw[local60] = true;
|
||||||
}
|
}
|
||||||
|
|
@ -118,13 +118,13 @@ public final class Static89 {
|
||||||
Static201.aClass13_13 = null;
|
Static201.aClass13_13 = null;
|
||||||
Static97.anInt2503 = -1;
|
Static97.anInt2503 = -1;
|
||||||
Static214.anInt5574 = -1;
|
Static214.anInt5574 = -1;
|
||||||
Static169.aClass13_18 = null;
|
Static169.mouseOverInventoryInterface = null;
|
||||||
if (GlRenderer.enabled) {
|
if (GlRenderer.enabled) {
|
||||||
Static263.aBoolean299 = true;
|
Static263.aBoolean299 = true;
|
||||||
}
|
}
|
||||||
Static182.anInt4311 = client.loop;
|
Static182.anInt4311 = client.loop;
|
||||||
if (InterfaceList.topLevelInterface != -1) {
|
if (InterfaceList.topLevelInterface != -1) {
|
||||||
InterfaceList.anInt766 = 0;
|
InterfaceList.rectangles = 0;
|
||||||
Static9.method182();
|
Static9.method182();
|
||||||
}
|
}
|
||||||
if (GlRenderer.enabled) {
|
if (GlRenderer.enabled) {
|
||||||
|
|
@ -156,18 +156,18 @@ public final class Static89 {
|
||||||
Static187.anInt4422 = 2;
|
Static187.anInt4422 = 2;
|
||||||
}
|
}
|
||||||
if (Cheat.rectDebug == 3) {
|
if (Cheat.rectDebug == 3) {
|
||||||
for (@Pc(189) int local189 = 0; local189 < InterfaceList.anInt766; local189++) {
|
for (@Pc(189) int local189 = 0; local189 < InterfaceList.rectangles; local189++) {
|
||||||
if (Static223.aBooleanArray116[local189]) {
|
if (Static223.aBooleanArray116[local189]) {
|
||||||
if (GlRenderer.enabled) {
|
if (GlRenderer.enabled) {
|
||||||
GlRaster.fillRectAlpha(Static264.anIntArray410[local189], Static50.anIntArray133[local189], Static224.anIntArray443[local189], Static67.anIntArray320[local189], 16711935, 128);
|
GlRaster.fillRectAlpha(InterfaceList.rectangleX[local189], InterfaceList.rectangleY[local189], InterfaceList.rectangleWidth[local189], InterfaceList.rectangleHeight[local189], 16711935, 128);
|
||||||
} else {
|
} else {
|
||||||
SoftwareRaster.fillRectAlpha(Static264.anIntArray410[local189], Static50.anIntArray133[local189], Static224.anIntArray443[local189], Static67.anIntArray320[local189], 16711935, 128);
|
SoftwareRaster.fillRectAlpha(InterfaceList.rectangleX[local189], InterfaceList.rectangleY[local189], InterfaceList.rectangleWidth[local189], InterfaceList.rectangleHeight[local189], 16711935, 128);
|
||||||
}
|
}
|
||||||
} else if (InterfaceList.rectangleRedraw[local189]) {
|
} else if (InterfaceList.rectangleRedraw[local189]) {
|
||||||
if (GlRenderer.enabled) {
|
if (GlRenderer.enabled) {
|
||||||
GlRaster.fillRectAlpha(Static264.anIntArray410[local189], Static50.anIntArray133[local189], Static224.anIntArray443[local189], Static67.anIntArray320[local189], 16711680, 128);
|
GlRaster.fillRectAlpha(InterfaceList.rectangleX[local189], InterfaceList.rectangleY[local189], InterfaceList.rectangleWidth[local189], InterfaceList.rectangleHeight[local189], 16711680, 128);
|
||||||
} else {
|
} else {
|
||||||
SoftwareRaster.fillRectAlpha(Static264.anIntArray410[local189], Static50.anIntArray133[local189], Static224.anIntArray443[local189], Static67.anIntArray320[local189], 16711680, 128);
|
SoftwareRaster.fillRectAlpha(InterfaceList.rectangleX[local189], InterfaceList.rectangleY[local189], InterfaceList.rectangleWidth[local189], InterfaceList.rectangleHeight[local189], 16711680, 128);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ public final class Static9 {
|
||||||
Static241.aClass13Array13 = null;
|
Static241.aClass13Array13 = null;
|
||||||
Static6.method86(InterfaceList.topLevelInterface, 0, GameShell.canvasWidth, 0, -1, GameShell.canvasHeight, 0, 0);
|
Static6.method86(InterfaceList.topLevelInterface, 0, GameShell.canvasWidth, 0, -1, GameShell.canvasHeight, 0, 0);
|
||||||
if (Static241.aClass13Array13 != null) {
|
if (Static241.aClass13Array13 != null) {
|
||||||
Static87.method1809(0, Static127.anInt3126, Static80.anInt4696, Static241.aClass13Array13, GameShell.canvasWidth, -1412584499, 0, GameShell.canvasHeight, Static40.aClass13_1.anInt517);
|
Static87.method1809(0, Static127.anInt3126, Static80.anInt4696, Static241.aClass13Array13, GameShell.canvasWidth, -1412584499, 0, GameShell.canvasHeight, Static40.aClass13_1.rectangle);
|
||||||
Static241.aClass13Array13 = null;
|
Static241.aClass13Array13 = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ public final class Static97 {
|
||||||
if (InterfaceList.getServerActiveProperties(arg0).getTargetMask() == 0) {
|
if (InterfaceList.getServerActiveProperties(arg0).getTargetMask() == 0) {
|
||||||
return null;
|
return null;
|
||||||
} else if (arg0.targetVerb == null || arg0.targetVerb.trim().length() == 0) {
|
} else if (arg0.targetVerb == null || arg0.targetVerb.trim().length() == 0) {
|
||||||
return Static121.aBoolean154 ? Static143.aClass100_668 : null;
|
return Static121.qaOpTest ? Static143.aClass100_668 : null;
|
||||||
} else {
|
} else {
|
||||||
return arg0.targetVerb;
|
return arg0.targetVerb;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ package rt4;
|
||||||
|
|
||||||
import org.openrs2.deob.annotation.OriginalArg;
|
import org.openrs2.deob.annotation.OriginalArg;
|
||||||
import org.openrs2.deob.annotation.OriginalMember;
|
import org.openrs2.deob.annotation.OriginalMember;
|
||||||
|
import org.openrs2.deob.annotation.Pc;
|
||||||
|
|
||||||
public class StringUtils {
|
public class StringUtils {
|
||||||
@OriginalMember(owner = "client!gj", name = "a", descriptor = "(II)Z")
|
@OriginalMember(owner = "client!gj", name = "a", descriptor = "(II)Z")
|
||||||
|
|
@ -40,4 +41,79 @@ public class StringUtils {
|
||||||
public static JagString method4510(@OriginalArg(0) int arg0) {
|
public static JagString method4510(@OriginalArg(0) int arg0) {
|
||||||
return arg0 >= 999999999 ? Static220.aClass100_930 : JagString.parseInt(arg0);
|
return arg0 >= 999999999 ? Static220.aClass100_930 : JagString.parseInt(arg0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!ld", name = "a", descriptor = "(IB)I")
|
||||||
|
public static int toUpperCase(@OriginalArg(0) int c) {
|
||||||
|
if (c >= 97 && c <= 122 || c >= 224 && c <= 254 && c != 247) {
|
||||||
|
return c - 32;
|
||||||
|
} else if (c == 255) {
|
||||||
|
return 159;
|
||||||
|
} else if (c == 156) {
|
||||||
|
return 140;
|
||||||
|
} else {
|
||||||
|
return c;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!sk", name = "c", descriptor = "(II)I")
|
||||||
|
public static int toLowerCase(@OriginalArg(1) int c) {
|
||||||
|
if (c >= 65 && c <= 90 || c >= 192 && c <= 222 && c != 215) {
|
||||||
|
return c + 32;
|
||||||
|
} else if (c == 159) {
|
||||||
|
return 255;
|
||||||
|
} else if (c == 140) {
|
||||||
|
return 156;
|
||||||
|
} else {
|
||||||
|
return c;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!oj", name = "a", descriptor = "(IZIJI)Lclient!na;")
|
||||||
|
public static JagString formatNumber(@OriginalArg(0) int arg0, @OriginalArg(1) boolean arg1, @OriginalArg(2) int arg2, @OriginalArg(3) long arg3) {
|
||||||
|
@Pc(9) JagString local9 = Static87.allocate(0);
|
||||||
|
if (arg3 < 0L) {
|
||||||
|
arg3 = -arg3;
|
||||||
|
local9.method3113(Static73.aClass100_453);
|
||||||
|
}
|
||||||
|
@Pc(26) JagString local26 = Static182.aClass100_1017;
|
||||||
|
@Pc(28) JagString local28 = Static182.aClass100_185;
|
||||||
|
if (arg0 == 1) {
|
||||||
|
local26 = Static182.aClass100_185;
|
||||||
|
local28 = Static182.aClass100_1017;
|
||||||
|
}
|
||||||
|
if (arg0 == 2) {
|
||||||
|
local28 = Static182.aClass100_1017;
|
||||||
|
local26 = Static26.aClass100_160;
|
||||||
|
}
|
||||||
|
if (arg0 == 3) {
|
||||||
|
local26 = Static182.aClass100_185;
|
||||||
|
local28 = Static182.aClass100_1017;
|
||||||
|
}
|
||||||
|
@Pc(59) JagString local59 = Static87.allocate(0);
|
||||||
|
@Pc(61) int local61;
|
||||||
|
for (local61 = 0; local61 < arg2; local61++) {
|
||||||
|
local59.method3113(JagString.parseInt((int) (arg3 % 10L)));
|
||||||
|
arg3 /= 10L;
|
||||||
|
}
|
||||||
|
local61 = 0;
|
||||||
|
@Pc(137) JagString local137;
|
||||||
|
if (arg3 == 0L) {
|
||||||
|
local137 = Static6.aClass100_17;
|
||||||
|
} else {
|
||||||
|
@Pc(95) JagString local95 = Static87.allocate(0);
|
||||||
|
while (arg3 > 0L) {
|
||||||
|
if (arg1 && local61 != 0 && local61 % 3 == 0) {
|
||||||
|
local95.method3113(local26);
|
||||||
|
}
|
||||||
|
local95.method3113(JagString.parseInt((int) (arg3 % 10L)));
|
||||||
|
local61++;
|
||||||
|
arg3 /= 10L;
|
||||||
|
}
|
||||||
|
local137 = local95;
|
||||||
|
}
|
||||||
|
if (local59.length() > 0) {
|
||||||
|
local59.method3113(local28);
|
||||||
|
}
|
||||||
|
return JagString.concatenate(new JagString[] { local9, local137.method3124(), local59.method3124() });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,13 @@ public final class TextureOp14 extends TextureOp {
|
||||||
|
|
||||||
@OriginalMember(owner = "client!ui", name = "Q", descriptor = "I")
|
@OriginalMember(owner = "client!ui", name = "Q", descriptor = "I")
|
||||||
public static int anInt5526;
|
public static int anInt5526;
|
||||||
@OriginalMember(owner = "client!hm", name = "S", descriptor = "I")
|
@OriginalMember(owner = "client!uf", name = "p", descriptor = "I")
|
||||||
|
public static int anInt5443;
|
||||||
|
@OriginalMember(owner = "client!cl", name = "X", descriptor = "I")
|
||||||
|
public static int anInt1091;
|
||||||
|
@OriginalMember(owner = "client!jg", name = "g", descriptor = "I")
|
||||||
|
public static int anInt3041;
|
||||||
|
@OriginalMember(owner = "client!hm", name = "S", descriptor = "I")
|
||||||
private int anInt2635 = 2;
|
private int anInt2635 = 2;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!hm", name = "U", descriptor = "I")
|
@OriginalMember(owner = "client!hm", name = "U", descriptor = "I")
|
||||||
|
|
@ -68,9 +74,9 @@ public final class TextureOp14 extends TextureOp {
|
||||||
@Pc(40) int local40 = local36 + 1;
|
@Pc(40) int local40 = local36 + 1;
|
||||||
for (@Pc(42) int local42 = 0; local42 < Static189.anInt4457; local42++) {
|
for (@Pc(42) int local42 = 0; local42 < Static189.anInt4457; local42++) {
|
||||||
anInt5526 = Integer.MAX_VALUE;
|
anInt5526 = Integer.MAX_VALUE;
|
||||||
Static250.anInt5443 = Integer.MAX_VALUE;
|
anInt5443 = Integer.MAX_VALUE;
|
||||||
Static121.anInt3041 = Integer.MAX_VALUE;
|
anInt3041 = Integer.MAX_VALUE;
|
||||||
Static35.anInt1091 = Integer.MAX_VALUE;
|
anInt1091 = Integer.MAX_VALUE;
|
||||||
@Pc(62) int local62 = this.anInt2645 * Static173.anIntArray367[local42] + 2048;
|
@Pc(62) int local62 = this.anInt2645 * Static173.anIntArray367[local42] + 2048;
|
||||||
@Pc(66) int local66 = local62 >> 12;
|
@Pc(66) int local66 = local62 >> 12;
|
||||||
@Pc(70) int local70 = local66 + 1;
|
@Pc(70) int local70 = local66 + 1;
|
||||||
|
|
@ -105,18 +111,18 @@ public final class TextureOp14 extends TextureOp {
|
||||||
} else {
|
} else {
|
||||||
local201 = (int) (Math.sqrt((double) ((float) (local162 * local162 + local151 * local151) / 1.6777216E7F)) * 4096.0D);
|
local201 = (int) (Math.sqrt((double) ((float) (local162 * local162 + local151 * local151) / 1.6777216E7F)) * 4096.0D);
|
||||||
}
|
}
|
||||||
if (local201 < Static35.anInt1091) {
|
if (local201 < anInt1091) {
|
||||||
anInt5526 = Static250.anInt5443;
|
anInt5526 = anInt5443;
|
||||||
Static250.anInt5443 = Static121.anInt3041;
|
anInt5443 = anInt3041;
|
||||||
Static121.anInt3041 = Static35.anInt1091;
|
anInt3041 = anInt1091;
|
||||||
Static35.anInt1091 = local201;
|
anInt1091 = local201;
|
||||||
} else if (local201 < Static121.anInt3041) {
|
} else if (local201 < anInt3041) {
|
||||||
anInt5526 = Static250.anInt5443;
|
anInt5526 = anInt5443;
|
||||||
Static250.anInt5443 = Static121.anInt3041;
|
anInt5443 = anInt3041;
|
||||||
Static121.anInt3041 = local201;
|
anInt3041 = local201;
|
||||||
} else if (Static250.anInt5443 > local201) {
|
} else if (anInt5443 > local201) {
|
||||||
anInt5526 = Static250.anInt5443;
|
anInt5526 = anInt5443;
|
||||||
Static250.anInt5443 = local201;
|
anInt5443 = local201;
|
||||||
} else if (local201 < anInt5526) {
|
} else if (local201 < anInt5526) {
|
||||||
anInt5526 = local201;
|
anInt5526 = local201;
|
||||||
}
|
}
|
||||||
|
|
@ -124,15 +130,15 @@ public final class TextureOp14 extends TextureOp {
|
||||||
}
|
}
|
||||||
local165 = this.anInt2635;
|
local165 = this.anInt2635;
|
||||||
if (local165 == 0) {
|
if (local165 == 0) {
|
||||||
local19[local42] = Static35.anInt1091;
|
local19[local42] = anInt1091;
|
||||||
} else if (local165 == 1) {
|
} else if (local165 == 1) {
|
||||||
local19[local42] = Static121.anInt3041;
|
local19[local42] = anInt3041;
|
||||||
} else if (local165 == 3) {
|
} else if (local165 == 3) {
|
||||||
local19[local42] = Static250.anInt5443;
|
local19[local42] = anInt5443;
|
||||||
} else if (local165 == 4) {
|
} else if (local165 == 4) {
|
||||||
local19[local42] = anInt5526;
|
local19[local42] = anInt5526;
|
||||||
} else if (local165 == 2) {
|
} else if (local165 == 2) {
|
||||||
local19[local42] = Static121.anInt3041 - Static35.anInt1091;
|
local19[local42] = anInt3041 - anInt1091;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -184,9 +184,9 @@ public final class UnderwaterMaterialRenderer implements MaterialRenderer {
|
||||||
local1.glPushMatrix();
|
local1.glPushMatrix();
|
||||||
local1.glLoadIdentity();
|
local1.glLoadIdentity();
|
||||||
local1.glRotatef(180.0F, 1.0F, 0.0F, 0.0F);
|
local1.glRotatef(180.0F, 1.0F, 0.0F, 0.0F);
|
||||||
local1.glRotatef((float) Static254.anInt5559 * 360.0F / 2048.0F, 1.0F, 0.0F, 0.0F);
|
local1.glRotatef((float) Static253.anInt5559 * 360.0F / 2048.0F, 1.0F, 0.0F, 0.0F);
|
||||||
local1.glRotatef((float) Static59.anInt1815 * 360.0F / 2048.0F, 0.0F, 1.0F, 0.0F);
|
local1.glRotatef((float) Static253.anInt1815 * 360.0F / 2048.0F, 0.0F, 1.0F, 0.0F);
|
||||||
local1.glTranslatef((float) -Static12.anInt406, (float) -Static199.anInt4675, (float) -Static230.anInt5158);
|
local1.glTranslatef((float) -Static253.anInt406, (float) -Static253.anInt4675, (float) -Static253.anInt5158);
|
||||||
if (aBoolean308) {
|
if (aBoolean308) {
|
||||||
this.aFloatArray29[0] = 0.001F;
|
this.aFloatArray29[0] = 0.001F;
|
||||||
this.aFloatArray29[1] = 9.0E-4F;
|
this.aFloatArray29[1] = 9.0E-4F;
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,14 @@ public class VarpDomain {
|
||||||
public static int updatedVarpsWriterIndex = 0;
|
public static int updatedVarpsWriterIndex = 0;
|
||||||
@OriginalMember(owner = "client!qc", name = "K", descriptor = "Lclient!sc;")
|
@OriginalMember(owner = "client!qc", name = "K", descriptor = "Lclient!sc;")
|
||||||
public static HashTable aClass133_20 = new HashTable(16);
|
public static HashTable aClass133_20 = new HashTable(16);
|
||||||
|
@OriginalMember(owner = "client!ge", name = "m", descriptor = "I")
|
||||||
|
public static int anInt2157 = 0;
|
||||||
|
@OriginalMember(owner = "client!jb", name = "n", descriptor = "I")
|
||||||
|
public static int anInt2952 = 0;
|
||||||
|
@OriginalMember(owner = "client!oe", name = "b", descriptor = "I")
|
||||||
|
public static int inserting = 0;
|
||||||
|
|
||||||
@OriginalMember(owner = "client!nh", name = "a", descriptor = "(BII)V")
|
@OriginalMember(owner = "client!nh", name = "a", descriptor = "(BII)V")
|
||||||
public static void set(@OriginalArg(1) int value, @OriginalArg(2) int id) {
|
public static void set(@OriginalArg(1) int value, @OriginalArg(2) int id) {
|
||||||
varp[id] = value;
|
varp[id] = value;
|
||||||
@Pc(20) LongNode local20 = (LongNode) aClass133_20.get((long) id);
|
@Pc(20) LongNode local20 = (LongNode) aClass133_20.get((long) id);
|
||||||
|
|
@ -102,13 +108,13 @@ public class VarpDomain {
|
||||||
}
|
}
|
||||||
@Pc(25) int local25 = activeVarps[arg0];
|
@Pc(25) int local25 = activeVarps[arg0];
|
||||||
if (local17 == 6) {
|
if (local17 == 6) {
|
||||||
Static79.anInt2157 = local25;
|
anInt2157 = local25;
|
||||||
}
|
}
|
||||||
if (local17 == 5) {
|
if (local17 == 5) {
|
||||||
Static116.anInt2952 = local25;
|
anInt2952 = local25;
|
||||||
}
|
}
|
||||||
if (local17 == 9) {
|
if (local17 == 9) {
|
||||||
Static179.anInt4254 = local25;
|
inserting = local25;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,7 @@ public final class VorbisSound extends Node {
|
||||||
@Pc(187) int[] local187 = new int[local38];
|
@Pc(187) int[] local187 = new int[local38];
|
||||||
@Pc(193) int local193 = Static204.method3674(local38 - 1);
|
@Pc(193) int local193 = Static204.method3674(local38 - 1);
|
||||||
for (@Pc(195) int local195 = 0; local195 < local38; local195++) {
|
for (@Pc(195) int local195 = 0; local195 < local38; local195++) {
|
||||||
local187[local195] = Static24.method667(local193, local195);
|
local187[local195] = method667(local193, local195);
|
||||||
}
|
}
|
||||||
if (local17 == 0) {
|
if (local17 == 0) {
|
||||||
aFloatArray13 = local41;
|
aFloatArray13 = local41;
|
||||||
|
|
@ -250,7 +250,18 @@ public final class VorbisSound extends Node {
|
||||||
return local1;
|
return local1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@OriginalMember(owner = "client!jc", name = "a", descriptor = "([I)Lclient!kj;")
|
@OriginalMember(owner = "client!bn", name = "a", descriptor = "(III)I")
|
||||||
|
public static int method667(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
||||||
|
@Pc(8) int local8 = 0;
|
||||||
|
while (arg0 > 0) {
|
||||||
|
local8 = local8 << 1 | arg1 & 0x1;
|
||||||
|
arg1 >>>= 0x1;
|
||||||
|
arg0--;
|
||||||
|
}
|
||||||
|
return local8;
|
||||||
|
}
|
||||||
|
|
||||||
|
@OriginalMember(owner = "client!jc", name = "a", descriptor = "([I)Lclient!kj;")
|
||||||
public final PcmSound method2341(@OriginalArg(0) int[] arg0) {
|
public final PcmSound method2341(@OriginalArg(0) int[] arg0) {
|
||||||
if (arg0 != null && arg0[0] <= 0) {
|
if (arg0 != null && arg0[0] <= 0) {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ public final class WaterMaterialRenderer implements MaterialRenderer {
|
||||||
GlRenderer.resetTextureMatrix();
|
GlRenderer.resetTextureMatrix();
|
||||||
local1.glCallList(this.anInt4440);
|
local1.glCallList(this.anInt4440);
|
||||||
@Pc(12) float local12 = 2662.4001F;
|
@Pc(12) float local12 = 2662.4001F;
|
||||||
local12 += (float) (Static254.anInt5559 - 128) * 0.5F;
|
local12 += (float) (Static253.anInt5559 - 128) * 0.5F;
|
||||||
float max = (float) GlobalConfig.VIEW_DISTANCE - GlobalConfig.VIEW_FADE_DISTANCE;
|
float max = (float) GlobalConfig.VIEW_DISTANCE - GlobalConfig.VIEW_FADE_DISTANCE;
|
||||||
if (local12 >= max) {
|
if (local12 >= max) {
|
||||||
local12 = max - 1.0f;
|
local12 = max - 1.0f;
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,9 @@ public final class WaterfallMaterialRenderer implements MaterialRenderer {
|
||||||
local7.glPushMatrix();
|
local7.glPushMatrix();
|
||||||
local7.glLoadIdentity();
|
local7.glLoadIdentity();
|
||||||
local7.glRotatef(180.0F, 1.0F, 0.0F, 0.0F);
|
local7.glRotatef(180.0F, 1.0F, 0.0F, 0.0F);
|
||||||
local7.glRotatef((float) Static254.anInt5559 * 360.0F / 2048.0F, 1.0F, 0.0F, 0.0F);
|
local7.glRotatef((float) Static253.anInt5559 * 360.0F / 2048.0F, 1.0F, 0.0F, 0.0F);
|
||||||
local7.glRotatef((float) Static59.anInt1815 * 360.0F / 2048.0F, 0.0F, 1.0F, 0.0F);
|
local7.glRotatef((float) Static253.anInt1815 * 360.0F / 2048.0F, 0.0F, 1.0F, 0.0F);
|
||||||
local7.glTranslatef((float) -Static12.anInt406, (float) -Static199.anInt4675, (float) -Static230.anInt5158);
|
local7.glTranslatef((float) -Static253.anInt406, (float) -Static253.anInt4675, (float) -Static253.anInt5158);
|
||||||
local7.glTexGenfv(GL2.GL_S, GL2.GL_EYE_PLANE, this.aFloatArray21, 0);
|
local7.glTexGenfv(GL2.GL_S, GL2.GL_EYE_PLANE, this.aFloatArray21, 0);
|
||||||
this.aFloatArray21[3] = local27 * (float) GlRenderer.anInt5323;
|
this.aFloatArray21[3] = local27 * (float) GlRenderer.anInt5323;
|
||||||
this.aFloatArray21[0] = 0.0F;
|
this.aFloatArray21[0] = 0.0F;
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@ public final class client extends GameShell {
|
||||||
public static final int[] JS5_ARCHIVE_WEIGHTS = new int[] { 4, 4, 1, 2, 6, 4, 2, 49, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 };
|
public static final int[] JS5_ARCHIVE_WEIGHTS = new int[] { 4, 4, 1, 2, 6, 4, 2, 49, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 };
|
||||||
@OriginalMember(owner = "client!si", name = "gb", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!si", name = "gb", descriptor = "Lclient!na;")
|
||||||
public static final JagString aClass100_974 = JagString.parse("<br>(X");
|
public static final JagString aClass100_974 = JagString.parse("<br>(X");
|
||||||
|
@OriginalMember(owner = "client!sg", name = "e", descriptor = "Lclient!na;")
|
||||||
|
public static final JagString SETTINGS = JagString.parse("settings");
|
||||||
@OriginalMember(owner = "client!jm", name = "A", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!jm", name = "A", descriptor = "Lclient!na;")
|
||||||
static final JagString aClass100_603 = JagString.parse("");
|
static final JagString aClass100_603 = JagString.parse("");
|
||||||
@OriginalMember(owner = "client!jm", name = "z", descriptor = "Lclient!na;")
|
@OriginalMember(owner = "client!jm", name = "z", descriptor = "Lclient!na;")
|
||||||
|
|
@ -404,7 +406,7 @@ public final class client extends GameShell {
|
||||||
for (@Pc(54) int local54 = 0; local54 < Static51.aByteArrayArray8.length; local54++) {
|
for (@Pc(54) int local54 = 0; local54 < Static51.aByteArrayArray8.length; local54++) {
|
||||||
Static51.aByteArrayArray8[local54] = null;
|
Static51.aByteArrayArray8[local54] = null;
|
||||||
}
|
}
|
||||||
Static105.anInt2863 = 0;
|
Player.anInt2863 = 0;
|
||||||
}
|
}
|
||||||
HintArrowManager.clear();
|
HintArrowManager.clear();
|
||||||
ShadowModelList.method1857();
|
ShadowModelList.method1857();
|
||||||
|
|
@ -726,7 +728,7 @@ public final class client extends GameShell {
|
||||||
}
|
}
|
||||||
if (GlRenderer.enabled && gameState != 0) {
|
if (GlRenderer.enabled && gameState != 0) {
|
||||||
GlRenderer.swapBuffers();
|
GlRenderer.swapBuffers();
|
||||||
for (local80 = 0; local80 < InterfaceList.anInt766; local80++) {
|
for (local80 = 0; local80 < InterfaceList.rectangles; local80++) {
|
||||||
InterfaceList.rectangleRedraw[local80] = false;
|
InterfaceList.rectangleRedraw[local80] = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -734,9 +736,9 @@ public final class client extends GameShell {
|
||||||
if ((gameState == 30 || gameState == 10) && Cheat.rectDebug == 0 && !local158) {
|
if ((gameState == 30 || gameState == 10) && Cheat.rectDebug == 0 && !local158) {
|
||||||
try {
|
try {
|
||||||
local388 = GameShell.canvas.getGraphics();
|
local388 = GameShell.canvas.getGraphics();
|
||||||
for (local84 = 0; local84 < InterfaceList.anInt766; local84++) {
|
for (local84 = 0; local84 < InterfaceList.rectangles; local84++) {
|
||||||
if (InterfaceList.rectangleRedraw[local84]) {
|
if (InterfaceList.rectangleRedraw[local84]) {
|
||||||
SoftwareRaster.frameBuffer.drawAt(Static224.anIntArray443[local84], Static264.anIntArray410[local84], Static67.anIntArray320[local84], local388, Static50.anIntArray133[local84]);
|
SoftwareRaster.frameBuffer.drawAt(InterfaceList.rectangleWidth[local84], InterfaceList.rectangleX[local84], InterfaceList.rectangleHeight[local84], local388, InterfaceList.rectangleY[local84]);
|
||||||
InterfaceList.rectangleRedraw[local84] = false;
|
InterfaceList.rectangleRedraw[local84] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -747,7 +749,7 @@ public final class client extends GameShell {
|
||||||
try {
|
try {
|
||||||
local388 = GameShell.canvas.getGraphics();
|
local388 = GameShell.canvas.getGraphics();
|
||||||
SoftwareRaster.frameBuffer.draw(local388);
|
SoftwareRaster.frameBuffer.draw(local388);
|
||||||
for (local84 = 0; local84 < InterfaceList.anInt766; local84++) {
|
for (local84 = 0; local84 < InterfaceList.rectangles; local84++) {
|
||||||
InterfaceList.rectangleRedraw[local84] = false;
|
InterfaceList.rectangleRedraw[local84] = false;
|
||||||
}
|
}
|
||||||
} catch (@Pc(453) Exception local453) {
|
} catch (@Pc(453) Exception local453) {
|
||||||
|
|
@ -872,7 +874,7 @@ public final class client extends GameShell {
|
||||||
} catch (@Pc(130) Exception local130) {
|
} catch (@Pc(130) Exception local130) {
|
||||||
affiliate = 0;
|
affiliate = 0;
|
||||||
}
|
}
|
||||||
settings = Static227.SETTINGS.fromParameters(this);
|
settings = SETTINGS.fromParameters(this);
|
||||||
if (settings == null) {
|
if (settings == null) {
|
||||||
settings = JagString.EMPTY;
|
settings = JagString.EMPTY;
|
||||||
}
|
}
|
||||||
|
|
@ -1583,7 +1585,7 @@ public final class client extends GameShell {
|
||||||
LoginManager.loop();
|
LoginManager.loop();
|
||||||
if (LoginManager.reply != -3) {
|
if (LoginManager.reply != -3) {
|
||||||
if (LoginManager.reply == 15) {
|
if (LoginManager.reply == 15) {
|
||||||
Static44.method1146();
|
LoginManager.reconnect();
|
||||||
} else if (LoginManager.reply != 2) {
|
} else if (LoginManager.reply != 2) {
|
||||||
LoginManager.processLogout();
|
LoginManager.processLogout();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,9 @@ import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.Socket;
|
import java.net.Socket;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
import java.nio.file.Files;
|
||||||
|
import java.nio.file.Paths;
|
||||||
|
import java.nio.file.StandardOpenOption;
|
||||||
|
|
||||||
public class Playground extends GameShell {
|
public class Playground extends GameShell {
|
||||||
public static Playground instance;
|
public static Playground instance;
|
||||||
|
|
@ -200,6 +203,29 @@ public class Playground extends GameShell {
|
||||||
|
|
||||||
public void loadItem(int id, int count) {
|
public void loadItem(int id, int count) {
|
||||||
sprite = Inv.getObjectSprite(0, id, false, count, 0);
|
sprite = Inv.getObjectSprite(0, id, false, count, 0);
|
||||||
|
|
||||||
|
try {
|
||||||
|
Files.write(
|
||||||
|
Paths.get("items.csv"),
|
||||||
|
"id,name,cost\n".getBytes(),
|
||||||
|
StandardOpenOption.CREATE_NEW);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
};
|
||||||
|
for (int i = 0; i < 14657; ++i) {
|
||||||
|
try {
|
||||||
|
ObjType obj = ObjTypeList.get(i);
|
||||||
|
if (obj == null) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
Files.write(
|
||||||
|
Paths.get("items.csv"),
|
||||||
|
(i + "," + obj.name + "," + obj.cost + "\n").getBytes(),
|
||||||
|
StandardOpenOption.APPEND);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loadNpc(int id) {
|
public void loadNpc(int id) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue