Jump to content

Bezza

Member
  • Content count

    94
  • Joined

  • Last visited

About Bezza

  • Rank
    Iron Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. this is a completely different framework written by the virtue team, Source: https://www.dropbox.com/sh/ia54wg8m32qzqfi/AAAarHOOasXOpgLfPkzWIGcoa?dl=0 Client: https://www.dropbox.com/sh/9rbt6tfn2b3hgou/AAAgvQY7nCcPDaKgzq10re78a?dl=0 Cache: https://mega.co.nz/#!PgpxiTaS!I80PW8PNOPWWgZ5kufALy5egoTYxwkByyVxSHNuievE 40+ packets package org.virtue.game.event; import java.util.HashMap; import java.util.Map; import org.virtue.game.entity.player.Player; import org.virtue.game.event.context.ButtonClickEventContext.Button; import org.virtue.game.event.encoder.FriendChannelEncoder; import org.virtue.game.event.encoder.IComponentSettingsEvent; import org.virtue.game.event.encoder.ItemUpdateEvent; import org.virtue.game.event.encoder.LogoutEvent; import org.virtue.game.event.encoder.RootWidgetEvent; import org.virtue.game.event.encoder.Runscript; import org.virtue.game.event.encoder.SceneGraphEvent; import org.virtue.game.event.encoder.SendFriendsEvent; import org.virtue.game.event.encoder.SendGroundItemEvent; import org.virtue.game.event.encoder.SendIgnoresEvent; import org.virtue.game.event.encoder.SendMessageEvent; import org.virtue.game.event.encoder.SkillUpdateEvent; import org.virtue.game.event.encoder.VarpEvent; import org.virtue.game.event.encoder.WidgetEvent; import org.virtue.game.event.handler.ButtonClickEventHandler; import org.virtue.game.event.handler.ChatTypeHandler; import org.virtue.game.event.handler.CommandEventHandler; import org.virtue.game.event.handler.EmptyEventHandler; import org.virtue.game.event.handler.KeepAliveEventHandler; import org.virtue.game.event.handler.LobbyLinkEventHandler; import org.virtue.game.event.handler.MessageHandler; import org.virtue.game.event.handler.ReportPlayerEventHandler; import org.virtue.game.event.handler.SocialEventHandler; import org.virtue.game.event.handler.WorldListEventHandler; import org.virtue.game.event.impl.ButtonClickEvent; import org.virtue.game.event.impl.ChatTypeEvent; import org.virtue.game.event.impl.CommandEvent; import org.virtue.game.event.impl.EmptyEvent; import org.virtue.game.event.impl.KeepAliveEvent; import org.virtue.game.event.impl.LobbyLinkEvent; import org.virtue.game.event.impl.OnlineStatusEvent; import org.virtue.game.event.impl.PrivateMessageEvent; import org.virtue.game.event.impl.PublicMessageEvent; import org.virtue.game.event.impl.ReportPlayerEvent; import org.virtue.game.event.impl.ScreenEvent; import org.virtue.game.event.impl.SimpleEvent; import org.virtue.game.event.impl.SocialEvent; import org.virtue.game.event.impl.UnlockFriendsEvent; import org.virtue.game.event.impl.WorldListEvent; import org.virtue.network.io.OutBuffer; /** * @author Tom * */ public class GameEventRepository { private Map<Integer, GameEventDefinition> readEvents = new HashMap<>(); private Map<Class<?>, GameEventEncoder<? extends GameEventContext>> writeEvents = new HashMap<>(); public void load() { registerReadEvent(IncommingEventType.KEEP_ALIVE, new KeepAliveEvent(), new KeepAliveEventHandler()); registerReadEvent(IncommingEventType.WORLDLIST_FETCH, new WorldListEvent(), new WorldListEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_1, new ButtonClickEvent(Button.ONE), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_2, new ButtonClickEvent(Button.TWO), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_3, new ButtonClickEvent(Button.THREE), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_4, new ButtonClickEvent(Button.FOUR), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_5, new ButtonClickEvent(Button.FIVE), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_6, new ButtonClickEvent(Button.SIX), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_7, new ButtonClickEvent(Button.SEVEN), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_8, new ButtonClickEvent(Button.EIGHT), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_9, new ButtonClickEvent(Button.NINE), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.IF_OPTION_10, new ButtonClickEvent(Button.TEN), new ButtonClickEventHandler()); registerReadEvent(IncommingEventType.WINDOW_STATUS, new ScreenEvent(), null); registerReadEvent(IncommingEventType.URL_REQUEST, new LobbyLinkEvent(), new LobbyLinkEventHandler()); registerReadEvent(IncommingEventType.FRIENDLIST_ADD, new SocialEvent(SocialEvent.Type.ADD_FRIEND), new SocialEventHandler(SocialEvent.Type.ADD_FRIEND)); registerReadEvent(IncommingEventType.IGNORELIST_ADD, new SocialEvent(SocialEvent.Type.ADD_IGNORE), new SocialEventHandler(SocialEvent.Type.ADD_IGNORE)); registerReadEvent(IncommingEventType.FRIENDLIST_DEL, new SocialEvent(SocialEvent.Type.REMOVE_FRIEND), new SocialEventHandler(SocialEvent.Type.REMOVE_FRIEND)); registerReadEvent(IncommingEventType.IGNORELIST_DEL, new SocialEvent(SocialEvent.Type.REMOVE_IGNORE), new SocialEventHandler(SocialEvent.Type.REMOVE_IGNORE)); registerReadEvent(IncommingEventType.FRIENDCHAT_JOIN_LEAVE, new SocialEvent(SocialEvent.Type.JOIN_FRIENDCHAT), new SocialEventHandler(SocialEvent.Type.JOIN_FRIENDCHAT)); registerReadEvent(IncommingEventType.FRIENDCHAT_KICK, new SocialEvent(SocialEvent.Type.KICK_FRIENDCHAT), new SocialEventHandler(SocialEvent.Type.KICK_FRIENDCHAT)); registerReadEvent(IncommingEventType.MESSAGE_PUBLIC, new PublicMessageEvent(), new MessageHandler()); registerReadEvent(IncommingEventType.MESSAGE_PRIVATE, new PrivateMessageEvent(), new MessageHandler()); registerReadEvent(IncommingEventType.CHAT_SETMODE, new ChatTypeEvent(), new ChatTypeHandler()); registerReadEvent(IncommingEventType.SEND_REPORT, new ReportPlayerEvent(), new ReportPlayerEventHandler()); registerReadEvent(IncommingEventType.EVENT_MOUSE_MOVE, new EmptyEvent(), new EmptyEventHandler());//Mouse move registerReadEvent(IncommingEventType.EVENT_MOUSE_CLICK, new EmptyEvent(), new EmptyEventHandler());//Mouse click registerReadEvent(IncommingEventType.EVENT_KEYBOARD, new EmptyEvent(), new EmptyEventHandler());//Key press registerReadEvent(IncommingEventType.EVENT_CAMERA_POSITION, new EmptyEvent(), new EmptyEventHandler());//Camera move registerReadEvent(IncommingEventType.EVENT_APPLET_FOCUS, new EmptyEvent(), new EmptyEventHandler());//Focused registerReadEvent(IncommingEventType.COMMAND, new CommandEvent(), new CommandEventHandler()); System.out.println("Registered " + readEvents.size() + " game read events."); registerWriteEvent(VarpEvent.class); registerWriteEvent(KeepAliveEvent.class); registerWriteEvent(WorldListEvent.class); registerWriteEvent(RootWidgetEvent.class); registerWriteEvent(SceneGraphEvent.class); registerWriteEvent(WidgetEvent.class); registerWriteEvent(IComponentSettingsEvent.class); registerWriteEvent(Runscript.class); registerWriteEvent(SkillUpdateEvent.class); registerWriteEvent(SendMessageEvent.class); registerWriteEvent(ItemUpdateEvent.class); registerWriteEvent(SendGroundItemEvent.class); registerWriteEvent(OnlineStatusEvent.class); registerWriteEvent(UnlockFriendsEvent.class); registerWriteEvent(SendFriendsEvent.class); registerWriteEvent(SendIgnoresEvent.class); registerWriteEvent(LogoutEvent.class); registerWriteEvent(LobbyLinkEvent.class); registerWriteEvent(SimpleEvent.class); registerWriteEvent(FriendChannelEncoder.class); System.out.println("Registered " + writeEvents.size() + " game write events."); } public GameEventDefinition lookupReadEvent(int opcode) { return readEvents.get(opcode); } public void registerWriteEvent(Class<? extends GameEventEncoder<? extends GameEventContext>> clazz) { try { writeEvents.put(clazz, clazz.newInstance()); } catch (InstantiationException | IllegalAccessException e) { e.printStackTrace(); } } [MENTION=19271]supp[/MENTION]ressWarnings("unchecked") public <T extends GameEventContext> GameEventEncoder<T> lookupWriteEvent(Class<?> clazz) { return (GameEventEncoder<T>) writeEvents.get(clazz); } public OutBuffer encode(Player player, Class<?> clazz, GameEventContext context) { return lookupWriteEvent(clazz).encode(player, context); } public <T extends GameEventContext> void registerReadEvent(int[] opcodes, GameEvent<T> event, GameEventHandler<T> handler) { for (int opcode : opcodes) { registerReadEvent(opcode, new GameEventDefinition(event, handler)); } } public <T extends GameEventContext> void registerReadEvent(IncommingEventType type, GameEvent<T> event, GameEventHandler<T> handler) { registerReadEvent(type.getOpcode(), event, handler); } public <T extends GameEventContext> void registerReadEvent(int opcode, GameEvent<T> event, GameEventHandler<T> handler) { registerReadEvent(opcode, new GameEventDefinition(event, handler)); } public void registerReadEvent(int opcode, GameEventDefinition definition) { readEvents.put(opcode, definition); } }[/CODE] [/CENTER]
  2. Bezza

    RuneLove 3 - 803

    Well since the team and project kinda died off we've decided to just release it. Sundays and myself are going to start a complete scratch framework based of one of Grahams designs. Client/Server: https://mega.co.nz/#!R8pSVKbQ!Ulcti0XN5WTUU-XRo3cQhxm4MxYCicjxzZx0l0PzNkg cache: https://mega.co.nz/#!EMISCJ4Q!bfVRnwS92HylQX38yp6RbapXYQi1RTWuznK0L8Lo0wg The Client is probably the most renamed rs3 client that has been released(if you dont like the naming then change it and shut up) The Source is one of the most advanced rs3 servers released with permission Credits Jamie Moore Taylor Moon Sundays211 Kyle Fritz Notable Features Almost Every Packet Documented Player Update NPC Update Object, NPC Interactions A few skills Clan/clan chat base great interface system json saving(Clan info, players ect) Interface System #9335654 - Pastie #9335656 - Pastie #9335658 - Pastie Pictures
  3. Well since the release of the other 803 we decide to release, I talked to [USER]Taylor.M[/USER] and he gave me permission to release this, the reason why I wanted to asked him was because we used his Xerxes 718 he gave us awhile back. Hopefully this will turn into something for this community. We will still work on this we wanted to release a working version that isn't complete shit. You can use the same client and cache Sundays Released. Client/Server: https://mega.co.nz/#!UhwxBQxR!RviSrduM6RlkdRkQ9X3CtaNkQBmUBJG5nYKKo26_7qw Cache: https://mega.co.nz/#!EMISCJ4Q!bfVRnwS92HylQX38yp6RbapXYQi1RTWuznK0L8Lo0wg Credits Belthazar Sundays211 Im Frizzy Graham Arravs Taylor.M Features Login World List Lobby Login Server Interfaces Player Updating Buttons Great FrameWork Netty Based Uses OpenRS Next Release Will be in May/June This is the current version as of 4/14/2014 doesn't have any work after that i.e cache loaders, start on movement Releases There will be 2 Releases this, and another in a few weeks once we have all the basic packets completed and its ready for content.
  4. [CENTER][INDENT][URL="http://silvarea.com/forums"][IMG]https://dl.dropbox.com/u/42281647/ad/forums.png[/IMG][/URL] [URL="http://silvarea.com/client.jar"][IMG]https://dl.dropbox.com/u/42281647/ad/download.png[/IMG][/URL] [URL="http://silvarea.com/play"][IMG]https://dl.dropbox.com/u/42281647/ad/playnow.png[/IMG][/URL][/INDENT] [SPOILER=Media] [IMG]http://i.imgur.com/x0ZUAzA.png[/IMG] [IMG]http://i.imgur.com/LJBTMvM.png[/IMG] [IMG]http://i.imgur.com/4zHmU3W.png[/IMG] [IMG]http://i.imgur.com/K1aD3Ki.png[/IMG] [IMG]http://i.imgur.com/O8NExzk.png[/IMG] [IMG]http://i.imgur.com/e1mYXyN.png[/IMG] [IMG]http://i.imgur.com/D6ze5vc.png[/IMG] [/SPOILER] [SIZE=1](More Media Coming Soon!)[/SIZE] [/CENTER]
  5. [CENTER] [IMG]http://i.imgur.com/9k9b7gQ.png[/IMG] Home - [URL="http://silvarea.com/"]Click Here[/URL] Forums: [URL="http://silvarea.com/forums"]Cllick Here[/URL] Webclient: [URL="http://silvarea.com/play"]Click Here[/URL] [IMG]http://i.imgur.com/thYsO6B.png[/IMG] [IMG]http://i.imgur.com/QKkdz9s.png[/IMG] [IMG]http://img17.imageshack.us/img17/9316/tc5x.png[/IMG] [/CENTER] - Bridding - Autocast (100%) - Fully equipped Pkshop - PkP System - Killstreak System - Decent and fun economy. - 24/7 Uptime - Vote4Cash - Vote4PkPoints - Trading - Webclient - 100% Private Messaging - Active helpful staff - 2 Levels of Donator status - Great updates! - Completely Lag Free! - 100% working leeches - Working Korasi’s Sword - Multi Barrages - Xp Counter - Working weapon specs and effects - Working curses prayer book, including turmoil! - All spell books, Moderns, Ancients and Lunars - All Spirit shields working, Even their affects. - Working Teleblock - Staff of light Special - Yell with custom tags - Bank Tabs
  6. [IMG]http://i.imgur.com/I6cAXGj.png[/IMG] [IMG]http://i.imgur.com/NBKKlFb.png[/IMG] -removed-
  7. punk - you know why :)

  8. Updated to current os client thanks to richard.
  9. [B][U]Updates[/U][/B] [LIST] [*]Updated to Build 31 [*]Started Refractoring the client [/LIST]
  10. [CENTER] [IMG]http://i.imgur.com/Vn7Rn.png[/IMG] Hello, Welcome to OSRemake, OSRemake is based on the Returning Old School server of RuneScape, how ever this is 3rd update, that was added from the relaunch of Old School RS. This Project is going to be a Emulation of the OS Server, We plan to host this once it is near complete. There will be various features to make it better then playing the real OSRunScape. [SIZE=4][B][U]Developers[/U][/B][/SIZE] jimmy Matthew James [SIZE=4][B][U]Server Information[/U][/B][/SIZE] OSRemake is based on Apollo written by Graham and can be found [URL="https://github.com/apollo-rsps/apollo"]here[/URL]. The Apollo Design is made to support content driven scripts, We plan to use this feature as much as possible, Everything content related will be done by Script. [SIZE=4][B][U]Other Server Information[/U][/B][/SIZE] Server Exp Rate: x400 - This might change, wont be below 250! [LEFT] [IMG]http://i.imgur.com/F9Iea49.png[/IMG] [B][U][SIZE=4][COLOR="#FFA500"]Basics[/COLOR][/SIZE][/U][/B] [LIST] [*][COLOR="#008000"]Update Server[/COLOR] [*][COLOR="#008000"]Login[/COLOR] [*][COLOR="#008000"]Mapregion[/COLOR] [*][COLOR="#008000"]mapdata[/COLOR] [*][COLOR="#008000"]windowpane[/COLOR] [*][COLOR="#008000"]player updating[/COLOR] [*][COLOR="#008000"]npc updating[/COLOR] [*][COLOR="#008000"]Earth Quake Packet[/COLOR] [*][COLOR="#008000"]NPC Options[/COLOR] [*][COLOR="#008000"]Object Options[/COLOR] [*][COLOR="#008000"]Banking[/COLOR] [/LIST] [IMG]http://images1.wikia.nocookie.net/__cb20120426145847/runescape/images/9/9d/Melee-icon.png[/IMG][B][COLOR="#FF0000"] Combat[/COLOR][/B] [LIST] [*][COLOR="#FF0000"]Accurate Max Hit formula[/COLOR] [*][COLOR="#FF0000"]Accurate Accuracy formula[/COLOR] [*][COLOR="#FF0000"]Accurate Delays[/COLOR] [*][COLOR="#FF0000"]Accurate Switching[/COLOR] [*][COLOR="#FF0000"]Special Attack[/COLOR] [*][COLOR="#FF0000"]Degrading Items[/COLOR] [*][COLOR="#FF0000"]Skulling System[/COLOR] [*][COLOR="#FF0000"]Aggressive NPCs[/COLOR] [*][COLOR="#FF0000"]Clipping (Following, projectiles)[/COLOR] [*][COLOR="#FF0000"]Combat Following[/COLOR] [*][COLOR="#FF0000"]Bosses[/COLOR] [LIST] [*][COLOR="#FF0000"]King Black Dragon[/COLOR] [*][COLOR="#FF0000"]Kalphite Queen[/COLOR] [*][COLOR="#FF0000"]Chaos Elemental[/COLOR] [/LIST] [/LIST] [IMG]http://images2.wikia.nocookie.net/__cb20120131231040/runescape/images/0/05/Quest_icon.png[/IMG][B][COLOR="#FF0000"] Quests[/COLOR][/B] [LIST] [*][COLOR="#FF0000"]Quest System[/COLOR] [*][COLOR="#FF0000"]Quest Points[/COLOR] [*][COLOR="#FF0000"]Free[/COLOR] [LIST] [*][COLOR="#FF0000"]Rune Mysteries[/COLOR] [/LIST] [*][COLOR="#FF0000"]Member[/COLOR] [LIST] [*][COLOR="#FF0000"]Desert Tresure[/COLOR] [/LIST] [/LIST] [IMG]http://images1.wikia.nocookie.net/__cb20100607202123/runescape/images/5/5c/Minigame_icon.png[/IMG][B][COLOR="#FF0000"] Minigames[/COLOR][/B] [LIST] [*][COLOR="#FF0000"]Barrows[/COLOR] [*][COLOR="#FF0000"]Duel Arena[/COLOR] [*][COLOR="#FF0000"]Fight Pits[/COLOR] [*][COLOR="#FF0000"]Fight Caves[/COLOR] [*][COLOR="#FF0000"]Mage Arena[/COLOR] [/LIST] [B][U]Skills[/U][/B] [IMG]http://images4.wikia.nocookie.net/__cb20120725162839/runescape/images/3/35/Yellow_Prayer.png[/IMG] [B][COLOR="#FF0000"] Prayer[/COLOR][/B] [LIST] [*][COLOR="#FF0000"]Burying all Bone[/COLOR] [*][COLOR="#FF0000"]Bones on Alter[/COLOR] [*][COLOR="#FF0000"]All Prayers[/COLOR] [*][COLOR="#FF0000"]Bonuses[/COLOR] [*][COLOR="#FF0000"]Perfect drain rate formula[/COLOR] [/LIST] [IMG]http://images4.wikia.nocookie.net/__cb20120123002212/runescape/images/0/0b/Fishing-icon.png[/IMG] [B][COLOR="#FF0000"] Fishing[/COLOR][/B] [LIST] [*][COLOR="#FF0000"]All correct Fishing Spots[/COLOR] [*][COLOR="#FF0000"]Requirements (Items, levels)[/COLOR] [*][COLOR="#FF0000"]All Fish[/COLOR] [*][COLOR="#FF0000"]Correct fishing formula[/COLOR] [/LIST] [B][U]Note[/U][/B]: there will be more content added once we have this completed [/LEFT] [/CENTER]
  11. [url]https://mega.co.nz/#!DgBFHZYa!YndfUj7vq-1g_yQSqOC2NHSKO4dAMbnWNt1Pj4r41mU[/url] [B][U]Includes[/U][/B] Untouched Deob Game Pack Correct version: 786 Required loading element sizes: [CODE]2216, 78700,44880,39771, 358716, 44375, 0, 18348, 21623, 115262, 955263, 311843, 464074, 599696, 871698, 26883, 524467, 18436, 1244, 30388, 1967, 119, 1053631, 2619000, 7347[/CODE]
  12. [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]
  13. [center][img]http://i.imgur.com/XdsCCKQ.png[/img] Hello and welcome to battle-rune pk. Battle-Rune PK is a 637 Hyperion based server, We aim for stability and bug free gameplay. Forums: [url=http://www.battle-rune.com/community]Invision Power Board[/url] Webclient coming soon Client Donwload: [url=http://up.ht/1aNnXME]Download client.jar @ UppIT[/url] [B][U]Developers[/U][/B] Vayken Kyle James Note: Atfer beta This will be a Spawn server with restrictions. Note: You wont be able to spawn any items in a shop. [img]http://i.imgur.com/chiF7DN.png[/img] As of right now the server will go [color=green]ONLINE[/color] there will be no restrictions on spawning, Keep in mind this is just a beta some stuff will not work yet. [u][b] Stuff To Do[/b][/u] Vengeance Other Small stuff [b]Note: Once Vayken and I get the combat improved more, we will be adding restrictions on items that are in the shop. All accounts will be deleted after beta.[/b][/center]
×