Search the Community
Showing results for tags 'error'.
Found 1,230 results
-
I got an opcode error(s) after replacing my cache: [code][Launcher] Initing Cache... Exception in thread "main" java.lang.RuntimeException: MISSING OPCODE 94 FOR ITE M 6 at com.rs.cache.loaders.ItemDefinitions.readValues(ItemDefinitions.java: 840) at com.rs.cache.loaders.ItemDefinitions.readOpcodeValues(ItemDefinitions .java:855) at com.rs.cache.loaders.ItemDefinitions.loadItemDefinitions(ItemDefiniti ons.java:353) at com.rs.cache.loaders.ItemDefinitions.<init>(ItemDefinitions.java:340) at com.rs.cache.loaders.ItemDefinitions.getItemDefinitions(ItemDefinitio ns.java:318) at com.rs.cache.loaders.ItemsEquipIds.init(ItemsEquipIds.java:14) at com.rs.Launcher.main(Launcher.java:74) Press any key to continue . . .[/code] Does anyone possibly know how to fix it? Itemdefinitions.java: [code]package com.rs.cache.loaders; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.nio.ByteBuffer; import java.util.HashMap; import java.util.LinkedList; import com.alex.utils.Constants; import com.rs.cache.Cache; import com.rs.game.player.Equipment; import com.rs.utils.GrandExchangePrices; import com.rs.game.player.Skills; import com.rs.io.InputStream; import com.rs.utils.Utils; @SuppressWarnings("unused") public final class ItemDefinitions { private static final ItemDefinitions[] itemsDefinitions; static { // that's why this is here itemsDefinitions = new ItemDefinitions[Utils.getItemDefinitionsSize()]; } private int id; private boolean loaded; public void setValue(int value) { this.value = value; } public int modelId; private String name; // model size information private int modelZoom; private int modelRotation1; private int modelRotation2; private int modelOffset1; private int modelOffset2; // extra information private int stackable; private int value; private boolean membersOnly; // wearing model information private int maleEquip1; private int femaleEquip1; private int maleEquip2; private int femaleEquip2; // 718/735 Opcodes private int opcode44; private int opcode144; private int opcode145; private int opcode150; private int opcode151; private int opcode152; private int opcode153; private int opcode146; private int opcode142; private int opcode154; private int opcode9; private int opcode117; private int opcode17; private int opcode99; private int opcode87; private int opcode55; private int opcode62; private int opcode118; private int opcode56; private int opcode46; private int opcode47; private int opcode83; // options private String[] groundOptions; public String[] inventoryOptions; // model information public int[] originalModelColors; public int[] modifiedModelColors; public short[] originalTextureColors; private short[] modifiedTextureColors; private byte[] unknownArray1; private int[] unknownArray2; // extra information, not used for newer items private boolean unnoted; private int maleEquipModelId3; private int femaleEquipModelId3; private int unknownInt1; private int unknownInt2; private int unknownInt3; private int unknownInt4; private int unknownInt5; private int unknownInt6; private int certId; private int certTemplateId; private int[] stackIds; private int[] stackAmounts; private int unknownInt7; private int unknownInt8; private int unknownInt9; private int unknownInt10; private int unknownInt11; public int teamId; private int lendId; private int lendTemplateId; private int unknownInt12; private int unknownInt13; private int unknownInt14; private int unknownInt15; private int unknownInt16; private int unknownInt17; private int unknownInt18; private int unknownInt19; private int unknownInt20; private int unknownInt21; private int unknownInt22; private int unknownInt23; private int equipSlot; private int equipType; private int unknownInt25; private int unknownInt26; private int unknownInt27; private int unknownInt28; private int unknownInt29; private int unknownInt30; private int unknownInt31; private int unknownInt32; private int opcode13; private int opcode52; private int opcode53; private int opcode82; private int opcode66; private int opcode116; private int opcode157; private int opcode68; private int opcode244; private int opcode170; private int opcode75; private int opcode14; private int opcode27; private int opcode232; private int opcode211; //more opcodes private int opcode254; private int opcode228; private int opcode226; private int opcode255; private int opcode253; private int opcode252; private int opcode156; private int opcode215; private int opcode171; private int opcode3; private int opcode199; private int opcode223; private int opcode198; private int opcode186; private int opcode29; private int opcode238; private int opcode155; private int opcode251; private int opcode22; private int opcode192; private int opcode245; private int opcode45; private int opcode248; private int opcode237; private int opcode243; private int opcode185; private int opcode221; private int opcode240; private int opcode158; private int opcode137; private int opcode143; private int opcode61; private int opcode80; private int opcode196; private int opcode85; private int opcode239; private int opcode177; private int opcode163; private int opcode135; private int opcode120; private int opcode204; private int opcode81; private int opcode208; private int opcode242; private int opcode15; private int opcode233; private int opcode213; private int opcode207; private int opcode216; private int opcode206; private int opcode50; private int opcode193; private int opcode71; private int opcode10; private int opcode235; private int opcode188; private int opcode241; private int opcode236; private int opcode182; private int opcode169; private int opcode190; private int opcode178; private int opcode88; private int opcode200; private int opcode184; private int opcode176; private int opcode197; private int opcode247; private int opcode218; private int opcode250; private int opcode174; private int opcode210; private int opcode164; private int opcode148; private int opcode133; private int opcode222; private int opcode138; private int opcode194; private int opcode119; private int opcode202; private int opcode149; private int opcode64; private int opcode147; private int opcode214; private int opcode74; private int opcode86; private int opcode167; private int opcode161; private int opcode58; private int opcode59; private int opcode187; private int opcode77; private int opcode229; private int opcode230; private int opcode67; private int opcode131; private int opcode225; private int opcode203; private int opcode19; private int opcode43; private int opcode168; private int opcode209; private int opcode166; private int opcode54; private int opcode21; private int opcode73; private int opcode159; private int opcode123; private int opcode180; private int opcode20; private int opcode165; private int opcode84; private int opcode28; private int opcode175; private int opcode141; private int opcode205; private int opcode220; private int opcode136; private int opcode212; private int opcode49; private int opcode69; private int opcode72; private int opcode60; private int opcode219; private int opcode227; private int opcode76; private int opcode234; private int opcode57; private int opcode51; private int opcode124; private int opcode70; private int opcode231; private int opcode162; private int opcode160; private int opcode181; private int opcode183; private int opcode191; private int opcode189; private int opcode179; private int opcode173; private int opcode48; private int opcode172; private int opcode42; private int opcode246; private int opcode89; private int opcode195; private int opcode224; private int opcode63; private int opcode94; private int opcode201; private int opcode217; // extra added private boolean noted; private boolean lended; private HashMap<Integer, Object> clientScriptData; private HashMap<Integer, Integer> itemRequiriments; private int unknownInt24; public static final ItemDefinitions getItemDefinitions(int itemId) { if (itemId < 0 || itemId >= itemsDefinitions.length) itemId = 0; ItemDefinitions def = itemsDefinitions[itemId]; if (def == null) itemsDefinitions[itemId] = def = new ItemDefinitions(itemId); return def; } public static final void clearItemsDefinitions() { for (int i = 0; i < itemsDefinitions.length; i++) itemsDefinitions[i] = null; } public static ItemDefinitions forName(String name) { for (ItemDefinitions definition : itemsDefinitions) { if (definition.name.equalsIgnoreCase(name)) { return definition; } } return null; } public ItemDefinitions(int id) { this.id = id; setDefaultsVariableValues(); setDefaultOptions(); loadItemDefinitions(); } public boolean isLoaded() { return loaded; } private final void loadItemDefinitions() { byte[] data = Cache.STORE.getIndexes()[Constants.ITEM_DEFINITIONS_INDEX].getFile(getArchiveId(), getFileId()); if (data == null) { // System.out.println("Failed loading Item " + id+"."); return; } readOpcodeValues(new InputStream(data)); if (certTemplateId != -1) toNote(); if (lendTemplateId != -1) toLend(); if (unknownValue1 != -1) toBind(); loaded = true; } private void toNote() { // ItemDefinitions noteItem; //certTemplateId ItemDefinitions realItem = getItemDefinitions(certId); membersOnly = realItem.membersOnly; value = realItem.value; name = realItem.name; stackable = 1; noted = true; } private void toBind() { // ItemDefinitions lendItem; //lendTemplateId ItemDefinitions realItem = getItemDefinitions(unknownValue2); originalModelColors = realItem.originalModelColors; maleEquipModelId3 = realItem.maleEquipModelId3; femaleEquipModelId3 = realItem.femaleEquipModelId3; teamId = realItem.teamId; value = 0; membersOnly = realItem.membersOnly; name = realItem.name; inventoryOptions = new String[5]; groundOptions = realItem.groundOptions; if (realItem.inventoryOptions != null) for (int optionIndex = 0; optionIndex < 4; optionIndex++) inventoryOptions[optionIndex] = realItem.inventoryOptions[optionIndex]; inventoryOptions[4] = "Discard"; maleEquip1 = realItem.maleEquip1; maleEquip2 = realItem.maleEquip2; femaleEquip1 = realItem.femaleEquip1; femaleEquip2 = realItem.femaleEquip2; clientScriptData = realItem.clientScriptData; equipSlot = realItem.equipSlot; equipType = realItem.equipType; } private void toLend() { // ItemDefinitions lendItem; //lendTemplateId ItemDefinitions realItem = getItemDefinitions(lendId); originalModelColors = realItem.originalModelColors; maleEquipModelId3 = realItem.maleEquipModelId3; femaleEquipModelId3 = realItem.femaleEquipModelId3; teamId = realItem.teamId; value = 0; membersOnly = realItem.membersOnly; name = realItem.name; inventoryOptions = new String[5]; groundOptions = realItem.groundOptions; if (realItem.inventoryOptions != null) for (int optionIndex = 0; optionIndex < 4; optionIndex++) inventoryOptions[optionIndex] = realItem.inventoryOptions[optionIndex]; inventoryOptions[4] = "Discard"; maleEquip1 = realItem.maleEquip1; maleEquip2 = realItem.maleEquip2; femaleEquip1 = realItem.femaleEquip1; femaleEquip2 = realItem.femaleEquip2; clientScriptData = realItem.clientScriptData; equipSlot = realItem.equipSlot; equipType = realItem.equipType; lended = true; } public int getArchiveId() { return getId() >>> 8; } public int getFileId() { return 0xff & getId(); } public boolean isDestroyItem() { if (inventoryOptions == null) return false; for (String option : inventoryOptions) { if (option == null) continue; if (option.equalsIgnoreCase("destroy")) return true; } return false; } public boolean containsOption(int i, String option) { if (inventoryOptions == null || inventoryOptions[i] == null || inventoryOptions.length <= i) return false; return inventoryOptions[i].equals(option); } public boolean containsOption(String option) { if (inventoryOptions == null) return false; for (String o : inventoryOptions) { if (o == null || !o.equals(option)) continue; return true; } return false; } public boolean isWearItem() { return equipSlot != -1; } public boolean isWearItem(boolean male) { if (equipSlot < Equipment.SLOT_RING && (male ? getMaleWornModelId1() == -1 : getFemaleWornModelId1() == -1)) return false; return equipSlot != -1; } public boolean hasSpecialBar() { if (clientScriptData == null) return false; Object specialBar = clientScriptData.get(686); if (specialBar != null && specialBar instanceof Integer) return (Integer) specialBar == 1; return false; } public int getRenderAnimId() { if (clientScriptData == null) return 1426; Object animId = clientScriptData.get(644); if (animId != null && animId instanceof Integer) return (Integer) animId; return 1426; } public int getModelZoom() { return modelZoom; } public int getModelOffset1() { return modelOffset1; } public int getModelOffset2() { return modelOffset2; } public int getQuestId() { if (clientScriptData == null) return -1; Object questId = clientScriptData.get(861); if (questId != null && questId instanceof Integer) return (Integer) questId; return -1; } public HashMap<Integer, Integer> getCreateItemRequirements() { if (clientScriptData == null) return null; HashMap<Integer, Integer> items = new HashMap<Integer, Integer>(); int requiredId = -1; int requiredAmount = -1; for (int key : clientScriptData.keySet()) { Object value = clientScriptData.get(key); if (value instanceof String) continue; if (key >= 538 && key <= 770) { if (key % 2 == 0) requiredId = (Integer) value; else requiredAmount = (Integer) value; if (requiredId != -1 && requiredAmount != -1) { items.put(requiredAmount, requiredId); requiredId = -1; requiredAmount = -1; } } } return items; } public HashMap<Integer, Object> getClientScriptData() { return clientScriptData; } public HashMap<Integer, Integer> getWearingSkillRequiriments() { if (clientScriptData == null) return null; if (itemRequiriments == null) { HashMap<Integer, Integer> skills = new HashMap<Integer, Integer>(); for (int i = 0; i < 10; i++) { Integer skill = (Integer) clientScriptData.get(749 + (i * 2)); if (skill != null) { Integer level = (Integer) clientScriptData .get(750 + (i * 2)); if (level != null) skills.put(skill, level); } } Integer maxedSkill = (Integer) clientScriptData.get(277); if (maxedSkill != null) skills.put(maxedSkill, getId() == 19709 ? 120 : 99); itemRequiriments = skills; if (getId() == 7462) itemRequiriments.put(Skills.DEFENCE, 40); else if (name.equals("Dragon defender")) { itemRequiriments.put(Skills.ATTACK, 60); itemRequiriments.put(Skills.DEFENCE, 60); }else if (getId() == 19784 || getId() == 22401 || getId() == 19780) { // Korasi itemRequiriments.put(Skills.ATTACK, 78); itemRequiriments.put(Skills.STRENGTH, 78); }else if (getId() == 1127 || getId() == 1079 || getId() == 1147 || getId() == 1163 || getId() == 4131 || getId() == 1185 || getId() == 1201) { // rune itemRequiriments.put(Skills.DEFENCE, 40); }else if (getId() == 1067 || getId() == 1115 || getId() == 1175 || getId() == 1153 || getId() == 1137 || getId() == 1191) { // iron itemRequiriments.put(Skills.DEFENCE, 1); }else if (getId() == 1303 || getId() == 1333 || getId() == 1289 || getId() == 1319) { // rune weapons itemRequiriments.put(Skills.ATTACK, 40); }else if (getId() == 1323 || getId() == 1309 || getId() == 1293 || getId() == 1279) { // iron weapons itemRequiriments.put(Skills.ATTACK, 1); }else if (getId() == 2497) { // black dhide chaps itemRequiriments.put(Skills.RANGE, 70); itemRequiriments.put(Skills.DEFENCE, 1); if (getId() == 20822 || getId() == 20823 || getId() == 20824 || getId() == 20825 || getId() == 20826) itemRequiriments.put(Skills.DEFENCE, 99); }else if (name.equals("Dragon defender")) { itemRequiriments.put(Skills.ATTACK, 60); itemRequiriments.put(Skills.DEFENCE, 60); }else if (name.equals("rune arrow")) { itemRequiriments.put(Skills.RANGE, 40); }else if (name.equals("iron arrow")) { itemRequiriments.put(Skills.RANGE, 1); } } return itemRequiriments; } /* * public HashMap<Integer, Integer> getWearingSkillRequiriments() { if * (clientScriptData == null) return null; HashMap<Integer, Integer> skills * = new HashMap<Integer, Integer>(); int nextLevel = -1; int nextSkill = * -1; for (int key : clientScriptData.keySet()) { Object value = * clientScriptData.get(key); if (value instanceof String) continue; if(key * == 277) { skills.put((Integer) value, id == 19709 ? 120 : 99); }else if * (key == 23 && id == 15241) { skills.put(4, (Integer) value); * skills.put(11, 61); } else if (key >= 749 && key < 797) { if (key % 2 == * 0) nextLevel = (Integer) value; else nextSkill = (Integer) value; if * (nextLevel != -1 && nextSkill != -1) { skills.put(nextSkill, nextLevel); * nextLevel = -1; nextSkill = -1; } } * * } return skills; } */ private void setDefaultOptions() { groundOptions = new String[] { null, null, "take", null, null }; inventoryOptions = new String[] { null, null, null, null, "drop" }; } private void setDefaultsVariableValues() { name = "null"; maleEquip1 = -1; maleEquip2 = -1; femaleEquip1 = -1; femaleEquip2 = -1; modelZoom = 2000; lendId = -1; lendTemplateId = -1; certId = -1; certTemplateId = -1; unknownInt9 = 128; value = 1; maleEquipModelId3 = -1; femaleEquipModelId3 = -1; unknownValue1 = -1; unknownValue2 = -1; teamId = -1; equipSlot = -1; equipType = -1; } private final void readValues(InputStream stream, int opcode) { if (opcode == 1) modelId = stream.readBigSmart(); else if (opcode == 2) name = stream.readString(); else if (opcode == 4) modelZoom = stream.readUnsignedShort(); else if (opcode == 5) modelRotation1 = stream.readUnsignedShort(); else if (opcode == 6) modelRotation2 = stream.readUnsignedShort(); else if (opcode == 7) { modelOffset1 = stream.readUnsignedShort(); if (modelOffset1 > 32767) modelOffset1 -= 65536; modelOffset1 <<= 0; } else if (opcode == 8) { modelOffset2 = stream.readUnsignedShort(); if (modelOffset2 > 32767) modelOffset2 -= 65536; modelOffset2 <<= 0; } else if (opcode == 11) stackable = 1; else if (opcode == 12) value = stream.readInt(); else if (opcode == 13) { equipSlot = stream.readUnsignedByte(); }else if (opcode == 14) { equipType = stream.readUnsignedByte(); }else if (opcode == 16) membersOnly = true; else if (opcode == 18) stream.readUnsignedShortLE(); else if (opcode == 23) maleEquip1 = stream.readBigSmart(); else if (opcode == 24) maleEquip2 = stream.readBigSmart(); else if (opcode == 25) femaleEquip1 = stream.readBigSmart(); else if (opcode == 26) femaleEquip2 = stream.readBigSmart(); else if (opcode == 27) stream.readUnsignedByte(); else if (opcode >= 30 && opcode < 35) groundOptions[opcode - 30] = stream.readString(); else if (opcode >= 35 && opcode < 40) inventoryOptions[opcode - 35] = stream.readString(); else if (opcode == 40) { int length = stream.readUnsignedByte(); originalModelColors = new int[length]; modifiedModelColors = new int[length]; for (int index = 0; index < length; index++) { originalModelColors[index] = stream.readUnsignedShort(); modifiedModelColors[index] = stream.readUnsignedShort(); } } else if (opcode == 41) { int length = stream.readUnsignedByte(); originalTextureColors = new short[length]; modifiedTextureColors = new short[length]; for (int index = 0; index < length; index++) { originalTextureColors[index] = (short) stream .readUnsignedShort(); modifiedTextureColors[index] = (short) stream .readUnsignedShort(); } } else if (opcode == 42) { int length = stream.readUnsignedByte(); unknownArray1 = new byte[length]; for (int index = 0; index < length; index++) unknownArray1[index] = (byte) stream.readByte(); } else if (opcode == 65) unnoted = true; else if (opcode == 78) maleEquipModelId3 = stream.readBigSmart(); else if (opcode == 79) femaleEquipModelId3 = stream.readBigSmart(); else if (opcode == 90) unknownInt1 = stream.readBigSmart(); else if (opcode == 91) unknownInt2 = stream.readBigSmart(); else if (opcode == 92) unknownInt3 = stream.readBigSmart(); else if (opcode == 93) unknownInt4 = stream.readBigSmart(); else if (opcode == 95) unknownInt5 = stream.readUnsignedShort(); else if (opcode == 96) unknownInt6 = stream.readUnsignedByte(); else if (opcode == 97) certId = stream.readUnsignedShort(); else if (opcode == 98) certTemplateId = stream.readUnsignedShort(); else if (opcode >= 100 && opcode < 110) { if (stackIds == null) { stackIds = new int[10]; stackAmounts = new int[10]; } stackIds[opcode - 100] = stream.readUnsignedShort(); stackAmounts[opcode - 100] = stream.readUnsignedShort(); } else if (opcode == 110) unknownInt7 = stream.readUnsignedShort(); else if (opcode == 111) unknownInt8 = stream.readUnsignedShort(); else if (opcode == 112) unknownInt9 = stream.readUnsignedShort(); else if (opcode == 113) unknownInt10 = stream.readByte(); else if (opcode == 114) unknownInt11 = stream.readByte() * 5; else if (opcode == 115) teamId = stream.readUnsignedByte(); else if (opcode == 121) lendId = stream.readUnsignedShort(); else if (opcode == 122) lendTemplateId = stream.readUnsignedShort(); else if (opcode == 125) { unknownInt12 = stream.readByte() << 0; unknownInt13 = stream.readByte() << 0; unknownInt14 = stream.readByte() << 0; } else if (opcode == 126) { unknownInt15 = stream.readByte() << 0; unknownInt16 = stream.readByte() << 0; unknownInt17 = stream.readByte() << 0; } else if (opcode == 127) { unknownInt18 = stream.readUnsignedByte(); unknownInt19 = stream.readUnsignedShort(); } else if (opcode == 128) { unknownInt20 = stream.readUnsignedByte(); unknownInt21 = stream.readUnsignedShort(); } else if (opcode == 129) { unknownInt20 = stream.readUnsignedByte(); unknownInt21 = stream.readUnsignedShort(); } else if (opcode == 130) { unknownInt22 = stream.readUnsignedByte(); unknownInt23 = stream.readUnsignedShort(); } else if (opcode == 132) { int length = stream.readUnsignedByte(); unknownArray2 = new int[length]; for (int index = 0; index < length; index++) unknownArray2[index] = stream.readUnsignedShort(); } else if (opcode == 134) { int unknownValue = stream.readUnsignedByte(); } else if (opcode == 139) { unknownValue2 = stream.readUnsignedShort(); } else if (opcode == 140) { unknownValue1 = stream.readUnsignedShort(); } else if (opcode == 249) { int length = stream.readUnsignedByte(); if (clientScriptData == null) clientScriptData = new HashMap<Integer, Object>(length); for (int index = 0; index < length; index++) { boolean stringInstance = stream.readUnsignedByte() == 1; int key = stream.read24BitInt(); Object value = stringInstance ? stream.readString() : stream .readInt(); clientScriptData.put(key, value); } } else if (opcode == 44) opcode44 = stream.readUnsignedShort(); else if (opcode == 55) opcode55 = stream.readUnsignedShort(); else if (opcode == 62) opcode62 = stream.readUnsignedShort(); else if (opcode == 144) opcode144 = stream.readUnsignedShort(); else if (opcode == 118) opcode118 = stream.readUnsignedShort(); else if (opcode == 46) opcode46 = stream.readUnsignedShort(); else if (opcode == 56) opcode56 = stream.readUnsignedShort(); else if (opcode == 47) opcode47 = stream.readUnsignedShort(); else if (opcode == 83) opcode83 = stream.readUnsignedShort(); else if (opcode == 146) opcode146 = stream.readUnsignedShort(); else if (opcode == 87) opcode87 = stream.readUnsignedShort(); else if (opcode == 99) opcode99 = stream.readUnsignedShort(); else if (opcode == 94) opcode94 = stream.readUnsignedShort(); else if (opcode == 17) opcode17 = stream.readUnsignedShort(); else if (opcode == 117) opcode117 = stream.readUnsignedShort(); else if (opcode == 9) opcode9 = stream.readUnsignedShort(); else if (opcode == 142) opcode142 = stream.readUnsignedShort(); else if (opcode == 145) opcode145 = stream.readUnsignedShort(); else if (opcode == 150) opcode150 = stream.readUnsignedShort(); else if (opcode == 151) opcode151 = stream.readUnsignedShort(); else if (opcode == 152) opcode152 = stream.readUnsignedShort(); else if (opcode == 153) opcode153 = stream.readUnsignedShort(); else if (opcode == 154) opcode154 = stream.readUnsignedShort(); else throw new RuntimeException("MISSING OPCODE " + opcode + " FOR ITEM " + getId()); } private int unknownValue1; private int unknownValue2; private final void readOpcodeValues(InputStream stream) { while (true) { int opcode = stream.readUnsignedByte(); if (id == 9977) { stackable = 1; } if (opcode == 0) break; readValues(stream, opcode); } } public String getName() { return name; } public int getFemaleWornModelId1() { return femaleEquip1; } public int getFemaleWornModelId2() { return femaleEquip2; } public int getMaleWornModelId1() { return maleEquip1; } public int getMaleWornModelId2() { return maleEquip2; } public boolean isOverSized() { return modelZoom > 25000; } public boolean isLended() { return lended; } public boolean isMembersOnly() { return membersOnly; } public boolean isStackable() { return stackable == 1; } public boolean isNoted() { return noted; } public int getLendId() { return lendId; } public int getCertId() { return certId; } public int getValue() { return value; } public int getId() { return id; } public int getEquipSlot() { return equipSlot; } public int getEquipType() { return equipType; } public static ItemDefinitions forId(int id2) { return ItemDefinitions.getItemDefinitions(id2); } public int getGEPrice() { return GrandExchangePrices.getPrice(id); } public static class FileUtilities { public static final int BUFFER = 1024; public static boolean exists(String name) { File file = new File(name); return file.exists(); } public static ByteBuffer fileBuffer(String name) throws IOException { File file = new File(name); if(!file.exists()) return null; FileInputStream in = new FileInputStream(name); byte[] data = new byte[BUFFER]; int read; try { ByteBuffer buffer = ByteBuffer.allocate(in.available() + 1); while ((read = in.read(data, 0, BUFFER)) != -1) { buffer.put(data, 0, read); } buffer.flip(); return buffer; } finally { if (in != null) in.close(); in = null; } } public static void writeBufferToFile(String name, ByteBuffer buffer) throws IOException { File file = new File(name); if(!file.exists()) file.createNewFile(); FileOutputStream out = new FileOutputStream(name); out.write(buffer.array(), 0, buffer.remaining()); out.flush(); out.close(); } public static LinkedList<String> readFile(String directory) throws IOException { LinkedList<String> fileLines = new LinkedList<String>(); BufferedReader reader = null; try { reader = new BufferedReader(new FileReader(directory)); String string; while ((string = reader.readLine()) != null) { fileLines.add(string); } } finally { if (reader != null) { reader.close(); reader = null; } } return fileLines; } } }[/code]
-
Hey all, i've just tried to add a new clan chat system with ranks, but for some reason when i leave the clan i get this error: [code][8/07/14 19:45]: java.lang.ArrayIndexOutOfBoundsException: 0 [8/07/14 19:45]: at com.divine.security.Stream.readString(Stream.java:283 ) [8/07/14 19:45]: at com.divine.game.mobile.player.action.ReceiveString.pr ocessPacket(ReceiveString.java:14) [8/07/14 19:45]: at com.divine.game.mobile.player.PacketHandler.processPa cket(PacketHandler.java:151) [8/07/14 19:45]: at com.divine.game.mobile.player.Client.processQueuedPac kets(Client.java:1025) [8/07/14 19:45]: at com.divine.game.mobile.player.PlayerHandler.process(P layerHandler.java:212) [8/07/14 19:45]: at server.Server$1.execute(Server.java:196) [8/07/14 19:45]: at com.divine.server.task.Task2.tick(Task2.java:117) [8/07/14 19:45]: at com.divine.server.task.TaskScheduler.run(TaskSchedule r.java:104) [8/07/14 19:45]: at java.util.concurrent.Executors$RunnableAdapter.call(E xecutors.java:471) [8/07/14 19:45]: at java.util.concurrent.FutureTask.runAndReset(FutureTas k.java:304) [8/07/14 19:45]: at java.util.concurrent.ScheduledThreadPoolExecutor$Sche duledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [8/07/14 19:45]: at java.util.concurrent.ScheduledThreadPoolExecutor$Sche duledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [8/07/14 19:45]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr eadPoolExecutor.java:1145) [8/07/14 19:45]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th readPoolExecutor.java:615) [8/07/14 19:45]: at java.lang.Thread.run(Thread.java:744) [8/07/14 19:45]: Legit Yonas is sending invalid PacketType: 153. PacketSize: 2 [8/07/14 19:45]: Game saved for player Legit Yonas [8/07/14 19:45]: LOGGED OUT: Legit Yonas[/code] and as you can see it loggs off the character. the removing from clan is done client sided through this: [code]case 18129: if (R_3.interfaceCache[18135].message.toLowerCase() .contains("join")) { inputTaken = true; inputDialogState = 0; messagePromptRaised = true; promptInput = ""; friendsListAction = 6; aString1121 = "Enter the name of the chat you wish to join"; } else { sendString(0, ""); } break;[/code] [code]public void sendString(int identifier, String text) { text = identifier + "," + text; stream.createFrame(127); stream.writeWordBigEndian(text.length() + 1); stream.writeString(text); }[/code] the joining works fine, but the leaving doesnt
-
Hi guys. When I run my client , it gives my "connection error retrying in 5 4 3 2 1" . I have the cache uploaded to dropbox and changed the link in cachedownloader.java but still im getting this error. Can someone please help me , please??
-
If anyone can help me I will be very thankful! This is the error i get: [IMG]http://i57.tinypic.com/2ezo31g.png[/img] I have nearly done everything to try and get this working like re-installing it and still comes up the same thing.
-
I downloaded a new server package when i compiled there were no errors but when i runned the server i get this error: [QUOTE]Running Item Definitions Editor... java.lang.ArrayIndexOutOfBoundsException: 19 at com.alex.utils.Utils.getItemDefinitionsSize(Utils.java:50) at com.alex.tools.itemsDefsEditor.Application.addAllItems(Application.ja va:183) at com.alex.tools.itemsDefsEditor.Application.initialize(Application.jav a:179) at com.alex.tools.itemsDefsEditor.Application.<init>(Application.java:54 ) at com.alex.tools.itemsDefsEditor.Application$1.run(Application.java:41) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour ce) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)[/QUOTE] Anybody knows how to fix this?
-
i need help with the following error .[URL="http://gyazo.com/48a8980cb25f5b6cdfad3b3e762732fc"]http://gyazo.com/48a8980cb25f5b6cdfad3b3e762732fc[/URL]
-
Currently i am working on opening a few doors here and there, however upon writing in my first door, I get an error when i try to run my server: [CODE]Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.ArrayIndexOutOfBoundsException: 30 at server.world.ObjectHandler.loadDoorConfig(ObjectHandler.java:285) at server.world.ObjectHandler.<init>(ObjectHandler.java:29) at server.Server.<clinit>(Server.java:50) Press any key to continue . . .[/CODE] I'm fair sure the problem is the Object Handler reading in 30 instead of what i actually want it to read. The data i entered into my doors.cfg is this: [CODE] door = 3098 3107 0 -3 0 //Runescape Guides house door(tutorial island)[/CODE] I have used the tab key in between each value(as the spacebar is known to cause this issue),so I was wondering how to go about fixing this problem. :/ Code in objectHandler: [CODE] if (token.equals("door")) { doors[door][0] = Integer.parseInt(token3[0]); //line 285 doors[door][1] = Integer.parseInt(token3[1]); doors[door][2] = Integer.parseInt(token3[2]); doors[door][3] = Integer.parseInt(token3[3]); doors[door][4] = Integer.parseInt(token3[4]); door++; }[/CODE] EDIT: RESOLVED. Feel like such a nub for missing such an obvious error. So to anyone else who encounters this problem, search for: public static final int MAX_DOORS in ObjectHandler and change the max to however many doors you are adding.
-
some one please help me i jared the client atleast 6 times and then it works on vps when i give it to a friend of use it without vps says that error a java exception has occured i know you guys want me to take a prntscreen of the bat file but please just add me on skype and i cna share screen or tv tyou :( my skype: live:gezmis1998
-
NOTE: I'm Verisimilitude from r-s. I honestly need help with this. I followed a bunch of tuts and videos for the past 7 hours as of now and no luck. Been having them do this for too long, and it's painful seeing them have to use up some of their time because I couldn't find myself a useful tut that has my desire needs. [COLOR="#FFFFFF"]-[/COLOR] I deleted all the [COLOR="#FFFFFF"].java[/COLOR] & [COLOR="#FFFFFF"].bat[/COLOR] [COLOR="#FFFFFF"]-[/COLOR] Made sure my signlink is finding the cache in the located folder. [COLOR="#FFFFFF"]-[/COLOR] Created the Webclient from [COLOR="#FFFFFF"]JarMaker[/COLOR] [COLOR="#FFFFFF"]-[/COLOR] Signed the Webclient [COLOR="#FFFFFF"]-[/COLOR] I open the Webclient and works perfectly with the no-ip [COLOR="#FFFFFF"]-[/COLOR] I put the Webclient to the [COLOR="#FFFFFF"]Dropbox[/COLOR] for my cousins and brother to test out if it'll work for them. [COLOR="#FFFFFF"]-[/COLOR] They open it [COLOR="#FFFFFF"]-[/COLOR] If I don't sign the Webclient it just says [COLOR="#FFFFFF"]Unable to load/download "server" cache[/COLOR] [COLOR="#FFFFFF"]-[/COLOR] But if I jar sign the Webclient, it then says [COLOR="#FFFFFF"]connecting to file server[/COLOR] 3 seconds later... [COLOR="#FFFFFF"]Unable to load/download "server" cache[/COLOR] Is there something i'm suppose to do with the cache within the Client folder becoming a Webclient? Or it's simply I'm missing something? For some tuts, when I sign it I get this picture under me. Otherwise others is just the certificate.txt/certificate.exe [IMG]http://imagizer.imageshack.us/v2/xq90/841/wfrr.png[/IMG] [IMG]http://imagizer.imageshack.us/v2/xq90/842/k1vp.png[/IMG] [IMG]http://imagizer.imageshack.us/v2/xq90/819/fhjw.png[/IMG] [IMG]http://imagizer.imageshack.us/v2/xq90/853/vucg.png[/IMG]
-
Error: missing `server' JVM at `C:\Program Files\Java\jre7\bin\server\jvm.dll'. Please install or use the JRE or JDK that contains these missing components. Press any key to continue . . .
-
[img]http://puu.sh/2iQo1[/img] [url]http://www.runelocus.com/forums/showthread.php?87202-Citellum-RSPS-718-Lobby-Squeal-Pouch-and-whatever[/url] any help with this
-
Hey everyone.. [url]http://up.ht/1pPTj2b[/url] thats my server but everyone when they run it they get an error: [url]http://gyazo.com/4cb007473af45b85621597c47ddf109f[/url] How do i fix it? PLEASE HELP ME, i really need to get my server up...
-
[url]http://prntscr.com/3udexx[/url]
-
EDIT: Found out it was my cache missing.
-
hey guys was changing some stuff up in clickbuttons.java and i think iv changed somthing im not meant to and now i get this compiler error: [9:28:21 PM] Burnsy775: src\server\model\players\packets\ClickingButtons.java:1: error: illegal characte r: \187 package server.model.players.packets; ^ src\server\model\players\packets\ClickingButtons.java:1: error: illegal characte r: \191 package server.model.players.packets; ^ 2 errors Press any key to continue . . . If anybody knows how to fix would be awsome thanks guys.
-
Hi guys, I am receiving the following error: [CODE]compiling... src\com\rs\game\player\content\Commands.java:4785: error: cannot find symbol VoteReward reward = Launcher.vote.hasVoted(player.getUserna me().toLowerCase().replaceAll(" ", "_")); ^ symbol: variable vote location: class Launcher Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .[/CODE] This is the commands.java vote command [CODE] if (cmd[0].equalsIgnoreCase("claim") || cmd[0].equalsIgnoreCase("voted")) { try { VoteReward reward = Launcher.vote.hasVoted(player.getUsername().toLowerCase().replaceAll(" ", "_")); if(reward != null){ switch(reward.getReward()){ case 0: if(player.getInventory().getFreeSlots() > 1) { player.getInventory().addItem(8851, 10000000); player.getPackets().sendGameMessage("Your reward has been added to your inventory."); } else { player.getBank().addItem(8851, 10000000, true); player.getPackets().sendGameMessage("Your reward has been added to your bank."); }//u dont have method .sendworldmessage?its something else i think like sendsomehting idkgsihmome wt hwaiet 2 secs player.getPackets().sendGameMessage("<shad=66FF33><img=6>[News] "+player.getDisplayName()+" Has just voted for 10 Million upgrade tokens!", false); break; case 1: if(player.getInventory().getFreeSlots() > 1) { player.getInventory().addItem(995, 25000000); player.getPackets().sendGameMessage("Your reward has been added to your inventory."); } else { player.getBank().addItem(995, 25000000, true); player.getPackets().sendGameMessage("Your reward has been added to your bank."); } player.getPackets().sendGameMessage("<shad=66FF33><img=6>[News] "+player.getDisplayName()+" Has just voted for 25 Million coins!", false); break; case 2: if(player.getInventory().getFreeSlots() > 1) { player.getInventory().addItem(12852, 6000000); player.getPackets().sendGameMessage("Your reward has been added to your inventory."); } else { player.getBank().addItem(12852, 6000000, true); player.getPackets().sendGameMessage("Your reward has been added to your bank."); } player.getPackets().sendGameMessage("<shad=66FF33><img=6>[News] "+player.getDisplayName()+" Has just voted for 6 Million pvp tokens!", false); break; case 3: //ty :P if(player.getInventory().getFreeSlots() > 1) { player.getInventory().addItem(1464, 1); player.getPackets().sendGameMessage("Your reward has been added to your inventory."); } else { player.getBank().addItem(1464, 1, true); player.getPackets().sendGameMessage("Your reward has been added to your bank."); } player.getPackets().sendGameMessage("<shad=66FF33><img=6>[News] "+player.getDisplayName()+" Has just voted for 1 vote ticket!", false); break; //add more hereOPEN FUCKING ECLIPSE il eat mm e madlet me do it ? default: player.getPackets().sendGameMessage("Reward not found."); break; } player.getPackets().sendGameMessage("Thank you for voting."); } else { player.getPackets().sendGameMessage("You have no items waiting for you."); } } catch (Exception e){ player.getPackets().sendMessage(99, "[GTL Vote] An SQL error has occured.", player); } return true; }[/CODE] Could anyone help me? (It's probably easy to solve, but thank you.)
-
When im opening my client i get this error: [QUOTE] Error: jn.a() fb.d() lk.a() client.er() | Class225.method2094:57 Class125.method 1401:283 Class275.method2573:59 client.method2806:3711 client.method2773:641 Cla ss291.method2764:641 Class291.method2759:457 Class291.run:384 java.lang.Thread.r un | java.lang.RuntimeException | null 0,0,0,0 0,0,0, 2 0 2 765,503 0 0 0 0 0 0 248 12 -1 hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx java.io.FileNotFoundException: [url]http://127.0.0.1/clienterror.ws?c=718&cs=1&u=0&v1[/url] =Oracle+Corporation&v2=1.7.0_51&e=jn.a%28%29+fb.d%28%29+lk.a%28%29+client.er%28% 29+%7C+Class225.method2094%3A57+Class125.method1401%3A283+Class275.method2573%3A 59+client.method2806%3A3711+client.method2773%3A641+Class291.method2764%3A641+Cl ass291.method2759%3A457+Class291.run%3A384+java.lang.Thread.run+%7C+java.lang.Ru ntimeException+%7C+null++0%2C0%2C0%2C0+0%2C0%2C0%2C+2+0+2+765%2C503+0+0+0+0+0+0+ 248+12+-1+hAJWGrsaETglRjuwxMwnlA%2Fd5W6EgYWx at sun.net.[url]www.protocol.http.HttpURLConnection.getInputStream(Unknown[/url] So urce) at java.net.URL.openStream(Unknown Source) at IPAddress.method6062(IPAddress.java:171) at client.method2773(client.java:645) at Class291.method2764(Class291.java:641) at Class291.method2759(Class291.java:457) at Class291.run(Class291.java:384) at java.lang.Thread.run(Unknown Source) Error: nk.a() wr.fe() pk.fk() pj.fw() client.ae() mc.m() mc.e() | Class322.metho d3931:46 Class365_Sub1_Sub5_Sub2.method4533:488 Class371.method4584:201 Class370 .method4578:92 client.method2773:650 Class291.method2764:641 Class291.method2759 :457 Class291.run:384 java.lang.Thread.run | java.lang.NullPointerException | 0 ,0,0,0 0,0,0, 2 0 2 765,503 0 0 0 0 0 0 248 12 -1 hAJWGrsaETglRjuwxMwnlA/d5W6EgY Wx java.io.FileNotFoundException: [url]http://127.0.0.1/clienterror.ws?c=718&cs=1&u=0&v1[/url] =Oracle+Corporation&v2=1.7.0_51&e=nk.a%28%29+wr.fe%28%29+pk.fk%28%29+pj.fw%28%29 +client.ae%28%29+mc.m%28%29+mc.e%28%29+%7C+Class322.method3931%3A46+Class365_Sub 1_Sub5_Sub2.method4533%3A488+Class371.method4584%3A201+Class370.method4578%3A92+ client.method2773%3A650+Class291.method2764%3A641+Class291.method2759%3A457+Clas s291.run%3A384+java.lang.Thread.run+%7C+java.lang.NullPointerException+%7C++0%2C 0%2C0%2C0+0%2C0%2C0%2C+2+0+2+765%2C503+0+0+0+0+0+0+248+12+-1+hAJWGrsaETglRjuwxMw nlA%2Fd5W6EgYWx at sun.net.[url]www.protocol.http.HttpURLConnection.getInputStream(Unknown[/url] So urce) at java.net.URL.openStream(Unknown Source) at IPAddress.method6062(IPAddress.java:171) at Class291.run(Class291.java:388) at java.lang.Thread.run(Unknown Source) error_game_crash [/QUOTE] Sombody knows how to fix this?
-
Hi everyone, I'm trying to run RSPS on debian 7 x64. My compile.sh looks: (I've edited it from .bat... so idk if its right) [code] javac -classpath lib/*: -sourcepath src src/com/rs/*.java src/com/rs/cache/*.java src/com/rs/cache/loaders/*.java src/com/rs/cores/*.java src/com/rs/game/*.java src/com/rs/game/item/*.java src/com/rs/game/minigames/*.java src/com/rs/game/minigames/clanwars/*.java src/com/rs/game/minigames/creations/*.java src/com/rs/game/minigames/duel/*.java src/com/rs/game/minigames/pest/*.java src/com/rs/game/npc/*.java src/com/rs/game/npc/combat/*.java src/com/rs/game/npc/combat/impl/*.java src/com/rs/game/npc/corp/*.java src/com/rs/game/npc/dragons/*.java src/com/rs/game/npc/dungeonnering/*.java src/com/rs/game/npc/familiar/*.java src/com/rs/game/npc/fightcaves/*.java src/com/rs/game/npc/fightkiln/*.java src/com/rs/game/npc/fightpits/*.java src/com/rs/game/npc/godwars/*.java src/com/rs/game/npc/godwars/armadyl/*.java src/com/rs/game/npc/godwars/bandos/*.java src/com/rs/game/npc/godwars/saradomin/*.java src/com/rs/game/npc/godwars/zammorak/*.java src/com/rs/game/npc/godwars/zaros/*.java src/com/rs/game/npc/kalph/*.java src/com/rs/game/npc/nomad/*.java src/com/rs/game/npc/others/*.java src/com/rs/game/npc/pet/*.java src/com/rs/game/npc/qbd/*.java src/com/rs/game/npc/slayer/*.java src/com/rs/game/npc/sorgar/*.java src/com/rs/game/player/*.java src/com/rs/game/player/actions/*.java src/com/rs/game/player/actions/mining/*.java src/com/rs/game/player/actions/runecrafting/*.java src/com/rs/game/player/actions/thieving/*.java src/com/rs/game/player/content/*.java src/com/rs/game/player/content/agility/*.java src/com/rs/game/player/content/construction/*.java src/com/rs/game/player/content/dungeoneering/*.java src/com/rs/game/player/content/dungeoneering/rooms/*.java src/com/rs/game/player/content/pet/*.java src/com/rs/game/player/controlers/*.java src/com/rs/game/player/controlers/castlewars/*.java src/com/rs/game/player/controlers/events/*.java src/com/rs/game/player/controlers/fightpits/*.java src/com/rs/game/player/controlers/pestcontrol/*.java src/com/rs/game/player/cutscenes/*.java src/com/rs/game/player/cutscenes/actions/*.java src/com/rs/game/player/dialogues/*.java src/com/rs/game/player/quests/*.java src/com/rs/game/tasks/*.java src/com/rs/io/*.java src/com/rs/net/*.java src/com/rs/net/decoders/*.java src/com/rs/net/decoders/handlers/*.java src/com/rs/net/encoders/*.java src/com/rs/tools/*.java src/com/rs/utils/*.java src/com/rs/utils/huffman/*.java[/code] And my run.sh [code] java -XX:-OmitStackTraceInFastThrow -server -classpath bin:lib/*: com.rs.Launcher true true false[/code] Thats what I get.. [IMG]http://i60.tinypic.com/24q7ckk.png[/IMG]
-
This is the error i get when i try to run this source. Yes i got cache if you are wondering [ATTACH]10389[/ATTACH] Launching Server ... [Rage-Scape] Reading Cache Intake ... Exception in thread "main" java.lang.NoClassDefFoundError: com / alex / store / Store ******** at com.rs.cache.Cache.init (Cache.java: 20) ******** at com.rs.Launcher.main (Launcher.java: 60) Caused by: Java.Lang.ClassNotFoundException: com.alex.store.Store ******** at java.net.URLClassLoader $ 1.Run (Unknown Source) ******** at java.net.URLClassLoader $ 1.Run (Unknown Source) ******** at java.security.AccessController.doPrivileged (Native Method) ******** at java.net.URLClassLoader.findClass (Unknown Source) ******** at java.lang.ClassLoader.loadClass (Unknown Source) ******** at sun.misc.Launcher $ AppClassLoader.loadClass (Unknown Source) ******** at java.lang.ClassLoader.loadClass (Unknown Source) ******** 2 ... more Press any key to continue ... Can anyone help me? I would appreciate it :gg:
-
hey i am trying to make a webclient but i get this error [B]classnotfoundexception client[/B] please help me
-
Title above^^^ that's my problem , i wanna play a server and everyone is saying to me the server works and is online but not for me , i try'd to re install java and such ( java 7 55 ) , also deleted the cache more than 7 times . Thank you in advance for any help you can provide.
- 11 replies
-
- connection
- error
-
(and 1 more)
Tagged with:
-
Hello, I've been trying to change the prices on the server I'm working on but I can't seem to do it, I've got a itemdef editor and have edited the price through that but it doesn't change, I compiled the cache and it wont change, How could I change price I also tried to add items in my shop but it won't allow me I tried to do that through unpackedshops but it doesn't work.. Can someone tell me how to do these things correctly pleasE?
-
i'v been trying to add hiscores but i keep geting this error everytime on logout [CODE] [5/13/14 1:03 AM]: java.lang.NullPointerException [5/13/14 1:03 AM]: at server.model.players.Highscores.destroy(Highscores.ja va:54) [5/13/14 1:03 AM]: at server.model.players.Highscores.query(Highscores.java :44) [5/13/14 1:03 AM]: at server.model.players.Highscores.save(Highscores.java: 66) [5/13/14 1:03 AM]: at server.model.players.Client.logout(Client.java:1105) [5/13/14 1:03 AM]: at server.model.players.packets.ClickingButtons.processP acket(ClickingButtons.java:4448) [5/13/14 1:03 AM]: at server.model.players.PacketHandler.processPacket(Pack etHandler.java:141) [5/13/14 1:03 AM]: at server.model.players.Client.processQueuedPackets(Clie nt.java:2195) [5/13/14 1:03 AM]: at server.model.players.PlayerHandler.process(PlayerHand ler.java:150) [5/13/14 1:03 AM]: at server.Server.main(Server.java:215) [5/13/14 1:03 AM]: java.lang.NullPointerException [5/13/14 1:03 AM]: at server.model.players.Highscores.destroy(Highscores.ja va:54) [5/13/14 1:03 AM]: at server.model.players.Highscores.query(Highscores.java :44) [5/13/14 1:03 AM]: at server.model.players.Highscores.save(Highscores.java: 67) [5/13/14 1:03 AM]: at server.model.players.Client.logout(Client.java:1105) [5/13/14 1:03 AM]: at server.model.players.packets.ClickingButtons.processP acket(ClickingButtons.java:4448) [5/13/14 1:03 AM]: at server.model.players.PacketHandler.processPacket(Pack etHandler.java:141) [5/13/14 1:03 AM]: at server.model.players.Client.processQueuedPackets(Clie nt.java:2195) [5/13/14 1:03 AM]: at server.model.players.PlayerHandler.process(PlayerHand ler.java:150) [5/13/14 1:03 AM]: at server.Server.main(Server.java:215) [/CODE]
-
Hi, i got a problem when i jarred my client, i get this error: [QUOTE]error game js5 connect[/QUOTE] i use this matrix client: [url]http://www.mediafire.com/download/4a84mh3cvis286p/718%2B+Client.rar[/url] I changed 127.0.0.1 to my own ip at Loader.java (i changed it at 2 places to be shure) [IMG]http://gyazo.com/326bc4eaaa9138d341f423d51895f76c[/IMG] [url]http://gyazo.com/326bc4eaaa9138d341f423d51895f76c[/url] [IMG]http://gyazo.com/7b510d683f70b7a82b46e9dd1859a904[/IMG] [url]http://gyazo.com/7b510d683f70b7a82b46e9dd1859a904[/url] The SUB revisions are also the same at loader.java (client) and at settings.java (src) At Loader.java [IMG]http://gyazo.com/9e51bdb698d63f195c327372cfa1de16[/IMG] [url]http://gyazo.com/9e51bdb698d63f195c327372cfa1de16[/url] At settings.java Other information: This client only works on my local computer but not on other peopols computer. My server is connected as you saw at the 2 first links and i got the right sub revisions. (at both) Anybody knows how to fix this problem? Or send me a private message for a teamviewer conversation. Thanks, would be appriciated. [SIZE=7]OR SEND PRIVATE MESSAGE FOR A TEAMVIEWER CONVERSATION[/SIZE]