Use newer version of fernflower and remove __xx names
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import java.io.File;
|
||||
import java.util.Hashtable;
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
@@ -11,18 +10,13 @@ public class class171 {
|
||||
@ObfuscatedGetter(
|
||||
intValue = -852697585
|
||||
)
|
||||
static int __fo_ro;
|
||||
static int field1116;
|
||||
@ObfuscatedName("m")
|
||||
public static boolean __fo_m;
|
||||
public static boolean field1117;
|
||||
@ObfuscatedName("f")
|
||||
public static File __fo_f;
|
||||
public static File field1118;
|
||||
@ObfuscatedName("q")
|
||||
static Hashtable __fo_q;
|
||||
|
||||
static {
|
||||
__fo_m = false;
|
||||
__fo_q = new Hashtable(16);
|
||||
}
|
||||
static Hashtable field1119;
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
@@ -33,36 +27,36 @@ public class class171 {
|
||||
KeyHandler var0 = KeyHandler.KeyHandler_instance;
|
||||
synchronized(KeyHandler.KeyHandler_instance) {
|
||||
++KeyHandler.KeyHandler_idleCycles;
|
||||
KeyHandler.__an_ct = KeyHandler.__an_cc;
|
||||
KeyHandler.__an_cl = 0;
|
||||
int var1;
|
||||
if(KeyHandler.__an_cw < 0) {
|
||||
for(var1 = 0; var1 < 112; ++var1) {
|
||||
KeyHandler.KeyHandler_pressedKeys[var1] = false;
|
||||
KeyHandler.field453 = KeyHandler.field455;
|
||||
KeyHandler.field452 = 0;
|
||||
int var2;
|
||||
if (KeyHandler.field448 < 0) {
|
||||
for (var2 = 0; var2 < 112; ++var2) {
|
||||
KeyHandler.KeyHandler_pressedKeys[var2] = false;
|
||||
}
|
||||
|
||||
KeyHandler.__an_cw = KeyHandler.__an_ch;
|
||||
KeyHandler.field448 = KeyHandler.field447;
|
||||
} else {
|
||||
while(KeyHandler.__an_cw != KeyHandler.__an_ch) {
|
||||
var1 = KeyHandler.__an_cq[KeyHandler.__an_ch];
|
||||
KeyHandler.__an_ch = KeyHandler.__an_ch + 1 & 127;
|
||||
if(var1 < 0) {
|
||||
KeyHandler.KeyHandler_pressedKeys[~var1] = false;
|
||||
while (KeyHandler.field448 != KeyHandler.field447) {
|
||||
var2 = KeyHandler.field446[KeyHandler.field447];
|
||||
KeyHandler.field447 = KeyHandler.field447 + 1 & 127;
|
||||
if (var2 < 0) {
|
||||
KeyHandler.KeyHandler_pressedKeys[~var2] = false;
|
||||
} else {
|
||||
if(!KeyHandler.KeyHandler_pressedKeys[var1] && KeyHandler.__an_cl < KeyHandler.__an_cp.length - 1) {
|
||||
KeyHandler.__an_cp[++KeyHandler.__an_cl - 1] = var1;
|
||||
if (!KeyHandler.KeyHandler_pressedKeys[var2] && KeyHandler.field452 < KeyHandler.field451.length - 1) {
|
||||
KeyHandler.field451[++KeyHandler.field452 - 1] = var2;
|
||||
}
|
||||
|
||||
KeyHandler.KeyHandler_pressedKeys[var1] = true;
|
||||
KeyHandler.KeyHandler_pressedKeys[var2] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(KeyHandler.__an_cl > 0) {
|
||||
if (KeyHandler.field452 > 0) {
|
||||
KeyHandler.KeyHandler_idleCycles = 0;
|
||||
}
|
||||
|
||||
KeyHandler.__an_cc = KeyHandler.__an_cz;
|
||||
KeyHandler.field455 = KeyHandler.field454;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,14 +66,14 @@ public class class171 {
|
||||
garbageValue = "-1048935304"
|
||||
)
|
||||
public static int method3496(int var0, int var1, int var2, int var3, int var4, int var5) {
|
||||
if((var5 & 1) == 1) {
|
||||
if ((var5 & 1) == 1) {
|
||||
int var6 = var3;
|
||||
var3 = var4;
|
||||
var4 = var6;
|
||||
}
|
||||
|
||||
var2 &= 3;
|
||||
return var2 == 0?var1:(var2 == 1?7 - var0 - (var3 - 1):(var2 == 2?7 - var1 - (var4 - 1):var0));
|
||||
return var2 == 0 ? var1 : (var2 == 1 ? 7 - var0 - (var3 - 1) : (var2 == 2 ? 7 - var1 - (var4 - 1) : var0));
|
||||
}
|
||||
|
||||
@ObfuscatedName("fq")
|
||||
@@ -89,10 +83,10 @@ public class class171 {
|
||||
)
|
||||
static void method3497() {
|
||||
int var0;
|
||||
if(Client.titleLoadingStage == 0) {
|
||||
if (Client.titleLoadingStage == 0) {
|
||||
class65.scene = new Scene(4, 104, 104, Tiles.Tiles_heights);
|
||||
|
||||
for(var0 = 0; var0 < 4; ++var0) {
|
||||
for (var0 = 0; var0 < 4; ++var0) {
|
||||
Client.collisionMaps[var0] = new CollisionMap(104, 104);
|
||||
}
|
||||
|
||||
@@ -100,11 +94,11 @@ public class class171 {
|
||||
Login.Login_loadingText = "Starting game engine...";
|
||||
Login.Login_loadingPercent = 5;
|
||||
Client.titleLoadingStage = 20;
|
||||
} else if(Client.titleLoadingStage == 20) {
|
||||
} else if (Client.titleLoadingStage == 20) {
|
||||
Login.Login_loadingText = "Prepared visibility map";
|
||||
Login.Login_loadingPercent = 10;
|
||||
Client.titleLoadingStage = 30;
|
||||
} else if(Client.titleLoadingStage == 30) {
|
||||
} else if (Client.titleLoadingStage == 30) {
|
||||
AbstractIndexCache.indexCache0 = class22.newIndexCache(0, false, true, true);
|
||||
Skeleton.indexCache1 = class22.newIndexCache(1, false, true, true);
|
||||
ObjectSound.indexCache2 = class22.newIndexCache(2, true, false, true);
|
||||
@@ -122,36 +116,36 @@ public class class171 {
|
||||
class2.indexCache14 = class22.newIndexCache(14, false, true, true);
|
||||
WorldMapSection1.indexCache15 = class22.newIndexCache(15, false, true, true);
|
||||
class22.indexCache16 = class22.newIndexCache(17, true, true, true);
|
||||
WorldMapLabelSize.__s_dq = class22.newIndexCache(18, false, true, true);
|
||||
ItemContainer.__bc_dm = class22.newIndexCache(19, false, true, true);
|
||||
AbstractByteArrayCopier.__gu_et = class22.newIndexCache(20, false, true, true);
|
||||
WorldMapLabelSize.field1040 = class22.newIndexCache(18, false, true, true);
|
||||
ItemContainer.field434 = class22.newIndexCache(19, false, true, true);
|
||||
AbstractByteArrayCopier.field0 = class22.newIndexCache(20, false, true, true);
|
||||
Login.Login_loadingText = "Connecting to update server";
|
||||
Login.Login_loadingPercent = 20;
|
||||
Client.titleLoadingStage = 40;
|
||||
} else if(Client.titleLoadingStage == 40) {
|
||||
byte var33 = 0;
|
||||
var0 = var33 + AbstractIndexCache.indexCache0.__ca_405() * 4 / 100;
|
||||
var0 += Skeleton.indexCache1.__ca_405() * 4 / 100;
|
||||
var0 += ObjectSound.indexCache2.__ca_405() * 2 / 100;
|
||||
var0 += WorldMapIcon1.indexCache3.__ca_405() * 2 / 100;
|
||||
var0 += class25.indexCache4.__ca_405() * 6 / 100;
|
||||
var0 += SecureRandomFuture.indexCache5.__ca_405() * 4 / 100;
|
||||
var0 += UserComparator3.indexCache6.__ca_405() * 2 / 100;
|
||||
var0 += class40.indexCache7.__ca_405() * 56 / 100;
|
||||
var0 += WorldMapSection3.indexCache8.__ca_405() * 2 / 100;
|
||||
var0 += class238.indexCache9.__ca_405() * 2 / 100;
|
||||
var0 += class16.indexCache10.__ca_405() * 2 / 100;
|
||||
var0 += Login.indexCache11.__ca_405() * 2 / 100;
|
||||
var0 += Formatting.indexCache12.__ca_405() * 2 / 100;
|
||||
var0 += ByteArrayPool.indexCache13.__ca_405() * 2 / 100;
|
||||
var0 += class2.indexCache14.__ca_405() * 2 / 100;
|
||||
var0 += WorldMapSection1.indexCache15.__ca_405() * 2 / 100;
|
||||
var0 += ItemContainer.__bc_dm.__ca_405() / 100;
|
||||
var0 += WorldMapLabelSize.__s_dq.__ca_405() / 100;
|
||||
var0 += AbstractByteArrayCopier.__gu_et.__ca_405() / 100;
|
||||
var0 += class22.indexCache16.__cx_404() && class22.indexCache16.__l_394()?1:0;
|
||||
if(var0 != 100) {
|
||||
if(var0 != 0) {
|
||||
} else if (Client.titleLoadingStage == 40) {
|
||||
byte var1 = 0;
|
||||
var0 = var1 + AbstractIndexCache.indexCache0.method131() * 4 / 100;
|
||||
var0 += Skeleton.indexCache1.method131() * 4 / 100;
|
||||
var0 += ObjectSound.indexCache2.method131() * 2 / 100;
|
||||
var0 += WorldMapIcon1.indexCache3.method131() * 2 / 100;
|
||||
var0 += class25.indexCache4.method131() * 6 / 100;
|
||||
var0 += SecureRandomFuture.indexCache5.method131() * 4 / 100;
|
||||
var0 += UserComparator3.indexCache6.method131() * 2 / 100;
|
||||
var0 += class40.indexCache7.method131() * 56 / 100;
|
||||
var0 += WorldMapSection3.indexCache8.method131() * 2 / 100;
|
||||
var0 += class238.indexCache9.method131() * 2 / 100;
|
||||
var0 += class16.indexCache10.method131() * 2 / 100;
|
||||
var0 += Login.indexCache11.method131() * 2 / 100;
|
||||
var0 += Formatting.indexCache12.method131() * 2 / 100;
|
||||
var0 += ByteArrayPool.indexCache13.method131() * 2 / 100;
|
||||
var0 += class2.indexCache14.method131() * 2 / 100;
|
||||
var0 += WorldMapSection1.indexCache15.method131() * 2 / 100;
|
||||
var0 += ItemContainer.field434.method131() / 100;
|
||||
var0 += WorldMapLabelSize.field1040.method131() / 100;
|
||||
var0 += AbstractByteArrayCopier.field0.method131() / 100;
|
||||
var0 += class22.indexCache16.method130() && class22.indexCache16.method2() ? 1 : 0;
|
||||
if (var0 != 100) {
|
||||
if (var0 != 0) {
|
||||
Login.Login_loadingText = "Checking for updates - " + var0 + "%";
|
||||
}
|
||||
|
||||
@@ -167,22 +161,22 @@ public class class171 {
|
||||
AbstractWorldMapIcon.method625(Login.indexCache11, "Music Jingles");
|
||||
AbstractWorldMapIcon.method625(class2.indexCache14, "Music Samples");
|
||||
AbstractWorldMapIcon.method625(WorldMapSection1.indexCache15, "Music Patches");
|
||||
AbstractWorldMapIcon.method625(ItemContainer.__bc_dm, "World Map");
|
||||
AbstractWorldMapIcon.method625(WorldMapLabelSize.__s_dq, "World Map Geography");
|
||||
AbstractWorldMapIcon.method625(AbstractByteArrayCopier.__gu_et, "World Map Ground");
|
||||
AbstractWorldMapIcon.method625(ItemContainer.field434, "World Map");
|
||||
AbstractWorldMapIcon.method625(WorldMapLabelSize.field1040, "World Map Geography");
|
||||
AbstractWorldMapIcon.method625(AbstractByteArrayCopier.field0, "World Map Ground");
|
||||
class211.spriteIds = new SpriteIds();
|
||||
class211.spriteIds.read(class22.indexCache16);
|
||||
Login.Login_loadingText = "Loaded update list";
|
||||
Login.Login_loadingPercent = 30;
|
||||
Client.titleLoadingStage = 45;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 45) {
|
||||
} else if (Client.titleLoadingStage == 45) {
|
||||
Tiles.method1097(22050, !Client.isLowDetail, 2);
|
||||
MidiPcmStream var36 = new MidiPcmStream();
|
||||
var36.__j_342(9, 128);
|
||||
MidiPcmStream var28 = new MidiPcmStream();
|
||||
var28.method174(9, 128);
|
||||
WorldMapCacheName.pcmPlayer0 = Players.newPcmPlayer(GameShell.taskHandler, 0, 22050);
|
||||
WorldMapCacheName.pcmPlayer0.setStream(var36);
|
||||
NetSocket.method3537(WorldMapSection1.indexCache15, class2.indexCache14, class25.indexCache4, var36);
|
||||
WorldMapCacheName.pcmPlayer0.setStream(var28);
|
||||
NetSocket.method3537(WorldMapSection1.indexCache15, class2.indexCache14, class25.indexCache4, var28);
|
||||
AbstractIndexCache.pcmPlayer1 = Players.newPcmPlayer(GameShell.taskHandler, 1, 2048);
|
||||
TaskHandler.pcmStreamMixer = new PcmStreamMixer();
|
||||
AbstractIndexCache.pcmPlayer1.setStream(TaskHandler.pcmStreamMixer);
|
||||
@@ -192,15 +186,15 @@ public class class171 {
|
||||
Client.titleLoadingStage = 50;
|
||||
WorldMapElement.fonts = new Fonts(WorldMapSection3.indexCache8, ByteArrayPool.indexCache13);
|
||||
} else {
|
||||
int var1;
|
||||
if(Client.titleLoadingStage == 50) {
|
||||
FontName[] var35 = new FontName[]{FontName.FontName_verdana15, FontName.FontName_bold12, FontName.FontName_plain12, FontName.FontName_verdana11, FontName.FontName_plain11, FontName.FontName_verdana13};
|
||||
var1 = var35.length;
|
||||
Fonts var32 = WorldMapElement.fonts;
|
||||
FontName[] var31 = new FontName[]{FontName.FontName_verdana15, FontName.FontName_bold12, FontName.FontName_plain12, FontName.FontName_verdana11, FontName.FontName_plain11, FontName.FontName_verdana13};
|
||||
Client.fontsMap = var32.createMap(var31);
|
||||
if(Client.fontsMap.size() < var1) {
|
||||
Login.Login_loadingText = "Loading fonts - " + Client.fontsMap.size() * 100 / var1 + "%";
|
||||
int var29;
|
||||
if (Client.titleLoadingStage == 50) {
|
||||
FontName[] var2 = new FontName[]{FontName.FontName_verdana15, FontName.FontName_bold12, FontName.FontName_plain12, FontName.FontName_verdana11, FontName.FontName_plain11, FontName.FontName_verdana13};
|
||||
var29 = var2.length;
|
||||
Fonts var3 = WorldMapElement.fonts;
|
||||
FontName[] var4 = new FontName[]{FontName.FontName_verdana15, FontName.FontName_bold12, FontName.FontName_plain12, FontName.FontName_verdana11, FontName.FontName_plain11, FontName.FontName_verdana13};
|
||||
Client.fontsMap = var3.createMap(var4);
|
||||
if (Client.fontsMap.size() < var29) {
|
||||
Login.Login_loadingText = "Loading fonts - " + Client.fontsMap.size() * 100 / var29 + "%";
|
||||
Login.Login_loadingPercent = 40;
|
||||
} else {
|
||||
ScriptEvent.fontPlain11 = (Font)Client.fontsMap.get(FontName.FontName_plain11);
|
||||
@@ -211,11 +205,11 @@ public class class171 {
|
||||
Login.Login_loadingPercent = 40;
|
||||
Client.titleLoadingStage = 60;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 60) {
|
||||
} else if (Client.titleLoadingStage == 60) {
|
||||
var0 = FloorDecoration.method2853(class16.indexCache10, WorldMapSection3.indexCache8);
|
||||
var1 = class3.method36();
|
||||
if(var0 < var1) {
|
||||
Login.Login_loadingText = "Loading title screen - " + var0 * 100 / var1 + "%";
|
||||
var29 = class3.method36();
|
||||
if (var0 < var29) {
|
||||
Login.Login_loadingText = "Loading title screen - " + var0 * 100 / var29 + "%";
|
||||
Login.Login_loadingPercent = 50;
|
||||
} else {
|
||||
Login.Login_loadingText = "Loaded title screen";
|
||||
@@ -224,82 +218,82 @@ public class class171 {
|
||||
Client.titleLoadingStage = 70;
|
||||
}
|
||||
} else {
|
||||
IndexCache var2;
|
||||
if(Client.titleLoadingStage == 70) {
|
||||
if(!ObjectSound.indexCache2.__l_394()) {
|
||||
IndexCache var30;
|
||||
if (Client.titleLoadingStage == 70) {
|
||||
if (!ObjectSound.indexCache2.method2()) {
|
||||
Login.Login_loadingText = "Loading config - " + ObjectSound.indexCache2.loadPercent() + "%";
|
||||
Login.Login_loadingPercent = 60;
|
||||
} else {
|
||||
Varcs.method2160(ObjectSound.indexCache2);
|
||||
Varps.method4393(ObjectSound.indexCache2);
|
||||
IndexCache var34 = ObjectSound.indexCache2;
|
||||
IndexCache var38 = class40.indexCache7;
|
||||
KitDefinition.KitDefinition_indexCache = var34;
|
||||
KitDefinition.__im_f = var38;
|
||||
KitDefinition.__im_q = KitDefinition.KitDefinition_indexCache.__s_396(3);
|
||||
IndexCache var31 = ObjectSound.indexCache2;
|
||||
IndexCache var33 = class40.indexCache7;
|
||||
KitDefinition.KitDefinition_indexCache = var31;
|
||||
KitDefinition.field456 = var33;
|
||||
KitDefinition.field457 = KitDefinition.KitDefinition_indexCache.method4(3);
|
||||
RectangleMode.method6028(ObjectSound.indexCache2, class40.indexCache7, Client.isLowDetail);
|
||||
IsaacCipher.method4082(ObjectSound.indexCache2, class40.indexCache7);
|
||||
var2 = ObjectSound.indexCache2;
|
||||
StructDefinition.__jq_m = var2;
|
||||
IndexCache var3 = ObjectSound.indexCache2;
|
||||
IndexCache var4 = class40.indexCache7;
|
||||
boolean var5 = Client.isMembersWorld;
|
||||
Font var6 = ScriptEvent.fontPlain11;
|
||||
ItemDefinition.ItemDefinition_indexCache = var3;
|
||||
ItemDefinition.ItemDefinition_modelIndexCache = var4;
|
||||
class30.inMembersWorld = var5;
|
||||
class83.__cm_e = ItemDefinition.ItemDefinition_indexCache.__s_396(10);
|
||||
class204.__gx_n = var6;
|
||||
IndexCache var7 = ObjectSound.indexCache2;
|
||||
IndexCache var8 = AbstractIndexCache.indexCache0;
|
||||
IndexCache var9 = Skeleton.indexCache1;
|
||||
SequenceDefinition.SequenceDefinition_indexCache = var7;
|
||||
SequenceDefinition.__jh_f = var8;
|
||||
SequenceDefinition.__jh_q = var9;
|
||||
IndexCache var10 = ObjectSound.indexCache2;
|
||||
IndexCache var11 = class40.indexCache7;
|
||||
SpotAnimationDefinition.SpotAnimationDefinition_indexCache = var10;
|
||||
SpotAnimationDefinition.SpotAnimationDefinition_modelIndexCache = var11;
|
||||
UnitPriceComparator.method135(ObjectSound.indexCache2);
|
||||
var30 = ObjectSound.indexCache2;
|
||||
StructDefinition.field885 = var30;
|
||||
IndexCache var5 = ObjectSound.indexCache2;
|
||||
IndexCache var6 = class40.indexCache7;
|
||||
boolean var7 = Client.isMembersWorld;
|
||||
Font var8 = ScriptEvent.fontPlain11;
|
||||
ItemDefinition.ItemDefinition_indexCache = var5;
|
||||
ItemDefinition.ItemDefinition_modelIndexCache = var6;
|
||||
class30.inMembersWorld = var7;
|
||||
class83.field1167 = ItemDefinition.ItemDefinition_indexCache.method4(10);
|
||||
class204.field1122 = var8;
|
||||
IndexCache var9 = ObjectSound.indexCache2;
|
||||
IndexCache var10 = AbstractIndexCache.indexCache0;
|
||||
IndexCache var11 = Skeleton.indexCache1;
|
||||
SequenceDefinition.SequenceDefinition_indexCache = var9;
|
||||
SequenceDefinition.field773 = var10;
|
||||
SequenceDefinition.field774 = var11;
|
||||
IndexCache var12 = ObjectSound.indexCache2;
|
||||
VarpDefinition.__ix_m = var12;
|
||||
VarpDefinition.__ix_f = VarpDefinition.__ix_m.__s_396(16);
|
||||
IndexCache var13 = WorldMapIcon1.indexCache3;
|
||||
IndexCache var14 = class40.indexCache7;
|
||||
IndexCache var15 = WorldMapSection3.indexCache8;
|
||||
IndexCache var16 = ByteArrayPool.indexCache13;
|
||||
Widget.Widget_indexCache = var13;
|
||||
BufferedSource.__fh_x = var14;
|
||||
Widget.__ho_d = var15;
|
||||
class27.__aq_k = var16;
|
||||
Widget.widgets = new Widget[Widget.Widget_indexCache.__t_397()][];
|
||||
Widget.loadedWidgetGroups = new boolean[Widget.Widget_indexCache.__t_397()];
|
||||
IndexCache var17 = ObjectSound.indexCache2;
|
||||
class4.__o_m = var17;
|
||||
IndexCache var18 = ObjectSound.indexCache2;
|
||||
EnumDefinition.EnumDefinition_indexCache = var18;
|
||||
Frames.method3241(ObjectSound.indexCache2);
|
||||
IndexCache var13 = class40.indexCache7;
|
||||
SpotAnimationDefinition.SpotAnimationDefinition_indexCache = var12;
|
||||
SpotAnimationDefinition.SpotAnimationDefinition_modelIndexCache = var13;
|
||||
UnitPriceComparator.method135(ObjectSound.indexCache2);
|
||||
IndexCache var14 = ObjectSound.indexCache2;
|
||||
VarpDefinition.field943 = var14;
|
||||
VarpDefinition.field944 = VarpDefinition.field943.method4(16);
|
||||
IndexCache var15 = WorldMapIcon1.indexCache3;
|
||||
IndexCache var16 = class40.indexCache7;
|
||||
IndexCache var17 = WorldMapSection3.indexCache8;
|
||||
IndexCache var18 = ByteArrayPool.indexCache13;
|
||||
Widget.Widget_indexCache = var15;
|
||||
BufferedSource.field54 = var16;
|
||||
Widget.field955 = var17;
|
||||
class27.field1143 = var18;
|
||||
Widget.widgets = new Widget[Widget.Widget_indexCache.method5()][];
|
||||
Widget.loadedWidgetGroups = new boolean[Widget.Widget_indexCache.method5()];
|
||||
IndexCache var19 = ObjectSound.indexCache2;
|
||||
ParamKeyDefinition.__jb_m = var19;
|
||||
class4.field1158 = var19;
|
||||
IndexCache var20 = ObjectSound.indexCache2;
|
||||
EnumDefinition.EnumDefinition_indexCache = var20;
|
||||
Frames.method3241(ObjectSound.indexCache2);
|
||||
IndexCache var21 = ObjectSound.indexCache2;
|
||||
ParamKeyDefinition.field679 = var21;
|
||||
class196.varcs = new Varcs();
|
||||
class60.method1172(ObjectSound.indexCache2, WorldMapSection3.indexCache8, ByteArrayPool.indexCache13);
|
||||
IndexCache var20 = ObjectSound.indexCache2;
|
||||
IndexCache var21 = WorldMapSection3.indexCache8;
|
||||
HealthBarDefinition.__ii_m = var20;
|
||||
HealthBarDefinition.__ii_f = var21;
|
||||
IndexCache var22 = ObjectSound.indexCache2;
|
||||
IndexCache var23 = WorldMapSection3.indexCache8;
|
||||
WorldMapElement.__ic_m = var23;
|
||||
if(var22.__l_394()) {
|
||||
UserComparator4.WorldMapElement_count = var22.__s_396(35);
|
||||
HealthBarDefinition.field379 = var22;
|
||||
HealthBarDefinition.field380 = var23;
|
||||
IndexCache var24 = ObjectSound.indexCache2;
|
||||
IndexCache var25 = WorldMapSection3.indexCache8;
|
||||
WorldMapElement.field1019 = var25;
|
||||
if (var24.method2()) {
|
||||
UserComparator4.WorldMapElement_count = var24.method4(35);
|
||||
Widget.WorldMapElement_cached = new WorldMapElement[UserComparator4.WorldMapElement_count];
|
||||
|
||||
for(int var24 = 0; var24 < UserComparator4.WorldMapElement_count; ++var24) {
|
||||
byte[] var25 = var22.takeRecord(35, var24);
|
||||
Widget.WorldMapElement_cached[var24] = new WorldMapElement(var24);
|
||||
if(var25 != null) {
|
||||
Widget.WorldMapElement_cached[var24].read(new Buffer(var25));
|
||||
Widget.WorldMapElement_cached[var24].__w_409();
|
||||
for (int var26 = 0; var26 < UserComparator4.WorldMapElement_count; ++var26) {
|
||||
byte[] var27 = var24.takeRecord(35, var26);
|
||||
Widget.WorldMapElement_cached[var26] = new WorldMapElement(var26);
|
||||
if (var27 != null) {
|
||||
Widget.WorldMapElement_cached[var26].read(new Buffer(var27));
|
||||
Widget.WorldMapElement_cached[var26].method389();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -308,177 +302,177 @@ public class class171 {
|
||||
Login.Login_loadingPercent = 60;
|
||||
Client.titleLoadingStage = 80;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 80) {
|
||||
} else if (Client.titleLoadingStage == 80) {
|
||||
var0 = 0;
|
||||
if(UnitPriceComparator.compass == null) {
|
||||
UnitPriceComparator.compass = class322.readSprite(WorldMapSection3.indexCache8, class211.spriteIds.__m, 0);
|
||||
if (UnitPriceComparator.compass == null) {
|
||||
UnitPriceComparator.compass = class322.readSprite(WorldMapSection3.indexCache8, class211.spriteIds.field878, 0);
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(FaceNormal.__el_gm == null) {
|
||||
FaceNormal.__el_gm = class322.readSprite(WorldMapSection3.indexCache8, class211.spriteIds.__f, 0);
|
||||
if (FaceNormal.field345 == null) {
|
||||
FaceNormal.field345 = class322.readSprite(WorldMapSection3.indexCache8, class211.spriteIds.field879, 0);
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
IndexedSprite[] var27;
|
||||
int var28;
|
||||
if(class192.mapSceneSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.mapScenes;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var27 = null;
|
||||
IndexedSprite[] var32;
|
||||
int var34;
|
||||
if (class192.mapSceneSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.mapScenes;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var32 = null;
|
||||
} else {
|
||||
var27 = WorldMapLabel.createIndexedSpriteArray();
|
||||
var32 = WorldMapLabel.createIndexedSpriteArray();
|
||||
}
|
||||
|
||||
class192.mapSceneSprites = var27;
|
||||
class192.mapSceneSprites = var32;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
Sprite[] var37;
|
||||
if(class15.headIconPkSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.headIconsPk;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var37 = null;
|
||||
Sprite[] var35;
|
||||
if (class15.headIconPkSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.headIconsPk;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var35 = null;
|
||||
} else {
|
||||
var37 = UserComparator9.createSpriteArray();
|
||||
var35 = UserComparator9.createSpriteArray();
|
||||
}
|
||||
|
||||
class15.headIconPkSprites = var37;
|
||||
class15.headIconPkSprites = var35;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(ClientPreferences.headIconPrayerSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.headIconsPrayer;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var37 = null;
|
||||
if (ClientPreferences.headIconPrayerSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.headIconsPrayer;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var35 = null;
|
||||
} else {
|
||||
var37 = UserComparator9.createSpriteArray();
|
||||
var35 = UserComparator9.createSpriteArray();
|
||||
}
|
||||
|
||||
ClientPreferences.headIconPrayerSprites = var37;
|
||||
ClientPreferences.headIconPrayerSprites = var35;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(Player.headIconHintSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.headIconsHint;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var37 = null;
|
||||
if (Player.headIconHintSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.headIconsHint;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var35 = null;
|
||||
} else {
|
||||
var37 = UserComparator9.createSpriteArray();
|
||||
var35 = UserComparator9.createSpriteArray();
|
||||
}
|
||||
|
||||
Player.headIconHintSprites = var37;
|
||||
Player.headIconHintSprites = var35;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(class16.mapMarkerSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.mapMarkers;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var37 = null;
|
||||
if (class16.mapMarkerSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.mapMarkers;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var35 = null;
|
||||
} else {
|
||||
var37 = UserComparator9.createSpriteArray();
|
||||
var35 = UserComparator9.createSpriteArray();
|
||||
}
|
||||
|
||||
class16.mapMarkerSprites = var37;
|
||||
class16.mapMarkerSprites = var35;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(KeyHandler.crossSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.crosses;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var37 = null;
|
||||
if (KeyHandler.crossSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.crosses;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var35 = null;
|
||||
} else {
|
||||
var37 = UserComparator9.createSpriteArray();
|
||||
var35 = UserComparator9.createSpriteArray();
|
||||
}
|
||||
|
||||
KeyHandler.crossSprites = var37;
|
||||
KeyHandler.crossSprites = var35;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(class39.mapDotSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.mapDots;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var37 = null;
|
||||
if (class39.mapDotSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.mapDots;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var35 = null;
|
||||
} else {
|
||||
var37 = UserComparator9.createSpriteArray();
|
||||
var35 = UserComparator9.createSpriteArray();
|
||||
}
|
||||
|
||||
class39.mapDotSprites = var37;
|
||||
class39.mapDotSprites = var35;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(class32.scrollBarSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.scrollBars;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var27 = null;
|
||||
if (class32.scrollBarSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.scrollBars;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var32 = null;
|
||||
} else {
|
||||
var27 = WorldMapLabel.createIndexedSpriteArray();
|
||||
var32 = WorldMapLabel.createIndexedSpriteArray();
|
||||
}
|
||||
|
||||
class32.scrollBarSprites = var27;
|
||||
class32.scrollBarSprites = var32;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(WorldMapSectionType.modIconSprites == null) {
|
||||
var2 = WorldMapSection3.indexCache8;
|
||||
var28 = class211.spriteIds.modIcons;
|
||||
if(!SpriteMask.loadSprite(var2, var28, 0)) {
|
||||
var27 = null;
|
||||
if (WorldMapSectionType.modIconSprites == null) {
|
||||
var30 = WorldMapSection3.indexCache8;
|
||||
var34 = class211.spriteIds.modIcons;
|
||||
if (!SpriteMask.loadSprite(var30, var34, 0)) {
|
||||
var32 = null;
|
||||
} else {
|
||||
var27 = WorldMapLabel.createIndexedSpriteArray();
|
||||
var32 = WorldMapLabel.createIndexedSpriteArray();
|
||||
}
|
||||
|
||||
WorldMapSectionType.modIconSprites = var27;
|
||||
WorldMapSectionType.modIconSprites = var32;
|
||||
} else {
|
||||
++var0;
|
||||
}
|
||||
|
||||
if(var0 < 11) {
|
||||
if (var0 < 11) {
|
||||
Login.Login_loadingText = "Loading sprites - " + var0 * 100 / 12 + "%";
|
||||
Login.Login_loadingPercent = 70;
|
||||
} else {
|
||||
AbstractFont.AbstractFont_modIconSprites = WorldMapSectionType.modIconSprites;
|
||||
FaceNormal.__el_gm.normalize();
|
||||
var1 = (int)(Math.random() * 21.0D) - 10;
|
||||
int var29 = (int)(Math.random() * 21.0D) - 10;
|
||||
var28 = (int)(Math.random() * 21.0D) - 10;
|
||||
int var30 = (int)(Math.random() * 41.0D) - 20;
|
||||
class192.mapSceneSprites[0].shiftColors(var30 + var1, var30 + var29, var30 + var28);
|
||||
FaceNormal.field345.normalize();
|
||||
var29 = (int)(Math.random() * 21.0D) - 10;
|
||||
int var36 = (int)(Math.random() * 21.0D) - 10;
|
||||
var34 = (int)(Math.random() * 21.0D) - 10;
|
||||
int var38 = (int)(Math.random() * 41.0D) - 20;
|
||||
class192.mapSceneSprites[0].shiftColors(var38 + var29, var38 + var36, var38 + var34);
|
||||
Login.Login_loadingText = "Loaded sprites";
|
||||
Login.Login_loadingPercent = 70;
|
||||
Client.titleLoadingStage = 90;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 90) {
|
||||
if(!class238.indexCache9.__l_394()) {
|
||||
Login.Login_loadingText = "Loading textures - " + "0%";
|
||||
} else if (Client.titleLoadingStage == 90) {
|
||||
if (!class238.indexCache9.method2()) {
|
||||
Login.Login_loadingText = "Loading textures - 0%";
|
||||
Login.Login_loadingPercent = 90;
|
||||
} else {
|
||||
SecureRandomFuture.textureProvider = new TextureProvider(class238.indexCache9, WorldMapSection3.indexCache8, 20, 0.8D, Client.isLowDetail?64:128);
|
||||
SecureRandomFuture.textureProvider = new TextureProvider(class238.indexCache9, WorldMapSection3.indexCache8, 20, 0.8D, Client.isLowDetail ? 64 : 128);
|
||||
Rasterizer3D.Rasterizer3D_setTextureLoader(SecureRandomFuture.textureProvider);
|
||||
Rasterizer3D.Rasterizer3D_setBrightness(0.8D);
|
||||
Client.titleLoadingStage = 100;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 100) {
|
||||
var0 = SecureRandomFuture.textureProvider.__m_212();
|
||||
if(var0 < 100) {
|
||||
} else if (Client.titleLoadingStage == 100) {
|
||||
var0 = SecureRandomFuture.textureProvider.method323();
|
||||
if (var0 < 100) {
|
||||
Login.Login_loadingText = "Loading textures - " + var0 + "%";
|
||||
Login.Login_loadingPercent = 90;
|
||||
} else {
|
||||
@@ -486,31 +480,31 @@ public class class171 {
|
||||
Login.Login_loadingPercent = 90;
|
||||
Client.titleLoadingStage = 110;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 110) {
|
||||
} else if (Client.titleLoadingStage == 110) {
|
||||
Projectile.mouseRecorder = new MouseRecorder();
|
||||
GameShell.taskHandler.newThreadTask(Projectile.mouseRecorder, 10);
|
||||
Login.Login_loadingText = "Loaded input handler";
|
||||
Login.Login_loadingPercent = 92;
|
||||
Client.titleLoadingStage = 120;
|
||||
} else if(Client.titleLoadingStage == 120) {
|
||||
if(!class16.indexCache10.tryLoadRecordByNames("huffman", "")) {
|
||||
Login.Login_loadingText = "Loading wordpack - " + 0 + "%";
|
||||
} else if (Client.titleLoadingStage == 120) {
|
||||
if (!class16.indexCache10.tryLoadRecordByNames("huffman", "")) {
|
||||
Login.Login_loadingText = "Loading wordpack - 0%";
|
||||
Login.Login_loadingPercent = 94;
|
||||
} else {
|
||||
Huffman var26 = new Huffman(class16.indexCache10.takeRecordByNames("huffman", ""));
|
||||
class303.huffman = var26;
|
||||
Huffman var37 = new Huffman(class16.indexCache10.takeRecordByNames("huffman", ""));
|
||||
class303.huffman = var37;
|
||||
Login.Login_loadingText = "Loaded wordpack";
|
||||
Login.Login_loadingPercent = 94;
|
||||
Client.titleLoadingStage = 130;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 130) {
|
||||
if(!WorldMapIcon1.indexCache3.__l_394()) {
|
||||
} else if (Client.titleLoadingStage == 130) {
|
||||
if (!WorldMapIcon1.indexCache3.method2()) {
|
||||
Login.Login_loadingText = "Loading interfaces - " + WorldMapIcon1.indexCache3.loadPercent() * 4 / 5 + "%";
|
||||
Login.Login_loadingPercent = 96;
|
||||
} else if(!Formatting.indexCache12.__l_394()) {
|
||||
} else if (!Formatting.indexCache12.method2()) {
|
||||
Login.Login_loadingText = "Loading interfaces - " + (80 + Formatting.indexCache12.loadPercent() / 6) + "%";
|
||||
Login.Login_loadingPercent = 96;
|
||||
} else if(!ByteArrayPool.indexCache13.__l_394()) {
|
||||
} else if (!ByteArrayPool.indexCache13.method2()) {
|
||||
Login.Login_loadingText = "Loading interfaces - " + (96 + ByteArrayPool.indexCache13.loadPercent() / 50) + "%";
|
||||
Login.Login_loadingPercent = 96;
|
||||
} else {
|
||||
@@ -518,24 +512,25 @@ public class class171 {
|
||||
Login.Login_loadingPercent = 98;
|
||||
Client.titleLoadingStage = 140;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 140) {
|
||||
} else if (Client.titleLoadingStage == 140) {
|
||||
Login.Login_loadingPercent = 100;
|
||||
if(!ItemContainer.__bc_dm.tryLoadArchiveByName(WorldMapCacheName.WorldMapCacheName_details.name)) {
|
||||
Login.Login_loadingText = "Loading world map - " + ItemContainer.__bc_dm.archiveLoadPercentByName(WorldMapCacheName.WorldMapCacheName_details.name) / 10 + "%";
|
||||
if (!ItemContainer.field434.tryLoadArchiveByName(WorldMapCacheName.WorldMapCacheName_details.name)) {
|
||||
Login.Login_loadingText = "Loading world map - " + ItemContainer.field434.archiveLoadPercentByName(WorldMapCacheName.WorldMapCacheName_details.name) / 10 + "%";
|
||||
} else {
|
||||
if(class60.worldMap0 == null) {
|
||||
if (class60.worldMap0 == null) {
|
||||
class60.worldMap0 = new WorldMap();
|
||||
class60.worldMap0.init(ItemContainer.__bc_dm, WorldMapLabelSize.__s_dq, AbstractByteArrayCopier.__gu_et, class2.fontBold12, Client.fontsMap, class192.mapSceneSprites);
|
||||
class60.worldMap0.init(ItemContainer.field434, WorldMapLabelSize.field1040, AbstractByteArrayCopier.field0, class2.fontBold12, Client.fontsMap, class192.mapSceneSprites);
|
||||
}
|
||||
|
||||
Login.Login_loadingText = "Loaded world map";
|
||||
Client.titleLoadingStage = 150;
|
||||
}
|
||||
} else if(Client.titleLoadingStage == 150) {
|
||||
} else if (Client.titleLoadingStage == 150) {
|
||||
GameShell.updateGameState(10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("ie")
|
||||
@@ -543,111 +538,116 @@ public class class171 {
|
||||
signature = "(IIIILjava/lang/String;I)V",
|
||||
garbageValue = "49247882"
|
||||
)
|
||||
static void method3494(int opIndex, int parentID, int childID, int itemID, String target) {
|
||||
Widget var5 = class204.getWidgetChild(parentID, childID);
|
||||
if(var5 != null) {
|
||||
if(var5.onOp != null) {
|
||||
static void method3494(int var0, int var1, int var2, int var3, String var4) {
|
||||
Widget var5 = class204.getWidgetChild(var1, var2);
|
||||
if (var5 != null) {
|
||||
if (var5.onOp != null) {
|
||||
ScriptEvent var6 = new ScriptEvent();
|
||||
var6.widget = var5;
|
||||
var6.opIndex = opIndex;
|
||||
var6.targetName = target;
|
||||
var6.opIndex = var0;
|
||||
var6.targetName = var4;
|
||||
var6.args0 = var5.onOp;
|
||||
AbstractIndexCache.runScript(var6);
|
||||
}
|
||||
|
||||
boolean var11 = true;
|
||||
if(var5.contentType > 0) {
|
||||
if (var5.contentType > 0) {
|
||||
var11 = ViewportMouse.method2957(var5);
|
||||
}
|
||||
|
||||
if(var11) {
|
||||
int var8 = class1.getWidgetClickMask(var5);
|
||||
int var9 = opIndex - 1;
|
||||
boolean var7 = (var8 >> var9 + 1 & 1) != 0;
|
||||
if(var7) {
|
||||
if (var11) {
|
||||
int var7 = class1.getWidgetClickMask(var5);
|
||||
int var8 = var0 - 1;
|
||||
boolean var9 = (var7 >> var8 + 1 & 1) != 0;
|
||||
if (var9) {
|
||||
PacketBufferNode var10;
|
||||
if(opIndex == 1) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_bi, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 1) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field290, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 2) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_b, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 2) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field243, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 3) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_aa, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 3) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field270, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 4) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_y, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 4) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field241, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 5) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_ad, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 5) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field262, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 6) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_br, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 6) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field288, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 7) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_cu, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 7) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field307, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 8) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_a, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 8) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field236, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 9) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_cj, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 9) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field306, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
if(opIndex == 10) {
|
||||
var10 = Interpreter.method1915(ClientPacket.__gs_m, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(parentID);
|
||||
var10.packetBuffer.writeShort(childID);
|
||||
var10.packetBuffer.writeShort(itemID);
|
||||
Client.packetWriter.__q_167(var10);
|
||||
if (var0 == 10) {
|
||||
var10 = Interpreter.method1915(ClientPacket.field222, Client.packetWriter.isaacCipher);
|
||||
var10.packetBuffer.writeInt(var1);
|
||||
var10.packetBuffer.writeShort(var2);
|
||||
var10.packetBuffer.writeShort(var3);
|
||||
Client.packetWriter.method241(var10);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static {
|
||||
field1117 = false;
|
||||
field1119 = new Hashtable(16);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user