Jump to content

Search the Community

Showing results for tags 'error'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1,230 results

  1. Sup guys, im having an issue with item on item interactions, im currently using chronicscape v2 source and client. The owner said to replace InventoryOptionsHandler.java and I did this is what I changed it to: package com.rs.net.decoders.handlers; import java.util.List; import com.rs.game.npc.familiar.Familiar; import com.rs.game.npc.familiar.GiftOfSeasons; import com.rs.game.npc.pet.Pet; import com.rs.game.player.CoordsEvent; import com.rs.game.player.Equipment; import com.rs.game.player.Inventory; import com.rs.game.player.Player; import com.rs.game.player.Skills; import com.rs.game.player.QuestManager.Quests; import com.rs.game.player.actions.BoxAction; import com.rs.game.player.actions.BoxAction.HunterEquipment; import com.rs.game.player.actions.Firemaking; import com.rs.game.player.actions.Fletching; import com.rs.game.player.actions.Fletching.Fletch; import com.rs.game.player.actions.GemCutting; import com.rs.game.player.actions.GemCutting.Gem; import com.rs.game.player.actions.HerbCleaning; import com.rs.game.player.actions.Herblore; import com.rs.game.player.actions.LeatherCrafting; import com.rs.game.player.actions.Summoning; import com.rs.game.player.actions.Summoning.Pouches; import com.rs.game.player.content.farming.PatchConstants; import com.rs.game.player.content.AncientEffigies; import com.rs.game.player.content.ArmourSets; import com.rs.game.player.content.ArmourSets.Sets; import com.rs.game.player.content.Burying.Bone; import com.rs.game.player.content.Dicing; import com.rs.game.player.content.FlowerGame; import com.rs.game.player.content.Foods; import com.rs.game.player.content.Magic; import com.rs.game.player.content.magic.Alchemy; import com.rs.game.player.content.magic.Enchanting; import com.rs.game.player.content.magic.Lunars; import com.rs.game.player.content.Pots; import com.rs.game.player.content.Runecrafting; import com.rs.game.player.content.SkillCapeCustomizer; import com.rs.game.player.controlers.Barrows; import com.rs.game.player.content.DwarfCannon; import com.rs.game.player.controlers.FightKiln; import com.rs.utils.SerializableFilesManager; import com.rs.game.minigames.CrystalChest; import com.rs.game.minigames.ClueScrollEasy; import com.rs.game.player.content.DiceGame; import com.rs.game.tasks.WorldTask; import com.rs.game.tasks.WorldTasksManager; import java.text.DecimalFormat; import com.rs.io.InputStream; import com.rs.utils.Logger; import com.rs.utils.Utils; public static void handleItemOnItem(final Player player, InputStream stream) { int itemUsedWithId = stream.readShort(); int toSlot = stream.readShortLE128(); int interfaceId = stream.readInt() >> 16; int interfaceId2 = stream.readInt() >> 16; int fromSlot = stream.readShort(); int itemUsedId = stream.readShortLE128(); if ((interfaceId2 == 747 || interfaceId2 == 662) && interfaceId == Inventory.INVENTORY_INTERFACE) { if (player.getFamiliar() != null) { player.getFamiliar().setSpecial(true); if (player.getFamiliar().getSpecialAttack() == SpecialAttack.ITEM) { if (player.getFamiliar().hasSpecialOn()) player.getFamiliar().submitSpecial(toSlot); } } return; } if (interfaceId == Inventory.INVENTORY_INTERFACE && interfaceId == interfaceId2 && !player.getInterfaceManager().containsInventoryInter()) { if (toSlot >= 28 || fromSlot >= 28) return; Item usedWith = player.getInventory().getItem(toSlot); Item itemUsed = player.getInventory().getItem(fromSlot); if (itemUsed == null || usedWith == null || itemUsed.getId() != itemUsedId || usedWith.getId() != itemUsedWithId) return; player.stopAll(); if (!player.getControlerManager().canUseItemOnItem(itemUsed, usedWith)) return; Fletch fletch = Fletching.isFletching(usedWith, itemUsed); if (fletch != null) { player.getDialogueManager().startDialogue("FletchingD", fletch); return; } if (itemUsed.getId() == CrystalChest.toothHalf() && usedWith.getId() == CrystalChest.loopHalf() || itemUsed.getId() == CrystalChest.loopHalf() && usedWith.getId() == CrystalChest.toothHalf()){ CrystalChest.makeKey(player); return; } else if (itemUsed.getId() == 2368 && usedWith.getId() == 2366) { if (player.getInventory().containsItem(2366, 1) && player.getInventory().containsItem(2368, 1)) { player.getInventory().deleteItem(2366, 1); player.getInventory().deleteItem(2368, 1); player.getInventory().addItem(1187, 1); player.getPackets().sendGameMessage("You have made a Dragon sq shield!"); return; } } else if (itemUsed.getId() == 2366 && usedWith.getId() == 2368) { if (player.getInventory().containsItem(2366, 1) && player.getInventory().containsItem(2368, 1)) { player.getInventory().deleteItem(2366, 1); player.getInventory().deleteItem(2368, 1); player.getInventory().addItem(1187, 1); player.getPackets().sendGameMessage("You have made a Dragon sq shield!"); return; } } else if (itemUsed.getId() == 22448 && usedWith.getId() == 22498 || usedWith.getId() == 554) { if (player.getInventory().containsItem(22498, 1) && player.getInventory().containsItem(22448, 3000) && player.getInventory().containsItem(554, 15000)) { player.getInventory().deleteItem(22498, 1); player.getInventory().deleteItem(22448, 3000); player.getInventory().deleteItem(554, 15000); player.getInventory().addItem(22494, 1); player.getPackets().sendGameMessage("You made a Polypore staff!"); return; } } else if (itemUsed.getId() == 22451 && usedWith.getId() == 22456) { if (player.getInventory().containsItem(22451, 5000) && player.getInventory().containsItem(22456, 1)) { player.getInventory().deleteItem(22451, 5000); player.getInventory().deleteItem(22456, 1); player.getInventory().addItem(22490, 1); player.getPackets().sendGameMessage("You have made a Ganodermic poncho!"); return; } } else if (itemUsed.getId() == 22451 && usedWith.getId() == 22454) { if (player.getInventory().containsItem(22451, 1500) && player.getInventory().containsItem(22454, 1)) { player.getInventory().deleteItem(22451, 1500); player.getInventory().deleteItem(22454, 1); player.getInventory().addItem(22486, 1); player.getPackets().sendGameMessage("You have made a Ganodermic leggings!"); return; } } else if (itemUsed.getId() == 22451 && usedWith.getId() == 22452) { if (player.getInventory().containsItem(22451, 500) && player.getInventory().containsItem(22452, 1)) { player.getInventory().deleteItem(22451, 500); player.getInventory().deleteItem(22452, 1); player.getInventory().addItem(22482, 1); player.getPackets().sendGameMessage("You have made a Ganodermic visor!"); return; } } else if (itemUsed.getId() == 22450 && usedWith.getId() == 22456) { if (player.getInventory().containsItem(22450, 3500) && player.getInventory().containsItem(22456, 1)) { player.getInventory().deleteItem(22450, 3500); player.getInventory().deleteItem(22456, 1); player.getInventory().addItem(22478, 1); player.getPackets().sendGameMessage("You have made a Grifolic poncho!"); return; } } else if (itemUsed.getId() == 22450 && usedWith.getId() == 22454) { if (player.getInventory().containsItem(22450, 1200) && player.getInventory().containsItem(22454, 1)) { player.getInventory().deleteItem(22450, 1200); player.getInventory().deleteItem(22454, 1); player.getInventory().addItem(22474, 1); player.getPackets().sendGameMessage("You have made a Grifolic leggings!"); return; } } else if (itemUsed.getId() == 22450 && usedWith.getId() == 22452) { if (player.getInventory().containsItem(22450, 400) && player.getInventory().containsItem(22452, 1)) { player.getInventory().deleteItem(22450, 400); player.getInventory().deleteItem(22452, 1); player.getInventory().addItem(22470, 1); player.getPackets().sendGameMessage("You have made a Grifolic visor!"); return; } } else if (itemUsed.getId() == 22449 && usedWith.getId() == 22456) { if (player.getInventory().containsItem(22449, 2500) && player.getInventory().containsItem(22456, 1)) { player.getInventory().deleteItem(22449, 2500); player.getInventory().deleteItem(22456, 1); player.getInventory().addItem(22466, 1); player.getPackets().sendGameMessage("You have made a Fungal poncho!"); return; } } else if (itemUsed.getId() == 22449 && usedWith.getId() == 22454) { if (player.getInventory().containsItem(22449, 1000) && player.getInventory().containsItem(22454, 1)) { player.getInventory().deleteItem(22449, 1000); player.getInventory().deleteItem(22454, 1); player.getInventory().addItem(22462, 1); player.getPackets().sendGameMessage("You have made a Fungal leggings!"); return; } } else if (itemUsed.getId() == 22449 && usedWith.getId() == 22452) { if (player.getInventory().containsItem(22449, 300) && player.getInventory().containsItem(22452, 1)) { player.getInventory().deleteItem(22449, 300); player.getInventory().deleteItem(22452, 1); player.getInventory().addItem(22458, 1); player.getPackets().sendGameMessage("You have made a Fungal visor!"); return; } } else if (itemUsed.getId() == 806 && usedWith.getId() == 187) { if (player.getInventory().containsItem(806, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(806, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(812, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Bronze darts."); return; } } else if (itemUsed.getId() == 807 && usedWith.getId() == 187) { if (player.getInventory().containsItem(807, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(807, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(813, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Iron darts."); return; } } else if (itemUsed.getId() == 808 && usedWith.getId() == 187) { if (player.getInventory().containsItem(808, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(808, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(814, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Steel darts."); return; } } else if (itemUsed.getId() == 809 && usedWith.getId() == 187) { if (player.getInventory().containsItem(809, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(809, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(815, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Mithril darts."); return; } } else if (itemUsed.getId() == 810 && usedWith.getId() == 187) { if (player.getInventory().containsItem(810, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(810, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(816, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Adamant darts."); return; } } else if (itemUsed.getId() == 811 && usedWith.getId() == 187) { if (player.getInventory().containsItem(811, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(811, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(817, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Rune darts."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 806) { if (player.getInventory().containsItem(806, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(806, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(812, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Bronze darts."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 807) { if (player.getInventory().containsItem(807, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(807, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(813, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Iron darts."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 808) { if (player.getInventory().containsItem(808, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(808, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(814, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Steel darts."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 809) { if (player.getInventory().containsItem(809, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(809, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(815, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Mithril darts."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 810) { if (player.getInventory().containsItem(810, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(810, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(816, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Adamant darts."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 811) { if (player.getInventory().containsItem(811, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(811, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(817, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Rune darts."); return; } } else if (itemUsed.getId() == 825 && usedWith.getId() == 187) { if (player.getInventory().containsItem(825, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(825, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(831, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Bronze javelins."); return; } } else if (itemUsed.getId() == 826 && usedWith.getId() == 187) { if (player.getInventory().containsItem(826, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(826, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(832, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Iron javelins."); return; } } else if (itemUsed.getId() == 827 && usedWith.getId() == 187) { if (player.getInventory().containsItem(827, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(827, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(833, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Steel javelins."); return; } } else if (itemUsed.getId() == 828 && usedWith.getId() == 187) { if (player.getInventory().containsItem(828, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(828, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(834, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Mithril javelins."); return; } } else if (itemUsed.getId() == 829 && usedWith.getId() == 187) { if (player.getInventory().containsItem(829, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(829, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(835, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Adamant javelins."); return; } } else if (itemUsed.getId() == 830 && usedWith.getId() == 187) { if (player.getInventory().containsItem(830, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(830, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(836, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Rune javelins."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 825) { if (player.getInventory().containsItem(825, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(825, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(831, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Bronze javelins."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 826) { if (player.getInventory().containsItem(826, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(826, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(832, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Iron javelins."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 827) { if (player.getInventory().containsItem(827, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(827, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(833, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Steel javelins."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 828) { if (player.getInventory().containsItem(828, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(828, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(834, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Mithril javelins."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 829) { if (player.getInventory().containsItem(829, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(829, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(835, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Adamant javelins."); return; } } else if (itemUsed.getId() == 187 && usedWith.getId() == 830) { if (player.getInventory().containsItem(830, 15) && player.getInventory().containsItem(187, 1)) { player.getInventory().deleteItem(830, 15); player.getInventory().deleteItem(187, 1); player.getInventory().addItem(836, 15); player.getInventory().addItem(229, 1); player.getPackets().sendGameMessage("You have poisoned the Rune javelins."); return; } } else if (itemUsed.getId() == 9007 && usedWith.getId() == 9008) { if (player.getInventory().containsItem(9007, 1) && player.getInventory().containsItem(9008, 1)) { player.getInventory().deleteItem(9007, 1); player.getInventory().deleteItem(9008, 1); player.getInventory().addItem(9009, 1); player.getPackets().sendGameMessage("You attach the two skull sides to make the Strange skull."); return; } } else if (itemUsed.getId() == 9010 && usedWith.getId() == 9011) { if (player.getInventory().containsItem(9010, 1) && player.getInventory().containsItem(9011, 1)) { player.getInventory().deleteItem(9010, 1); player.getInventory().deleteItem(9011, 1); player.getInventory().addItem(9012, 1); player.getPackets().sendGameMessage("You attach the top and bottom sceptre halves to make a Runed sceptre."); return; } } else if (itemUsed.getId() == 9009 && usedWith.getId() == 9012) { if (player.getInventory().containsItem(9009, 1) && player.getInventory().containsItem(9012, 1)) { player.getInventory().deleteItem(9009, 1); player.getInventory().deleteItem(9012, 1); player.getInventory().addItem(9013, 1); player.getPackets().sendGameMessage("You attach the Strange skull to the Runed sceptre to make a Skull sceptre."); return; } } else if (itemUsed.getId() == 9008 && usedWith.getId() == 9007) { if (player.getInventory().containsItem(9007, 1) && player.getInventory().containsItem(9008, 1)) { player.getInventory().deleteItem(9007, 1); player.getInventory().deleteItem(9008, 1); player.getInventory().addItem(9009, 1); player.getPackets().sendGameMessage("You attach the two skull sides to make the Strange skull."); return; } } else if (itemUsed.getId() == 9011 && usedWith.getId() == 9010) { if (player.getInventory().containsItem(9010, 1) && player.getInventory().containsItem(9011, 1)) { player.getInventory().deleteItem(9010, 1); player.getInventory().deleteItem(9011, 1); player.getInventory().addItem(9012, 1); player.getPackets().sendGameMessage("You attach the top and bottom sceptre halves to make a Runed sceptre."); return; } } else if (itemUsed.getId() == 9012 && usedWith.getId() == 9009) { if (player.getInventory().containsItem(9009, 1) && player.getInventory().containsItem(9012, 1)) { player.getInventory().deleteItem(9009, 1); player.getInventory().deleteItem(9012, 1); player.getInventory().addItem(9013, 1); player.getPackets().sendGameMessage("You attach the Strange skull to the Runed sceptre to make a Skull sceptre."); return; } } else if (itemUsed.getId() == 21775 && usedWith.getId() == 1391) { if (player.getInventory().containsItem(21775, 1) && player.getInventory().containsItem(1391, 1)) { player.getInventory().deleteItem(21775, 1); player.getInventory().deleteItem(1391, 1); player.getInventory().addItem(21777, 1); player.getPackets().sendGameMessage("You attach the Orb of Armadyl to the Battlestaff to make an Armadyl Battlestaff!"); return; } } else if (itemUsed.getId() == 1391 && usedWith.getId() == 21775) { if (player.getInventory().containsItem(21775, 1) && player.getInventory().containsItem(1391, 1)) { player.getInventory().deleteItem(21775, 1); player.getInventory().deleteItem(1391, 1); player.getInventory().addItem(21777, 1); player.getPackets().sendGameMessage("You attach the Orb of Armadyl to the Battlestaff to make an Armadyl Battlestaff!"); return; } } else if (itemUsed.getId() == 11710 && usedWith.getId() == 11712 || usedWith.getId() == 11714) { if (player.getInventory().containsItem(11710, 1) && player.getInventory().containsItem(11712, 1) && player.getInventory().containsItem(11714, 1)) { player.getInventory().deleteItem(11710, 1); player.getInventory().deleteItem(11712, 1); player.getInventory().deleteItem(11714, 1); player.getInventory().addItem(11690, 1); player.getPackets().sendGameMessage("You made a godsword blade."); return; } } else if (itemUsed.getId() == 11690 && usedWith.getId() == 11702) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11702, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11702, 1); player.getInventory().addItem(11694, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Armadyl godsword."); return; } } else if (itemUsed.getId() == 11690 && usedWith.getId() == 11704) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11704, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11704, 1); player.getInventory().addItem(11696, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Bandos godsword."); return; } } else if (itemUsed.getId() == 11690 && usedWith.getId() == 11706) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11706, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11706, 1); player.getInventory().addItem(11698, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Saradomin godsword."); return; } } else if (itemUsed.getId() == 11690 && usedWith.getId() == 11708) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11708, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11708, 1); player.getInventory().addItem(11700, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Zamorak godsword."); return; } } int herblore = Herblore.isHerbloreSkill(itemUsed, usedWith); if (herblore > -1) { player.getDialogueManager().startDialogue("HerbloreD", herblore, itemUsed, usedWith); return; } if (itemUsed.getId() == LeatherCrafting.NEEDLE.getId() || usedWith.getId() == LeatherCrafting.NEEDLE.getId()) { if (LeatherCrafting .handleItemOnItem(player, itemUsed, usedWith)) { return; } } Sets set = ArmourSets.getArmourSet(itemUsedId, itemUsedWithId); if (set != null) { ArmourSets.exchangeSets(player, set); return; } if (Firemaking.isFiremaking(player, itemUsed, usedWith)) return; else if (contains(1755, Gem.OPAL.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.OPAL); else if (contains(1755, Gem.JADE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.JADE); else if (contains(1755, Gem.RED_TOPAZ.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.RED_TOPAZ); else if (contains(1755, Gem.MYRE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.MYRE); else if (contains(1755, Gem.OCHRE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.OCHRE); else if (contains(1755, Gem.BRUISE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.BRUISE); else if (contains(1755, Gem.BROKEN.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.BROKEN); else if (contains(1755, Gem.BLOOD.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.BLOOD); else if (contains(1755, Gem.MYREB.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.MYREB); else if (contains(1755, Gem.OCHREB.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.OCHREB); else if (contains(1755, Gem.BRUISEB.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.BRUISEB); else if (contains(1755, Gem.BLOODB.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.BLOODB); else if (contains(1755, Gem.SAPPHIREBOLTS.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.SAPPHIREBOLTS); else if (contains(1755, Gem.EMERALDBOLTS.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.EMERALDBOLTS); else if (contains(1755, Gem.RUBYBOLTS.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.RUBYBOLTS); else if (contains(1755, Gem.DIAMONDBOLTS.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.DIAMONDBOLTS); else if (contains(1755, Gem.DRAGONSTONEBOLTS.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.DRAGONSTONEBOLTS); else if (contains(1755, Gem.SAPPHIRE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.SAPPHIRE); else if (contains(1755, Gem.EMERALD.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.EMERALD); else if (contains(1755, Gem.RUBY.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.RUBY); else if (contains(1755, Gem.DIAMOND.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.DIAMOND); else if (contains(1755, Gem.DRAGONSTONE.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.DRAGONSTONE); else if (itemUsed.getId() == 21369 && usedWith.getId() == 4151){ player.getInventory().deleteItem(21369, 1); player.getInventory().deleteItem(4151, 1); player.getInventory().addItem(21371, 1); player.getPackets().sendGameMessage("Good job, you have succesfully combined a whip and vine into a vine whip."); } else if (itemUsed.getId() == 4151 && usedWith.getId() == 21369){ player.getInventory().deleteItem(21369, 1); player.getInventory().deleteItem(4151, 1); player.getInventory().addItem(21371, 1); player.getPackets().sendGameMessage("Good job, you have succesfully combined a whip and vine into a vine whip."); } else if (itemUsed.getId() == 13734 && usedWith.getId() == 13754){ player.getInventory().deleteItem(13734, 1); player.getInventory().deleteItem(13754, 1); player.getInventory().addItem(13736, 1); player.getPackets().sendGameMessage("You have poured the holy elixir on a spirit shield making it unleash Blessed powers."); } else if (itemUsed.getId() == 13754 && usedWith.getId() == 13734){ player.getInventory().deleteItem(13734, 1); player.getInventory().deleteItem(13754, 1); player.getInventory().addItem(13736, 1); player.getPackets().sendGameMessage("You have poured the holy elixir on a spirit shield making it unleash Blessed powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13748){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13748, 1); player.getInventory().addItem(13740, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Divine Powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13750){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13750, 1); player.getInventory().addItem(13742, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Elysian Powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13746){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13746, 1); player.getInventory().addItem(13738, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Arcane Powers."); } else if (itemUsed.getId() == 13746 && usedWith.getId() == 13736){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13746, 1); player.getInventory().addItem(13738, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Arcane Powers."); } else if (itemUsed.getId() == 13736 && usedWith.getId() == 13752){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13752, 1); player.getInventory().addItem(13744, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Spectral Powers."); } else if (itemUsed.getId() == 13752 && usedWith.getId() == 13736){ player.getInventory().deleteItem(13736, 1); player.getInventory().deleteItem(13752, 1); player.getInventory().addItem(13744, 1); player.getPackets().sendGameMessage("You force the sigil upon the blessed spirit shield making it unleash Spectral Powers."); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 4087){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(4087, 1); player.getInventory().addItem(24363, 1); player.getPackets().sendGameMessage("You create Dragonbone platelegs!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 4585){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(4585, 1); player.getInventory().addItem(24364, 1); player.getPackets().sendGameMessage("You create Dragonbone plateskirt!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 14479){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(14479, 1); player.getInventory().addItem(24360, 1); player.getPackets().sendGameMessage("You create Dragonbone platebody!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 11335){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(11335, 1); player.getInventory().addItem(24359, 1); player.getPackets().sendGameMessage("You create Dragonbone full helm!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 13006){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(13006, 1); player.getInventory().addItem(24361, 1); player.getPackets().sendGameMessage("You create Dragonbone gloves!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 11732){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(11732, 1); player.getInventory().addItem(24362, 1); player.getPackets().sendGameMessage("You create Dragonbone boots!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 6918){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(6918, 1); player.getInventory().addItem(24354, 1); player.getPackets().sendGameMessage("You create Dragonbone mage hat!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 6916){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(6916, 1); player.getInventory().addItem(24355, 1); player.getPackets().sendGameMessage("You create Dragonbone mage top!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 6924){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(6924, 1); player.getInventory().addItem(24356, 1); player.getPackets().sendGameMessage("You create Dragonbone mage bottoms!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 6922){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(6922, 1); player.getInventory().addItem(24357, 1); player.getPackets().sendGameMessage("You create Dragonbone mage gloves!"); } else if (itemUsed.getId() == 24352 && usedWith.getId() == 6920){ player.getInventory().deleteItem(24352, 1); player.getInventory().deleteItem(6920, 1); player.getInventory().addItem(24358, 1); player.getPackets().sendGameMessage("You create Dragonbone mage boots!"); } else if (itemUsed.getId() == 25312 && usedWith.getId() == 24365){ player.getInventory().deleteItem(25312, 1); player.getInventory().deleteItem(24365, 1); player.getInventory().addItem(25320, 1); player.getPackets().sendGameMessage("You create Dragon kiteshield (or)!"); } else if (itemUsed.getId() == 19346 && usedWith.getId() == 11335){ player.getInventory().deleteItem(19346, 1); player.getInventory().deleteItem(11335, 1); player.getInventory().addItem(19336, 1); player.getPackets().sendGameMessage("You create Dragon full helm (or)!"); } else if (itemUsed.getId() == 19350 && usedWith.getId() == 14479){ player.getInventory().deleteItem(19350, 1); player.getInventory().deleteItem(14479, 1); player.getInventory().addItem(19337, 1); player.getPackets().sendGameMessage("You create Dragonbone platebody (or)!"); } else if (itemUsed.getId() == 19348 && usedWith.getId() == 4087){ player.getInventory().deleteItem(19348, 1); player.getInventory().deleteItem(4087, 1); player.getInventory().addItem(19338, 1); player.getPackets().sendGameMessage("You create Dragon platelegs (or)!"); } else if (itemUsed.getId() == 19348 && usedWith.getId() == 4585){ player.getInventory().deleteItem(19348, 1); player.getInventory().deleteItem(4585, 1); player.getInventory().addItem(19339, 1); player.getPackets().sendGameMessage("You create Dragon plateskirt (or)!"); } else if (itemUsed.getId() == 19352 && usedWith.getId() == 1187){ player.getInventory().deleteItem(19352, 1); player.getInventory().deleteItem(1187, 1); player.getInventory().addItem(19340, 1); player.getPackets().sendGameMessage("You create Dragon sq shield (or)!"); } else if (itemUsed.getId() == 25314 && usedWith.getId() == 24365){ player.getInventory().deleteItem(25314, 1); player.getInventory().deleteItem(24365, 1); player.getInventory().addItem(25321, 1); player.getPackets().sendGameMessage("You create Dragon kiteshield (sp)!"); } else if (itemUsed.getId() == 19354 && usedWith.getId() == 11335){ player.getInventory().deleteItem(19354, 1); player.getInventory().deleteItem(11335, 1); player.getInventory().addItem(19341, 1); player.getPackets().sendGameMessage("You create Dragon full helm (sp)!"); } else if (itemUsed.getId() == 19358 && usedWith.getId() == 14479){ player.getInventory().deleteItem(19358, 1); player.getInventory().deleteItem(14479, 1); player.getInventory().addItem(19342, 1); player.getPackets().sendGameMessage("You create Dragonbone platebody (sp)!"); } else if (itemUsed.getId() == 19356 && usedWith.getId() == 4087){ player.getInventory().deleteItem(19356, 1); player.getInventory().deleteItem(4087, 1); player.getInventory().addItem(19343, 1); player.getPackets().sendGameMessage("You create Dragon platelegs (sp)!"); } else if (itemUsed.getId() == 19356 && usedWith.getId() == 4585){ player.getInventory().deleteItem(19356, 1); player.getInventory().deleteItem(4585, 1); player.getInventory().addItem(19344, 1); player.getPackets().sendGameMessage("You create Dragon plateskirt (sp)!"); } else if (itemUsed.getId() == 19360 && usedWith.getId() == 1187){ player.getInventory().deleteItem(19360, 1); player.getInventory().deleteItem(1187, 1); player.getInventory().addItem(19345, 1); player.getPackets().sendGameMessage("You create Dragon sq shield (sp)!"); } else if (contains(1755, Gem.ONYX.getUncut(), itemUsed, usedWith)) GemCutting.cut(player, Gem.ONYX); else player.getPackets().sendGameMessage( "Nothing interesting happens."); if (Settings.DEBUG) Logger.log("ItemHandler", "Used:" + itemUsed.getId() + ", With:" + usedWith.getId()); } } CAN U PLEASE REPLY NEED :)
  2. Here is my itemdef with the int switch (itemdef.id) { case 11722: itemDef.femaleEquip1 = itemDef.maleEquip1; itemDef.femaleEquip2 = itemDef.maleEquip2; break; case 11740: { itemdef.modelID = 20087; itemdef.name = "Owner Wings"; itemdef.modelZoom = 850; itemdef.modelRotation1 = 252; itemdef.modelRotation2 = 1020; itemdef.modelOffset1 = -1; itemdef.modelOffset2 = 24; itemdef.anInt165 = 20086; itemdef.anInt165 = 20086; itemdef.groundActions = new String[5]; itemdef.groundActions[2] = "Take"; itemdef.itemActions = new String[5]; itemdef.itemActions[1] = "Wear"; itemdef.itemActions[4] = "Drop"; } When i try and compile it i get this error ItemDef.java:235: error: cannot find s switch (itemde ^ symbol: variable itemdef location: class ItemDef ItemDef.java:235: error: illegal start switch (itemde ^ ItemDef.java:243: error: cannot find s itemdef.modelID = 20087; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:244: error: cannot find s itemdef.name = "Owner Wings"; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:245: error: cannot find s itemdef.modelZoom = 850; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:246: error: cannot find s itemdef.modelRotation1 = 252; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:247: error: cannot find s itemdef.modelRotation2 = 1020; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:248: error: cannot find s itemdef.modelOffset1 = -1; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:249: error: cannot find s itemdef.modelOffset2 = 24; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:250: error: cannot find s itemdef.anInt165 = 20086; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:251: error: cannot find s itemdef.anInt165 = 20086; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:252: error: cannot find s itemdef.groundActions = new String[5]; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:253: error: cannot find s itemdef.groundActions[2] = "Take"; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:254: error: cannot find s itemdef.itemActions = new String[5]; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:255: error: cannot find s itemdef.itemActions[1] = "Wear"; ^ symbol: variable itemdef location: class ItemDef ItemDef.java:256: error: cannot find s itemdef.itemActions[4] = "Drop"; ^ symbol: variable itemdef location: class ItemDef Note: client.java uses unchecked or un Note: Recompile with -Xlint:unchecked 16 errors Press any key to continue . . . Any help would be awesome thanks guys.
  3. Mightyfail

    compiling error

    [CODE] Class30_Sub2_Sub4_Sub4.java:1: error: package sign does not exist import sign.signlink; ^ Class30_Sub2_Sub4_Sub5.java:1: error: package sign does not exist import sign.signlink; ^ Class46.java:1: error: package sign does not exist import sign.signlink; ^ Class34.java:1: error: package sign does not exist import sign.signlink; ^ Class35.java:1: error: package sign does not exist import sign.signlink; ^ Class36.java:1: error: package sign does not exist import sign.signlink; ^ Class37.java:2: error: package sign does not exist import sign.signlink; ^ Class38.java:2: error: package sign does not exist import sign.signlink; ^ Class4.java:1: error: package sign does not exist import sign.signlink; ^ Class41.java:2: error: package sign does not exist import sign.signlink; ^ Class50.java:1: error: package sign does not exist import sign.signlink; ^ Class8.java:1: error: package sign does not exist import sign.signlink; ^ Class1.java:55: error: cannot find symbol signlink.reporterror("91499, " + class30 + ", " + l + ", " + byte0 + ", " + runtimeexception.toString()); ^ symbol: variable signlink location: class Class1 Class12.java:60: error: cannot find symbol signlink.reporterror("47547, " + class30_sub2 + ", " + l + ", " + by te0 + ", " + runtimeexception.toString()); ^ symbol: variable signlink location: class Class12 Class30_Sub2_Sub2.java:176: error: cannot find symbol signlink.reporterror("14395, " + i + ", " + l + ", " + runtimeexcept ion.toString()); ^ symbol: variable signlink location: class Class30_Sub2_Sub2 client.java:40: error: cannot find symbol signlink.midifade = 0; ^ symbol: variable signlink location: class client client.java:41: error: cannot find symbol signlink.midi = "stop"; ^ symbol: variable signlink location: class client client.java:218: error: cannot find symbol signlink.storeid = 32; ^ symbol: variable signlink location: class client client.java:219: error: cannot find symbol signlink.startpriv(InetAddress.getLocalHost()); ^ symbol: variable signlink location: class client client.java:231: error: cannot find symbol if(signlink.mainapp != null) { ^ symbol: variable signlink location: class client client.java:232: error: cannot find symbol signlink.startthread(runnable, i); ^ symbol: variable signlink location: class client client.java:242: error: cannot find symbol if(signlink.mainapp != null) ^ symbol: variable signlink location: class client client.java:243: error: cannot find symbol return signlink.opensocket(i); ^ symbol: variable signlink location: class client client.java:348: error: cannot find symbol signlink.midifade = flag ? 1 : 0; ^ symbol: variable signlink location: class client client.java:349: error: cannot find symbol signlink.midisave(abyte0, abyte0.length); ^ symbol: variable signlink location: class client client.java:524: error: cannot find symbol if(aBoolean960 && signlink.cache_dat != null) ^ symbol: variable signlink location: class client client.java:732: error: cannot find symbol return signlink.wavereplay(); ^ symbol: variable signlink location: class client client.java:1081: error: cannot find symbol signlink.reporterror(aString1173 + " size mismatch in getnpcpos - po s:" + class30_sub2_sub2.anInt1406 + " psize:" + i); ^ symbol: variable signlink location: class client client.java:1087: error: cannot find symbol signlink.reporterror(aString1173 + " null entry in npc list - po s:" + i1 + " size:" + anInt836); ^ symbol: variable signlink location: class client client.java:1524: error: cannot find symbol signlink.reporterror("18622, " + flag + ", " + l + ", " + runtimeexc eption.toString()); ^ symbol: variable signlink location: class client client.java:1853: error: cannot find symbol signlink.reporterror("15283, " + byte0 + ", " + l + ", " + runtimeex ception.toString()); ^ symbol: variable signlink location: class client client.java:2435: error: cannot find symbol signlink.storeid = 32; ^ symbol: variable signlink location: class client client.java:2436: error: cannot find symbol signlink.startpriv(InetAddress.getLocalHost()); ^ symbol: variable signlink location: class client client.java:2470: error: cannot find symbol signlink.reporterror(aString1173 + " glcfb " + aLong1215 + "," + j + "," + aBoolean960 + "," + aClass14Array970[0] + "," + aClass42_Sub1_1068.me thod552() + "," + anInt918 + "," + anInt1069 + "," + anInt1070); ^ symbol: variable signlink location: class client client.java:2559: error: cannot find symbol if(signlink.mainapp != null) ^ symbol: variable signlink location: class client client.java:2560: error: package signlink does not exist return signlink.mainapp.getAppletContext(); ^ client.java:2734: error: cannot find symbol return signlink.wavesave(abyte0, i); ^ symbol: variable signlink location: class client client.java:3390: error: cannot find symbol if(!signlink.reporterror) ^ symbol: variable signlink location: class client client.java:3397: error: cannot find symbol if(!signlink.reporterror) ^ symbol: variable signlink location: class client client.java:3404: error: cannot find symbol if(!signlink.reporterror) ^ symbol: variable signlink location: class client client.java:4566: error: cannot find symbol signlink.reporterror = false; ^ symbol: variable signlink location: class client client.java:4720: error: cannot find symbol if(signlink.mainapp != null) ^ symbol: variable signlink location: class client client.java:4721: error: cannot find symbol return signlink.mainapp; ^ symbol: variable signlink location: class client client.java:5398: error: cannot find symbol class9.aString248 = "You last logged in " + s + " from: " + sign link.dns; ^ symbol: variable signlink location: class client client.java:5695: error: cannot find symbol if(signlink.mainapp != null) ^ symbol: variable signlink location: class client client.java:5696: error: package signlink does not exist return signlink.mainapp.getDocumentBase().getHost().toLowerCase(); ^ client.java:5807: error: cannot find symbol signlink.errorname = s; ^ symbol: variable signlink location: class client client.java:5845: error: cannot find symbol aClass30_Sub2_Sub2_1192.method402(signlink.uid); ^ symbol: variable signlink location: class client client.java:6715: error: cannot find symbol if(signlink.sunjava) ^ symbol: variable signlink location: class client client.java:6715: error: illegal start of type if(signlink.sunjava) ^ client.java:6725: error: cannot find symbol if(signlink.cache_dat != null) ^ symbol: variable signlink location: class client client.java:6729: error: cannot find symbol aClass14Array970[i] = new Class14(0xffffff, signlink.cache_dat, signlink.cache_idx[i], i + 1, true); ^ symbol: variable signlink location: class client client.java:6729: error: cannot find symbol aClass14Array970[i] = new Class14(0xffffff, signlink.cache_dat, signlink.cache_idx[i], i + 1, true); ^ symbol: variable signlink location: class client client.java:7119: error: cannot find symbol signlink.reporterror("loaderror " + aString1049 + " " + anInt1079); ^ symbol: variable signlink location: class client client.java:8549: error: cannot find symbol signlink.reporterror("glfc_ex " + ((Class30_Sub2_Sub4_Sub1) (aClass3 0_Sub2_Sub4_Sub1_Sub2_1126)).anInt1550 + "," + ((Class30_Sub2_Sub4_Sub1) (aClass 30_Sub2_Sub4_Sub1_Sub2_1126)).anInt1551 + "," + anInt1014 + "," + anInt1015 + ", " + anInt1069 + "," + anInt1070 + "," + anInt1034 + "," + anInt1035); ^ symbol: variable signlink location: class client client.java:8615: error: cannot find symbol signlink.wavevol = i; ^ symbol: variable signlink location: class client client.java:8726: error: cannot find symbol signlink.reporterror("45688, " + l + ", " + i + ", " + runtimeexcept ion.toString()); ^ symbol: variable signlink location: class client client.java:9104: error: cannot find symbol signlink.reporterror("47229, " + i + ", " + l + ", " + runtimeexcept ion.toString()); ^ symbol: variable signlink location: class client client.java:9111: error: cannot find symbol if(signlink.mainapp != null) ^ symbol: variable signlink location: class client client.java:9112: error: package signlink does not exist return signlink.mainapp.getParameter(s); ^ client.java:9123: error: cannot find symbol signlink.midivol = i; ^ symbol: variable signlink location: class client client.java:9125: error: cannot find symbol signlink.midi = "voladjust"; ^ symbol: variable signlink location: class client Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 100 errors Press any key to continue . . . [/CODE] please help me fix this
  4. Hello I've looked all over for a firemaking coding but they don't really work. My problem is: my character will do the lighting animation but he will just keep bending and acting as if he is lighting. NO FIRE will come out! or log starting to get fire.... please take a look at mine and tell me what is missing and what I've done wrong. Thank you! [CODE]package server.model.players.skills; import server.Config; import server.model.players.Client; import server.model.objects.Objects; import server.Server; /** * Firemaking.java * * @author Sanity * **/ public class Firemaking { private Client c; private int[] logs = {1511,1521,1519,1517,1515,1513}; private int[] exp = {1,3,4,5,7,8}; private int[] level = {1,15,30,45,60,75}; public long lastLight; private int DELAY = 1250; public boolean resetAnim = true; public Firemaking(Client c) { this.c = c; } public void checkLogType(int logType, int otherItem) { for (int j = 0; j < logs.length;j++) { if (logs[j] == logType || logs[j] == otherItem) { lightFire(j); return; } } } public void lightFire(int slot) { if (c.duelStatus >= 5) { c.sendMessage("Why am I trying to light a fire in the duel arena?"); return; } if (c.playerLevel[c.playerFiremaking] >= level[slot]) { if (c.getItems().playerHasItem(590) && c.getItems().playerHasItem(logs[slot])) { if (System.currentTimeMillis() - lastLight > DELAY) { c.startAnimation(733,0); c.getItems().deleteItem(logs[slot], c.getItems().getItemSlot(logs[slot]), 1); c.getPA().addSkillXP(logs[slot] * Config.FIREMAKING_EXPERIENCE, c.playerFiremaking); Objects fire = new Objects(2732,c.getX(),c.getY(), 0, -1, 10, 3); Objects fire2 = new Objects(-1,c.getX(),c.getY(), 0, -1, 10, 60); c.sendMessage("You light the fire."); this.lastLight = System.currentTimeMillis(); //c.getPA().frame1(); resetAnim = true; } } } } }[/CODE]
  5. Hey everyone im getting this error! starting... src\com\rs\game\player\content\MaxedUser.java:12: error: unreachable statement return player.completedFightKiln = true; ^ 1 error Press any key to continue . . . And this is the code for it! Can anyone tell me how to fix it? or show? public static boolean isCompletionist(Player player) { return player.getSkills().getTotalLevel(player) == 2496; return player.completedFightKiln = true; }
  6. Hi, I'm having a problem with my PI based client. I can login on the server with no problems but when someone else tries to login it won't let them, now I will tell you what I did to try and make it work and if I missed something please help me:) I made a no-ip domain. I jarred the client (even tho it probably doesn't make any difference). I port-forwarded. and in the client.java I changed: if(myPrivilege == 2 || server.equals("******.no-ip.info") || 1 == 1/*to remove*/) Server = "********.no-ip.info"; public static String server = "*******.no-ip.info"; Is there anything else I need to change in the client or anywhere else? Thanks for your time!
  7. Hey i am having a mysql error in my source when i run it i don't know how to fix this problem. If someone could tell me how to fix it or teamview me itd be much appreciated!
  8. [FONT=Comic Sans MS][SIZE=5][COLOR="#FFD700"]Hi Runelocus, Wanted to test out a server, but when I run the client (which loads fine) it crash right after loading "Fetching Updates". Im getting an error message on the client panel, here is what it's saying: [IMG]https://dl.dropboxusercontent.com/u/59261058/error.png[/IMG] Anyone has an idea on how to fix this? I have checked the revision in both source & client already. [/COLOR][/SIZE][/FONT]
  9. i have jared the client, but now i get an error saying this "src\cc.java:54: error: class CharEncoding is public, should be declared in a fil e named CharEncoding.java public class CharEncoding { ^" The thing is that there is no CharEncoding,java file only CharEncoding.class Thanks
  10. Sometimes while browsing the forums and I click a link I [I]randomly[/I] encounter a DB error. I do not know what causes this error, but here is what it looks like [img]http://i.imgur.com/FQK1nRO.png[/img]
  11. [IMG]http://i59.tinypic.com/256tmqv.png[/IMG] Not sure?
  12. If i try to add mystery box to my project insanity server, and i use this code: if(itemId == 6199) { c.getItems().deleteItem(6199, 1); int[] arrayOfItems = {1050,1048,1046,1044,1042,1040,1038}; c.getItems().addItem(arrayOfItems[Misc.random(arrayOfItems.length)], 1); } Then i get this error: Clickitem.java20 error: cannot find symbol c.getItems().addItem(arrayOfItems[Misc.random(arrayOfItems.length)], 1); Do i need to declare something? or am i using wrong code?
  13. Hi there, I kinda hit rock-bottom. I don't know where to look anymore, nor do I have a feeling I will find anything. I've seen several threads that seemed to go towards what I had.. but then ended up with nothing. My issue is; When I start the server, which starts fine and I start the client, which starts fine as well, I try to create an account and I end up getting kicked off as soon as I click "Create Account". Which is getting rather frustrating to this point and I really don't know what to look for. [CODE]C:\Users\Biggs\CitellumCache\citellum\Core File ID: 1, details: 45 / [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44] --Where it Crashes. Error: vn.n() client.er() client.ae() mc.m() mc.e() | Class288_Sub1.method2730:8 6 client.method2806:2805 client.method2773:607 Class291.method2764:534 Class291. method2759:375 Class291.run:323 java.lang.Thread.run | java.lang.NullPointerExce ption | 0,0,104,104 0,8,8 1 0 2 800,600 1 2 2 1 0 0 248 2 4071 hAJWGrsaETglRjuw xMwnlA/d5W6EgYWx java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) --Bunch of Links at java.net.URL.openStream(Unknown Source) at IPAddress.method6062(IPAddress.java:127) at Class291.run(Class291.java:327) at java.lang.Thread.run(Unknown Source) error_game_crash [/CODE] Trying to run "[I][U]Citellum RSPS 718 | Lobby | Squeal | Pouch | and whatever[/U][/I]" by the way. In case that'd matter or anybody had to know. And honestly, this is my first time doing such a thing and I probably missed something quite silly.. but I just hit 7am and I think my first actual download after reading what it all involves, has been at least since before midnight.. So if there truly is a Thread already that explains this issue to the Detail, please hit me hard at the back of the head. Just don't know what to do with it. :/ Any help appreciated! -Biggs.
  14. I get this error when I run my client: [code]The system cannot find the path specified. Error: Could not find or load main class Launcher Press any key to continue . . .[/code] But my friend's client works perfectly for him. My run.bat code is: [code]@echo off color 0a cd ./Files/ "C:\Program Files (x86)\Java\jre8\bin\java.exe" -Xmx550m Launcher 30 0 lowmem members 32 pause [/code] My Java versions are as follow: jre8 jre7 jdk1.8.0_05 Please help
  15. please im honestly new im trying to get the server and client running before i try to do anything els pleae help? ------------------------------------------------ InsanityX (x64), Starting up... ------------------------------------------------ Auto-Detected 32-bit (x86) System ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . C l i e n t o u t p u t b e l o w . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Exception in thread "main" java.lang.UnsupportedClassVersionError: Jframe : Unsu pported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) 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) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Press any key to continue . . .
  16. [IMG]http://i.imgur.com/1LtAvHm.png[/IMG] After posting, going back in to edit it gives you this warning
  17. Hello, so i got a 667 client, everytime when some 1 else run the .jar client on their computer they get this error: [IMG]http://i.imgur.com/x0nSvaP.png[/IMG] I do not know how to fix this :( or maybie iam doing something wrong when making the .jar thing Another thing when I want to start the Webclient with this .jar file ( uploaded to dropbox ) i get this error [IMG]http://i.imgur.com/qwRTkjG.png[/IMG] [IMG]http://i.imgur.com/YcqdGjZ.png[/IMG] The Client (.jar) is working perfect on my computer but the webclient dont work on my computer MORE INFO: I compile the client before making it .jar with jdk1.6.0_45 (i did it with the newest but also no change) I use this HTML code for the webclient [url]https://dl.dropboxusercontent.com/u/106603353/webclient.rar[/url]
  18. davk45

    Client Error Help

    I am new at RSPS and have recently downloaded my first one, Goudont 562. After I ran the Client Compiler, the client would not run anymore (I had opened previously and it worked fine). Instead, it said "Exception in thread main". What does that mean? HELP! [ATTACH]10574[/ATTACH] [ATTACH]10575[/ATTACH] The prefix is supposed to be 562 sorry
  19. The Rare

    Compiler error

    Hello all, I was fixing the compiler from the Poanizer Project Source(changing jdk version), but i can't get it working? Or i'm just stupid or it's a strange bug. Help would be appreciated Source compiler: [url]http://puu.sh/aciax/f2713abdcb.png[/url] Client compiler: [url]http://puu.sh/acieY/2937aab6a1.png[/url] NOTE: I'm new to coding Greetz, The Rare
  20. So I was able to upload a new cache to my site just fine with FTP. But now, it says for about 2 seconds: "Requesting Title Screen" And then: "Error Connecting - Retrying in..." (And of course there's a countdown...) Can someone help me please?
  21. everytime I try to run my client in Eclipse, I get this: [code]Uncaught error fetching image: java.lang.NullPointerException at sun.awt.image.URLImageSource.getConnection(Unknown Source) at sun.awt.image.URLImageSource.getDecoder(Unknown Source) at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source) at sun.awt.image.ImageFetcher.fetchloop(Unknown Source) at sun.awt.image.ImageFetcher.run(Unknown Source)[/code] What I have tried: - Switching compiler version to Java 6, 7, and 8. (Currently running on 7 as it should be) - Restarting Eclipse - Restarting server
  22. Thorin

    [PI]Strange error

    When i run my client, this shows up in the cmd... ……………………„„-~^^~„-„„_ ………………„-^*'' : : „'' : : : : *-„ …………..„-* : : :„„--/ : : : : : : : '\ …………./ : : „-* . .| : : : : : : : : '| ……….../ : „-* . . . | : : : : : : : : | ………...\„-* . . . . .| : : : : : : : :'| ……….../ . . . . . . '| : : : : : : : :| ……..../ . . . . . . . .'\ : : : : : : : | ……../ . . . . . . . . . .\ : : : : : : :| ……./ . . . . . . . . . . . '\ : : : : : / ….../ . . . . . . . . . . . . . *-„„„„-*' ….'/ . . . . . . . . . . . . . . '| …/ . . . . . . . ./ . . . . . . .| ../ . . . . . . . .'/ . . . . . . .'| ./ . . . . . . . . / . . . . . . .'| '/ . . . . . . . . . . . . . . . .'| '| . . . . . \ . . . . . . . . . .| '| . . . . . . \„_^- „ . . . . .'| '| . . . . . . . . .'\ .\ ./ '/ . | | .\ . . . . . . . . . \ .'' / . '| | . . . . . . . . . . / .'/ . . .| | . . . . . . .| . . / ./ ./ . .| Any suggestions?
  23. Hi, i din't had the challange option in my duelcontroler.java so i removed the // and i also added this part: [QUOTE] @Override public void start() { sendInterfaces(); player.getAppearence().generateAppearenceData(); //player.getPackets().sendPlayerOption("Challenge", 1, false); moved(); } [/QUOTE] However im getting this wird error: [QUOTE] Building please wait... src\com\rs\game\minigames\duel\DuelControler.java:18: error: method does not ove rride or implement a method from a supertype @Override ^ 1 error Compiled. [/QUOTE] Anybody knows how to fix this error and how to let the challange button to appear? Thanks for youre response.
  24. Hello there, after following many jarring process I've ran into the solution that I'm jarring/signing correctly. However each time I start my client.jar i get this [IMG]http://i62.tinypic.com/2zi6000.png[/IMG] [SIZE=5][B][U][FONT=Arial Black]1) I know that it can't find the file "main_file_cache.dat" [/FONT][/U][/B][/SIZE] However, I do know that the Main_file_cache.dat is located in my "CACHE" folder within the client. [IMG]http://i61.tinypic.com/11ihkch.png[/IMG] I've zipped the FILE in the CACHE folder not the CACHE FOLDER itself the "files in the cache folder" .zip... Upload it to dropbox, added [dl.] infront of my url. but still it doesnt work.... Here is my signlink.java [url]http://pastebin.com/JKEbRJKP[/url] Here is my CacheDownloader.java [url]http://pastebin.com/fwPiKVgt[/url] Here is my client.java [url]http://pastebin.com/eGrjZJnc[/url] Question is what do i do? Is there an antileech somewhere that I do not know? add me on skype: ayye.geo I also have teamviewer: 521 849 540 add and pm ------------------------------------------------------------------------ Edit#1 Before all of this, when I jar it would say "Could not find or load main class client" So i put SIGNLINK.java/Class into folder SIGN, then I took out all of my .class and .java into the open folder like this [IMG]http://i60.tinypic.com/2zxuxlh.png[/IMG] and it finally open but led to not being able to connect.
  25. I'm trying to play a server and no matter whether I use the downloaded client or the webclient, I get the error 'requesting title screen' followed by 'connection error retrying in __seconds' I've looked all over the place for a solution and finally decided to make a new thread because I can't find a fix. I've established it's something to do with the cache of the server. I've tried deleting and redownloading several times and the problem still occurs. I'm using a 64 bit version of Windows Ultimate and I'm running version 7 update 60 of java. Any help would really be appreciated.
×