Jump to content

snow blitz

Member
  • Content count

    29
  • Joined

  • Last visited

  1. Thanks for replying, but it still doesn't reset the killstreak :(
  2. Okay so i added a kill streak system and when you die their killstreak doesn't get reset :( Here are my codes: KillStreak.java: [CODE]package com.exile.game.players.content; import com.exile.game.players.Player; import com.exile.GameEngine; import com.exile.game.players.PlayerHandler; /** * Killing Streak System * * [MENTION=52317]auth[/MENTION]or Dakota Chest */ public class KillingStreak { Player c; public KillingStreak(Player c) { this.c = c; } /** * Sends the message throughout the GameEngine */ public void yell(String msg) { for (int j = 0; j < GameEngine.playerHandler.players.length; j++) { if (GameEngine.playerHandler.players[j] != null) { Player c2 = (Player)GameEngine.playerHandler.players[j]; c2.sendMessage(msg); } } } /** * Add rewards to the player who died * with the kill streak * */ public void Rewards() { Player o = (Player) PlayerHandler.players[c.killerId]; if (o.killStreak == 2) { c.pcPoints += 2; } else if (o.killStreak == 3) { c.pcPoints += 3; } else if (o.killStreak == 4) { c.pcPoints += 5; } else if (o.killStreak == 5) { c.pcPoints += 6; } else if (o.killStreak == 6) { c.pcPoints += 8; } else if (c.killStreak == 2) { c.pcPoints += 2; } else if (c.killStreak == 3) { c.pcPoints += 3; } else if (c.killStreak == 4) { c.pcPoints += 5; } else if (c.killStreak == 5) { c.pcPoints += 6; } else if (c.killStreak == 6) { c.pcPoints += 8; } } /** * Checks the player if they have * a killstreak of 2 or more * can add on * */ public void checkKillStreak() { switch (c.killStreak){ case 2: yell("@[email protected][@[email protected] System:@[email protected]]@[email protected] "+c.playerName+" is on a killing streak of 2!"); yell("@[email protected][@[email protected] System:@[email protected]] If you kill him, you will recieve 2 Project Exile Points!"); break; case 3: yell("@[email protected][@[email protected] System:@[email protected]]@[email protected] "+c.playerName+" is on a killing streak of 3!"); yell("@[email protected][@[email protected] System:@[email protected]] If you kill him, you will recieve 3 Project Exile Points!"); break; case 4: yell("@[email protected][@[email protected] System:@[email protected]]@[email protected] "+c.playerName+" is on a killing streak of 4!"); yell("@[email protected][@[email protected] System:@[email protected]] If you kill him, you will recieve 5 Project Exile Points!"); break; case 5: yell("@[email protected][@[email protected] System:@[email protected]]@[email protected] "+c.playerName+" is on a killing streak of 5!"); yell("@[email protected][@[email protected] System:@[email protected]] If you kill him, you will recieve 6 Project Exile Points!"); break; case 6: yell("@[email protected][@[email protected] System:@[email protected]]@[email protected] "+c.playerName+" is on a killing streak of 6!"); yell("@[email protected][@[email protected] System:@[email protected]] If you kill him, you will recieve 8 Project Exile Points!"); break; } } /** * Checks if the player with the killstreak * died add items to the killer * */ public void killedPlayer() { Player o = (Player) PlayerHandler.players[c.killerId]; if (o.killStreak >= 2 || c.killerId != o.playerId) { yell("@[email protected][@[email protected] System:@[email protected]]@[email protected] "+c.playerName+" has ended "+o.playerName+" killing streak of "+o.killStreak+", and was rewarded."); Rewards(); } } }[/CODE] My applydead method, playerassistant.java: [CODE] public void applyDead() { c.getVariables().maxConstitution = c.getVariables().calculateMaxLifePoints(c); if (c.getSummoning().summonedFamiliar != null && c.getVariables().summoned != null) { c.getVariables().summoned.npcTeleport(0, 0, 0); c.getSummoning().dismissFamiliar(); } sendString(":quicks:off", -1); c.getVariables().respawnTimer = 15; c.isDead = false; if (!c.getVariables().killedPlayer) { c.getVariables().killerId = findKiller(); Player o = (Player) PlayerHandler.players[c.getVariables().killerId]; if (o != null) { if (c.getVariables().killerId != c.playerId) { o.sendMessage(deathMsgs()); o.getVariables().killedDuelOpponent = true; c.getVariables().killedDuelOpponent = false; if (!DuelPlayer.contains(c)) { if (!c.connectedFrom.equals(o.getVariables().lastKilled)) { o.getVariables().pkp+= 1+c.getVariables().isDonator; c.getVariables().DC++; o.getVariables().KC++; o.sendMessage("@[email protected] recieve "+(1+c.getVariables().isDonator)+" Pk point for your kill, you now have " + o.getVariables().pkp + " Pk points."); [COLOR="#FF0000"] o.killStreak += 1; o.getStreak().checkKillStreak(); o.getStreak().killedPlayer(); [/COLOR] } } else { o.getPA().createPlayerHints(10, -1); o.faceUpdate(-1); o.getVariables().freezeTimer = 0; CombatPrayer.resetPrayers(o); o.getVariables().constitution = o.getVariables().calculateMaxLifePoints(o); for (int i = 0; i < 23; i++) { o.getVariables().playerLevel[i] = getLevelForXP(o.getVariables().playerXP[i]); o.getPA().refreshSkill(i); } o.getCombat().resetPlayerAttack(); o.getVariables().isSkulled = false; o.getVariables().specAmount = 10; o.getPA().frame1(); o.getPA().resetTb(); o.getPA().resetAnimation(); o.startAnimation(65535); o.getVariables().attackedPlayers.clear(); o.getVariables().headIconPk = -1; o.getVariables().skullTimer = -1; o.getVariables().damageTaken = new int[Constants.MAX_PLAYERS]; o.getVariables().isFullHelm = ItemLoader .isFullHelm(o.getVariables().playerEquipment[c.getVariables().playerHat]); o.getVariables().isFullMask = ItemLoader .isFullMask(o.getVariables().playerEquipment[c.getVariables().playerHat]); o.getVariables().isFullBody = ItemLoader .isFullBody(o.getVariables().playerEquipment[c.getVariables().playerChest]); o.getPA().requestUpdates(); o.Dueling.duelVictory(o); resetDamageDone(); c.getVariables().specAmount = 10; c.getItems().addSpecialBar(c.getVariables().playerEquipment[c.getVariables().playerWeapon]); c.getVariables().lastVeng = 0; c.getVariables().vengOn = false; resetFollowers(); c.getVariables().attackTimer = 10; o.getPA().resetDamageDone(); o.getItems().addSpecialBar(c.getVariables().playerEquipment[c.getVariables().playerWeapon]); o.getVariables().lastVeng = 0; o.getVariables().vengOn = false; o.getPA().resetFollowers(); o.getVariables().attackTimer = 10; c.sendMessage("You have lost the duel!"); PlayerSave.saveGame(c.opponent); PlayerSave.saveGame(c); return; } o.getVariables().lastKilled = c.connectedFrom; } c.getVariables().playerKilled = c.playerId; if (!o.getVariables().killedPlayer) { o.getVariables().killedPlayer = true; } } } c.faceUpdate(0); GameEngine.getScheduler().schedule(new Task(5) { public void execute() { c.getVariables().npcIndex = 0; c.getVariables().playerIndex = 0; this.stop(); } }); c.stopMovement(); if (!DuelPlayer.contains(c)) { c.getVariables().stakedItems.clear(); c.sendMessage("Oh dear you are dead!"); }[/CODE] I've tried putting [CODE]c.killStreak = 0;[/CODE] or [CODE]o.killStreak = 0;[/CODE] in the death method but it still doesn't reset to zero when you die. timesVoted = 0 Amount-Donated = 0 pc-points = 0 [COLOR="#FF0000"]killStreak = 2[/COLOR] SlayerPoints = 0 DonatorPoints = 0 splitChat = false
  3. this guide: [url]http://www.rune - server.org/runescape-development/rs2-client/tutorials/364738-new-runescape-money-orb.html[/url] remove spacces Has had its Sprite Url taken down so i cannot download the sprite, does anyone have it? thanks!
  4. [quote name='CodyJohn']Tried doing this on your source, but there isn't a client.java. Any help would be greatly appreciated, and I did thank your release thread :D. Re: Nevermind resolved it myself :D Re: Fixed everything else, but when you go to sell something it equips the item and closes all of the screens. Any help would be greatly appreciated :D[/QUOTE] Did you fix it? i have added it aswell and it equips the item when you sell it and other stuff
  5. Hi guys i downloaded this server and it was really complicated to jar and put on webclient for some reason... i have ran many webclients before but this one seems really hard. Problem: my manifest code when i jarred it was src.Client normally its Client or client My jar works with that code: src.Client Now putting it on webclient I get a problem with this: <applet name="client" width="765" height="503" archive="client.jar" code="[COLOR="#FF0000"]src.Client.class[/COLOR]"> It's not letting me load my client on website with that red colour above ^^^ anyone got any ideas?
  6. My player counting isnt working. It doesnt count how many players are online it just says they're 0. Heres the code: [CODE] getPA().sendFrame126("Players Online: " + PlayerHandler.getPlayerCount(), 19161);[/CODE] PlayerHandler.java : [CODE]package com.exile.game.players; import java.net.InetSocketAddress; import com.exile.Constants; import com.exile.GameEngine; import com.exile.game.npcs.NPCHandler; import com.exile.game.players.content.minigames.impl.dueling.DuelPlayer; import com.exile.util.Misc; import com.exile.util.Stream; import java.util.ArrayList; import java.util.concurrent.ScheduledExecutorService; public class PlayerHandler { public static Player players[] = new Player[Constants.MAX_PLAYERS]; public static String messageToAll = ""; public static int playerCount = 0; public static boolean updateAnnounced; public static boolean updateRunning; public static int updateSeconds; public static long updateStartTime; public static boolean kickAllPlayers = false; static { for (int i = 0; i < Constants.MAX_PLAYERS; i++) { players[i] = null; } } public static Player[] getPlayers() { return players; } public boolean newPlayerPlayer(Player player1) { int slot = -1; for (int i = 1; i < Constants.MAX_PLAYERS; i++) { if ((players[i] == null) || players[i].disconnected) { slot = i; break; } } if (slot == -1) { return false; } player1.handler = this; player1.playerId = slot; players[slot] = player1; players[slot].isActive = true; players[slot].connectedFrom = ((InetSocketAddress) player1.getSession().getRemoteAddress()).getAddress().getHostAddress(); if (Constants.SERVER_DEBUG) { Misc.println("Player Slot " + slot + " slot 0 " + players[0] + " Player Hit " + players[slot]); } return true; } public static int[] toIntArray(ArrayList<Integer> integerList) { int[] intArray = new int[integerList.size()]; for (int i = 0; i < integerList.size(); i++) { intArray[i] = integerList.get(i); } return intArray; } public void destruct() { for (int i = 0; i < Constants.MAX_PLAYERS; i++) { if (players[i] == null) { continue; } players[i].destruct(); players[i] = null; } } public static int getPlayerCount() { return playerCount; } public static boolean isPlayerOn(final String playerName) { for (int d = 0; d < Constants.MAX_PLAYERS; d++) { if (PlayerHandler.players[d] != null) { final Player p = PlayerHandler.players[d]; if (p.playerName.toLowerCase().equals(playerName.toLowerCase())) { return true; } } } return false; } public static void process(int i, ScheduledExecutorService thread) { if (players[i] == null || !players[i].isActive) { thread.shutdownNow(); return; } if (kickAllPlayers) { players[i].disconnected = true; } Player c = (Player) PlayerHandler.players[i]; if (c != null && c.disconnected && (System.currentTimeMillis() - c.getVariables().logoutDelay > 10000 || c.getVariables().properLogout || kickAllPlayers)) { if (players[i].getVariables().inTrade) { if (c.opponent != null) { c.opponent.Dueling.declineDuel(c.opponent, true, false); } } if (c != null && DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.duelVictory(c.opponent); } } else if (c != null && !DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.declineDuel(c.opponent, true, false); } } Player o = (Player) PlayerHandler.players[i]; if (PlayerSave.saveGame(o)) { System.out.println("Game saved for player " + players[i].playerName); } else { System.out.println("Could not save for " + players[i].playerName); } removePlayer(players[i]); players[i] = null; return; } players[i].preProcessing(); while (players[i].processQueuedPackets()); players[i].process(); players[i].postProcessing(); players[i].getNextPlayerMovement(); if (players[i] == null || !players[i].isActive) { players[i] = null; thread.shutdownNow(); return; } if (players[i].disconnected && (System.currentTimeMillis() - players[i].getVariables().logoutDelay > 10000 || players[i].getVariables().properLogout || kickAllPlayers)) { if (players[i].getVariables().inTrade) { Player o = (Player) PlayerHandler.players[players[i].getVariables().tradeWith]; if (o != null) { o.getTradeHandler().declineTrade(false); } } c = (Player) PlayerHandler.players[i]; if (c != null && DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.duelVictory(c.opponent); } } else if (c != null && !DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.declineDuel(c.opponent, true, false); } } Player o1 = (Player) PlayerHandler.players[i]; if (PlayerSave.saveGame(o1)) { System.out.println("Game saved for player " + players[i].playerName); } else { System.out.println("Could not save for " + players[i].playerName); } removePlayer(players[i]); players[i] = null; return; } else { if (!players[i].getVariables().initialized) { players[i].initialize(); players[i].getVariables().initialized = true; } else { players[i].update(); } } if (updateRunning && !updateAnnounced) { updateAnnounced = true; GameEngine.UpdateServer = true; } if (updateRunning && (System.currentTimeMillis() - updateStartTime > (updateSeconds * 1000))) { kickAllPlayers = true; } if (players[i] == null || !players[i].isActive) { players[i] = null; thread.shutdownNow(); return; } try { players[i].clearUpdateFlags(); } catch (Exception e) { e.printStackTrace(); } /*if (updateRunning && !updateAnnounced) { updateAnnounced = true; GameEngine.UpdateServer = true; } if (updateRunning && (System.currentTimeMillis() - updateStartTime > (updateSeconds * 1000))) { kickAllPlayers = true; } */ } public void process() { if (kickAllPlayers) { for (int i = 1; i < Constants.MAX_PLAYERS; i++) { if (players[i] != null) { players[i].disconnected = true; } } } for (int i = 0; i < Constants.MAX_PLAYERS; i++) { if (players[i] == null || !players[i].isActive) { continue; } Player c = (Player) PlayerHandler.players[i]; if (c != null && c.disconnected && (System.currentTimeMillis() - c.getVariables().logoutDelay > 10000 || c.getVariables().properLogout || kickAllPlayers)) { if (players[i].getVariables().inTrade) { if (c.opponent != null) { c.opponent.Dueling.declineDuel(c.opponent, true, false); } } if (c != null && DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.duelVictory(c.opponent); } } else if (c != null && !DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.declineDuel(c.opponent, true, false); } } Player o = (Player) PlayerHandler.players[i]; if (PlayerSave.saveGame(o)) { System.out.println("Game saved for player " + players[i].playerName); } else { System.out.println("Could not save for " + players[i].playerName); } removePlayer(players[i]); players[i] = null; continue; } players[i].preProcessing(); while (players[i].processQueuedPackets()); players[i].process(); players[i].postProcessing(); players[i].getNextPlayerMovement(); } for (int i = 0; i < Constants.MAX_PLAYERS; i++) { if (players[i] == null || !players[i].isActive) { continue; } if (players[i].disconnected && (System.currentTimeMillis() - players[i].getVariables().logoutDelay > 10000 || players[i].getVariables().properLogout || kickAllPlayers)) { if (players[i].getVariables().inTrade) { Player o = (Player) PlayerHandler.players[players[i].getVariables().tradeWith]; if (o != null) { o.getTradeHandler().declineTrade(false); } } Player c = (Player) PlayerHandler.players[i]; if (c != null && DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.duelVictory(c.opponent); } } else if (c != null && !DuelPlayer.contains(c)) { if (c.opponent != null) { c.opponent.Dueling.declineDuel(c.opponent, true, false); } } Player o1 = (Player) PlayerHandler.players[i]; if (PlayerSave.saveGame(o1)) { System.out.println("Game saved for player " + players[i].playerName); } else { System.out.println("Could not save for " + players[i].playerName); } removePlayer(players[i]); players[i] = null; } else { if (!players[i].getVariables().initialized) { players[i].initialize(); players[i].getVariables().initialized = true; } else { players[i].update(); } } } if (updateRunning && !updateAnnounced) { updateAnnounced = true; GameEngine.UpdateServer = true; } if (updateRunning && (System.currentTimeMillis() - updateStartTime > (updateSeconds * 1000))) { kickAllPlayers = true; } for (int i = 0; i < Constants.MAX_PLAYERS; i++) { if (players[i] == null || !players[i].isActive) { continue; } try { players[i].clearUpdateFlags(); } catch (Exception e) { e.printStackTrace(); } } /*if (updateRunning && !updateAnnounced) { updateAnnounced = true; GameEngine.UpdateServer = true; } if (updateRunning && (System.currentTimeMillis() - updateStartTime > (updateSeconds * 1000))) { kickAllPlayers = true; } */ } public void updateNPC(Player plr, Stream str) { updateBlock.currentOffset = 0; str.createFrameVarSizeWord(65); str.initBitAccess(); str.writeBits(8, plr.npcListSize); int size = plr.npcListSize; plr.npcListSize = 0; for (int i = 0; i < size; i++) { if (plr.getVariables().RebuildNPCList == false && plr.withinDistance(plr.npcList[i]) == true) { plr.npcList[i].updateNPCMovement(str); plr.npcList[i].appendNPCUpdateBlock(updateBlock, (Player) plr); plr.npcList[plr.npcListSize++] = plr.npcList[i]; } else { int id = plr.npcList[i].npcId; plr.npcInListBitmap[id >> 3] &= ~(1 << (id & 7)); str.writeBits(1, 1); str.writeBits(2, 3); } } /*if (Region.REGION_UPDATING_ENABLED) { if (Region.getRegion(plr.absX, plr.absY) != null) { for (NPC n : Region.getRegion(plr.absX, plr.absY).npcs) { if (n != null) { final int id = n.npcId; if ((plr.RebuildNPCList || (plr.npcInListBitmap[id >> 3] & 1 << (id & 7)) == 0) && plr.withinDistance(n)) { plr.addNewNPC(n, str, updateBlock); } } } } } else { for (int i = 0; i < NPCHandler.maxNPCs; i++) { if (NPCHandler.npcs[i] != null) { int id = NPCHandler.npcs[i].npcId; if (plr.withinDistance(NPCHandler.npcs[i]) && (plr.RebuildNPCList == false && (plr.npcInListBitmap[id >> 3] & (1 << (id & 7))) == 0)) { plr.addNewNPC(NPCHandler.npcs[i], str, updateBlock); } } } }*/ for (int i = 0; i < NPCHandler.maxNPCs; i++) { if (NPCHandler.npcs[i] != null) { int id = NPCHandler.npcs[i].npcId; if (plr.getVariables().RebuildNPCList == false && (plr.npcInListBitmap[id >> 3] & (1 << (id & 7))) != 0) { } else if (plr.withinDistance(NPCHandler.npcs[i]) == false) { } else { plr.addNewNPC(NPCHandler.npcs[i], str, updateBlock); } } } plr.getVariables().RebuildNPCList = false; if (updateBlock.currentOffset > 0) { str.writeBits(14, 16383); str.finishBitAccess(); str.writeBytes(updateBlock.buffer, updateBlock.currentOffset, 0); } else { str.finishBitAccess(); } str.endFrameVarSizeWord(); } public Stream updateBlock = new Stream(new byte[Constants.BUFFER_SIZE]); public int hitIcon, hitIcon2, hitMask, hitMask2; public void updatePlayer(Player plr, Stream str) { updateBlock.currentOffset = 0; if (updateRunning && !updateAnnounced) { str.createFrame(114); str.writeWordBigEndian(updateSeconds * 50 / 30); } plr.updateThisPlayerMovement(str); boolean saveChatTextUpdate = plr.isChatTextUpdateRequired(); plr.setChatTextUpdateRequired(false); plr.appendPlayerUpdateBlock(updateBlock); plr.setChatTextUpdateRequired(saveChatTextUpdate); str.writeBits(8, plr.playerListSize); int size = plr.playerListSize; if (size > 255) { size = 255; } plr.playerListSize = 0; for (int i = 0; i < size; i++) { if (!plr.didTeleport && !plr.playerList[i].didTeleport && plr.withinDistance(plr.playerList[i])) { plr.playerList[i].updatePlayerMovement(str); plr.playerList[i].appendPlayerUpdateBlock(updateBlock); plr.playerList[plr.playerListSize++] = plr.playerList[i]; } else { int id = plr.playerList[i].playerId; plr.playerInListBitmap[id >> 3] &= ~(1 << (id & 7)); str.writeBits(1, 1); str.writeBits(2, 3); } } /*if (Region.REGION_UPDATING_ENABLED) { if (Region.getRegion(plr.absX, plr.absY) != null) { for (Player p : Region.getRegion(plr.absX, plr.absY).players) { if (p != null && p.isActive && p != plr) { if ((plr.playerInListBitmap[p.playerId >> 3] & 1 << (p.playerId & 7)) == 0 && plr.withinDistance(p)) { plr.addNewPlayer(p, str, updateBlock); } } } } } else { for (int i = 0; i < Constants.MAX_PLAYERS; i++) { if (players[i] == null || !players[i].isActive || players[i] == plr) { continue; } int id = players[i].playerId; if ((plr.playerInListBitmap[id >> 3] & (1 << (id & 7))) != 0) { continue; } if (!plr.withinDistance(players[i])) { continue; } plr.addNewPlayer(players[i], str, updateBlock); } }*/ /*for (int i = 0; i < Constants.MAX_PLAYERS; i++) { if (players[i] != null && players[i].isActive && players[i] != plr) { final int id = players[i].playerId; if ((plr.playerInListBitmap[id >> 3] & 1 << (id & 7)) == 0 && plr.withinDistance(players[i])) { plr.addNewPlayer(players[i], str, updateBlock); } } }*/ if (plr.didTeleport) { plr.updateVisiblePlayers(); // so if we teleport and we are in our original region we are added back to the list for all the players that can see us } int[] addPlayers = toIntArray(plr.addPlayerList); int addSize = plr.getVariables().addPlayerSize; if (size + addSize > 255) { addSize = size - 255; } for (int i = 0; i < addSize; i++) { int id = addPlayers[i]; if(players[id] == null || !players[id].isActive || players[id] == plr) continue; if(!plr.withinDistance(players[id]) || (plr.playerInListBitmap[id >> 3] & (1 << (id & 7))) != 0) { continue; } plr.addNewPlayer(players[id], str, updateBlock); plr.getVariables().addPlayerSize--; // you could just put these in player.java plr.addPlayerList.remove((Integer)id); // but for the sake of the tutorial, it's right here. } if (plr.getVariables().addPlayerSize > 0) { plr.getVariables().addPlayerSize = 0; plr.addPlayerList.clear(); } //here if (updateBlock.currentOffset > 0) { str.writeBits(11, 2047); str.finishBitAccess(); str.writeBytes(updateBlock.buffer, updateBlock.currentOffset, 0); } else { str.finishBitAccess(); } str.endFrameVarSizeWord(); } public static void removePlayer(final Player plr) { if (plr.getVariables().privateChat != 2) { for (int d = 0; d < Constants.MAX_PLAYERS; d++) { if (PlayerHandler.players[d] != null && PlayerHandler.players[d].isActive) { final Player o = PlayerHandler.players[d]; if (o != null) { o.getPA().updatePM(plr.playerId, 0); } } } } plr.destruct(); } } [/CODE] Does anyone know any possible reasons why this is not working? Would thank someone a bunch if they fix it for me. Thanks!
  7. Followed this tutorial: [url]http://www.runelocus.com/forums/showthread.php?91194-Grand-Exchange-Release-PI[/url] Error: src\com\exile\game\players\Player.java:912: error: cannot find symbol GE().sendUpdate(playerName); ^ symbol: method sendUpdate(String) location: class GrandExchange src\com\exile\GameEngine.java:74: error: constructor GrandExchange in class Gran dExchange cannot be applied to given types; public static GrandExchange GE = new GrandExchange(); ^ required: Player found: no arguments reason: actual and formal argument lists differ in length src\com\exile\GameEngine.java:158: error: cannot find symbol GE.loadSellers(); ^ symbol: method loadSellers() location: variable GE of type GrandExchange src\com\exile\GameEngine.java:159: error: cannot find symbol GE.loadBuyers(); ^ symbol: method loadBuyers() location: variable GE of type GrandExchange src\com\exile\game\players\packets\ClickingButtons.java:237: error: cannot find symbol p.GE().buttonClick(buttonId); ^ symbol: method buttonClick(int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:74: error: cannot find sym bol c.GE().updateGE(c.GE().selectedItemId, c.GE().se lectedPrice); ^ symbol: method updateGE(int,int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:86: error: cannot find sym bol c.GE().updateGE(c.GE().selectedItemId, c .GE().selectedPrice); ^ symbol: method updateGE(int,int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:100: error: cannot find sy mbol c.GE().updateGE(c.GE().selectedItemId, c .GE().selectedPrice); ^ symbol: method updateGE(int,int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:104: error: cannot find sy mbol c.GE().collectItem(1, "Sell"); ^ symbol: method collectItem(int,String) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:107: error: cannot find sy mbol c.GE().collectItem(2, "Sell"); ^ symbol: method collectItem(int,String) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:110: error: cannot find sy mbol c.GE().collectItem(1, "Buy"); ^ symbol: method collectItem(int,String) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:113: error: cannot find sy mbol c.GE().collectItem(2, "Buy"); ^ symbol: method collectItem(int,String) location: class GrandExchange Note: src\com\exile\EconomyReset.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: src\com\exile\mananger\Manager.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 12 errors Press any key to continue . . .
  8. [QUOTE]src\com\exile\game\players\Player.java:912: error: cannot find symbol GE().sendUpdate(playerName); ^ symbol: method sendUpdate(String) location: class GrandExchange src\com\exile\GameEngine.java:74: error: constructor GrandExchange in class Gran dExchange cannot be applied to given types; public static GrandExchange GE = new GrandExchange(); ^ required: Player found: no arguments reason: actual and formal argument lists differ in length src\com\exile\GameEngine.java:158: error: cannot find symbol GE.loadSellers(); ^ symbol: method loadSellers() location: variable GE of type GrandExchange src\com\exile\GameEngine.java:159: error: cannot find symbol GE.loadBuyers(); ^ symbol: method loadBuyers() location: variable GE of type GrandExchange src\com\exile\game\players\packets\ClickingButtons.java:237: error: cannot find symbol p.GE().buttonClick(buttonId); ^ symbol: method buttonClick(int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:74: error: cannot find sym bol c.GE().updateGE(c.GE().selectedItemId, c.GE().se lectedPrice); ^ symbol: method updateGE(int,int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:86: error: cannot find sym bol c.GE().updateGE(c.GE().selectedItemId, c .GE().selectedPrice); ^ symbol: method updateGE(int,int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:100: error: cannot find sy mbol c.GE().updateGE(c.GE().selectedItemId, c .GE().selectedPrice); ^ symbol: method updateGE(int,int) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:104: error: cannot find sy mbol c.GE().collectItem(1, "Sell"); ^ symbol: method collectItem(int,String) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:107: error: cannot find sy mbol c.GE().collectItem(2, "Sell"); ^ symbol: method collectItem(int,String) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:110: error: cannot find sy mbol c.GE().collectItem(1, "Buy"); ^ symbol: method collectItem(int,String) location: class GrandExchange src\com\exile\game\players\commands\NormalPlayer.java:113: error: cannot find sy mbol c.GE().collectItem(2, "Buy"); ^ symbol: method collectItem(int,String) location: class GrandExchange Note: src\com\exile\EconomyReset.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: src\com\exile\mananger\Manager.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 12 errors Press any key to continue . . .[/QUOTE] Any idea?
×