mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
Consolidate MiniMenu functions
This commit is contained in:
parent
36b0d99c42
commit
cf6a86e926
70 changed files with 1202 additions and 1252 deletions
|
|
@ -160,712 +160,6 @@ public class ClientProt {
|
|||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!i", name = "p", descriptor = "(II)V")
|
||||
public static void method2232(@OriginalArg(1) int arg0) {
|
||||
if (arg0 < 0) {
|
||||
return;
|
||||
}
|
||||
@Pc(15) int local15 = Static196.anIntArray408[arg0];
|
||||
@Pc(19) int local19 = Static56.anIntArray142[arg0];
|
||||
@Pc(23) int local23 = Static39.aShortArray6[arg0];
|
||||
if (local23 >= 2000) {
|
||||
local23 -= 2000;
|
||||
}
|
||||
@Pc(31) long local31 = Static159.aLongArray5[arg0];
|
||||
@Pc(36) int local36 = (int) Static159.aLongArray5[arg0];
|
||||
@Pc(43) Player local43;
|
||||
if (local23 == 31) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(71);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 46) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(247);
|
||||
Protocol.outboundBuffer.p2le(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2(Integer.MAX_VALUE & (int) (local31 >>> 32));
|
||||
}
|
||||
if (local23 == 40) {
|
||||
Protocol.outboundBuffer.p1isaac(27);
|
||||
Protocol.outboundBuffer.p2(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p4le2(Static224.anInt5062);
|
||||
Protocol.outboundBuffer.p2leadd(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
@Pc(192) Npc local192;
|
||||
if (local23 == 19) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(30);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 17) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(78);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 44) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(133);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 58) {
|
||||
Protocol.outboundBuffer.p1isaac(135);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p4me(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 42) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(254);
|
||||
Protocol.outboundBuffer.p2le(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2add((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
Protocol.outboundBuffer.p2(local19 + Static142.originZ);
|
||||
}
|
||||
if (local23 == 28) {
|
||||
method2909();
|
||||
}
|
||||
if (local23 == 45) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(239);
|
||||
Protocol.outboundBuffer.p4le2(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2add(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
@Pc(560) boolean local560;
|
||||
if (local23 == 18) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(66);
|
||||
Protocol.outboundBuffer.p2le(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
}
|
||||
if (local23 == 1001) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(170);
|
||||
Protocol.outboundBuffer.p2leadd(Integer.MAX_VALUE & (int) (local31 >>> 32));
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
}
|
||||
if (local23 == 1002) {
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(92);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
@Pc(693) Component local693;
|
||||
if (local23 == 1006) {
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
if (local693 == null || local693.objCounts[local15] < 100000) {
|
||||
Protocol.outboundBuffer.p1isaac(92);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
} else {
|
||||
Chat.add(JagString.EMPTY, 0, JagString.concatenate(new JagString[] { Static123.parseInt(local693.objCounts[local15]), Static249.aClass100_1039, ObjTypeList.get(local36).name}));
|
||||
}
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 60) {
|
||||
if (local36 == 0) {
|
||||
Static113.method3556(Player.level, local15, local19);
|
||||
} else if (local36 == 1) {
|
||||
if (LoginManager.staffModLevel > 0 && Keyboard.pressedKeys[Keyboard.KEY_CTRL] && Keyboard.pressedKeys[Keyboard.KEY_SHIFT]) {
|
||||
Cheat.teleport(Static225.originX + local15, Static142.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])) {
|
||||
Protocol.outboundBuffer.p1(Static1.anInt5);
|
||||
Protocol.outboundBuffer.p1(Static107.anInt2878);
|
||||
Protocol.outboundBuffer.p2((int)Camera.yawTarget);
|
||||
Protocol.outboundBuffer.p1(57);
|
||||
Protocol.outboundBuffer.p1(Static59.anInt1814);
|
||||
Protocol.outboundBuffer.p1(Static273.anInt4130);
|
||||
Protocol.outboundBuffer.p1(89);
|
||||
Protocol.outboundBuffer.p2(PlayerList.self.xFine);
|
||||
Protocol.outboundBuffer.p2(PlayerList.self.zFine);
|
||||
Protocol.outboundBuffer.p1(PathFinder.anInt4364);
|
||||
Protocol.outboundBuffer.p1(63);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local23 == 1007) {
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
@Pc(884) NpcType local884 = local192.type;
|
||||
if (local884.multiNpcs != null) {
|
||||
local884 = local884.getMultiNpc();
|
||||
}
|
||||
if (local884 != null) {
|
||||
Protocol.outboundBuffer.p1isaac(72);
|
||||
Protocol.outboundBuffer.p2(local884.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local23 == 47) {
|
||||
Protocol.outboundBuffer.p1isaac(156);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 3) {
|
||||
Protocol.outboundBuffer.p1isaac(253);
|
||||
Protocol.outboundBuffer.p4le2(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p2le(Static15.anInt506);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 10) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(4);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 41 && Static39.aClass13_10 == null) {
|
||||
method10(local15, local19);
|
||||
Static39.aClass13_10 = Static201.method1418(local19, local15);
|
||||
InterfaceList.redraw(Static39.aClass13_10);
|
||||
}
|
||||
if (local23 == 49) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(84);
|
||||
Protocol.outboundBuffer.p2leadd(Integer.MAX_VALUE & (int) (local31 >>> 32));
|
||||
Protocol.outboundBuffer.p2leadd(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p2le(local15 + Static225.originX);
|
||||
}
|
||||
if (local23 == 23) {
|
||||
Protocol.outboundBuffer.p1isaac(206);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 14 && PathFinder.findPathToLoc(local31, local19, local15)) {
|
||||
Protocol.outboundBuffer.p1isaac(134);
|
||||
Protocol.outboundBuffer.p2add(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2le(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
Protocol.outboundBuffer.p2add((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
}
|
||||
if (local23 == 37) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(114);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 9 || local23 == 1003) {
|
||||
method4512(Static233.aClass100Array160[arg0], local15, local36, local19);
|
||||
}
|
||||
if (local23 == 5) {
|
||||
Protocol.outboundBuffer.p1isaac(55);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 21) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(228);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p2le(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2leadd(Static142.originZ + local19);
|
||||
}
|
||||
if (local23 == 4) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(148);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 32) {
|
||||
local693 = Static201.method1418(local19, local15);
|
||||
if (local693 != null) {
|
||||
Static53.method1294();
|
||||
@Pc(1493) ServerActiveProperties local1493 = InterfaceList.getServerActiveProperties(local693);
|
||||
Static247.method4246(local19, local15, local1493.getTargetMask(), local1493.anInt540, local693.anInt499, local693.anInt484);
|
||||
Static260.anInt5014 = 0;
|
||||
Static102.aClass100_545 = Static97.method1963(local693);
|
||||
if (Static102.aClass100_545 == null) {
|
||||
Static102.aClass100_545 = Static250.aClass100_1042;
|
||||
}
|
||||
if (local693.usingScripts) {
|
||||
Static78.aClass100_466 = JagString.concatenate(new JagString[] { local693.opBase, Static204.aClass100_896 });
|
||||
} else {
|
||||
Static78.aClass100_466 = JagString.concatenate(new JagString[] { MiniMenu.COLOR_GREEN, local693.aClass100_85, Static204.aClass100_896 });
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (local23 == 29) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(180);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 35) {
|
||||
Protocol.outboundBuffer.p1isaac(161);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 15) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(195);
|
||||
Protocol.outboundBuffer.p2add(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p4le2(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 34) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(109);
|
||||
Protocol.outboundBuffer.p2le(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
if (local23 == 25) {
|
||||
Protocol.outboundBuffer.p1isaac(81);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 2) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(218);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
@Pc(1955) int local1955;
|
||||
if (local23 == 51) {
|
||||
Protocol.outboundBuffer.p1isaac(10);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
if (local693.anIntArrayArray4 != null && local693.anIntArrayArray4[0][0] == 5) {
|
||||
local1955 = local693.anIntArrayArray4[0][1];
|
||||
if (VarpDomain.activeVarps[local1955] != local693.anIntArray48[0]) {
|
||||
VarpDomain.activeVarps[local1955] = local693.anIntArray48[0];
|
||||
Static85.refreshMagicVarp(local1955);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local23 == 26) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(115);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
Protocol.outboundBuffer.p2le(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Protocol.outboundBuffer.p2leadd(Static274.anInt4997);
|
||||
}
|
||||
}
|
||||
if (local23 == 59) {
|
||||
Protocol.outboundBuffer.p1isaac(10);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
if (local693.anIntArrayArray4 != null && local693.anIntArrayArray4[0][0] == 5) {
|
||||
local1955 = local693.anIntArrayArray4[0][1];
|
||||
VarpDomain.activeVarps[local1955] = 1 - VarpDomain.activeVarps[local1955];
|
||||
Static85.refreshMagicVarp(local1955);
|
||||
}
|
||||
}
|
||||
if (local23 == 33) {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(101);
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2le(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p2le(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Protocol.outboundBuffer.p2leadd(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
}
|
||||
if (local23 == 1004) {
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(94);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
if (local23 == 11) {
|
||||
if (local36 == 0) {
|
||||
Static125.anInt3096 = 1;
|
||||
Static113.method3556(Player.level, local15, local19);
|
||||
} else if (local36 == 1) {
|
||||
Protocol.outboundBuffer.p1isaac(131);
|
||||
Protocol.outboundBuffer.p4me(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2add(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2leadd(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p2add(local19 + Static142.originZ);
|
||||
}
|
||||
}
|
||||
if (local23 == 8) {
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
@Pc(2287) boolean local2287 = true;
|
||||
if (local693.anInt453 > 0) {
|
||||
local2287 = Static249.method4265(local693);
|
||||
}
|
||||
if (local2287) {
|
||||
Protocol.outboundBuffer.p1isaac(10);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
}
|
||||
}
|
||||
if (local23 == 1) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(248);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
}
|
||||
}
|
||||
if (local23 == 7) {
|
||||
Protocol.outboundBuffer.p1isaac(85);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Protocol.outboundBuffer.p2(local15);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 24) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(48);
|
||||
Protocol.outboundBuffer.p2add(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2le(Static142.originZ + local19);
|
||||
}
|
||||
if (local23 == 38 && PathFinder.findPathToLoc(local31, local19, local15)) {
|
||||
Protocol.outboundBuffer.p1isaac(233);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2add(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2leadd(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p4rme(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2add((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
}
|
||||
if (local23 == 13) {
|
||||
Protocol.outboundBuffer.p1isaac(6);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 57) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(175);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 22) {
|
||||
Static53.method1294();
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
Static224.anInt5062 = local19;
|
||||
Static185.anInt4370 = local15;
|
||||
Static260.anInt5014 = 1;
|
||||
Static274.anInt4997 = local36;
|
||||
InterfaceList.redraw(local693);
|
||||
Static34.aClass100_203 = JagString.concatenate(new JagString[] { Static8.aClass100_32, ObjTypeList.get(local36).name, Static204.aClass100_896 });
|
||||
if (Static34.aClass100_203 == null) {
|
||||
Static34.aClass100_203 = Static92.NULL;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (local23 == 50) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(194);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2le(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
}
|
||||
if (local23 == 48) {
|
||||
Protocol.outboundBuffer.p1isaac(154);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 30) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(68);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 43) {
|
||||
Protocol.outboundBuffer.p1isaac(153);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 39) {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(73);
|
||||
Protocol.outboundBuffer.p4rme(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2le(Static15.anInt506);
|
||||
}
|
||||
if (local23 == 12) {
|
||||
Protocol.outboundBuffer.p1isaac(82);
|
||||
Protocol.outboundBuffer.p2(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Protocol.outboundBuffer.p4(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
}
|
||||
if (local23 == 36) {
|
||||
if (local36 == 0) {
|
||||
Static187.anInt4422 = 1;
|
||||
Static113.method3556(Player.level, local15, local19);
|
||||
} else if (LoginManager.staffModLevel > 0 && Keyboard.pressedKeys[Keyboard.KEY_CTRL] && Keyboard.pressedKeys[Keyboard.KEY_SHIFT]) {
|
||||
Cheat.teleport(local15 + Static225.originX, Static142.originZ - -local19, Player.level);
|
||||
} else {
|
||||
Protocol.outboundBuffer.p1isaac(179);
|
||||
Protocol.outboundBuffer.p2(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2(local15 + Static225.originX);
|
||||
}
|
||||
}
|
||||
if (local23 == 6) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(106);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 20) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(33);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p2(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2le(Static142.originZ + local19);
|
||||
}
|
||||
if (local23 == 16) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(3);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (Static260.anInt5014 != 0) {
|
||||
Static260.anInt5014 = 0;
|
||||
InterfaceList.redraw(InterfaceList.getComponent(Static224.anInt5062));
|
||||
}
|
||||
if (Static241.aBoolean302) {
|
||||
Static53.method1294();
|
||||
}
|
||||
if (Static257.aClass13_7 != null && Static72.anInt2043 == 0) {
|
||||
InterfaceList.redraw(Static257.aClass13_7);
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!gd", name = "a", descriptor = "(JI)V")
|
||||
public static void method1691(@OriginalArg(0) long name) {
|
||||
Protocol.outboundBuffer.offset = 0;
|
||||
|
|
@ -1222,9 +516,9 @@ public class ClientProt {
|
|||
Protocol.outboundBuffer.p4(Static56.aClass13_12.id);
|
||||
Protocol.outboundBuffer.p2le(Static105.aClass13_14.createdComponentId);
|
||||
}
|
||||
} else if ((Static116.anInt2952 == 1 || Static277.method4640(Static231.anInt5204 - 1)) && Static231.anInt5204 > 2) {
|
||||
} else if ((Static116.anInt2952 == 1 || Static277.method4640(MiniMenu.size - 1)) && MiniMenu.size > 2) {
|
||||
Static226.method3901();
|
||||
} else if (Static231.anInt5204 > 0) {
|
||||
} else if (MiniMenu.size > 0) {
|
||||
Static59.method1372();
|
||||
}
|
||||
Static105.aClass13_14 = null;
|
||||
|
|
|
|||
|
|
@ -40,35 +40,35 @@ public final class DelayedStateChange extends SecondaryNode {
|
|||
|
||||
@OriginalMember(owner = "client!pf", name = "a", descriptor = "(III)V")
|
||||
public static void setComponentModelRotationSpeedServer(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||
@Pc(14) DelayedStateChange local14 = Static238.method4143(13, arg1);
|
||||
@Pc(14) DelayedStateChange local14 = create(13, arg1);
|
||||
local14.pushServer();
|
||||
local14.intArg1 = arg0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!pi", name = "a", descriptor = "(Lclient!na;BI)V")
|
||||
public static void method3498(@OriginalArg(0) JagString arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(10) DelayedStateChange local10 = Static238.method4143(2, arg1);
|
||||
@Pc(10) DelayedStateChange local10 = create(2, arg1);
|
||||
local10.pushServer();
|
||||
local10.stringArg = arg0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!mc", name = "c", descriptor = "(III)V")
|
||||
public static void method2905(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(14) DelayedStateChange local14 = Static238.method4143(7, arg0);
|
||||
@Pc(14) DelayedStateChange local14 = create(7, arg0);
|
||||
local14.pushServer();
|
||||
local14.intArg1 = arg1;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ke", name = "c", descriptor = "(III)V")
|
||||
public static void updateVarC(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(1, arg0);
|
||||
@Pc(8) DelayedStateChange local8 = create(1, arg0);
|
||||
local8.pushServer();
|
||||
local8.intArg1 = arg1;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ke", name = "a", descriptor = "(IIIBI)V")
|
||||
public static void updateComponentModel(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(4) int arg3) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(4, arg2);
|
||||
@Pc(8) DelayedStateChange local8 = create(4, arg2);
|
||||
local8.pushServer();
|
||||
local8.intArg3 = arg3;
|
||||
local8.intArg2 = arg0;
|
||||
|
|
@ -77,14 +77,14 @@ public final class DelayedStateChange extends SecondaryNode {
|
|||
|
||||
@OriginalMember(owner = "client!se", name = "a", descriptor = "(III)V")
|
||||
public static void method3893(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||
@Pc(14) DelayedStateChange local14 = Static238.method4143(5, arg0);
|
||||
@Pc(14) DelayedStateChange local14 = create(5, arg0);
|
||||
local14.pushServer();
|
||||
local14.intArg1 = arg1;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ve", name = "a", descriptor = "(BIIII)V")
|
||||
public static void updateView(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(8, arg1);
|
||||
@Pc(8) DelayedStateChange local8 = create(8, arg1);
|
||||
local8.pushServer();
|
||||
local8.intArg2 = arg0;
|
||||
local8.intArg1 = arg3;
|
||||
|
|
@ -93,14 +93,14 @@ public final class DelayedStateChange extends SecondaryNode {
|
|||
|
||||
@OriginalMember(owner = "client!kk", name = "a", descriptor = "(IIB)V")
|
||||
public static void setColor(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||
@Pc(4) DelayedStateChange local4 = Static238.method4143(6, arg1);
|
||||
@Pc(4) DelayedStateChange local4 = create(6, arg1);
|
||||
local4.pushServer();
|
||||
local4.intArg1 = arg0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!wl", name = "a", descriptor = "(IIII)V")
|
||||
public static void method4666(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2) {
|
||||
@Pc(18) DelayedStateChange local18 = Static238.method4143(11, arg1);
|
||||
@Pc(18) DelayedStateChange local18 = create(11, arg1);
|
||||
local18.pushServer();
|
||||
local18.intArg3 = arg2;
|
||||
local18.intArg1 = arg0;
|
||||
|
|
@ -108,12 +108,40 @@ public final class DelayedStateChange extends SecondaryNode {
|
|||
|
||||
@OriginalMember(owner = "client!gf", name = "a", descriptor = "(Lclient!na;II)V")
|
||||
public static void method3617(@OriginalArg(0) JagString arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(6) DelayedStateChange local6 = Static238.method4143(3, arg1);
|
||||
@Pc(6) DelayedStateChange local6 = create(3, arg1);
|
||||
local6.pushServer();
|
||||
local6.stringArg = arg0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!da", name = "a", descriptor = "(Z)V")
|
||||
@OriginalMember(owner = "client!ug", name = "a", descriptor = "(IB)V")
|
||||
public static void setComponentObjClient(@OriginalArg(0) int arg0) {
|
||||
@Pc(14) DelayedStateChange local14 = create(9, arg0);
|
||||
local14.pushClient();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!mc", name = "a", descriptor = "(BI)V")
|
||||
public static void setComponentModelAngleClient(@OriginalArg(1) int arg0) {
|
||||
@Pc(4) DelayedStateChange local4 = create(8, arg0);
|
||||
local4.pushClient();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!og", name = "a", descriptor = "(II)V")
|
||||
public static void setComponentModelOffsetClient(@OriginalArg(0) int arg0) {
|
||||
@Pc(12) DelayedStateChange local12 = create(10, arg0);
|
||||
local12.pushClient();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!te", name = "a", descriptor = "(III)Lclient!da;")
|
||||
public static DelayedStateChange create(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(13) DelayedStateChange local13 = (DelayedStateChange) changes.get((long) arg1 | (long) arg0 << 32);
|
||||
if (local13 == null) {
|
||||
local13 = new DelayedStateChange(arg0, arg1);
|
||||
changes.put(local13, local13.key);
|
||||
}
|
||||
return local13;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!da", name = "a", descriptor = "(Z)V")
|
||||
public final void pushClient() {
|
||||
this.secondaryKey = MonotonicClock.currentTimeMillis() + 500L | Long.MIN_VALUE & this.secondaryKey;
|
||||
clientQueue.addTail(this);
|
||||
|
|
|
|||
|
|
@ -179,4 +179,15 @@ public class InterfaceList {
|
|||
Static186.aBooleanArray100[arg0.anInt517] = true;
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!qj", name = "a", descriptor = "(Lclient!be;BI)Lclient!na;")
|
||||
public static JagString getOp(@OriginalArg(0) Component arg0, @OriginalArg(2) int arg1) {
|
||||
if (!getServerActiveProperties(arg0).method503(arg1) && arg0.anObjectArray29 == null) {
|
||||
return null;
|
||||
} 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, Static123.parseInt(arg1) }) : null;
|
||||
} else {
|
||||
return arg0.ops[arg1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ public class MidiPlayer {
|
|||
public static SoundBank aClass89_1;
|
||||
@OriginalMember(owner = "client!bd", name = "i", descriptor = "I")
|
||||
public static int anInt441 = 0;
|
||||
@OriginalMember(owner = "client!uh", name = "P", descriptor = "Lclient!ve;")
|
||||
public static Js5 aClass153_103;
|
||||
|
||||
@OriginalMember(owner = "client!km", name = "c", descriptor = "(Z)Z")
|
||||
public static boolean method2699() {
|
||||
|
|
@ -23,7 +25,7 @@ public class MidiPlayer {
|
|||
}
|
||||
}
|
||||
if (aClass89_1 == null) {
|
||||
aClass89_1 = new SoundBank(Static78.aClass153_32, Static252.aClass153_103);
|
||||
aClass89_1 = new SoundBank(Static78.aClass153_32, aClass153_103);
|
||||
}
|
||||
if (Static172.aClass3_Sub3_Sub4_2.method4411(Static144.aClass3_Sub29_1, Static210.aClass153_87, aClass89_1)) {
|
||||
Static172.aClass3_Sub3_Sub4_2.method4412();
|
||||
|
|
@ -73,7 +75,7 @@ public class MidiPlayer {
|
|||
public static boolean init(@OriginalArg(1) MidiPcmStream arg0, @OriginalArg(2) Js5 arg1, @OriginalArg(3) Js5 arg2, @OriginalArg(4) Js5 arg3) {
|
||||
Static210.aClass153_87 = arg1;
|
||||
Static78.aClass153_32 = arg3;
|
||||
Static252.aClass153_103 = arg2;
|
||||
aClass153_103 = arg2;
|
||||
Static172.aClass3_Sub3_Sub4_2 = arg0;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,998 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public class MiniMenu {
|
||||
@OriginalMember(owner = "client!df", name = "l", descriptor = "Lclient!na;")
|
||||
public static final JagString COLOR_GREEN = JagString.parse("<col=00ff00>");
|
||||
@OriginalMember(owner = "client!sc", name = "g", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_947 = JagString.parse(" )2> <col=ff9040>");
|
||||
@OriginalMember(owner = "client!uj", name = "C", descriptor = "[Lclient!na;")
|
||||
public static final JagString[] ops = new JagString[500];
|
||||
@OriginalMember(owner = "client!t", name = "v", descriptor = "[Lclient!na;")
|
||||
public static final JagString[] opBases = new JagString[500];
|
||||
@OriginalMember(owner = "client!d", name = "eb", descriptor = "[S")
|
||||
public static final short[] actions = new short[500];
|
||||
@OriginalMember(owner = "client!pf", name = "r", descriptor = "[I")
|
||||
public static final int[] cursors = new int[500];
|
||||
@OriginalMember(owner = "client!mi", name = "U", descriptor = "[J")
|
||||
public static final long[] keys = new long[500];
|
||||
@OriginalMember(owner = "client!pl", name = "e", descriptor = "[I")
|
||||
public static final int[] intArgs1 = new int[500];
|
||||
@OriginalMember(owner = "client!ef", name = "c", descriptor = "[I")
|
||||
public static final int[] intArgs2 = new int[500];
|
||||
@OriginalMember(owner = "client!nm", name = "bb", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_798 = JagString.parse("<col=ff0000>");
|
||||
@OriginalMember(owner = "client!fb", name = "p", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_433 = JagString.parse("<col=ff3000>");
|
||||
@OriginalMember(owner = "client!sc", name = "D", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_951 = JagString.parse("<col=ff7000>");
|
||||
@OriginalMember(owner = "client!si", name = "Z", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_972 = JagString.parse("<col=ffb000>");
|
||||
@OriginalMember(owner = "client!ag", name = "bb", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_18 = JagString.parse("<col=40ff00>");
|
||||
@OriginalMember(owner = "client!dc", name = "v", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_266 = JagString.parse("<col=c0ff00>");
|
||||
@OriginalMember(owner = "client!sf", name = "g", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_965 = JagString.parse("<col=ffff00>");
|
||||
@OriginalMember(owner = "client!vg", name = "f", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_1081 = JagString.parse("<col=80ff00>");
|
||||
@OriginalMember(owner = "client!ck", name = "D", descriptor = "Lclient!na;")
|
||||
public static JagString aClass100_203 = null;
|
||||
@OriginalMember(owner = "client!hn", name = "W", descriptor = "Lclient!na;")
|
||||
public static JagString aClass100_545 = null;
|
||||
@OriginalMember(owner = "client!sk", name = "kb", descriptor = "I")
|
||||
public static int size = 0;
|
||||
|
||||
@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) {
|
||||
if (component.anInt530 == 1) {
|
||||
add(-1, 0L, JagString.EMPTY, 0, (short) 8, component.aClass100_89, component.id);
|
||||
}
|
||||
@Pc(47) JagString local47;
|
||||
if (component.anInt530 == 2 && !Static241.aBoolean302) {
|
||||
local47 = Static97.getTargetVerb(component);
|
||||
if (local47 != null) {
|
||||
add(-1, 0L, JagString.concatenate(new JagString[] {COLOR_GREEN, component.aClass100_85 }), -1, (short) 32, local47, component.id);
|
||||
}
|
||||
}
|
||||
if (component.anInt530 == 3) {
|
||||
add(-1, 0L, JagString.EMPTY, 0, (short) 28, LocalizedText.CLOSE, component.id);
|
||||
}
|
||||
if (component.anInt530 == 4) {
|
||||
add(-1, 0L, JagString.EMPTY, 0, (short) 59, component.aClass100_89, component.id);
|
||||
}
|
||||
if (component.anInt530 == 5) {
|
||||
add(-1, 0L, JagString.EMPTY, 0, (short) 51, component.aClass100_89, component.id);
|
||||
}
|
||||
if (component.anInt530 == 6 && Static39.aClass13_10 == null) {
|
||||
add(-1, 0L, JagString.EMPTY, -1, (short) 41, component.aClass100_89, component.id);
|
||||
}
|
||||
@Pc(173) int local173;
|
||||
@Pc(171) int local171;
|
||||
if (component.type == 2) {
|
||||
local171 = 0;
|
||||
for (local173 = 0; local173 < component.baseHeight; local173++) {
|
||||
for (@Pc(183) int local183 = 0; local183 < component.baseWidth; local183++) {
|
||||
@Pc(195) int local195 = (component.anInt512 + 32) * local183;
|
||||
@Pc(202) int local202 = (component.anInt516 + 32) * local173;
|
||||
if (local171 < 20) {
|
||||
local202 += component.anIntArray47[local171];
|
||||
local195 += component.anIntArray41[local171];
|
||||
}
|
||||
if (arg1 >= local195 && local202 <= arg0 && local195 + 32 > arg1 && local202 + 32 > arg0) {
|
||||
Static169.aClass13_18 = component;
|
||||
Static18.anInt588 = local171;
|
||||
if (component.objTypes[local171] > 0) {
|
||||
@Pc(267) ServerActiveProperties local267 = InterfaceList.getServerActiveProperties(component);
|
||||
@Pc(276) ObjType local276 = ObjTypeList.get(component.objTypes[local171] - 1);
|
||||
if (Static260.anInt5014 == 1 && local267.isObjOpsEnabled()) {
|
||||
if (Static224.anInt5062 != component.id || Static185.anInt4370 != local171) {
|
||||
add(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { aClass100_203, aClass100_947, local276.name}), local171, (short) 40, LocalizedText.USE, component.id);
|
||||
}
|
||||
} else if (Static241.aBoolean302 && local267.isObjOpsEnabled()) {
|
||||
@Pc(596) ParamType local596 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||
if ((Static274.anInt4999 & 0x10) != 0 && (local596 == null || local276.getParam(local596.defaultInt, Static121.anInt3039) != local596.defaultInt)) {
|
||||
add(Static246.anInt5393, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static78.aClass100_466, aClass100_947, local276.name}), local171, (short) 3, aClass100_545, component.id);
|
||||
}
|
||||
} else {
|
||||
@Pc(296) JagString[] local296 = local276.inventoryOps;
|
||||
if (Static208.aBoolean237) {
|
||||
local296 = Static279.method4664(local296);
|
||||
}
|
||||
@Pc(309) int local309;
|
||||
@Pc(334) byte local334;
|
||||
if (local267.isObjOpsEnabled()) {
|
||||
for (local309 = 4; local309 >= 3; local309--) {
|
||||
if (local296 != null && local296[local309] != null) {
|
||||
if (local309 == 3) {
|
||||
local334 = 35;
|
||||
} else {
|
||||
local334 = 58;
|
||||
}
|
||||
add(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, local334, local296[local309], component.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local267.method507()) {
|
||||
add(Static169.anInt4075, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, (short) 22, LocalizedText.USE, component.id);
|
||||
}
|
||||
if (local267.isObjOpsEnabled() && local296 != null) {
|
||||
for (local309 = 2; local309 >= 0; local309--) {
|
||||
if (local296[local309] != null) {
|
||||
local334 = 0;
|
||||
if (local309 == 0) {
|
||||
local334 = 47;
|
||||
}
|
||||
if (local309 == 1) {
|
||||
local334 = 5;
|
||||
}
|
||||
if (local309 == 2) {
|
||||
local334 = 43;
|
||||
}
|
||||
add(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, local334, local296[local309], component.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
local296 = component.aClass100Array19;
|
||||
if (Static208.aBoolean237) {
|
||||
local296 = Static279.method4664(local296);
|
||||
}
|
||||
if (local296 != null) {
|
||||
for (local309 = 4; local309 >= 0; local309--) {
|
||||
if (local296[local309] != null) {
|
||||
local334 = 0;
|
||||
if (local309 == 0) {
|
||||
local334 = 25;
|
||||
}
|
||||
if (local309 == 1) {
|
||||
local334 = 23;
|
||||
}
|
||||
if (local309 == 2) {
|
||||
local334 = 48;
|
||||
}
|
||||
if (local309 == 3) {
|
||||
local334 = 7;
|
||||
}
|
||||
if (local309 == 4) {
|
||||
local334 = 13;
|
||||
}
|
||||
add(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, local334, local296[local309], component.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
add(Static225.anInt5073, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, (short) 1006, LocalizedText.EXAMINE, component.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
local171++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!component.usingScripts) {
|
||||
return;
|
||||
}
|
||||
if (!Static241.aBoolean302) {
|
||||
for (local171 = 9; local171 >= 5; local171--) {
|
||||
@Pc(765) JagString local765 = InterfaceList.getOp(component, local171);
|
||||
if (local765 != null) {
|
||||
add(Static8.getOpCursor(local171, component), (long) (local171 + 1), component.opBase, component.createdComponentId, (short) 1003, local765, component.id);
|
||||
}
|
||||
}
|
||||
local47 = Static97.getTargetVerb(component);
|
||||
if (local47 != null) {
|
||||
add(-1, 0L, component.opBase, component.createdComponentId, (short) 32, local47, component.id);
|
||||
}
|
||||
for (local173 = 4; local173 >= 0; local173--) {
|
||||
@Pc(828) JagString local828 = InterfaceList.getOp(component, local173);
|
||||
if (local828 != null) {
|
||||
add(Static8.getOpCursor(local173, component), (long) (local173 + 1), component.opBase, component.createdComponentId, (short) 9, local828, component.id);
|
||||
}
|
||||
}
|
||||
if (InterfaceList.getServerActiveProperties(component).method506()) {
|
||||
add(-1, 0L, JagString.EMPTY, component.createdComponentId, (short) 41, LocalizedText.CONTINUE, component.id);
|
||||
}
|
||||
} else if (InterfaceList.getServerActiveProperties(component).method508() && (Static274.anInt4999 & 0x20) != 0) {
|
||||
add(Static246.anInt5393, 0L, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static201.aClass100_408, component.opBase}), component.createdComponentId, (short) 12, aClass100_545, component.id);
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!hj", name = "a", descriptor = "(IJBLclient!na;ISLclient!na;I)V")
|
||||
public static void add(@OriginalArg(0) int cursor, @OriginalArg(1) long arg1, @OriginalArg(3) JagString arg2, @OriginalArg(4) int arg3, @OriginalArg(5) short arg4, @OriginalArg(6) JagString arg5, @OriginalArg(7) int arg6) {
|
||||
if (Static60.aBoolean108 || size >= 500) {
|
||||
return;
|
||||
}
|
||||
ops[size] = arg5;
|
||||
opBases[size] = arg2;
|
||||
cursors[size] = cursor == -1 ? Static35.anInt1092 : cursor;
|
||||
actions[size] = arg4;
|
||||
keys[size] = arg1;
|
||||
intArgs1[size] = arg3;
|
||||
intArgs2[size] = arg6;
|
||||
size++;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!wl", name = "b", descriptor = "(I)V")
|
||||
public static void sort() {
|
||||
@Pc(3) boolean sorted = false;
|
||||
while (!sorted) {
|
||||
sorted = true;
|
||||
for (@Pc(13) int i = 0; i < size - 1; i++) {
|
||||
if (actions[i] < 1000 && actions[i + 1] > 1000) {
|
||||
@Pc(41) JagString local41 = opBases[i];
|
||||
sorted = false;
|
||||
opBases[i] = opBases[i + 1];
|
||||
opBases[i + 1] = local41;
|
||||
@Pc(61) JagString local61 = ops[i];
|
||||
ops[i] = ops[i + 1];
|
||||
ops[i + 1] = local61;
|
||||
@Pc(79) int local79 = intArgs1[i];
|
||||
intArgs1[i] = intArgs1[i + 1];
|
||||
intArgs1[i + 1] = local79;
|
||||
@Pc(97) int local97 = intArgs2[i];
|
||||
intArgs2[i] = intArgs2[i + 1];
|
||||
intArgs2[i + 1] = local97;
|
||||
@Pc(115) int local115 = cursors[i];
|
||||
cursors[i] = cursors[i + 1];
|
||||
cursors[i + 1] = local115;
|
||||
@Pc(133) short local133 = actions[i];
|
||||
actions[i] = actions[i + 1];
|
||||
actions[i + 1] = local133;
|
||||
@Pc(151) long local151 = keys[i];
|
||||
keys[i] = keys[i + 1];
|
||||
keys[i + 1] = local151;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!qe", name = "b", descriptor = "(II)V")
|
||||
public static void remove(@OriginalArg(1) int i) {
|
||||
size--;
|
||||
if (size == i) {
|
||||
return;
|
||||
}
|
||||
ArrayUtils.copy(ops, i + 1, ops, i, size - i);
|
||||
ArrayUtils.copy(opBases, i + 1, opBases, i, size - i);
|
||||
ArrayUtils.copy(cursors, i + 1, cursors, i, size - i);
|
||||
ArrayUtils.copy(actions, i + 1, actions, i, size - i);
|
||||
ArrayUtils.copy(keys, i + 1, keys, i, size - i);
|
||||
ArrayUtils.copy(intArgs1, i + 1, intArgs1, i, size - i);
|
||||
ArrayUtils.copy(intArgs2, i + 1, intArgs2, i, size - i);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!wa", name = "a", descriptor = "(IZ)Lclient!na;")
|
||||
public static JagString getOp(@OriginalArg(0) int i) {
|
||||
return opBases[i].length() > 0 ? JagString.concatenate(new JagString[] { ops[i], LocalizedText.MINISEPARATOR, opBases[i] }) : ops[i];
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!i", name = "p", descriptor = "(II)V")
|
||||
public static void doAction(@OriginalArg(1) int arg0) {
|
||||
if (arg0 < 0) {
|
||||
return;
|
||||
}
|
||||
@Pc(15) int local15 = intArgs1[arg0];
|
||||
@Pc(19) int local19 = intArgs2[arg0];
|
||||
@Pc(23) int local23 = actions[arg0];
|
||||
if (local23 >= 2000) {
|
||||
local23 -= 2000;
|
||||
}
|
||||
@Pc(31) long local31 = keys[arg0];
|
||||
@Pc(36) int local36 = (int) keys[arg0];
|
||||
@Pc(43) Player local43;
|
||||
if (local23 == 31) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(71);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 46) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(247);
|
||||
Protocol.outboundBuffer.p2le(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2(Integer.MAX_VALUE & (int) (local31 >>> 32));
|
||||
}
|
||||
if (local23 == 40) {
|
||||
Protocol.outboundBuffer.p1isaac(27);
|
||||
Protocol.outboundBuffer.p2(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p4le2(Static224.anInt5062);
|
||||
Protocol.outboundBuffer.p2leadd(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
@Pc(192) Npc local192;
|
||||
if (local23 == 19) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(30);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 17) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(78);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 44) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(133);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 58) {
|
||||
Protocol.outboundBuffer.p1isaac(135);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p4me(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 42) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(254);
|
||||
Protocol.outboundBuffer.p2le(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2add((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
Protocol.outboundBuffer.p2(local19 + Static142.originZ);
|
||||
}
|
||||
if (local23 == 28) {
|
||||
ClientProt.method2909();
|
||||
}
|
||||
if (local23 == 45) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(239);
|
||||
Protocol.outboundBuffer.p4le2(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2add(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
@Pc(560) boolean local560;
|
||||
if (local23 == 18) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(66);
|
||||
Protocol.outboundBuffer.p2le(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
}
|
||||
if (local23 == 1001) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(170);
|
||||
Protocol.outboundBuffer.p2leadd(Integer.MAX_VALUE & (int) (local31 >>> 32));
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
}
|
||||
if (local23 == 1002) {
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(92);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
@Pc(693) Component local693;
|
||||
if (local23 == 1006) {
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
if (local693 == null || local693.objCounts[local15] < 100000) {
|
||||
Protocol.outboundBuffer.p1isaac(92);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
} else {
|
||||
Chat.add(JagString.EMPTY, 0, JagString.concatenate(new JagString[] { Static123.parseInt(local693.objCounts[local15]), Static249.aClass100_1039, ObjTypeList.get(local36).name}));
|
||||
}
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 60) {
|
||||
if (local36 == 0) {
|
||||
Static113.method3556(Player.level, local15, local19);
|
||||
} else if (local36 == 1) {
|
||||
if (LoginManager.staffModLevel > 0 && Keyboard.pressedKeys[Keyboard.KEY_CTRL] && Keyboard.pressedKeys[Keyboard.KEY_SHIFT]) {
|
||||
Cheat.teleport(Static225.originX + local15, Static142.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])) {
|
||||
Protocol.outboundBuffer.p1(Static1.anInt5);
|
||||
Protocol.outboundBuffer.p1(Static107.anInt2878);
|
||||
Protocol.outboundBuffer.p2((int)Camera.yawTarget);
|
||||
Protocol.outboundBuffer.p1(57);
|
||||
Protocol.outboundBuffer.p1(Static59.anInt1814);
|
||||
Protocol.outboundBuffer.p1(Static273.anInt4130);
|
||||
Protocol.outboundBuffer.p1(89);
|
||||
Protocol.outboundBuffer.p2(PlayerList.self.xFine);
|
||||
Protocol.outboundBuffer.p2(PlayerList.self.zFine);
|
||||
Protocol.outboundBuffer.p1(PathFinder.anInt4364);
|
||||
Protocol.outboundBuffer.p1(63);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local23 == 1007) {
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
@Pc(884) NpcType local884 = local192.type;
|
||||
if (local884.multiNpcs != null) {
|
||||
local884 = local884.getMultiNpc();
|
||||
}
|
||||
if (local884 != null) {
|
||||
Protocol.outboundBuffer.p1isaac(72);
|
||||
Protocol.outboundBuffer.p2(local884.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local23 == 47) {
|
||||
Protocol.outboundBuffer.p1isaac(156);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 3) {
|
||||
Protocol.outboundBuffer.p1isaac(253);
|
||||
Protocol.outboundBuffer.p4le2(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p2le(Static15.anInt506);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 10) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(4);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 41 && Static39.aClass13_10 == null) {
|
||||
ClientProt.method10(local15, local19);
|
||||
Static39.aClass13_10 = Static201.method1418(local19, local15);
|
||||
InterfaceList.redraw(Static39.aClass13_10);
|
||||
}
|
||||
if (local23 == 49) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(84);
|
||||
Protocol.outboundBuffer.p2leadd(Integer.MAX_VALUE & (int) (local31 >>> 32));
|
||||
Protocol.outboundBuffer.p2leadd(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p2le(local15 + Static225.originX);
|
||||
}
|
||||
if (local23 == 23) {
|
||||
Protocol.outboundBuffer.p1isaac(206);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 14 && PathFinder.findPathToLoc(local31, local19, local15)) {
|
||||
Protocol.outboundBuffer.p1isaac(134);
|
||||
Protocol.outboundBuffer.p2add(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2le(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
Protocol.outboundBuffer.p2add((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
}
|
||||
if (local23 == 37) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(114);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 9 || local23 == 1003) {
|
||||
ClientProt.method4512(opBases[arg0], local15, local36, local19);
|
||||
}
|
||||
if (local23 == 5) {
|
||||
Protocol.outboundBuffer.p1isaac(55);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 21) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(228);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p2le(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2leadd(Static142.originZ + local19);
|
||||
}
|
||||
if (local23 == 4) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(148);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 32) {
|
||||
local693 = Static201.method1418(local19, local15);
|
||||
if (local693 != null) {
|
||||
Static53.method1294();
|
||||
@Pc(1493) ServerActiveProperties local1493 = InterfaceList.getServerActiveProperties(local693);
|
||||
Static247.method4246(local19, local15, local1493.getTargetMask(), local1493.anInt540, local693.anInt499, local693.anInt484);
|
||||
Static260.anInt5014 = 0;
|
||||
aClass100_545 = Static97.getTargetVerb(local693);
|
||||
if (aClass100_545 == null) {
|
||||
aClass100_545 = Static250.aClass100_1042;
|
||||
}
|
||||
if (local693.usingScripts) {
|
||||
Static78.aClass100_466 = JagString.concatenate(new JagString[] { local693.opBase, Static204.aClass100_896 });
|
||||
} else {
|
||||
Static78.aClass100_466 = JagString.concatenate(new JagString[] {COLOR_GREEN, local693.aClass100_85, Static204.aClass100_896 });
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (local23 == 29) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(180);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 35) {
|
||||
Protocol.outboundBuffer.p1isaac(161);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 15) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(195);
|
||||
Protocol.outboundBuffer.p2add(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p4le2(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 34) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(109);
|
||||
Protocol.outboundBuffer.p2le(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
if (local23 == 25) {
|
||||
Protocol.outboundBuffer.p1isaac(81);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 2) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(218);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
}
|
||||
}
|
||||
@Pc(1955) int local1955;
|
||||
if (local23 == 51) {
|
||||
Protocol.outboundBuffer.p1isaac(10);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
if (local693.anIntArrayArray4 != null && local693.anIntArrayArray4[0][0] == 5) {
|
||||
local1955 = local693.anIntArrayArray4[0][1];
|
||||
if (VarpDomain.activeVarps[local1955] != local693.anIntArray48[0]) {
|
||||
VarpDomain.activeVarps[local1955] = local693.anIntArray48[0];
|
||||
Static85.refreshMagicVarp(local1955);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local23 == 26) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(115);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
Protocol.outboundBuffer.p2le(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Protocol.outboundBuffer.p2leadd(Static274.anInt4997);
|
||||
}
|
||||
}
|
||||
if (local23 == 59) {
|
||||
Protocol.outboundBuffer.p1isaac(10);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
if (local693.anIntArrayArray4 != null && local693.anIntArrayArray4[0][0] == 5) {
|
||||
local1955 = local693.anIntArrayArray4[0][1];
|
||||
VarpDomain.activeVarps[local1955] = 1 - VarpDomain.activeVarps[local1955];
|
||||
Static85.refreshMagicVarp(local1955);
|
||||
}
|
||||
}
|
||||
if (local23 == 33) {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(101);
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2le(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p2le(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Protocol.outboundBuffer.p2leadd(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
}
|
||||
if (local23 == 1004) {
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Protocol.outboundBuffer.p1isaac(94);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
if (local23 == 11) {
|
||||
if (local36 == 0) {
|
||||
Static125.anInt3096 = 1;
|
||||
Static113.method3556(Player.level, local15, local19);
|
||||
} else if (local36 == 1) {
|
||||
Protocol.outboundBuffer.p1isaac(131);
|
||||
Protocol.outboundBuffer.p4me(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2add(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2leadd(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p2add(local19 + Static142.originZ);
|
||||
}
|
||||
}
|
||||
if (local23 == 8) {
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
@Pc(2287) boolean local2287 = true;
|
||||
if (local693.anInt453 > 0) {
|
||||
local2287 = Static249.method4265(local693);
|
||||
}
|
||||
if (local2287) {
|
||||
Protocol.outboundBuffer.p1isaac(10);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
}
|
||||
}
|
||||
if (local23 == 1) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(248);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2(Static274.anInt4997);
|
||||
Protocol.outboundBuffer.p2(Static185.anInt4370);
|
||||
Protocol.outboundBuffer.p4me(Static224.anInt5062);
|
||||
}
|
||||
}
|
||||
if (local23 == 7) {
|
||||
Protocol.outboundBuffer.p1isaac(85);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Protocol.outboundBuffer.p2(local15);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 24) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(48);
|
||||
Protocol.outboundBuffer.p2add(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2le(Static142.originZ + local19);
|
||||
}
|
||||
if (local23 == 38 && PathFinder.findPathToLoc(local31, local19, local15)) {
|
||||
Protocol.outboundBuffer.p1isaac(233);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2add(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2leadd(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p4rme(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2add((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
}
|
||||
if (local23 == 13) {
|
||||
Protocol.outboundBuffer.p1isaac(6);
|
||||
Protocol.outboundBuffer.p4(local19);
|
||||
Protocol.outboundBuffer.p2add(local15);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 57) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.type = 2;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(175);
|
||||
Protocol.outboundBuffer.p2add(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 22) {
|
||||
Static53.method1294();
|
||||
local693 = InterfaceList.getComponent(local19);
|
||||
Static224.anInt5062 = local19;
|
||||
Static185.anInt4370 = local15;
|
||||
Static260.anInt5014 = 1;
|
||||
Static274.anInt4997 = local36;
|
||||
InterfaceList.redraw(local693);
|
||||
aClass100_203 = JagString.concatenate(new JagString[] { Static8.aClass100_32, ObjTypeList.get(local36).name, Static204.aClass100_896 });
|
||||
if (aClass100_203 == null) {
|
||||
aClass100_203 = Static92.NULL;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (local23 == 50) {
|
||||
PathFinder.findPathToLoc(local31, local19, local15);
|
||||
Protocol.outboundBuffer.p1isaac(194);
|
||||
Protocol.outboundBuffer.p2leadd(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2le(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2((int) (local31 >>> 32) & Integer.MAX_VALUE);
|
||||
}
|
||||
if (local23 == 48) {
|
||||
Protocol.outboundBuffer.p1isaac(154);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 30) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(68);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 43) {
|
||||
Protocol.outboundBuffer.p1isaac(153);
|
||||
Protocol.outboundBuffer.p4le2(local19);
|
||||
Protocol.outboundBuffer.p2le(local15);
|
||||
Protocol.outboundBuffer.p2le(local36);
|
||||
Static72.anInt2043 = 0;
|
||||
Static257.aClass13_7 = InterfaceList.getComponent(local19);
|
||||
Static250.anInt5444 = local15;
|
||||
}
|
||||
if (local23 == 39) {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Cross.milliseconds = 0;
|
||||
Protocol.outboundBuffer.p1isaac(73);
|
||||
Protocol.outboundBuffer.p4rme(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2(Static142.originZ + local19);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
Protocol.outboundBuffer.p2leadd(local15 + Static225.originX);
|
||||
Protocol.outboundBuffer.p2le(Static15.anInt506);
|
||||
}
|
||||
if (local23 == 12) {
|
||||
Protocol.outboundBuffer.p1isaac(82);
|
||||
Protocol.outboundBuffer.p2(Static15.anInt506);
|
||||
Protocol.outboundBuffer.p4rme(local19);
|
||||
Protocol.outboundBuffer.p4(Static98.anInt2512);
|
||||
Protocol.outboundBuffer.p2leadd(local15);
|
||||
}
|
||||
if (local23 == 36) {
|
||||
if (local36 == 0) {
|
||||
Static187.anInt4422 = 1;
|
||||
Static113.method3556(Player.level, local15, local19);
|
||||
} else if (LoginManager.staffModLevel > 0 && Keyboard.pressedKeys[Keyboard.KEY_CTRL] && Keyboard.pressedKeys[Keyboard.KEY_SHIFT]) {
|
||||
Cheat.teleport(local15 + Static225.originX, Static142.originZ - -local19, Player.level);
|
||||
} else {
|
||||
Protocol.outboundBuffer.p1isaac(179);
|
||||
Protocol.outboundBuffer.p2(local19 + Static142.originZ);
|
||||
Protocol.outboundBuffer.p2(local15 + Static225.originX);
|
||||
}
|
||||
}
|
||||
if (local23 == 6) {
|
||||
local43 = PlayerList.players[local36];
|
||||
if (local43 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local43.movementQueueX[0], 1, 0, 2, local43.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.type = 2;
|
||||
Cross.x = Mouse.clickX;
|
||||
Protocol.outboundBuffer.p1isaac(106);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
}
|
||||
}
|
||||
if (local23 == 20) {
|
||||
if (client.game == 1) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
} else {
|
||||
local560 = PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 0, false, 0, local15, 0, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
if (!local560) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local15, 1, 0, 2, local19, PlayerList.self.movementQueueX[0]);
|
||||
}
|
||||
}
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(33);
|
||||
Protocol.outboundBuffer.p2(local36);
|
||||
Protocol.outboundBuffer.p2(Static225.originX + local15);
|
||||
Protocol.outboundBuffer.p2le(Static142.originZ + local19);
|
||||
}
|
||||
if (local23 == 16) {
|
||||
local192 = NpcList.npcs[local36];
|
||||
if (local192 != null) {
|
||||
PathFinder.findPath(PlayerList.self.movementQueueZ[0], 0, 1, false, 0, local192.movementQueueX[0], 1, 0, 2, local192.movementQueueZ[0], PlayerList.self.movementQueueX[0]);
|
||||
Cross.x = Mouse.clickX;
|
||||
Cross.milliseconds = 0;
|
||||
Cross.y = Mouse.clickY;
|
||||
Cross.type = 2;
|
||||
Protocol.outboundBuffer.p1isaac(3);
|
||||
Protocol.outboundBuffer.p2leadd(local36);
|
||||
}
|
||||
}
|
||||
if (Static260.anInt5014 != 0) {
|
||||
Static260.anInt5014 = 0;
|
||||
InterfaceList.redraw(InterfaceList.getComponent(Static224.anInt5062));
|
||||
}
|
||||
if (Static241.aBoolean302) {
|
||||
Static53.method1294();
|
||||
}
|
||||
if (Static257.aClass13_7 != null && Static72.anInt2043 == 0) {
|
||||
InterfaceList.redraw(Static257.aClass13_7);
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!jj", name = "a", descriptor = "(IBI)Lclient!na;")
|
||||
public static JagString getCombatLevelColor(@OriginalArg(0) int otherLevel, @OriginalArg(2) int selfLevel) {
|
||||
@Pc(4) int delta = selfLevel - otherLevel;
|
||||
if (delta < -9) {
|
||||
return aClass100_798;
|
||||
} else if (delta < -6) {
|
||||
return aClass100_433;
|
||||
} else if (delta < -3) {
|
||||
return aClass100_951;
|
||||
} else if (delta < 0) {
|
||||
return aClass100_972;
|
||||
} else if (delta > 9) {
|
||||
return COLOR_GREEN;
|
||||
} else if (delta > 6) {
|
||||
return aClass100_18;
|
||||
} else if (delta <= 3) {
|
||||
return delta > 0 ? aClass100_266 : aClass100_965;
|
||||
} else {
|
||||
return aClass100_1081;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2675,9 +2675,9 @@ public class Protocol {
|
|||
outboundBuffer.p2add(Static18.anInt588);
|
||||
outboundBuffer.p1sub(local1363);
|
||||
}
|
||||
} else if ((Static116.anInt2952 == 1 || Static277.method4640(Static231.anInt5204 - 1)) && Static231.anInt5204 > 2) {
|
||||
} else if ((Static116.anInt2952 == 1 || Static277.method4640(MiniMenu.size - 1)) && MiniMenu.size > 2) {
|
||||
Static226.method3901();
|
||||
} else if (Static231.anInt5204 > 0) {
|
||||
} else if (MiniMenu.size > 0) {
|
||||
Static59.method1372();
|
||||
}
|
||||
Mouse.clickButton = 0;
|
||||
|
|
|
|||
|
|
@ -3,10 +3,23 @@ package rt4;
|
|||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalClass;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
@OriginalClass("client!q")
|
||||
public abstract class ReferenceNodeFactory {
|
||||
|
||||
@OriginalMember(owner = "client!q", name = "a", descriptor = "(Lclient!gf;I)Lclient!gf;")
|
||||
public abstract ReferenceNode method1027(@OriginalArg(0) ReferenceNode arg0);
|
||||
@OriginalMember(owner = "client!uh", name = "ab", descriptor = "Lclient!q;")
|
||||
public static final ReferenceNodeFactory SOFT_REFERENCE_NODE_FACTORY = createSoftReferenceNodeFactory();
|
||||
|
||||
@OriginalMember(owner = "client!dh", name = "b", descriptor = "(I)Lclient!q;")
|
||||
public static ReferenceNodeFactory createSoftReferenceNodeFactory() {
|
||||
try {
|
||||
return new SoftReferenceNodeFactory();
|
||||
} catch (@Pc(15) Throwable local15) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!q", name = "a", descriptor = "(Lclient!gf;I)Lclient!gf;")
|
||||
public abstract ReferenceNode create(@OriginalArg(0) ReferenceNode arg0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -564,8 +564,8 @@ public final class ScriptRunner {
|
|||
component.modelZoom = intStack[isp + 5];
|
||||
InterfaceList.redraw(component);
|
||||
if (component.createdComponentId == -1) {
|
||||
Static153.method2910(component.id);
|
||||
Static180.method3328(component.id);
|
||||
DelayedStateChange.setComponentModelAngleClient(component.id);
|
||||
DelayedStateChange.setComponentModelOffsetClient(component.id);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
@ -674,7 +674,7 @@ public final class ScriptRunner {
|
|||
component.modelZoom = intStack[isp];
|
||||
InterfaceList.redraw(component);
|
||||
if (component.createdComponentId == -1) {
|
||||
Static153.method2910(component.id);
|
||||
DelayedStateChange.setComponentModelAngleClient(component.id);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
@ -692,9 +692,9 @@ public final class ScriptRunner {
|
|||
int2 = intStack[isp + 1];
|
||||
int3 = intStack[isp];
|
||||
if (component.createdComponentId == -1) {
|
||||
Static251.method4279(component.id);
|
||||
Static153.method2910(component.id);
|
||||
Static180.method3328(component.id);
|
||||
DelayedStateChange.setComponentObjClient(component.id);
|
||||
DelayedStateChange.setComponentModelAngleClient(component.id);
|
||||
DelayedStateChange.setComponentModelOffsetClient(component.id);
|
||||
}
|
||||
if (int3 == -1) {
|
||||
component.modelId = -1;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public final class ServerActiveProperties extends Node {
|
|||
}
|
||||
|
||||
@OriginalMember(owner = "client!bf", name = "h", descriptor = "(I)Z")
|
||||
public final boolean method510() {
|
||||
public final boolean isObjOpsEnabled() {
|
||||
return (this.accessMask >> 30 & 0x1) != 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public final class SoftLruHashTable {
|
|||
|
||||
@OriginalMember(owner = "client!n", name = "c", descriptor = "(II)V")
|
||||
public final void clean(@OriginalArg(1) int arg0) {
|
||||
if (Static252.aClass22_1 == null) {
|
||||
if (ReferenceNodeFactory.SOFT_REFERENCE_NODE_FACTORY == null) {
|
||||
return;
|
||||
}
|
||||
for (@Pc(9) ReferenceNode local9 = (ReferenceNode) this.aClass16_8.method795(); local9 != null; local9 = (ReferenceNode) this.aClass16_8.method797()) {
|
||||
|
|
@ -80,7 +80,7 @@ public final class SoftLruHashTable {
|
|||
this.anInt3966++;
|
||||
}
|
||||
} else if (++local9.secondaryKey > (long) arg0) {
|
||||
@Pc(33) ReferenceNode local33 = Static252.aClass22_1.method1027(local9);
|
||||
@Pc(33) ReferenceNode local33 = ReferenceNodeFactory.SOFT_REFERENCE_NODE_FACTORY.create(local9);
|
||||
this.aClass133_18.put(local33, local9.key);
|
||||
Static84.method1772(local9, local33);
|
||||
local9.unlink();
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ public final class SoftReferenceNodeFactory extends ReferenceNodeFactory {
|
|||
|
||||
@OriginalMember(owner = "client!db", name = "a", descriptor = "(Lclient!gf;I)Lclient!gf;")
|
||||
@Override
|
||||
public final ReferenceNode method1027(@OriginalArg(0) ReferenceNode arg0) {
|
||||
public final ReferenceNode create(@OriginalArg(0) ReferenceNode arg0) {
|
||||
return new SoftReferenceNode(arg0.method3618());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
||||
public final class Static100 {
|
||||
|
||||
}
|
||||
|
|
@ -10,9 +10,6 @@ public final class Static102 {
|
|||
@OriginalMember(owner = "client!hn", name = "K", descriptor = "Ljava/util/Calendar;")
|
||||
public static final Calendar aCalendar2 = Calendar.getInstance();
|
||||
|
||||
@OriginalMember(owner = "client!hn", name = "W", descriptor = "Lclient!na;")
|
||||
public static JagString aClass100_545 = null;
|
||||
|
||||
@OriginalMember(owner = "client!hn", name = "Y", descriptor = "I")
|
||||
public static int anInt2680 = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
package rt4;
|
||||
|
||||
public final class Static11 {
|
||||
|
||||
}
|
||||
|
|
@ -56,8 +56,8 @@ public final class Static112 {
|
|||
local112 = Mouse.anInt4873;
|
||||
@Pc(203) int local203;
|
||||
@Pc(219) int local219;
|
||||
for (local203 = 0; local203 < Static231.anInt5204; local203++) {
|
||||
local219 = (Static231.anInt5204 - local203 - 1) * 15 + local9 + 35;
|
||||
for (local203 = 0; local203 < MiniMenu.size; local203++) {
|
||||
local219 = (MiniMenu.size - local203 - 1) * 15 + local9 + 35;
|
||||
if (local3 < local112 && local112 < local3 + local13 && local114 > local219 - 13 && local114 < local219 + 3) {
|
||||
if (GlRenderer.enabled) {
|
||||
GlRaster.method1182(local3, local219 - 13, local13, 16, Static251.anInt5457, 256 - Static232.anInt5208);
|
||||
|
|
@ -102,13 +102,13 @@ public final class Static112 {
|
|||
Static204.aClass3_Sub2_Sub1_10.method1423(local3, local11 + local9 - Static204.aClass3_Sub2_Sub1_10.height);
|
||||
Static204.aClass3_Sub2_Sub1_10.method1421(local3 + local13 - Static204.aClass3_Sub2_Sub1_10.width, local9 - -local11 + -Static204.aClass3_Sub2_Sub1_10.height);
|
||||
}
|
||||
for (local203 = 0; local203 < Static231.anInt5204; local203++) {
|
||||
local219 = (Static231.anInt5204 - local203 - 1) * 15 + local9 + 35;
|
||||
for (local203 = 0; local203 < MiniMenu.size; local203++) {
|
||||
local219 = (MiniMenu.size - local203 - 1) * 15 + local9 + 35;
|
||||
local418 = Static195.anInt4581;
|
||||
if (local3 < local112 && local13 + local3 > local112 && local219 - 13 < local114 && local114 < local219 + 3) {
|
||||
local418 = Static262.anInt5752;
|
||||
}
|
||||
Fonts.b12Full.method2857(Static269.method2228(local203), local3 + 3, local219, local418, 0);
|
||||
Fonts.b12Full.method2857(MiniMenu.getOp(local203), local3 + 3, local219, local418, 0);
|
||||
}
|
||||
Static121.method2407(Static183.anInt4271, Static229.anInt5138, Static13.anInt436, Static24.anInt761);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public final class Static118 {
|
|||
|
||||
@OriginalMember(owner = "client!jd", name = "a", descriptor = "(IB)V")
|
||||
public static void method2353(@OriginalArg(0) int arg0) {
|
||||
@Pc(12) DelayedStateChange local12 = Static238.method4143(12, arg0);
|
||||
@Pc(12) DelayedStateChange local12 = DelayedStateChange.create(12, arg0);
|
||||
local12.pushClient();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -162,28 +162,6 @@ public final class Static123 {
|
|||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!jj", name = "a", descriptor = "(IBI)Lclient!na;")
|
||||
public static JagString method2420(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(4) int local4 = arg1 - arg0;
|
||||
if (local4 < -9) {
|
||||
return Static175.aClass100_798;
|
||||
} else if (local4 < -6) {
|
||||
return Static64.aClass100_433;
|
||||
} else if (local4 < -3) {
|
||||
return Static223.aClass100_951;
|
||||
} else if (local4 < 0) {
|
||||
return Static229.aClass100_972;
|
||||
} else if (local4 > 9) {
|
||||
return MiniMenu.COLOR_GREEN;
|
||||
} else if (local4 > 6) {
|
||||
return Static6.aClass100_18;
|
||||
} else if (local4 <= 3) {
|
||||
return local4 > 0 ? Static41.aClass100_266 : Static226.aClass100_965;
|
||||
} else {
|
||||
return Static263.aClass100_1081;
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!jj", name = "b", descriptor = "(BI)Lclient!na;")
|
||||
public static JagString parseInt(@OriginalArg(1) int arg0) {
|
||||
return Static198.method1025(false, arg0);
|
||||
|
|
|
|||
|
|
@ -20,17 +20,17 @@ public final class Static13 {
|
|||
@OriginalMember(owner = "client!bc", name = "f", descriptor = "(B)Lclient!na;")
|
||||
public static JagString method471() {
|
||||
@Pc(32) JagString local32;
|
||||
if (Static260.anInt5014 == 1 && Static231.anInt5204 < 2) {
|
||||
local32 = JagString.concatenate(new JagString[] { LocalizedText.USE, LocalizedText.MINISEPARATOR, Static34.aClass100_203, Static225.aClass100_961 });
|
||||
} else if (Static241.aBoolean302 && Static231.anInt5204 < 2) {
|
||||
local32 = JagString.concatenate(new JagString[] { Static102.aClass100_545, LocalizedText.MINISEPARATOR, Static78.aClass100_466, Static225.aClass100_961 });
|
||||
} else if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && Static231.anInt5204 > 2) {
|
||||
local32 = Static269.method2228(Static231.anInt5204 - 2);
|
||||
if (Static260.anInt5014 == 1 && MiniMenu.size < 2) {
|
||||
local32 = JagString.concatenate(new JagString[] { LocalizedText.USE, LocalizedText.MINISEPARATOR, MiniMenu.aClass100_203, Static225.aClass100_961 });
|
||||
} else if (Static241.aBoolean302 && MiniMenu.size < 2) {
|
||||
local32 = JagString.concatenate(new JagString[] { MiniMenu.aClass100_545, LocalizedText.MINISEPARATOR, Static78.aClass100_466, Static225.aClass100_961 });
|
||||
} else if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && MiniMenu.size > 2) {
|
||||
local32 = MiniMenu.getOp(MiniMenu.size - 2);
|
||||
} else {
|
||||
local32 = Static269.method2228(Static231.anInt5204 - 1);
|
||||
local32 = MiniMenu.getOp(MiniMenu.size - 1);
|
||||
}
|
||||
if (Static231.anInt5204 > 2) {
|
||||
local32 = JagString.concatenate(new JagString[] { local32, Static1.aClass100_2, Static123.parseInt(Static231.anInt5204 - 2), LocalizedText.MOREOPTIONS});
|
||||
if (MiniMenu.size > 2) {
|
||||
local32 = JagString.concatenate(new JagString[] { local32, Static1.aClass100_2, Static123.parseInt(MiniMenu.size - 2), LocalizedText.MOREOPTIONS});
|
||||
}
|
||||
return local32;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,26 +25,26 @@ public final class Static132 {
|
|||
if (local32 != null) {
|
||||
InterfaceList.redraw(local32);
|
||||
}
|
||||
@Pc(41) int local41 = Static231.anInt5204;
|
||||
@Pc(41) int local41 = MiniMenu.size;
|
||||
@Pc(43) int local43;
|
||||
for (local43 = 0; local43 < local41; local43++) {
|
||||
if (Static2.method5(Static39.aShortArray6[local43])) {
|
||||
Static200.method3628(local43);
|
||||
if (Static2.method5(MiniMenu.actions[local43])) {
|
||||
MiniMenu.remove(local43);
|
||||
}
|
||||
}
|
||||
if (Static231.anInt5204 == 1) {
|
||||
if (MiniMenu.size == 1) {
|
||||
Static60.aBoolean108 = false;
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
} else {
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
local43 = Fonts.b12Full.getStringWidth(LocalizedText.CHOOSE_OPTION);
|
||||
for (@Pc(75) int local75 = 0; local75 < Static231.anInt5204; local75++) {
|
||||
@Pc(88) int local88 = Fonts.b12Full.getStringWidth(Static269.method2228(local75));
|
||||
for (@Pc(75) int local75 = 0; local75 < MiniMenu.size; local75++) {
|
||||
@Pc(88) int local88 = Fonts.b12Full.getStringWidth(MiniMenu.getOp(local75));
|
||||
if (local43 < local88) {
|
||||
local43 = local88;
|
||||
}
|
||||
}
|
||||
Static13.anInt436 = Static231.anInt5204 * 15 + (Static261.aBoolean298 ? 26 : 22);
|
||||
Static13.anInt436 = MiniMenu.size * 15 + (Static261.aBoolean298 ? 26 : 22);
|
||||
Static24.anInt761 = local43 + 8;
|
||||
}
|
||||
if (InterfaceList.topLevelInterface != -1) {
|
||||
|
|
|
|||
|
|
@ -70,20 +70,20 @@ public final class Static145 {
|
|||
Fonts.b12Full.method2857(LocalizedText.CHOOSE_OPTION, local11 + 3, local3 + 14, 6116423, -1);
|
||||
@Pc(96) int local96 = Mouse.anInt5032;
|
||||
@Pc(98) int local98 = Mouse.anInt4873;
|
||||
for (@Pc(107) int local107 = 0; local107 < Static231.anInt5204; local107++) {
|
||||
@Pc(127) int local127 = (Static231.anInt5204 - local107 - 1) * 15 + local3 + 31;
|
||||
for (@Pc(107) int local107 = 0; local107 < MiniMenu.size; local107++) {
|
||||
@Pc(127) int local127 = (MiniMenu.size - local107 - 1) * 15 + local3 + 31;
|
||||
@Pc(129) int local129 = 16777215;
|
||||
if (local11 < local98 && local98 < local11 + local9 && local127 - 13 < local96 && local96 < local127 + 3) {
|
||||
local129 = 16776960;
|
||||
}
|
||||
Fonts.b12Full.method2857(Static269.method2228(local107), local11 + 3, local127, local129, 0);
|
||||
Fonts.b12Full.method2857(MiniMenu.getOp(local107), local11 + 3, local127, local129, 0);
|
||||
}
|
||||
Static121.method2407(Static183.anInt4271, Static229.anInt5138, Static13.anInt436, Static24.anInt761);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!lf", name = "a", descriptor = "(IIIIB)V")
|
||||
public static void method2745(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(10, arg0);
|
||||
@Pc(8) DelayedStateChange local8 = DelayedStateChange.create(10, arg0);
|
||||
local8.pushServer();
|
||||
local8.intArg3 = arg2;
|
||||
local8.intArg1 = arg3;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static153 {
|
||||
|
||||
|
|
@ -27,9 +25,4 @@ public final class Static153 {
|
|||
@OriginalMember(owner = "client!mc", name = "tb", descriptor = "S")
|
||||
public static short aShort22 = 1;
|
||||
|
||||
@OriginalMember(owner = "client!mc", name = "a", descriptor = "(BI)V")
|
||||
public static void method2910(@OriginalArg(1) int arg0) {
|
||||
@Pc(4) DelayedStateChange local4 = Static238.method4143(8, arg0);
|
||||
local4.pushClient();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,9 +12,6 @@ public final class Static159 {
|
|||
@OriginalMember(owner = "client!mi", name = "R", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_760 = JagString.parse(")1");
|
||||
|
||||
@OriginalMember(owner = "client!mi", name = "U", descriptor = "[J")
|
||||
public static final long[] aLongArray5 = new long[500];
|
||||
|
||||
@OriginalMember(owner = "client!mi", name = "Y", descriptor = "[[[Lclient!ih;")
|
||||
public static final LinkedList[][][] aClass69ArrayArrayArray1 = new LinkedList[4][104][104];
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ public final class Static163 {
|
|||
|
||||
@OriginalMember(owner = "client!n", name = "a", descriptor = "(II)V")
|
||||
public static void method3096(@OriginalArg(0) int arg0) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(3, arg0);
|
||||
@Pc(8) DelayedStateChange local8 = DelayedStateChange.create(3, arg0);
|
||||
local8.pushClient();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,10 +13,7 @@ public final class Static175 {
|
|||
@OriginalMember(owner = "client!nm", name = "U", descriptor = "I")
|
||||
public static int mapFilesMissingCount = 0;
|
||||
|
||||
@OriginalMember(owner = "client!nm", name = "bb", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_798 = JagString.parse("<col=ff0000>");
|
||||
|
||||
@OriginalMember(owner = "client!nm", name = "a", descriptor = "(Z)V")
|
||||
@OriginalMember(owner = "client!nm", name = "a", descriptor = "(Z)V")
|
||||
public static void method3279() {
|
||||
if (Static267.anInt5775 > 0) {
|
||||
Static278.processLogout();
|
||||
|
|
|
|||
|
|
@ -71,13 +71,13 @@ public final class Static176 {
|
|||
if (local61 == null) {
|
||||
Static53.method1294();
|
||||
} else {
|
||||
Static98.method1966(Static246.anInt5393, 0L, Static225.aClass100_961, local33, (short) 11, Static102.aClass100_545, local47);
|
||||
MiniMenu.add(Static246.anInt5393, 0L, Static225.aClass100_961, local33, (short) 11, MiniMenu.aClass100_545, local47);
|
||||
}
|
||||
} else {
|
||||
if (client.game == 1) {
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, local33, (short) 36, LocalizedText.FACEHERE, local47);
|
||||
MiniMenu.add(-1, 0L, JagString.EMPTY, local33, (short) 36, LocalizedText.FACEHERE, local47);
|
||||
}
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, local33, (short) 60, Static195.walkText, local47);
|
||||
MiniMenu.add(-1, 0L, JagString.EMPTY, local33, (short) 60, Static195.walkText, local47);
|
||||
}
|
||||
}
|
||||
@Pc(112) long local112 = -1L;
|
||||
|
|
@ -99,11 +99,11 @@ public final class Static176 {
|
|||
continue;
|
||||
}
|
||||
if (Static260.anInt5014 == 1) {
|
||||
Static98.method1966(Static169.anInt4075, local121, JagString.concatenate(new JagString[] { Static34.aClass100_203, Static27.aClass100_164, local172.name}), local47, (short) 14, LocalizedText.USE, local147);
|
||||
MiniMenu.add(Static169.anInt4075, local121, JagString.concatenate(new JagString[] { MiniMenu.aClass100_203, Static27.aClass100_164, local172.name}), local47, (short) 14, LocalizedText.USE, local147);
|
||||
} else if (Static241.aBoolean302) {
|
||||
@Pc(363) ParamType local363 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||
if ((Static274.anInt4999 & 0x4) != 0 && (local363 == null || local172.getParam(local363.defaultInt, Static121.anInt3039) != local363.defaultInt)) {
|
||||
Static98.method1966(Static246.anInt5393, local121, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static27.aClass100_164, local172.name}), local47, (short) 38, Static102.aClass100_545, local147);
|
||||
MiniMenu.add(Static246.anInt5393, local121, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static27.aClass100_164, local172.name}), local47, (short) 38, MiniMenu.aClass100_545, local147);
|
||||
}
|
||||
} else {
|
||||
@Pc(228) JagString[] local228 = local172.ops;
|
||||
|
|
@ -136,11 +136,11 @@ public final class Static176 {
|
|||
if (local240 == 4) {
|
||||
local254 = 1001;
|
||||
}
|
||||
Static98.method1966(local268, local121, JagString.concatenate(new JagString[] { Static240.aClass100_1008, local172.name}), local47, local254, local228[local240], local147);
|
||||
MiniMenu.add(local268, local121, JagString.concatenate(new JagString[] { Static240.aClass100_1008, local172.name}), local47, local254, local228[local240], local147);
|
||||
}
|
||||
}
|
||||
}
|
||||
Static98.method1966(Static225.anInt5073, (long) local172.id, JagString.concatenate(new JagString[] { Static240.aClass100_1008, local172.name}), local47, (short) 1004, LocalizedText.EXAMINE, local147);
|
||||
MiniMenu.add(Static225.anInt5073, (long) local172.id, JagString.concatenate(new JagString[] { Static240.aClass100_1008, local172.name}), local47, (short) 1004, LocalizedText.EXAMINE, local147);
|
||||
}
|
||||
}
|
||||
@Pc(514) int local514;
|
||||
|
|
@ -204,11 +204,11 @@ public final class Static176 {
|
|||
local240 = local940.aClass8_Sub7_1.anInt5555;
|
||||
@Pc(951) ObjType local951 = ObjTypeList.get(local240);
|
||||
if (Static260.anInt5014 == 1) {
|
||||
Static98.method1966(Static169.anInt4075, (long) local240, JagString.concatenate(new JagString[] { Static34.aClass100_203, Static223.aClass100_947, local951.name}), local47, (short) 33, LocalizedText.USE, local147);
|
||||
MiniMenu.add(Static169.anInt4075, (long) local240, JagString.concatenate(new JagString[] { MiniMenu.aClass100_203, MiniMenu.aClass100_947, local951.name}), local47, (short) 33, LocalizedText.USE, local147);
|
||||
} else if (Static241.aBoolean302) {
|
||||
@Pc(1142) ParamType local1142 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||
if ((Static274.anInt4999 & 0x1) != 0 && (local1142 == null || local951.getParam(local1142.defaultInt, Static121.anInt3039) != local1142.defaultInt)) {
|
||||
Static98.method1966(Static246.anInt5393, (long) local240, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static223.aClass100_947, local951.name}), local47, (short) 39, Static102.aClass100_545, local147);
|
||||
MiniMenu.add(Static246.anInt5393, (long) local240, JagString.concatenate(new JagString[] { Static78.aClass100_466, MiniMenu.aClass100_947, local951.name}), local47, (short) 39, MiniMenu.aClass100_545, local147);
|
||||
}
|
||||
} else {
|
||||
@Pc(997) JagString[] local997 = local951.ops;
|
||||
|
|
@ -240,10 +240,10 @@ public final class Static176 {
|
|||
if (local514 == 4) {
|
||||
local1025 = 24;
|
||||
}
|
||||
Static98.method1966(local1041, (long) local240, JagString.concatenate(new JagString[] { Static8.aClass100_32, local951.name}), local47, local1025, local997[local514], local147);
|
||||
MiniMenu.add(local1041, (long) local240, JagString.concatenate(new JagString[] { Static8.aClass100_32, local951.name}), local47, local1025, local997[local514], local147);
|
||||
}
|
||||
}
|
||||
Static98.method1966(Static225.anInt5073, (long) local240, JagString.concatenate(new JagString[] { Static8.aClass100_32, local951.name}), local47, (short) 1002, LocalizedText.EXAMINE, local147);
|
||||
MiniMenu.add(Static225.anInt5073, (long) local240, JagString.concatenate(new JagString[] { Static8.aClass100_32, local951.name}), local47, (short) 1002, LocalizedText.EXAMINE, local147);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,13 +20,7 @@ public final class Static180 {
|
|||
Static198.method1026(arg5, arg1, arg2.zFine, arg4, arg0, arg2.xFine, arg3);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!og", name = "a", descriptor = "(II)V")
|
||||
public static void method3328(@OriginalArg(0) int arg0) {
|
||||
@Pc(12) DelayedStateChange local12 = Static238.method4143(10, arg0);
|
||||
local12.pushClient();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!og", name = "a", descriptor = "(III)I")
|
||||
@OriginalMember(owner = "client!og", name = "a", descriptor = "(III)I")
|
||||
public static int method3330(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1) {
|
||||
if (arg0 > 22050) {
|
||||
arg1 = arg0;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public final class Static181 {
|
|||
|
||||
@OriginalMember(owner = "client!oi", name = "b", descriptor = "(II)V")
|
||||
public static void method3345(@OriginalArg(0) int arg0) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(5, arg0);
|
||||
@Pc(8) DelayedStateChange local8 = DelayedStateChange.create(5, arg0);
|
||||
local8.pushClient();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@ import org.openrs2.deob.annotation.Pc;
|
|||
|
||||
public final class Static190 {
|
||||
|
||||
@OriginalMember(owner = "client!pf", name = "r", descriptor = "[I")
|
||||
public static final int[] anIntArray382 = new int[500];
|
||||
|
||||
@OriginalMember(owner = "client!pf", name = "a", descriptor = "(II)[F")
|
||||
public static float[] method3441(@OriginalArg(0) int arg0) {
|
||||
@Pc(7) float local7 = Static161.method3068() + Static161.method3059();
|
||||
|
|
|
|||
|
|
@ -6,9 +6,6 @@ import org.openrs2.deob.annotation.Pc;
|
|||
|
||||
public final class Static196 {
|
||||
|
||||
@OriginalMember(owner = "client!pl", name = "e", descriptor = "[I")
|
||||
public static final int[] anIntArray408 = new int[500];
|
||||
|
||||
@OriginalMember(owner = "client!pl", name = "f", descriptor = "Lclient!na;")
|
||||
public static final JagString TRADEREQ = JagString.parse(":tradereq:");
|
||||
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
||||
public final class Static200 {
|
||||
|
||||
@OriginalMember(owner = "client!qe", name = "b", descriptor = "(II)V")
|
||||
public static void method3628(@OriginalArg(1) int arg0) {
|
||||
Static231.anInt5204--;
|
||||
if (Static231.anInt5204 == arg0) {
|
||||
return;
|
||||
}
|
||||
ArrayUtils.copy(Static254.aClass100Array168, arg0 + 1, Static254.aClass100Array168, arg0, Static231.anInt5204 - arg0);
|
||||
ArrayUtils.copy(Static233.aClass100Array160, arg0 + 1, Static233.aClass100Array160, arg0, Static231.anInt5204 - arg0);
|
||||
ArrayUtils.copy(Static190.anIntArray382, arg0 + 1, Static190.anIntArray382, arg0, Static231.anInt5204 - arg0);
|
||||
ArrayUtils.copy(Static39.aShortArray6, arg0 + 1, Static39.aShortArray6, arg0, Static231.anInt5204 - arg0);
|
||||
ArrayUtils.copy(Static159.aLongArray5, arg0 + 1, Static159.aLongArray5, arg0, Static231.anInt5204 - arg0);
|
||||
ArrayUtils.copy(Static196.anIntArray408, arg0 + 1, Static196.anIntArray408, arg0, Static231.anInt5204 - arg0);
|
||||
ArrayUtils.copy(Static56.anIntArray142, arg0 + 1, Static56.anIntArray142, arg0, Static231.anInt5204 - arg0);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
||||
public final class Static205 {
|
||||
|
||||
@OriginalMember(owner = "client!qj", name = "a", descriptor = "(Lclient!be;BI)Lclient!na;")
|
||||
public static JagString method3677(@OriginalArg(0) Component arg0, @OriginalArg(2) int arg1) {
|
||||
if (!InterfaceList.getServerActiveProperties(arg0).method503(arg1) && arg0.anObjectArray29 == null) {
|
||||
return null;
|
||||
} 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, Static123.parseInt(arg1) }) : null;
|
||||
} else {
|
||||
return arg0.ops[arg1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13,7 +13,7 @@ public final class Static209 {
|
|||
|
||||
@OriginalMember(owner = "client!ra", name = "a", descriptor = "(BIII)V")
|
||||
public static void method3707(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2) {
|
||||
@Pc(12) DelayedStateChange local12 = Static238.method4143(9, arg0);
|
||||
@Pc(12) DelayedStateChange local12 = DelayedStateChange.create(9, arg0);
|
||||
local12.pushServer();
|
||||
local12.intArg1 = arg2;
|
||||
local12.intArg3 = arg1;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public final class Static217 {
|
|||
|
||||
@OriginalMember(owner = "client!rj", name = "a", descriptor = "(IIILclient!e;I)V")
|
||||
public static void method3767(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) Player arg2, @OriginalArg(4) int arg3) {
|
||||
if (PlayerList.self == arg2 || Static231.anInt5204 >= 400) {
|
||||
if (PlayerList.self == arg2 || MiniMenu.size >= 400) {
|
||||
return;
|
||||
}
|
||||
@Pc(158) JagString local158;
|
||||
|
|
@ -40,16 +40,16 @@ public final class Static217 {
|
|||
}
|
||||
@Pc(95) JagString local95 = client.game == 1 ? LocalizedText.RATING : LocalizedText.LEVEL;
|
||||
if (arg2.combatLevel < arg2.anInt1656) {
|
||||
local158 = JagString.concatenate(new JagString[] { arg2.getName(), local22 ? Static123.method2420(arg2.combatLevel, PlayerList.self.combatLevel) : Static204.aClass100_896, Static123.aClass100_593, local95, Static123.parseInt(arg2.combatLevel), Static78.aClass100_465, Static123.parseInt(arg2.anInt1656 - arg2.combatLevel), Static72.aClass100_448 });
|
||||
local158 = JagString.concatenate(new JagString[] { arg2.getName(), local22 ? MiniMenu.getCombatLevelColor(arg2.combatLevel, PlayerList.self.combatLevel) : Static204.aClass100_896, Static123.aClass100_593, local95, Static123.parseInt(arg2.combatLevel), Static78.aClass100_465, Static123.parseInt(arg2.anInt1656 - arg2.combatLevel), Static72.aClass100_448 });
|
||||
} else {
|
||||
local158 = JagString.concatenate(new JagString[] { arg2.getName(), local22 ? Static123.method2420(arg2.combatLevel, PlayerList.self.combatLevel) : Static204.aClass100_896, Static123.aClass100_593, local95, Static123.parseInt(arg2.combatLevel), Static72.aClass100_448 });
|
||||
local158 = JagString.concatenate(new JagString[] { arg2.getName(), local22 ? MiniMenu.getCombatLevelColor(arg2.combatLevel, PlayerList.self.combatLevel) : Static204.aClass100_896, Static123.aClass100_593, local95, Static123.parseInt(arg2.combatLevel), Static72.aClass100_448 });
|
||||
}
|
||||
} else {
|
||||
local158 = JagString.concatenate(new JagString[] { arg2.getName(), Static123.aClass100_593, LocalizedText.SKILL, Static123.parseInt(arg2.anInt1671), Static72.aClass100_448 });
|
||||
}
|
||||
@Pc(275) int local275;
|
||||
if (Static260.anInt5014 == 1) {
|
||||
Static98.method1966(Static169.anInt4075, (long) arg0, JagString.concatenate(new JagString[] { Static34.aClass100_203, Static105.aClass100_561, local158 }), arg3, (short) 1, LocalizedText.USE, arg1);
|
||||
MiniMenu.add(Static169.anInt4075, (long) arg0, JagString.concatenate(new JagString[] { MiniMenu.aClass100_203, Static105.aClass100_561, local158 }), arg3, (short) 1, LocalizedText.USE, arg1);
|
||||
} else if (!Static241.aBoolean302) {
|
||||
for (local275 = 7; local275 >= 0; local275--) {
|
||||
if (Player.options[local275] != null) {
|
||||
|
|
@ -70,15 +70,15 @@ public final class Static217 {
|
|||
}
|
||||
@Pc(353) short local353 = Static5.aShortArray2[local275];
|
||||
@Pc(358) short local358 = (short) (local353 + local291);
|
||||
Static98.method1966(Player.cursors[local275], (long) arg0, JagString.concatenate(new JagString[] { Static204.aClass100_896, local158 }), arg3, local358, Player.options[local275], arg1);
|
||||
MiniMenu.add(Player.cursors[local275], (long) arg0, JagString.concatenate(new JagString[] { Static204.aClass100_896, local158 }), arg3, local358, Player.options[local275], arg1);
|
||||
}
|
||||
}
|
||||
} else if ((Static274.anInt4999 & 0x8) != 0) {
|
||||
Static98.method1966(Static246.anInt5393, (long) arg0, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static105.aClass100_561, local158 }), arg3, (short) 15, Static102.aClass100_545, arg1);
|
||||
MiniMenu.add(Static246.anInt5393, (long) arg0, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static105.aClass100_561, local158 }), arg3, (short) 15, MiniMenu.aClass100_545, arg1);
|
||||
}
|
||||
for (local275 = 0; local275 < Static231.anInt5204; local275++) {
|
||||
if (Static39.aShortArray6[local275] == 60) {
|
||||
Static233.aClass100Array160[local275] = JagString.concatenate(new JagString[] { Static204.aClass100_896, local158 });
|
||||
for (local275 = 0; local275 < MiniMenu.size; local275++) {
|
||||
if (MiniMenu.actions[local275] == 60) {
|
||||
MiniMenu.opBases[local275] = JagString.concatenate(new JagString[] { Static204.aClass100_896, local158 });
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,18 +6,12 @@ import org.openrs2.deob.annotation.Pc;
|
|||
|
||||
public final class Static223 {
|
||||
|
||||
@OriginalMember(owner = "client!sc", name = "g", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_947 = JagString.parse(" )2> <col=ff9040>");
|
||||
|
||||
@OriginalMember(owner = "client!sc", name = "p", descriptor = "I")
|
||||
public static int anInt5029 = 0;
|
||||
|
||||
@OriginalMember(owner = "client!sc", name = "z", descriptor = "[Z")
|
||||
public static final boolean[] aBooleanArray116 = new boolean[100];
|
||||
|
||||
@OriginalMember(owner = "client!sc", name = "D", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_951 = JagString.parse("<col=ff7000>");
|
||||
|
||||
@OriginalMember(owner = "client!sc", name = "a", descriptor = "(IIILclient!km;)V")
|
||||
public static void animateNpc(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(3) Npc arg2) {
|
||||
if (arg2.seqId == arg1 && arg1 != -1) {
|
||||
|
|
|
|||
|
|
@ -12,10 +12,7 @@ public final class Static226 {
|
|||
@OriginalMember(owner = "client!sf", name = "j", descriptor = "I")
|
||||
public static int anInt5085;
|
||||
|
||||
@OriginalMember(owner = "client!sf", name = "g", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_965 = JagString.parse("<col=ffff00>");
|
||||
|
||||
@OriginalMember(owner = "client!sf", name = "i", descriptor = "I")
|
||||
@OriginalMember(owner = "client!sf", name = "i", descriptor = "I")
|
||||
public static int anInt5084 = 0;
|
||||
@OriginalMember(owner = "client!ml", name = "Q", descriptor = "I")
|
||||
public static int anInt3953 = 0;
|
||||
|
|
@ -53,13 +50,13 @@ public final class Static226 {
|
|||
@Pc(16) int local16 = Fonts.b12Full.getStringWidth(LocalizedText.CHOOSE_OPTION);
|
||||
@Pc(18) int local18;
|
||||
@Pc(27) int local27;
|
||||
for (local18 = 0; local18 < Static231.anInt5204; local18++) {
|
||||
local27 = Fonts.b12Full.getStringWidth(Static269.method2228(local18));
|
||||
for (local18 = 0; local18 < MiniMenu.size; local18++) {
|
||||
local27 = Fonts.b12Full.getStringWidth(MiniMenu.getOp(local18));
|
||||
if (local27 > local16) {
|
||||
local16 = local27;
|
||||
}
|
||||
}
|
||||
local18 = Static231.anInt5204 * 15 + 21;
|
||||
local18 = MiniMenu.size * 15 + 21;
|
||||
@Pc(43) int local43 = Static60.anInt1892;
|
||||
local16 += 8;
|
||||
local27 = Static155.anInt3751 - local16 / 2;
|
||||
|
|
@ -77,7 +74,7 @@ public final class Static226 {
|
|||
}
|
||||
if (anInt3953 == 1) {
|
||||
if (Static155.anInt3751 == Static277.anInt5850 && Static280.anInt5895 == Static60.anInt1892) {
|
||||
Static13.anInt436 = Static231.anInt5204 * 15 + (Static261.aBoolean298 ? 26 : 22);
|
||||
Static13.anInt436 = MiniMenu.size * 15 + (Static261.aBoolean298 ? 26 : 22);
|
||||
anInt3953 = 0;
|
||||
Static229.anInt5138 = local43;
|
||||
Static183.anInt4271 = local27;
|
||||
|
|
@ -89,7 +86,7 @@ public final class Static226 {
|
|||
anInt3953 = 0;
|
||||
Static24.anInt761 = local16;
|
||||
Static229.anInt5138 = local43;
|
||||
Static13.anInt436 = (Static261.aBoolean298 ? 26 : 22) + Static231.anInt5204 * 15;
|
||||
Static13.anInt436 = (Static261.aBoolean298 ? 26 : 22) + MiniMenu.size * 15;
|
||||
Static60.aBoolean108 = true;
|
||||
} else {
|
||||
Static280.anInt5895 = Mouse.clickY;
|
||||
|
|
|
|||
|
|
@ -9,10 +9,7 @@ public final class Static229 {
|
|||
@OriginalMember(owner = "client!si", name = "ab", descriptor = "I")
|
||||
public static int anInt5138;
|
||||
|
||||
@OriginalMember(owner = "client!si", name = "Z", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_972 = JagString.parse("<col=ffb000>");
|
||||
|
||||
@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");
|
||||
|
||||
@OriginalMember(owner = "client!si", name = "a", descriptor = "(ZB)I")
|
||||
|
|
@ -30,7 +27,7 @@ public final class Static229 {
|
|||
|
||||
@OriginalMember(owner = "client!si", name = "b", descriptor = "(IIB)V")
|
||||
public static void method3938(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||
@Pc(16) DelayedStateChange local16 = Static238.method4143(12, arg1);
|
||||
@Pc(16) DelayedStateChange local16 = DelayedStateChange.create(12, arg1);
|
||||
local16.pushServer();
|
||||
local16.intArg1 = arg0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@ public final class Static231 {
|
|||
public static int anInt5205;
|
||||
|
||||
|
||||
@OriginalMember(owner = "client!sk", name = "kb", descriptor = "I")
|
||||
public static int anInt5204 = 0;
|
||||
|
||||
@OriginalMember(owner = "client!sk", name = "lb", descriptor = "Z")
|
||||
public static boolean aBoolean252 = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,6 @@ public final class Static233 {
|
|||
@OriginalMember(owner = "client!t", name = "G", descriptor = "[Lclient!ek;")
|
||||
public static SoftwareIndexedSprite[] aClass36_Sub1Array1;
|
||||
|
||||
@OriginalMember(owner = "client!t", name = "v", descriptor = "[Lclient!na;")
|
||||
public static final JagString[] aClass100Array160 = new JagString[500];
|
||||
|
||||
@OriginalMember(owner = "client!t", name = "y", descriptor = "I")
|
||||
public static int loadingScreenState = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ public final class Static235 {
|
|||
|
||||
@OriginalMember(owner = "client!tb", name = "h", descriptor = "(I)I")
|
||||
public static int method4044() {
|
||||
return Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && Static231.anInt5204 > 2 ? Static190.anIntArray382[Static231.anInt5204 - 2] : Static190.anIntArray382[Static231.anInt5204 - 1];
|
||||
return Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && MiniMenu.size > 2 ? MiniMenu.cursors[MiniMenu.size - 2] : MiniMenu.cursors[MiniMenu.size - 1];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static238 {
|
||||
|
||||
|
|
@ -12,14 +10,4 @@ public final class Static238 {
|
|||
@OriginalMember(owner = "client!te", name = "B", descriptor = "[I")
|
||||
public static final int[] anIntArray469 = new int[] { 0, -1, 0, 1 };
|
||||
|
||||
@OriginalMember(owner = "client!te", name = "a", descriptor = "(III)Lclient!da;")
|
||||
public static DelayedStateChange method4143(@OriginalArg(1) int arg0, @OriginalArg(2) int arg1) {
|
||||
@Pc(13) DelayedStateChange local13 = (DelayedStateChange) DelayedStateChange.changes.get((long) arg1 | (long) arg0 << 32);
|
||||
if (local13 == null) {
|
||||
local13 = new DelayedStateChange(arg0, arg1);
|
||||
DelayedStateChange.changes.put(local13, local13.key);
|
||||
}
|
||||
return local13;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ public final class Static245 {
|
|||
|
||||
@OriginalMember(owner = "client!tm", name = "a", descriptor = "(II)V")
|
||||
public static void method4224(@OriginalArg(0) int arg0) {
|
||||
@Pc(16) DelayedStateChange local16 = Static238.method4143(6, arg0);
|
||||
@Pc(16) DelayedStateChange local16 = DelayedStateChange.create(6, arg0);
|
||||
local16.pushClient();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public final class Static246 {
|
|||
|
||||
@OriginalMember(owner = "client!u", name = "a", descriptor = "(Lclient!me;IIII)V")
|
||||
public static void method4240(@OriginalArg(0) NpcType arg0, @OriginalArg(1) int arg1, @OriginalArg(3) int arg2, @OriginalArg(4) int arg3) {
|
||||
if (Static231.anInt5204 >= 400) {
|
||||
if (MiniMenu.size >= 400) {
|
||||
return;
|
||||
}
|
||||
if (arg0.multiNpcs != null) {
|
||||
|
|
@ -43,14 +43,14 @@ public final class Static246 {
|
|||
@Pc(35) JagString local35 = arg0.name;
|
||||
if (arg0.combatLevel != 0) {
|
||||
@Pc(47) JagString local47 = client.game == 1 ? LocalizedText.RATING : LocalizedText.LEVEL;
|
||||
local35 = JagString.concatenate(new JagString[] { local35, Static123.method2420(arg0.combatLevel, PlayerList.self.combatLevel), Static123.aClass100_593, local47, Static123.parseInt(arg0.combatLevel), Static72.aClass100_448 });
|
||||
local35 = JagString.concatenate(new JagString[] { local35, MiniMenu.getCombatLevelColor(arg0.combatLevel, PlayerList.self.combatLevel), Static123.aClass100_593, local47, Static123.parseInt(arg0.combatLevel), Static72.aClass100_448 });
|
||||
}
|
||||
if (Static260.anInt5014 == 1) {
|
||||
Static98.method1966(Static169.anInt4075, (long) arg2, JagString.concatenate(new JagString[] { Static34.aClass100_203, Static201.aClass100_407, local35 }), arg1, (short) 26, LocalizedText.USE, arg3);
|
||||
MiniMenu.add(Static169.anInt4075, (long) arg2, JagString.concatenate(new JagString[] { MiniMenu.aClass100_203, Static201.aClass100_407, local35 }), arg1, (short) 26, LocalizedText.USE, arg3);
|
||||
} else if (Static241.aBoolean302) {
|
||||
@Pc(378) ParamType local378 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||
if ((Static274.anInt4999 & 0x2) != 0 && (local378 == null || arg0.getParam(Static121.anInt3039, local378.defaultInt) != local378.defaultInt)) {
|
||||
Static98.method1966(anInt5393, (long) arg2, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static201.aClass100_407, local35 }), arg1, (short) 45, Static102.aClass100_545, arg3);
|
||||
MiniMenu.add(anInt5393, (long) arg2, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static201.aClass100_407, local35 }), arg1, (short) 45, MiniMenu.aClass100_545, arg3);
|
||||
}
|
||||
} else {
|
||||
@Pc(129) JagString[] local129 = arg0.ops;
|
||||
|
|
@ -84,7 +84,7 @@ public final class Static246 {
|
|||
if (local140 == 4) {
|
||||
local161 = 2;
|
||||
}
|
||||
Static98.method1966(local176, (long) arg2, JagString.concatenate(new JagString[] { Static226.aClass100_965, local35 }), arg1, local161, local129[local140], arg3);
|
||||
MiniMenu.add(local176, (long) arg2, JagString.concatenate(new JagString[] { MiniMenu.aClass100_965, local35 }), arg1, local161, local129[local140], arg3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -114,11 +114,11 @@ public final class Static246 {
|
|||
if (local281 != 0) {
|
||||
local281 += local271;
|
||||
}
|
||||
Static98.method1966(arg0.anInt3752, (long) arg2, JagString.concatenate(new JagString[] { Static226.aClass100_965, local35 }), arg1, local281, local129[local140], arg3);
|
||||
MiniMenu.add(arg0.anInt3752, (long) arg2, JagString.concatenate(new JagString[] { MiniMenu.aClass100_965, local35 }), arg1, local281, local129[local140], arg3);
|
||||
}
|
||||
}
|
||||
}
|
||||
Static98.method1966(Static225.anInt5073, (long) arg2, JagString.concatenate(new JagString[] { Static226.aClass100_965, local35 }), arg1, (short) 1007, LocalizedText.EXAMINE, arg3);
|
||||
MiniMenu.add(Static225.anInt5073, (long) arg2, JagString.concatenate(new JagString[] { MiniMenu.aClass100_965, local35 }), arg1, (short) 1007, LocalizedText.EXAMINE, arg3);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ package rt4;
|
|||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static251 {
|
||||
|
||||
|
|
@ -28,9 +27,4 @@ public final class Static251 {
|
|||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ug", name = "a", descriptor = "(IB)V")
|
||||
public static void method4279(@OriginalArg(0) int arg0) {
|
||||
@Pc(14) DelayedStateChange local14 = Static238.method4143(9, arg0);
|
||||
local14.pushClient();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,15 +5,9 @@ import org.openrs2.deob.annotation.Pc;
|
|||
|
||||
public final class Static252 {
|
||||
|
||||
@OriginalMember(owner = "client!uh", name = "P", descriptor = "Lclient!ve;")
|
||||
public static Js5 aClass153_103;
|
||||
|
||||
@OriginalMember(owner = "client!uh", name = "Y", descriptor = "Lclient!na;")
|
||||
public static final JagString HUFFMAN_GROUP = JagString.parse("huffman");
|
||||
|
||||
@OriginalMember(owner = "client!uh", name = "ab", descriptor = "Lclient!q;")
|
||||
public static final ReferenceNodeFactory aClass22_1 = Static44.method1147();
|
||||
|
||||
@OriginalMember(owner = "client!uh", name = "f", descriptor = "(I)V")
|
||||
public static void method4302() {
|
||||
if (Static236.method4047() != 2) {
|
||||
|
|
|
|||
|
|
@ -18,9 +18,6 @@ public final class Static254 {
|
|||
@OriginalMember(owner = "client!uj", name = "A", descriptor = "[I")
|
||||
public static final int[] anIntArray489 = new int[] { 2, 0, 0, 2, 0, 0, 0, 4, 4 };
|
||||
|
||||
@OriginalMember(owner = "client!uj", name = "C", descriptor = "[Lclient!na;")
|
||||
public static final JagString[] aClass100Array168 = new JagString[500];
|
||||
|
||||
@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) {
|
||||
@Pc(14) byte local14 = arg0 ? 1 : (byte) (Static136.anInt3325 & 0xFF);
|
||||
|
|
|
|||
|
|
@ -2,163 +2,9 @@ package rt4;
|
|||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public final class Static258 {
|
||||
|
||||
@OriginalMember(owner = "client!va", name = "a", descriptor = "(IZILclient!be;)V")
|
||||
public static void method4418(@OriginalArg(0) int arg0, @OriginalArg(2) int arg1, @OriginalArg(3) Component arg2) {
|
||||
if (arg2.anInt530 == 1) {
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, 0, (short) 8, arg2.aClass100_89, arg2.id);
|
||||
}
|
||||
@Pc(47) JagString local47;
|
||||
if (arg2.anInt530 == 2 && !Static241.aBoolean302) {
|
||||
local47 = Static97.method1963(arg2);
|
||||
if (local47 != null) {
|
||||
Static98.method1966(-1, 0L, JagString.concatenate(new JagString[] { MiniMenu.COLOR_GREEN, arg2.aClass100_85 }), -1, (short) 32, local47, arg2.id);
|
||||
}
|
||||
}
|
||||
if (arg2.anInt530 == 3) {
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, 0, (short) 28, LocalizedText.CLOSE, arg2.id);
|
||||
}
|
||||
if (arg2.anInt530 == 4) {
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, 0, (short) 59, arg2.aClass100_89, arg2.id);
|
||||
}
|
||||
if (arg2.anInt530 == 5) {
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, 0, (short) 51, arg2.aClass100_89, arg2.id);
|
||||
}
|
||||
if (arg2.anInt530 == 6 && Static39.aClass13_10 == null) {
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, -1, (short) 41, arg2.aClass100_89, arg2.id);
|
||||
}
|
||||
@Pc(173) int local173;
|
||||
@Pc(171) int local171;
|
||||
if (arg2.type == 2) {
|
||||
local171 = 0;
|
||||
for (local173 = 0; local173 < arg2.baseHeight; local173++) {
|
||||
for (@Pc(183) int local183 = 0; local183 < arg2.baseWidth; local183++) {
|
||||
@Pc(195) int local195 = (arg2.anInt512 + 32) * local183;
|
||||
@Pc(202) int local202 = (arg2.anInt516 + 32) * local173;
|
||||
if (local171 < 20) {
|
||||
local202 += arg2.anIntArray47[local171];
|
||||
local195 += arg2.anIntArray41[local171];
|
||||
}
|
||||
if (arg1 >= local195 && local202 <= arg0 && local195 + 32 > arg1 && local202 + 32 > arg0) {
|
||||
Static169.aClass13_18 = arg2;
|
||||
Static18.anInt588 = local171;
|
||||
if (arg2.objTypes[local171] > 0) {
|
||||
@Pc(267) ServerActiveProperties local267 = InterfaceList.getServerActiveProperties(arg2);
|
||||
@Pc(276) ObjType local276 = ObjTypeList.get(arg2.objTypes[local171] - 1);
|
||||
if (Static260.anInt5014 == 1 && local267.method510()) {
|
||||
if (Static224.anInt5062 != arg2.id || Static185.anInt4370 != local171) {
|
||||
Static98.method1966(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static34.aClass100_203, Static223.aClass100_947, local276.name}), local171, (short) 40, LocalizedText.USE, arg2.id);
|
||||
}
|
||||
} else if (Static241.aBoolean302 && local267.method510()) {
|
||||
@Pc(596) ParamType local596 = Static121.anInt3039 == -1 ? null : ParamTypeList.get(Static121.anInt3039);
|
||||
if ((Static274.anInt4999 & 0x10) != 0 && (local596 == null || local276.getParam(local596.defaultInt, Static121.anInt3039) != local596.defaultInt)) {
|
||||
Static98.method1966(Static246.anInt5393, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static223.aClass100_947, local276.name}), local171, (short) 3, Static102.aClass100_545, arg2.id);
|
||||
}
|
||||
} else {
|
||||
@Pc(296) JagString[] local296 = local276.inventoryOps;
|
||||
if (Static208.aBoolean237) {
|
||||
local296 = Static279.method4664(local296);
|
||||
}
|
||||
@Pc(309) int local309;
|
||||
@Pc(334) byte local334;
|
||||
if (local267.method510()) {
|
||||
for (local309 = 4; local309 >= 3; local309--) {
|
||||
if (local296 != null && local296[local309] != null) {
|
||||
if (local309 == 3) {
|
||||
local334 = 35;
|
||||
} else {
|
||||
local334 = 58;
|
||||
}
|
||||
Static98.method1966(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, local334, local296[local309], arg2.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (local267.method507()) {
|
||||
Static98.method1966(Static169.anInt4075, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, (short) 22, LocalizedText.USE, arg2.id);
|
||||
}
|
||||
if (local267.method510() && local296 != null) {
|
||||
for (local309 = 2; local309 >= 0; local309--) {
|
||||
if (local296[local309] != null) {
|
||||
local334 = 0;
|
||||
if (local309 == 0) {
|
||||
local334 = 47;
|
||||
}
|
||||
if (local309 == 1) {
|
||||
local334 = 5;
|
||||
}
|
||||
if (local309 == 2) {
|
||||
local334 = 43;
|
||||
}
|
||||
Static98.method1966(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, local334, local296[local309], arg2.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
local296 = arg2.aClass100Array19;
|
||||
if (Static208.aBoolean237) {
|
||||
local296 = Static279.method4664(local296);
|
||||
}
|
||||
if (local296 != null) {
|
||||
for (local309 = 4; local309 >= 0; local309--) {
|
||||
if (local296[local309] != null) {
|
||||
local334 = 0;
|
||||
if (local309 == 0) {
|
||||
local334 = 25;
|
||||
}
|
||||
if (local309 == 1) {
|
||||
local334 = 23;
|
||||
}
|
||||
if (local309 == 2) {
|
||||
local334 = 48;
|
||||
}
|
||||
if (local309 == 3) {
|
||||
local334 = 7;
|
||||
}
|
||||
if (local309 == 4) {
|
||||
local334 = 13;
|
||||
}
|
||||
Static98.method1966(-1, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, local334, local296[local309], arg2.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Static98.method1966(Static225.anInt5073, (long) local276.anInt2354, JagString.concatenate(new JagString[] { Static8.aClass100_32, local276.name}), local171, (short) 1006, LocalizedText.EXAMINE, arg2.id);
|
||||
}
|
||||
}
|
||||
}
|
||||
local171++;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!arg2.usingScripts) {
|
||||
return;
|
||||
}
|
||||
if (!Static241.aBoolean302) {
|
||||
for (local171 = 9; local171 >= 5; local171--) {
|
||||
@Pc(765) JagString local765 = Static205.method3677(arg2, local171);
|
||||
if (local765 != null) {
|
||||
Static98.method1966(Static8.method118(local171, arg2), (long) (local171 + 1), arg2.opBase, arg2.createdComponentId, (short) 1003, local765, arg2.id);
|
||||
}
|
||||
}
|
||||
local47 = Static97.method1963(arg2);
|
||||
if (local47 != null) {
|
||||
Static98.method1966(-1, 0L, arg2.opBase, arg2.createdComponentId, (short) 32, local47, arg2.id);
|
||||
}
|
||||
for (local173 = 4; local173 >= 0; local173--) {
|
||||
@Pc(828) JagString local828 = Static205.method3677(arg2, local173);
|
||||
if (local828 != null) {
|
||||
Static98.method1966(Static8.method118(local173, arg2), (long) (local173 + 1), arg2.opBase, arg2.createdComponentId, (short) 9, local828, arg2.id);
|
||||
}
|
||||
}
|
||||
if (InterfaceList.getServerActiveProperties(arg2).method506()) {
|
||||
Static98.method1966(-1, 0L, JagString.EMPTY, arg2.createdComponentId, (short) 41, LocalizedText.CONTINUE, arg2.id);
|
||||
}
|
||||
} else if (InterfaceList.getServerActiveProperties(arg2).method508() && (Static274.anInt4999 & 0x20) != 0) {
|
||||
Static98.method1966(Static246.anInt5393, 0L, JagString.concatenate(new JagString[] { Static78.aClass100_466, Static201.aClass100_408, arg2.opBase}), arg2.createdComponentId, (short) 12, Static102.aClass100_545, arg2.id);
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!va", name = "a", descriptor = "(IB)Z")
|
||||
public static boolean method4428(@OriginalArg(0) int arg0) {
|
||||
return arg0 >= 97 && arg0 <= 122 || arg0 >= 65 && arg0 <= 90;
|
||||
|
|
|
|||
|
|
@ -21,10 +21,7 @@ public final class Static263 {
|
|||
@OriginalMember(owner = "client!vg", name = "d", descriptor = "I")
|
||||
public static int anInt5755 = 2;
|
||||
|
||||
@OriginalMember(owner = "client!vg", name = "f", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_1081 = JagString.parse("<col=80ff00>");
|
||||
|
||||
@OriginalMember(owner = "client!vg", name = "a", descriptor = "(I[S)[S")
|
||||
@OriginalMember(owner = "client!vg", name = "a", descriptor = "(I[S)[S")
|
||||
public static short[] method4511(@OriginalArg(1) short[] arg0) {
|
||||
if (arg0 == null) {
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -292,8 +292,4 @@ public final class Static269 {
|
|||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!wa", name = "a", descriptor = "(IZ)Lclient!na;")
|
||||
public static JagString method2228(@OriginalArg(0) int arg0) {
|
||||
return Static233.aClass100Array160[arg0].length() > 0 ? JagString.concatenate(new JagString[] { Static254.aClass100Array168[arg0], LocalizedText.MINISEPARATOR, Static233.aClass100Array160[arg0] }) : Static254.aClass100Array168[arg0];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ public final class Static271 {
|
|||
|
||||
@OriginalMember(owner = "client!wc", name = "a", descriptor = "(ZI)V")
|
||||
public static void method4600(@OriginalArg(1) int arg0) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(4, arg0);
|
||||
@Pc(8) DelayedStateChange local8 = DelayedStateChange.create(4, arg0);
|
||||
local8.pushClient();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public final class Static277 {
|
|||
if (arg0 < 0) {
|
||||
return false;
|
||||
}
|
||||
@Pc(12) int local12 = Static39.aShortArray6[arg0];
|
||||
@Pc(12) int local12 = MiniMenu.actions[arg0];
|
||||
if (local12 >= 2000) {
|
||||
local12 -= 2000;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -681,43 +681,9 @@ public final class Static280 {
|
|||
local12.anIntArray422[arg1] = arg2;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!wl", name = "b", descriptor = "(I)V")
|
||||
public static void method4673() {
|
||||
@Pc(3) boolean local3 = false;
|
||||
while (!local3) {
|
||||
local3 = true;
|
||||
for (@Pc(13) int local13 = 0; local13 < Static231.anInt5204 - 1; local13++) {
|
||||
if (Static39.aShortArray6[local13] < 1000 && Static39.aShortArray6[local13 + 1] > 1000) {
|
||||
@Pc(41) JagString local41 = Static233.aClass100Array160[local13];
|
||||
local3 = false;
|
||||
Static233.aClass100Array160[local13] = Static233.aClass100Array160[local13 + 1];
|
||||
Static233.aClass100Array160[local13 + 1] = local41;
|
||||
@Pc(61) JagString local61 = Static254.aClass100Array168[local13];
|
||||
Static254.aClass100Array168[local13] = Static254.aClass100Array168[local13 + 1];
|
||||
Static254.aClass100Array168[local13 + 1] = local61;
|
||||
@Pc(79) int local79 = Static196.anIntArray408[local13];
|
||||
Static196.anIntArray408[local13] = Static196.anIntArray408[local13 + 1];
|
||||
Static196.anIntArray408[local13 + 1] = local79;
|
||||
@Pc(97) int local97 = Static56.anIntArray142[local13];
|
||||
Static56.anIntArray142[local13] = Static56.anIntArray142[local13 + 1];
|
||||
Static56.anIntArray142[local13 + 1] = local97;
|
||||
@Pc(115) int local115 = Static190.anIntArray382[local13];
|
||||
Static190.anIntArray382[local13] = Static190.anIntArray382[local13 + 1];
|
||||
Static190.anIntArray382[local13 + 1] = local115;
|
||||
@Pc(133) short local133 = Static39.aShortArray6[local13];
|
||||
Static39.aShortArray6[local13] = Static39.aShortArray6[local13 + 1];
|
||||
Static39.aShortArray6[local13 + 1] = local133;
|
||||
@Pc(151) long local151 = Static159.aLongArray5[local13];
|
||||
Static159.aLongArray5[local13] = Static159.aLongArray5[local13 + 1];
|
||||
Static159.aLongArray5[local13 + 1] = local151;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!wl", name = "a", descriptor = "(II)V")
|
||||
public static void method4675(@OriginalArg(1) int arg0) {
|
||||
@Pc(17) DelayedStateChange local17 = Static238.method4143(11, arg0);
|
||||
@Pc(17) DelayedStateChange local17 = DelayedStateChange.create(11, arg0);
|
||||
local17.pushClient();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,10 +57,7 @@ public final class Static34 {
|
|||
@OriginalMember(owner = "client!ck", name = "o", descriptor = "Lclient!na;")
|
||||
private static final JagString aClass100_200 = JagString.parse("Loaded world list data");
|
||||
|
||||
@OriginalMember(owner = "client!ck", name = "D", descriptor = "Lclient!na;")
|
||||
public static JagString aClass100_203 = null;
|
||||
|
||||
@OriginalMember(owner = "client!ck", name = "K", descriptor = "I")
|
||||
@OriginalMember(owner = "client!ck", name = "K", descriptor = "I")
|
||||
public static int anInt1053 = 0;
|
||||
|
||||
@OriginalMember(owner = "client!ck", name = "a", descriptor = "(Lclient!fe;I)V")
|
||||
|
|
|
|||
|
|
@ -15,9 +15,6 @@ public final class Static39 {
|
|||
@OriginalMember(owner = "client!d", name = "db", descriptor = "Z")
|
||||
public static boolean aBoolean77 = false;
|
||||
|
||||
@OriginalMember(owner = "client!d", name = "eb", descriptor = "[S")
|
||||
public static final short[] aShortArray6 = new short[500];
|
||||
|
||||
@OriginalMember(owner = "client!d", name = "c", descriptor = "(III)I")
|
||||
public static int method990(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1) {
|
||||
@Pc(11) int local11 = arg1 - 1 & arg0 >> 31;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ public final class Static4 {
|
|||
|
||||
@OriginalMember(owner = "client!ac", name = "a", descriptor = "(BI)V")
|
||||
public static void method24(@OriginalArg(1) int arg0) {
|
||||
@Pc(16) DelayedStateChange local16 = Static238.method4143(1, arg0);
|
||||
@Pc(16) DelayedStateChange local16 = DelayedStateChange.create(1, arg0);
|
||||
local16.pushClient();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,7 @@ import org.openrs2.deob.annotation.OriginalMember;
|
|||
|
||||
public final class Static41 {
|
||||
|
||||
@OriginalMember(owner = "client!dc", name = "v", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_266 = JagString.parse("<col=c0ff00>");
|
||||
|
||||
@OriginalMember(owner = "client!dc", name = "E", descriptor = "Lclient!na;")
|
||||
@OriginalMember(owner = "client!dc", name = "E", descriptor = "Lclient!na;")
|
||||
private static final JagString aClass100_267 = JagString.parse("wave:");
|
||||
|
||||
@OriginalMember(owner = "client!dc", name = "M", descriptor = "Lclient!na;")
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ public final class Static44 {
|
|||
Static60.aBoolean108 = false;
|
||||
Protocol.length = 0;
|
||||
Static115.mapFlagX = 0;
|
||||
Static231.anInt5204 = 0;
|
||||
MiniMenu.size = 0;
|
||||
Protocol.opcode2 = -1;
|
||||
Static270.minimapState = 0;
|
||||
Player.rebootTimer = 0;
|
||||
|
|
@ -47,15 +47,6 @@ public final class Static44 {
|
|||
ClientProt.method1373();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!dh", name = "b", descriptor = "(I)Lclient!q;")
|
||||
public static ReferenceNodeFactory method1147() {
|
||||
try {
|
||||
return new SoftReferenceNodeFactory();
|
||||
} catch (@Pc(15) Throwable local15) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@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) {
|
||||
@Pc(9) ComponentPointer local9 = new ComponentPointer();
|
||||
|
|
@ -71,27 +62,27 @@ public final class Static44 {
|
|||
InterfaceList.redraw(Static39.aClass13_10);
|
||||
Static39.aClass13_10 = null;
|
||||
}
|
||||
@Pc(45) int local45 = Static231.anInt5204;
|
||||
@Pc(45) int local45 = MiniMenu.size;
|
||||
@Pc(53) int local53;
|
||||
for (local53 = 0; local53 < local45; local53++) {
|
||||
if (Static2.method5(Static39.aShortArray6[local53])) {
|
||||
Static200.method3628(local53);
|
||||
if (Static2.method5(MiniMenu.actions[local53])) {
|
||||
MiniMenu.remove(local53);
|
||||
}
|
||||
}
|
||||
if (Static231.anInt5204 == 1) {
|
||||
if (MiniMenu.size == 1) {
|
||||
Static60.aBoolean108 = false;
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
} else {
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
local53 = Fonts.b12Full.getStringWidth(LocalizedText.CHOOSE_OPTION);
|
||||
for (@Pc(95) int local95 = 0; local95 < Static231.anInt5204; local95++) {
|
||||
@Pc(104) int local104 = Fonts.b12Full.getStringWidth(Static269.method2228(local95));
|
||||
for (@Pc(95) int local95 = 0; local95 < MiniMenu.size; local95++) {
|
||||
@Pc(104) int local104 = Fonts.b12Full.getStringWidth(MiniMenu.getOp(local95));
|
||||
if (local104 > local53) {
|
||||
local53 = local104;
|
||||
}
|
||||
}
|
||||
Static24.anInt761 = local53 + 8;
|
||||
Static13.anInt436 = Static231.anInt5204 * 15 + (Static261.aBoolean298 ? 26 : 22);
|
||||
Static13.anInt436 = MiniMenu.size * 15 + (Static261.aBoolean298 ? 26 : 22);
|
||||
}
|
||||
if (local28 != null) {
|
||||
Static17.method531(local28, false);
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ public final class Static49 {
|
|||
|
||||
@OriginalMember(owner = "client!dm", name = "a", descriptor = "(Lclient!be;III)V")
|
||||
public static void method1207(@OriginalArg(0) Component arg0, @OriginalArg(2) int arg1, @OriginalArg(3) int arg2) {
|
||||
if (Static231.anInt5204 < 2 && Static260.anInt5014 == 0 && !Static241.aBoolean302) {
|
||||
if (MiniMenu.size < 2 && Static260.anInt5014 == 0 && !Static241.aBoolean302) {
|
||||
return;
|
||||
}
|
||||
@Pc(24) JagString local24 = Static13.method471();
|
||||
|
|
|
|||
|
|
@ -4,9 +4,6 @@ import org.openrs2.deob.annotation.OriginalMember;
|
|||
|
||||
public final class Static56 {
|
||||
|
||||
@OriginalMember(owner = "client!ef", name = "c", descriptor = "[I")
|
||||
public static final int[] anIntArray142 = new int[500];
|
||||
|
||||
@OriginalMember(owner = "client!ef", name = "f", descriptor = "Lclient!na;")
|
||||
public static final JagString DUELSTAKE = JagString.parse(":duelstake:");
|
||||
|
||||
|
|
|
|||
|
|
@ -20,18 +20,18 @@ public final class Static59 {
|
|||
if (Static226.anInt3953 == 2) {
|
||||
if (Static155.anInt3751 == Static277.anInt5850 && Static60.anInt1892 == Static280.anInt5895) {
|
||||
Static226.anInt3953 = 0;
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && Static231.anInt5204 > 2) {
|
||||
ClientProt.method2232(Static231.anInt5204 - 2);
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && MiniMenu.size > 2) {
|
||||
MiniMenu.doAction(MiniMenu.size - 2);
|
||||
} else {
|
||||
ClientProt.method2232(Static231.anInt5204 - 1);
|
||||
MiniMenu.doAction(MiniMenu.size - 1);
|
||||
}
|
||||
}
|
||||
} else if (Static155.anInt3751 == Mouse.clickX && Static60.anInt1892 == Mouse.clickY) {
|
||||
Static226.anInt3953 = 0;
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && Static231.anInt5204 > 2) {
|
||||
ClientProt.method2232(Static231.anInt5204 - 2);
|
||||
if (Cheat.shiftClick && Keyboard.pressedKeys[Keyboard.KEY_SHIFT] && MiniMenu.size > 2) {
|
||||
MiniMenu.doAction(MiniMenu.size - 2);
|
||||
} else {
|
||||
ClientProt.method2232(Static231.anInt5204 - 1);
|
||||
MiniMenu.doAction(MiniMenu.size - 1);
|
||||
}
|
||||
} else {
|
||||
Static280.anInt5895 = Mouse.clickY;
|
||||
|
|
|
|||
|
|
@ -9,10 +9,7 @@ public final class Static6 {
|
|||
@OriginalMember(owner = "client!ag", name = "ab", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_17 = JagString.parse("0");
|
||||
|
||||
@OriginalMember(owner = "client!ag", name = "bb", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_18 = JagString.parse("<col=40ff00>");
|
||||
|
||||
@OriginalMember(owner = "client!ag", name = "cb", descriptor = "[Lclient!cl;")
|
||||
@OriginalMember(owner = "client!ag", name = "cb", descriptor = "[Lclient!cl;")
|
||||
public static final AnimFrameset[] aClass3_Sub2_Sub7Array1 = new AnimFrameset[14];
|
||||
|
||||
@OriginalMember(owner = "client!ag", name = "j", descriptor = "(I)V")
|
||||
|
|
|
|||
|
|
@ -10,10 +10,7 @@ public final class Static64 {
|
|||
@OriginalMember(owner = "client!fb", name = "i", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_431 = JagString.parse("; Max)2Age=");
|
||||
|
||||
@OriginalMember(owner = "client!fb", name = "p", descriptor = "Lclient!na;")
|
||||
public static final JagString aClass100_433 = JagString.parse("<col=ff3000>");
|
||||
|
||||
@OriginalMember(owner = "client!fb", name = "q", descriptor = "[I")
|
||||
@OriginalMember(owner = "client!fb", name = "q", descriptor = "[I")
|
||||
public static final int[] anIntArray154 = new int[] { -1, -1, 1, 1 };
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@ public final class Static7 {
|
|||
@Pc(93) int local93;
|
||||
@Pc(99) int local99;
|
||||
if (!Static60.aBoolean108) {
|
||||
if (local20 == 1 && Static231.anInt5204 > 0) {
|
||||
@Pc(37) short local37 = Static39.aShortArray6[Static231.anInt5204 - 1];
|
||||
if (local20 == 1 && MiniMenu.size > 0) {
|
||||
@Pc(37) short local37 = MiniMenu.actions[MiniMenu.size - 1];
|
||||
if (local37 == 25 || local37 == 23 || local37 == 48 || local37 == 7 || local37 == 13 || local37 == 47 || local37 == 5 || local37 == 43 || local37 == 35 || local37 == 58 || local37 == 22 || local37 == 1006) {
|
||||
local93 = Static196.anIntArray408[Static231.anInt5204 - 1];
|
||||
local99 = Static56.anIntArray142[Static231.anInt5204 - 1];
|
||||
local93 = MiniMenu.intArgs1[MiniMenu.size - 1];
|
||||
local99 = MiniMenu.intArgs2[MiniMenu.size - 1];
|
||||
@Pc(103) Component local103 = InterfaceList.getComponent(local99);
|
||||
@Pc(106) ServerActiveProperties local106 = InterfaceList.getServerActiveProperties(local103);
|
||||
if (local106.method511() || local106.isObjReplaceEnabled()) {
|
||||
|
|
@ -45,13 +45,13 @@ public final class Static7 {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (local20 == 1 && (Static116.anInt2952 == 1 && Static231.anInt5204 > 2 || Static277.method4640(Static231.anInt5204 - 1))) {
|
||||
if (local20 == 1 && (Static116.anInt2952 == 1 && MiniMenu.size > 2 || Static277.method4640(MiniMenu.size - 1))) {
|
||||
local20 = 2;
|
||||
}
|
||||
if (local20 == 2 && Static231.anInt5204 > 0 || Static226.anInt3953 == 1) {
|
||||
if (local20 == 2 && MiniMenu.size > 0 || Static226.anInt3953 == 1) {
|
||||
Static226.method3901();
|
||||
}
|
||||
if (local20 == 1 && Static231.anInt5204 > 0 || Static226.anInt3953 == 2) {
|
||||
if (local20 == 1 && MiniMenu.size > 0 || Static226.anInt3953 == 2) {
|
||||
Static59.method1372();
|
||||
}
|
||||
return;
|
||||
|
|
@ -74,19 +74,19 @@ public final class Static7 {
|
|||
@Pc(265) int local265 = Mouse.clickX;
|
||||
@Pc(267) int local267 = Mouse.clickY;
|
||||
@Pc(269) int local269 = -1;
|
||||
for (@Pc(271) int local271 = 0; local271 < Static231.anInt5204; local271++) {
|
||||
for (@Pc(271) int local271 = 0; local271 < MiniMenu.size; local271++) {
|
||||
@Pc(289) int local289;
|
||||
if (Static261.aBoolean298) {
|
||||
local289 = (Static231.anInt5204 - local271 - 1) * 15 + local93 + 35;
|
||||
local289 = (MiniMenu.size - local271 - 1) * 15 + local93 + 35;
|
||||
} else {
|
||||
local289 = (Static231.anInt5204 - local271 - 1) * 15 + local93 + 31;
|
||||
local289 = (MiniMenu.size - local271 - 1) * 15 + local93 + 31;
|
||||
}
|
||||
if (local265 > local204 && local204 + local99 > local265 && local289 - 13 < local267 && local289 + 3 > local267) {
|
||||
local269 = local271;
|
||||
}
|
||||
}
|
||||
if (local269 != -1) {
|
||||
ClientProt.method2232(local269);
|
||||
MiniMenu.doAction(local269);
|
||||
}
|
||||
Static60.aBoolean108 = false;
|
||||
Static133.method4012(Static183.anInt4271, Static24.anInt761, Static229.anInt5138, Static13.anInt436);
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public final class Static8 {
|
|||
public static final JagString aClass100_32 = JagString.parse("<col=ff9040>");
|
||||
|
||||
@OriginalMember(owner = "client!aj", name = "a", descriptor = "(BILclient!be;)I")
|
||||
public static int method118(@OriginalArg(1) int arg0, @OriginalArg(2) Component arg1) {
|
||||
public static int getOpCursor(@OriginalArg(1) int arg0, @OriginalArg(2) Component arg1) {
|
||||
if (!InterfaceList.getServerActiveProperties(arg1).method503(arg0) && arg1.anObjectArray29 == null) {
|
||||
return -1;
|
||||
} else if (arg1.anIntArray39 == null || arg0 >= arg1.anIntArray39.length) {
|
||||
|
|
|
|||
|
|
@ -221,14 +221,14 @@ public final class Static87 {
|
|||
if (local583 == null) {
|
||||
Static53.method1294();
|
||||
} else {
|
||||
Static98.method1966(Static246.anInt5393, 1L, Static225.aClass100_961, local563, (short) 11, Static102.aClass100_545, local571);
|
||||
MiniMenu.add(Static246.anInt5393, 1L, Static225.aClass100_961, local563, (short) 11, MiniMenu.aClass100_545, local571);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (client.game == 1) {
|
||||
Static98.method1966(-1, 1L, JagString.EMPTY, local563, (short) 36, LocalizedText.FACEHERE, local571);
|
||||
MiniMenu.add(-1, 1L, JagString.EMPTY, local563, (short) 36, LocalizedText.FACEHERE, local571);
|
||||
}
|
||||
Static98.method1966(-1, 1L, JagString.EMPTY, local563, (short) 60, Static195.walkText, local571);
|
||||
MiniMenu.add(-1, 1L, JagString.EMPTY, local563, (short) 60, Static195.walkText, local571);
|
||||
continue;
|
||||
}
|
||||
if (local30.anInt453 == 1339) {
|
||||
|
|
@ -323,14 +323,14 @@ public final class Static87 {
|
|||
}
|
||||
if (!Static60.aBoolean108) {
|
||||
if (local30.type == 0 && local30.noClickThrough && Static155.anInt3751 >= local166 && Static60.anInt1892 >= local164 && Static155.anInt3751 < local302 && local291 > Static60.anInt1892 && !Static121.aBoolean154) {
|
||||
Static231.anInt5204 = 1;
|
||||
Static190.anIntArray382[0] = Static35.anInt1092;
|
||||
Static254.aClass100Array168[0] = LocalizedText.CANCEL;
|
||||
Static233.aClass100Array160[0] = JagString.EMPTY;
|
||||
Static39.aShortArray6[0] = 1005;
|
||||
MiniMenu.size = 1;
|
||||
MiniMenu.cursors[0] = Static35.anInt1092;
|
||||
MiniMenu.ops[0] = LocalizedText.CANCEL;
|
||||
MiniMenu.opBases[0] = JagString.EMPTY;
|
||||
MiniMenu.actions[0] = 1005;
|
||||
}
|
||||
if (local166 <= Static155.anInt3751 && local164 <= Static60.anInt1892 && local302 > Static155.anInt3751 && local291 > Static60.anInt1892) {
|
||||
Static258.method4418(Static60.anInt1892 - local114, -local123 + Static155.anInt3751, local30);
|
||||
MiniMenu.addComponentEntries(Static60.anInt1892 - local114, -local123 + Static155.anInt3751, local30);
|
||||
}
|
||||
}
|
||||
if (local30.type == 0) {
|
||||
|
|
@ -352,11 +352,11 @@ public final class Static87 {
|
|||
@Pc(1186) ComponentPointer local1186 = (ComponentPointer) InterfaceList.openInterfaces.get((long) local30.id);
|
||||
if (local1186 != null) {
|
||||
if (local1186.anInt5879 == 0 && !Static60.aBoolean108 && Static155.anInt3751 >= local166 && local164 <= Static60.anInt1892 && local302 > Static155.anInt3751 && Static60.anInt1892 < local291 && !Static121.aBoolean154) {
|
||||
Static254.aClass100Array168[0] = LocalizedText.CANCEL;
|
||||
Static231.anInt5204 = 1;
|
||||
Static190.anIntArray382[0] = Static35.anInt1092;
|
||||
Static39.aShortArray6[0] = 1005;
|
||||
Static233.aClass100Array160[0] = JagString.EMPTY;
|
||||
MiniMenu.ops[0] = LocalizedText.CANCEL;
|
||||
MiniMenu.size = 1;
|
||||
MiniMenu.cursors[0] = Static35.anInt1092;
|
||||
MiniMenu.actions[0] = 1005;
|
||||
MiniMenu.opBases[0] = JagString.EMPTY;
|
||||
}
|
||||
Static6.method86(local1186.anInt5878, local166, local302, local123, local57, local291, local164, local114);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ public final class Static89 {
|
|||
|
||||
@OriginalMember(owner = "client!ha", name = "b", descriptor = "(II)V")
|
||||
public static void method1840(@OriginalArg(1) int arg0) {
|
||||
@Pc(8) DelayedStateChange local8 = Static238.method4143(2, arg0);
|
||||
@Pc(8) DelayedStateChange local8 = DelayedStateChange.create(2, arg0);
|
||||
local8.pushClient();
|
||||
}
|
||||
|
||||
|
|
@ -119,11 +119,11 @@ public final class Static89 {
|
|||
Static155.anInt3751 = Mouse.clickX;
|
||||
Static60.anInt1892 = Mouse.clickY;
|
||||
}
|
||||
Static231.anInt5204 = 1;
|
||||
Static254.aClass100Array168[0] = LocalizedText.CANCEL;
|
||||
Static233.aClass100Array160[0] = JagString.EMPTY;
|
||||
Static39.aShortArray6[0] = 1005;
|
||||
Static190.anIntArray382[0] = Static35.anInt1092;
|
||||
MiniMenu.size = 1;
|
||||
MiniMenu.ops[0] = LocalizedText.CANCEL;
|
||||
MiniMenu.opBases[0] = JagString.EMPTY;
|
||||
MiniMenu.actions[0] = 1005;
|
||||
MiniMenu.cursors[0] = Static35.anInt1092;
|
||||
}
|
||||
if (InterfaceList.topLevelInterface != -1) {
|
||||
Static96.method1949(InterfaceList.topLevelInterface);
|
||||
|
|
@ -153,7 +153,7 @@ public final class Static89 {
|
|||
} else {
|
||||
SoftwareRaster.method2503();
|
||||
}
|
||||
Static280.method4673();
|
||||
MiniMenu.sort();
|
||||
if (Static60.aBoolean108) {
|
||||
if (Static261.aBoolean298) {
|
||||
Static112.method2297();
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ public final class Static93 {
|
|||
|
||||
@OriginalMember(owner = "client!he", name = "c", descriptor = "(II)V")
|
||||
public static void method1906(@OriginalArg(1) int arg0) {
|
||||
@Pc(12) DelayedStateChange local12 = Static238.method4143(7, arg0);
|
||||
@Pc(12) DelayedStateChange local12 = DelayedStateChange.create(7, arg0);
|
||||
local12.pushClient();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ public final class Static97 {
|
|||
}
|
||||
|
||||
@OriginalMember(owner = "client!hi", name = "a", descriptor = "(Lclient!be;B)Lclient!na;")
|
||||
public static JagString method1963(@OriginalArg(0) Component arg0) {
|
||||
public static JagString getTargetVerb(@OriginalArg(0) Component arg0) {
|
||||
if (InterfaceList.getServerActiveProperties(arg0).getTargetMask() == 0) {
|
||||
return null;
|
||||
} else if (arg0.aClass100_86 == null || arg0.aClass100_86.trim().length() == 0) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package rt4;
|
||||
|
||||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
||||
public final class Static98 {
|
||||
|
|
@ -8,18 +7,4 @@ public final class Static98 {
|
|||
@OriginalMember(owner = "client!hj", name = "e", descriptor = "I")
|
||||
public static int anInt2512;
|
||||
|
||||
@OriginalMember(owner = "client!hj", name = "a", descriptor = "(IJBLclient!na;ISLclient!na;I)V")
|
||||
public static void method1966(@OriginalArg(0) int arg0, @OriginalArg(1) long arg1, @OriginalArg(3) JagString arg2, @OriginalArg(4) int arg3, @OriginalArg(5) short arg4, @OriginalArg(6) JagString arg5, @OriginalArg(7) int arg6) {
|
||||
if (Static60.aBoolean108 || Static231.anInt5204 >= 500) {
|
||||
return;
|
||||
}
|
||||
Static254.aClass100Array168[Static231.anInt5204] = arg5;
|
||||
Static233.aClass100Array160[Static231.anInt5204] = arg2;
|
||||
Static190.anIntArray382[Static231.anInt5204] = arg0 == -1 ? Static35.anInt1092 : arg0;
|
||||
Static39.aShortArray6[Static231.anInt5204] = arg4;
|
||||
Static159.aLongArray5[Static231.anInt5204] = arg1;
|
||||
Static196.anIntArray408[Static231.anInt5204] = arg3;
|
||||
Static56.anIntArray142[Static231.anInt5204] = arg6;
|
||||
Static231.anInt5204++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
package rt4;
|
||||
|
||||
public class StringUtils {
|
||||
}
|
||||
|
|
@ -511,7 +511,7 @@ public final class client extends GameShell {
|
|||
for (local3506 = 0; local3506 < Static143.hintMapMarkers.length; local3506++) {
|
||||
Static143.hintMapMarkers[local3506] = null;
|
||||
}
|
||||
Static231.anInt5204 = 0;
|
||||
MiniMenu.size = 0;
|
||||
Static60.aBoolean108 = false;
|
||||
Static48.setIdleLoops(0);
|
||||
for (local3506 = 0; local3506 < 100; local3506++) {
|
||||
|
|
@ -581,7 +581,7 @@ public final class client extends GameShell {
|
|||
InterfaceList.method1287();
|
||||
Static39.aClass13_10 = null;
|
||||
Static60.aBoolean108 = false;
|
||||
Static231.anInt5204 = 0;
|
||||
MiniMenu.size = 0;
|
||||
PlayerAppearance.DEFAULT.method1950(new int[] { 0, 0, 0, 0, 0 }, -1, false, null, -1);
|
||||
for (local3506 = 0; local3506 < 8; local3506++) {
|
||||
Player.options[local3506] = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue