Jump to content

Search the Community

Showing results for tags '783rs3'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. [B][U]Credits[/U][/B] [LIST] [*]Frosty [*]Aero [*]James [*]Leanbow - 414 Client Renamed [*]Method - 578 Client Renamed [/LIST] [IMG]http://i.imgur.com/UkXnYRS.png[/IMG] Wont help with this, I officialy Quit rsps, too much school work. hopefully people will find useful, and advance RSPSm Because no point in pre eoc server[B], Paragon is gonna kill them all in the end.[/B] [url]https://mega.co.nz/#!apQhkTiZ!E70qnB_pM39DQ_mPskz0HHQYYi05GjfpdHXLbYUwSVA[/url] Make minors my mega deletes files after so long idk why I dont care what you think about the naming so don't bother commenting about it thanks. Packets Found [QUOTE] PLAYER_RENDERING = new IncommingPacket(2, -2); GRAPHICS = new IncommingPacket(7, 12); WORLD_TILE_PACKET = new IncommingPacket(41, 3); RUN_CLIENT_SCRIPT = new IncommingPacket(72, -2); BUILD_SCENE_REGION = new IncommingPacket(77, -2); NPC_RENDERING = new IncommingPacket(88, -2); BUILD_SECONDARY_REGION = new IncommingPacket(154, -2); HINT_ICON_PACKET = new IncommingPacket(171, 14);[/QUOTE] Probally Most refractored class - frosty [code]/* Class624 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ import java.util.Arrays; public class ItemDefinition implements Interface15 { public int modelOffsetY; public static final int anInt7997 = 1; public static final int anInt7998 = 2; static final int anInt7999 = 6; static String aString8000; public static short[] aShortArray8001 = new short[256]; ItemDefinitionLoader loader; int anInt8003; public int anInt8004 = 199192679; int interfaceModelId; public String name = "null"; short[] originalModelColors; int anInt8008; short[] modifiedModelColors; short[] originalTextureColors; int anInt8011; int[] anIntArray8012; byte[] aByteArray8013; public int modelZoom = 310451536; public int modelRotationY = 0; public int modelRotationX = 0; public int notedItemId; public int value; int anInt8019; public int stackable; public int[] anIntArray8021; byte[] aByteArray8022; public boolean isMembers; public String[] groundOptions; public String[] inventoryOptions; int[] anIntArray8026; short[] modifiedTextureColors; public int equipSlot; public int teamId; public int anInt8030; int maleWornModelId1; int maleWornModelId2; int femaleWornModelId1; public int modelOffsetX; int maleWornModelId3; int femaleWornModelId3; int anInt8037; public int equipType; int anInt8039; int anInt8040; int anInt8041; Class431 itemData; int femaleWornModelId2; static final int anInt8044 = 5; int anInt8045; public int notedItemTemplate; byte[] aByteArray8047; int[] stackAmts; public int anInt8049 = 0; public int anInt8050; int lendItemTemplate; public int lendItemId; int[] stackIds; int anInt8054; int anInt8055; int anInt8056; int anInt8057; public static final int anInt8058 = 0; public boolean unnoted; public int anInt8060; public int anInt8061; int anInt8062; int anInt8063; int anInt8064; public int anInt8065; public boolean aBool8066; public int anInt8067; public boolean aBool8068; int anInt8069; public static Class243_Sub18 aClass243_Sub18_8070; public static FileSystem aClass272_8071; void dummy() { /* empty */ } void parseOpcodes(RS3Buffer stream, int opcode) { if (1 == opcode) interfaceModelId = stream.getLargeSmart() * -244263463; else if (opcode == 2) name = stream.getString(); else if (4 == opcode) modelZoom = stream.getUnsignedShort() * -1483755975; else if (5 == opcode) modelRotationY = stream.getUnsignedShort() * -1096599281; else if (6 == opcode) modelRotationX = stream.getUnsignedShort() * 683231883; else if (7 == opcode) { modelOffsetX = stream.getUnsignedShort() * -287305215; if (-899420671 * modelOffsetX > 32767) modelOffsetX -= 302055424; } else if (opcode == 8) { modelOffsetY = stream.getUnsignedShort() * 1468091311; if (593554255 * modelOffsetY > 32767) modelOffsetY -= 1269760000; } else if (opcode == 11) stackable = -553836087; else if (opcode == 12) value = stream.getInt() * -645103805; else if (13 == opcode) equipSlot = stream.getByte() * -2140474319; else if (14 == opcode) equipType = stream.getByte() * -1513872467; else if (16 == opcode) isMembers = true; else if (18 == opcode) anInt8061 = stream.getUnsignedShort() * -1708367165; else if (opcode == 23) maleWornModelId1 = stream.getLargeSmart() * -1400664287; else if (opcode == 24) maleWornModelId2 = stream.getLargeSmart() * 770983733; else if (25 == opcode) femaleWornModelId1 = stream.getLargeSmart() * -139127103; else if (opcode == 26) femaleWornModelId2 = stream.getLargeSmart() * 2058014111; else if (opcode == 27) anInt8030 = stream.getByte() * 1374700175; else if (opcode >= 30 && opcode < 35) groundOptions[opcode - 30] = stream.getString(); else if (opcode >= 35 && opcode < 40) inventoryOptions[opcode - 35] = stream.getString(); else if (40 == opcode) { int id = stream.getByte(); originalModelColors = new short[id]; modifiedModelColors = new short[id]; for (int i_7_ = 0; i_7_ < id; i_7_++) { originalModelColors[i_7_] = (short) stream .getUnsignedShort(); modifiedModelColors[i_7_] = (short) stream .getUnsignedShort(); } } else if (opcode == 41) { int id = stream.getByte(); originalTextureColors = new short[id]; modifiedTextureColors = new short[id]; for (int i_9_ = 0; i_9_ < id; i_9_++) { originalTextureColors[i_9_] = (short) stream .getUnsignedShort(); modifiedTextureColors[i_9_] = (short) stream .getUnsignedShort(); } } else if (42 == opcode) { int i_10_ = stream.getByte(); aByteArray8047 = new byte[i_10_]; for (int i_11_ = 0; i_11_ < i_10_; i_11_++) aByteArray8047[i_11_] = stream.getUnsignedByte(); } else if (43 == opcode) { anInt8067 = stream.getInt() * 2095751343; aBool8066 = true; } else if (44 == opcode) { int i_12_ = stream.getUnsignedShort(); int i_13_ = 0; for (int i_14_ = i_12_; i_14_ > 0; i_14_ >>= 1) i_13_++; aByteArray8022 = new byte[i_13_]; byte i_15_ = 0; for (int i_16_ = 0; i_16_ < i_13_; i_16_++) { if ((i_12_ & 1 << i_16_) > 0) { aByteArray8022[i_16_] = i_15_; i_15_++; } else aByteArray8022[i_16_] = (byte) -1; } } else if (45 == opcode) { int i_17_ = stream.getUnsignedShort(); int i_18_ = 0; for (int i_19_ = i_17_; i_19_ > 0; i_19_ >>= 1) i_18_++; aByteArray8013 = new byte[i_18_]; byte i_20_ = 0; for (int i_21_ = 0; i_21_ < i_18_; i_21_++) { if ((i_17_ & 1 << i_21_) > 0) { aByteArray8013[i_21_] = i_20_; i_20_++; } else aByteArray8013[i_21_] = (byte) -1; } } else if (opcode == 65) unnoted = true; else if (78 == opcode) maleWornModelId3 = stream.getLargeSmart() * -524721615; else if (opcode == 79) femaleWornModelId3 = stream.getLargeSmart() * 1036021747; else if (opcode == 90) anInt8069 = stream.getLargeSmart() * -2144982921; else if (opcode == 91) anInt8045 = stream.getLargeSmart() * 2087360531; else if (92 == opcode) anInt8062 = stream.getLargeSmart() * 1714366293; else if (93 == opcode) anInt8063 = stream.getLargeSmart() * 1136883173; else if (opcode == 94) anInt8004 = stream.getUnsignedShort() * -199192679; else if (95 == opcode) anInt8049 = stream.getUnsignedShort() * -1799727843; else if (96 == opcode) anInt8060 = stream.getByte() * -1092386797; else if (opcode == 97) notedItemTemplate = stream.getUnsignedShort() * -359079779; else if (98 == opcode) notedItemId = stream.getUnsignedShort() * 771669959; else if (opcode >= 100 && opcode < 110) { if (stackIds == null) { stackIds = new int[10]; stackAmts = new int[10]; } stackIds[opcode - 100] = stream.getUnsignedShort(); stackAmts[opcode - 100] = stream.getUnsignedShort(); } else if (opcode == 110) anInt8057 = stream.getUnsignedShort() * 662563533; else if (111 == opcode) anInt8054 = stream.getUnsignedShort() * -38056303; else if (opcode == 112) anInt8019 = stream.getUnsignedShort() * 1452103199; else if (113 == opcode) anInt8056 = stream.getUnsignedByte() * -1964383067; else if (opcode == 114) anInt8011 = stream.getUnsignedByte() * -449256475; else if (115 == opcode) teamId = stream.getByte() * -732767925; else if (opcode == 121) lendItemTemplate = stream.getUnsignedShort() * -385102623; else if (122 == opcode) lendItemId = stream.getUnsignedShort() * -108153047; else if (opcode == 125) { anInt8037 = (stream.getUnsignedByte() << 2) * 84462661; anInt8039 = (stream.getUnsignedByte() << 2) * -1296196871; anInt8041 = (stream.getUnsignedByte() << 2) * 1920287399; } else if (126 == opcode) { anInt8008 = (stream.getUnsignedByte() << 2) * -1814935325; anInt8040 = (stream.getUnsignedByte() << 2) * 651062963; anInt8055 = (stream.getUnsignedByte() << 2) * 1266191261; } else if (opcode == 127 || opcode == 128 || 129 == opcode || opcode == 130) { stream.getByte(); stream.getUnsignedShort(); } else if (132 == opcode) { int i_22_ = stream.getByte(); anIntArray8021 = new int[i_22_]; for (int i_23_ = 0; i_23_ < i_22_; i_23_++) anIntArray8021[i_23_] = stream.getUnsignedShort(); } else if (134 == opcode) anInt8050 = stream.getByte() * 2038554607; else if (opcode == 139) anInt8064 = stream.getUnsignedShort() * -1721280219; else if (opcode == 140) anInt8065 = stream.getUnsignedShort() * -1652382939; else if (opcode >= 142 && opcode < 147) { if (null == anIntArray8026) { anIntArray8026 = new int[6]; Arrays.fill(anIntArray8026, -1); } anIntArray8026[opcode - 142] = stream.getUnsignedShort(); } else if (opcode >= 150 && opcode < 155) { if (null == anIntArray8012) { anIntArray8012 = new int[5]; Arrays.fill(anIntArray8012, -1); } anIntArray8012[opcode - 150] = stream.getUnsignedShort(); } else if (opcode != 156) { if (157 == opcode) aBool8068 = true; else if (opcode == 249) { int i_24_ = stream.getByte(); if (itemData == null) { int i_25_ = Class251.method5028(i_24_, (short) 851); itemData = new Class431(i_25_); } for (int i_26_ = 0; i_26_ < i_24_; i_26_++) { boolean bool = stream.getByte() == 1; int i_27_ = stream.get24BitInt(); Node class243; if (bool) class243 = new Class243_Sub35( stream.getString()); else class243 = new Class243_Sub9( stream.getInt()); itemData.method7748(class243, i_27_); } } } } void makeNote(ItemDefinition template, ItemDefinition note, TextTranslation textTranslation) { interfaceModelId = 1 * template.interfaceModelId; modelZoom = template.modelZoom * 1; modelRotationY = template.modelRotationY * 1; modelRotationX = template.modelRotationX * 1; anInt8049 = template.anInt8049 * 1; modelOffsetX = template.modelOffsetX * 1; modelOffsetY = template.modelOffsetY * 1; boolean bool = null == textTranslation; ItemDefinition class624_30_ = bool ? template : note; originalModelColors = class624_30_.originalModelColors; modifiedModelColors = class624_30_.modifiedModelColors; aByteArray8047 = class624_30_.aByteArray8047; originalTextureColors = class624_30_.originalTextureColors; modifiedTextureColors = class624_30_.modifiedTextureColors; name = note.name; isMembers = note.isMembers; if (bool) { value = note.value * 1; stackable = -553836087; } else { value = 0; stackable = note.stackable * 1; equipSlot = note.equipSlot * 1; equipType = note.equipType * 1; anInt8030 = note.anInt8030 * 1; maleWornModelId1 = note.maleWornModelId1 * 1; maleWornModelId2 = note.maleWornModelId2 * 1; maleWornModelId3 = note.maleWornModelId3 * 1; femaleWornModelId1 = note.femaleWornModelId1 * 1; femaleWornModelId2 = note.femaleWornModelId2 * 1; femaleWornModelId3 = note.femaleWornModelId3 * 1; anInt8037 = note.anInt8037 * 1; anInt8008 = note.anInt8008 * 1; anInt8039 = note.anInt8039 * 1; anInt8040 = note.anInt8040 * 1; anInt8041 = note.anInt8041 * 1; anInt8055 = note.anInt8055 * 1; anInt8069 = note.anInt8069 * 1; anInt8062 = note.anInt8062 * 1; anInt8045 = note.anInt8045 * 1; anInt8063 = note.anInt8063 * 1; anInt8004 = note.anInt8004 * 1; teamId = note.teamId * 1; groundOptions = note.groundOptions; itemData = note.itemData; inventoryOptions = new String[5]; if (null != note.inventoryOptions) { for (int index = 0; index < 4; index++) inventoryOptions[index] = note.inventoryOptions[index]; } inventoryOptions[4] = textTranslation.method7264( (loader.aClass457_7800)); } } void method13403(ItemDefinition itemDef, ItemDefinition itemDef_sub1) { makeNote(itemDef, itemDef_sub1, null); } void method13404(ItemDefinition itemDef, ItemDefinition itemDef_sub1) { makeNote(itemDef, itemDef_sub1, TextTranslation.aClass400_5766); } void method13405(ItemDefinition itemDef, ItemDefinition itemDef_sub1) { makeNote(itemDef, itemDef_sub1, TextTranslation.aClass400_5767); } public final Model getEquipmentModelColors(boolean bool, Class628 class628) { int i_38_; int i_39_; if (bool) { if (null != class628 && class628.anIntArray8093 != null) { i_38_ = class628.anIntArray8093[0]; i_39_ = class628.anIntArray8093[1]; } else { i_38_ = anInt8045 * 251720219; i_39_ = 1096728557 * anInt8063; } } else if (class628 != null && class628.anIntArray8086 != null) { i_38_ = class628.anIntArray8086[0]; i_39_ = class628.anIntArray8086[1]; } else { i_38_ = -323735225 * anInt8069; i_39_ = anInt8062 * -1993630211; } if (-1 == i_38_) return null; Model model = Model.createModel((loader.aClass272_7803), i_38_, 0); if (model.anInt1095 < 13) model.method2604(2); if (i_39_ != -1) { Model class98_40_ = Model.createModel( (loader.aClass272_7803), i_39_, 0); if (class98_40_.anInt1095 < 13) class98_40_.method2604(2); Model[] class98s = { model, class98_40_ }; model = new Model(class98s, 2); } if (null != originalModelColors) { short[] is; if (null != class628 && class628.aShortArray8094 != null) is = class628.aShortArray8094; else is = modifiedModelColors; for (int i_41_ = 0; i_41_ < originalModelColors.length; i_41_++) model.method2565(originalModelColors[i_41_], is[i_41_]); } if (null != originalTextureColors) { short[] is; if (class628 != null && class628.aShortArray8095 != null) is = class628.aShortArray8095; else is = modifiedTextureColors; for (int i_42_ = 0; i_42_ < originalTextureColors.length; i_42_++) model.method2583(originalTextureColors[i_42_], is[i_42_]); } return model; } int[] method13409(int[] is, int i) { int[] is_46_ = new int[1152]; int i_47_ = 0; for (int i_48_ = 0; i_48_ < 32; i_48_++) { for (int i_49_ = 0; i_49_ < 36; i_49_++) { int i_50_ = is[i_47_]; if (i_50_ == 0) { if (i_49_ > 0 && is[i_47_ - 1] != 0) i_50_ = i; else if (i_48_ > 0 && 0 != is[i_47_ - 36]) i_50_ = i; else if (i_49_ < 35 && 0 != is[1 + i_47_]) i_50_ = i; else if (i_48_ < 31 && 0 != is[36 + i_47_]) i_50_ = i; } is_46_[i_47_++] = i_50_; } } return is_46_; } void method13410(int[] is, int i) { for (int i_52_ = 31; i_52_ > 0; i_52_--) { int i_53_ = 36 * i_52_; for (int i_54_ = 35; i_54_ > 0; i_54_--) { if (is[i_53_ + i_54_] == 0 && is[i_54_ + i_53_ - 1 - 36] != 0) is[i_54_ + i_53_] = i; } } } public final boolean method13413(boolean bool, Class628 class628) { int i_57_; int i_58_; if (bool) { if (class628 != null && class628.anIntArray8093 != null) { i_57_ = class628.anIntArray8093[0]; i_58_ = class628.anIntArray8093[1]; } else { i_57_ = anInt8045 * 251720219; i_58_ = 1096728557 * anInt8063; } } else if (class628 != null && class628.anIntArray8086 != null) { i_57_ = class628.anIntArray8086[0]; i_58_ = class628.anIntArray8086[1]; } else { i_57_ = anInt8069 * -323735225; i_58_ = anInt8062 * -1993630211; } if (-1 == i_57_) return true; boolean bool_59_ = true; if (!loader.aClass272_7803.method5309(i_57_, 0, -1986301511)) bool_59_ = false; if (i_58_ != -1 && !loader.aClass272_7803.method5309(i_58_, 0, -1694209803)) bool_59_ = false; return bool_59_; } public ItemDefinition getStackDefinition(int amount) { if (null != stackIds && amount > 1) { int id = -1; for (int i = 0; i < 10; i++) { if (amount >= stackAmts[i] && 0 != stackAmts[i]) id = stackIds[i]; } if (-1 != id) return loader.getItemDefinition(id, 1024835388); } return this; } public int method13415(int i, int i_63_) { if (null == itemData) return i_63_; Class243_Sub9 class243_sub9 = ((Class243_Sub9) itemData .method7744(i)); if (null == class243_sub9) return i_63_; return class243_sub9.anInt8679 * 1627367037; } public String method13416(int i, String string) { if (null == itemData) return string; Class243_Sub35 class243_sub35 = ((Class243_Sub35) itemData .method7744(i)); if (class243_sub35 == null) return string; return (String) class243_sub35.anObject9919; } public int method13417(int i, byte i_66_) { if (anIntArray8026 == null) { if (i_66_ == -1) throw new IllegalStateException(); return -1; } return anIntArray8026[i]; } public int method13418(int i) { if (anIntArray8012 == null) return -1; return anIntArray8012[i]; } static { aString8000 = "</col>"; } ItemDefinition() { modelOffsetX = 0; modelOffsetY = 0; stackable = 0; anInt8061 = 1708367165; value = -645103805; isMembers = false; equipSlot = 2140474319; equipType = 1513872467; anInt8030 = -1374700175; maleWornModelId1 = 1400664287; maleWornModelId2 = -770983733; femaleWornModelId1 = 139127103; femaleWornModelId2 = -2058014111; maleWornModelId3 = 524721615; femaleWornModelId3 = -1036021747; anInt8037 = 0; anInt8008 = 0; anInt8039 = 0; anInt8040 = 0; anInt8041 = 0; anInt8055 = 0; anInt8069 = 2144982921; anInt8062 = -1714366293; anInt8045 = -2087360531; anInt8063 = -1136883173; notedItemTemplate = 359079779; notedItemId = -771669959; lendItemTemplate = 385102623; lendItemId = 108153047; anInt8057 = -1091213696; anInt8054 = -576239488; anInt8019 = 1185615744; anInt8056 = 0; anInt8011 = 0; teamId = 0; unnoted = false; anInt8060 = 0; anInt8050 = 0; anInt8064 = 1721280219; anInt8065 = 1652382939; aBool8066 = false; aBool8068 = false; } void decode(RS3Buffer stream) { for (;;) { int opcode = stream.getByte(); if (0 == opcode) break; parseOpcodes(stream, opcode); } } public int[] method13447(Class87 class87, Class87 class87_183_, int i, int i_184_, int i_185_, boolean bool, int i_186_, Class99 class99, PlayerComposite playerComposite, Class506 class506) { Model model = Model.createModel((loader.aClass272_7803), 1369070185 * interfaceModelId, 0); if (null == model) return null; if (model.anInt1095 < 13) model.method2604(2); if (null != originalModelColors) { for (int i_188_ = 0; i_188_ < originalModelColors.length; i_188_++) { if (aByteArray8047 != null && i_188_ < aByteArray8047.length) model.method2565((originalModelColors[i_188_]), aShortArray8001[(aByteArray8047[i_188_]) & 0xff]); else model.method2565((originalModelColors[i_188_]), (modifiedModelColors[i_188_])); } } if (null != originalTextureColors) { for (int i_189_ = 0; i_189_ < originalTextureColors.length; i_189_++) model.method2583(originalTextureColors[i_189_], modifiedTextureColors[i_189_]); } if (playerComposite != null) { for (int i_190_ = 0; i_190_ < 10; i_190_++) { for (int i_191_ = 0; i_191_ < Class241.aShortArrayArray3900[i_190_].length; i_191_++) { if (playerComposite.anIntArray6491[i_190_] < (Class241.aShortArrayArrayArray3901[i_190_][i_191_]).length) model.method2565( (Class241.aShortArrayArray3900[i_190_][i_191_]), (Class241.aShortArrayArrayArray3901[i_190_][i_191_][(playerComposite.anIntArray6491[i_190_])])); } } } int i_192_ = 2048; boolean bool_193_ = false; if (128 != 1881674245 * anInt8057 || 128 != 207237745 * anInt8054 || anInt8019 * 1906353631 != 128) { bool_193_ = true; i_192_ |= 0x7; } ScreenSpaceModel screenSpaceModel = class87.method2157(model, i_192_, 64, 64 + anInt8056 * -420781267, (anInt8011 * 910502305 + 768)); if (!screenSpaceModel.method2048()) return null; if (bool_193_) screenSpaceModel.method2001(anInt8057 * 1881674245, anInt8054 * 207237745, anInt8019 * 1906353631); Sprite sprite = null; if (356602359 * notedItemId != -1) { sprite = (loader.method13196(class87, class87_183_, notedItemTemplate * 2054464949, 10, 1, 0, true, true, 0, class99, playerComposite, class506, 479437505)); if (null == sprite) return null; } else if (-1 != 103077145 * lendItemId) { sprite = (loader.method13196(class87, class87_183_, lendItemTemplate * 1929279265, i, i_184_, i_185_, false, true, 0, class99, playerComposite, class506, 1951874992)); if (sprite == null) return null; } else if (-1 != 1110229165 * anInt8065) { sprite = (loader.method13196(class87, class87_183_, 1849629357 * anInt8064, i, i_184_, i_185_, false, true, 0, class99, playerComposite, class506, 1328496925)); if (sprite == null) return null; } int i_194_; if (bool) i_194_ = (int) (1.5 * (modelZoom * 1602871305)) << 2; else if (2 == i_184_) i_194_ = (int) (modelZoom * 1602871305 * 1.04) << 2; else i_194_ = modelZoom * 1602871305 << 2; Class276 class276 = class87.method2167(); Class276 class276_195_ = class87.method2154(); class276_195_.method5470(16.0F, 16.0F, 512.0F, 512.0F, 50.0F, 2.14748365E9F, class87.method2164(-1047318152).method3826(), class87.method2164(-204577245).method3836()); class87.method2166(class276_195_); class87.method2110(0, 0, class87.method2164(113304453).method3826(), class87.method2164(-1101423365).method3836()); Class350 class350 = new Class350(); class87.method2320(class350); class87.method2311(0.95F + (float) (Math.random() / 10.0)); class87.method2169(16777215, 0.95F + (float) (Math.random() / 10.0), 0.95F + (float) (Math.random() / 10.0), -50.0F, -10.0F, -50.0F); Class350 class350_196_ = class87.method2155(); class350_196_.method6558(0.0F, 0.0F, 1.0F, GraphicsToolkit.method6483(-(946148661 * anInt8049) << 3)); class350_196_.method6561(0.0F, 1.0F, 0.0F, GraphicsToolkit.method6483(1956465955 * modelRotationX << 3)); class350_196_ .method6564( modelOffsetX * -899420671 << 2, (((GraphicsToolkit.SINES[-1810328081 * modelRotationY << 3]) * i_194_) >> 14) - screenSpaceModel.method1899() / 2 + (593554255 * modelOffsetY << 2), (593554255 * modelOffsetY << 2) + (((GraphicsToolkit.COSINES[-1810328081 * modelRotationY << 3]) * i_194_) >> 14)); class350_196_.method6561(1.0F, 0.0F, 0.0F, GraphicsToolkit.method6483(-1810328081 * modelRotationY << 3)); class87.method2113(0, 0, 36, 32); class87.method2117(2, 0); class87.method2125(0, 0, 36, 32, 0, 0); class87.method2244(0, -1, 0); screenSpaceModel.method1904(class350_196_, null, 1); class87.method2166(class276); int[] is = class87.method2242(0, 0, 36, 32); if (i_184_ >= 1) { is = method13409(is, -16777214); if (i_184_ >= 2) is = method13409(is, -1); } if (0 != i_185_) method13410(is, i_185_); if (-1 != lendItemId * 103077145) sprite.method3352(0, 0); else if (-1 != 1110229165 * anInt8065) sprite.method3352(0, 0); class87.method2145(is, 0, 36, 36, 32, -231328002).method3352(0, 0); if (-1 != 356602359 * notedItemId) sprite.method3352(0, 0); if (1 == i_186_ || i_186_ == 2 && (1 == stackable * 1128712313 || 1 != i) && i != -1) class99.method2657(Class192.method4112(i, ((loader).aClass457_7800), class506, -1719191053), 0, 9, -256, -16777215, -114190085); is = class87.method2242(0, 0, 36, 32); for (int i_197_ = 0; i_197_ < is.length; i_197_++) { if (0 == (is[i_197_] & 0xffffff)) is[i_197_] = 0; else is[i_197_] |= ~0xffffff; } return is; } public final ScreenSpaceModel getScreenModel(Class87 class87, int i, int stack, PlayerComposite playerComposite, Animation animation, int i_204_, int i_205_, int i_206_, int i_207_) { if (stackIds != null && stack > 1) { int stackId = -1; for (int index = 0; index < 10; index++) { if (stack >= stackAmts[index] && 0 != stackAmts[index]) stackId = stackIds[index]; } if (-1 != stackId) return (loader.getItemDefinition(stackId, 1511312779) .getScreenModel(class87, i, 1, playerComposite, animation, i_204_, i_205_, i_206_, i_207_)); } int i_211_ = i; if (animation != null) i_211_ |= animation.method7620(-1063907186); ScreenSpaceModel screenSpaceModel; synchronized (loader.cache50) { screenSpaceModel = (ScreenSpaceModel) (loader.cache50 .get(-1302178035 * anInt8003 | class87.anInt987 * -587811495 << 29)); } if (null == screenSpaceModel || class87.method2158(screenSpaceModel.method1963(), i_211_) != 0) { if (null != screenSpaceModel) i_211_ = class87.method2159(i_211_, screenSpaceModel.method1963()); int i_212_ = i_211_; if (null != originalTextureColors) i_212_ |= 0x8000; if (null != originalModelColors || null != playerComposite) i_212_ |= 0x4000; if (128 != anInt8057 * 1881674245) i_212_ |= 0x1; if (207237745 * anInt8054 != 128) i_212_ |= 0x2; if (1906353631 * anInt8019 != 128) i_212_ |= 0x4; Model model = Model.createModel( (loader.aClass272_7803), interfaceModelId * 1369070185, 0); if (null == model) return null; if (model.anInt1095 < 13) model.method2604(2); screenSpaceModel = (class87.method2157(model, i_212_, -365211053 * (loader.anInt7808), -420781267 * anInt8056 + 64, 910502305 * anInt8011 + 850)); if (128 != 1881674245 * anInt8057 || 128 != anInt8054 * 207237745 || anInt8019 * 1906353631 != 128) screenSpaceModel.method2001(1881674245 * anInt8057, anInt8054 * 207237745, 1906353631 * anInt8019); if (null != originalModelColors) { for (int i_213_ = 0; i_213_ < originalModelColors.length; i_213_++) { if (null != aByteArray8047 && i_213_ < aByteArray8047.length) screenSpaceModel .method1922( (originalModelColors[i_213_]), aShortArray8001[(aByteArray8047[i_213_]) & 0xff]); else screenSpaceModel.method1922( (originalModelColors[i_213_]), (modifiedModelColors[i_213_])); } } if (originalTextureColors != null) { for (int i_214_ = 0; i_214_ < originalTextureColors.length; i_214_++) screenSpaceModel.method1924( (originalTextureColors[i_214_]), (modifiedTextureColors[i_214_])); } if (playerComposite != null) { for (int i_215_ = 0; i_215_ < 10; i_215_++) { for (int i_216_ = 0; i_216_ < Class241.aShortArrayArray3900[i_215_].length; i_216_++) { if (playerComposite.anIntArray6491[i_215_] < (Class241.aShortArrayArrayArray3901[i_215_][i_216_]).length) screenSpaceModel .method1922( Class241.aShortArrayArray3900[i_215_][i_216_], (Class241.aShortArrayArrayArray3901[i_215_][i_216_][playerComposite.anIntArray6491[i_215_]])); } } } screenSpaceModel.method2013(i_211_); synchronized (loader.cache50) { loader.cache50.method3293(screenSpaceModel, anInt8003 * -1302178035 | class87.anInt987 * -587811495 << 29); } } if (animation != null || 0 != i_207_) { screenSpaceModel = screenSpaceModel.method1930((byte) 1, i_211_, true); if (animation != null) animation.method7599(screenSpaceModel, 0, (byte) 38); if (0 != i_207_) screenSpaceModel.method1967(i_204_, i_205_, i_206_, i_207_); } screenSpaceModel.method2013(i); return screenSpaceModel; } public final Model method13460(boolean bool, Class628 class628) { int i_243_; int i_244_; int i_245_; if (bool) { if (class628 != null && class628.anIntArray8091 != null) { i_243_ = class628.anIntArray8091[0]; i_244_ = class628.anIntArray8091[1]; i_245_ = class628.anIntArray8091[2]; } else { i_243_ = femaleWornModelId1 * 2017753409; i_244_ = 1379995231 * femaleWornModelId2; i_245_ = -557792965 * femaleWornModelId3; } } else if (class628 != null && null != class628.anIntArray8089) { i_243_ = class628.anIntArray8089[0]; i_244_ = class628.anIntArray8089[1]; i_245_ = class628.anIntArray8089[2]; } else { i_243_ = maleWornModelId1 * -734219039; i_244_ = 339677981 * maleWornModelId2; i_245_ = -1135036719 * maleWornModelId3; } if (i_243_ == -1) return null; Model model = Model.createModel((loader.aClass272_7803), i_243_, 0); if (null == model) return null; if (model.anInt1095 < 13) model.method2604(2); if (i_244_ != -1) { Model class98_246_ = Model.createModel( (loader.aClass272_7803), i_244_, 0); if (class98_246_.anInt1095 < 13) class98_246_.method2604(2); if (i_245_ != -1) { Model class98_247_ = Model.createModel( (loader.aClass272_7803), i_245_, 0); if (class98_247_.anInt1095 < 13) class98_247_.method2604(2); Model[] class98s = { model, class98_246_, class98_247_ }; model = new Model(class98s, 3); } else { Model[] class98s = { model, class98_246_ }; model = new Model(class98s, 2); } } if (!bool && (0 != anInt8037 * -604739955 || 0 != anInt8039 * -1463679159 || 260064535 * anInt8041 != 0)) model.method2567(anInt8037 * -604739955, -1463679159 * anInt8039, 260064535 * anInt8041); if (bool && (0 != anInt8008 * -350667573 || 0 != anInt8040 * -715919237 || 0 != 640766645 * anInt8055)) model.method2567(anInt8008 * -350667573, anInt8040 * -715919237, 640766645 * anInt8055); if (null != originalModelColors) { short[] is; if (null != class628 && null != class628.aShortArray8094) is = class628.aShortArray8094; else is = modifiedModelColors; for (int i_248_ = 0; i_248_ < originalModelColors.length; i_248_++) model.method2565(originalModelColors[i_248_], is[i_248_]); } if (null != originalTextureColors) { short[] is; if (null != class628 && class628.aShortArray8095 != null) is = class628.aShortArray8095; else is = modifiedTextureColors; for (int i_249_ = 0; i_249_ < originalTextureColors.length; i_249_++) model.method2583(originalTextureColors[i_249_], is[i_249_]); } return model; } public final boolean method13464(boolean bool, Class628 class628) { int i_250_; int i_251_; int i_252_; if (bool) { if (class628 != null && class628.anIntArray8091 != null) { i_250_ = class628.anIntArray8091[0]; i_251_ = class628.anIntArray8091[1]; i_252_ = class628.anIntArray8091[2]; } else { i_250_ = femaleWornModelId1 * 2017753409; i_251_ = femaleWornModelId2 * 1379995231; i_252_ = -557792965 * femaleWornModelId3; } } else if (class628 != null && class628.anIntArray8089 != null) { i_250_ = class628.anIntArray8089[0]; i_251_ = class628.anIntArray8089[1]; i_252_ = class628.anIntArray8089[2]; } else { i_250_ = maleWornModelId1 * -734219039; i_251_ = maleWornModelId2 * 339677981; i_252_ = -1135036719 * maleWornModelId3; } if (i_250_ == -1) return true; boolean bool_253_ = true; if (!loader.aClass272_7803.method5309(i_250_, 0, -1094604774)) bool_253_ = false; if (i_251_ != -1 && !loader.aClass272_7803.method5309(i_251_, 0, -1112548174)) bool_253_ = false; if (i_252_ != -1 && !loader.aClass272_7803.method5309(i_252_, 0, -1575227021)) bool_253_ = false; return bool_253_; } } [/code]
×