Jump to content

Search the Community

Showing results for tags 'correct'.



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 19 results

  1. 718/742 source Hey there I got the following proplem and cant seem to figure out how to fix it. For example sergeant steelwill has a chance to drop 3 sharks when killed. If I get that drop the drop pile only shows 1 shark in the pile, but when I pick it up, it picks up 3 like it should. Now I want to fix it so it shows up 3 sharks in the drop pile. I've been looking through: NPC.java (sendDrop method), Drop.java, and every .java that has the word: groundItem in it... If anyone could point me in the right direction I would greatly appreciate it.
  2. Im not shure if this is correctly connected to my database? Can someone tell if this is right how it is or if its missing something. (this code im a using at my webhosting file manager) [QUOTE] <?php // MYSQL $conn = mysql_connect("localhost", "mydatabase_vote", "mypassword"); mysql_select_db('Database Name', $conn); ?> [/QUOTE] Thanks for youre response.
  3. Edit: Figured it out.
  4. It didn't work. It wont run. I portfowarded any everything. What should I do. I even put in the correct codes. only other idea I can think of is the codes are broken. rs.cmd code: @echo off cd ../src "C:\Program Files\java\jdk1.7.0_51\bin\javac.exe" -cp . -d ../bin/ ./palidino76/rs2/*.java pause initaizer's code: @echo off cd ../bin title Running 508 Server "C:\Program Files\Java\jdk1.7.0_51\bin\java.exe" palidino76/rs2/Server 43594 pause cls
  5. found out for my self request close!
  6. First off go to Player.java Add [CODE]/* Curse Prayers */ public int leechEnergyDelay, soulSplitDelay, leechAttackDelay, attackMultiplier, rangedMultiplier, leechRangedDelay, leechDefenceDelay, defenceMultiplier, leechMagicDelay, magicMultiplier, leechStrengthDelay, strengthMultiplier, leechSpecialDelay; public final int[] CURSE_DRAIN_RATE = { 500,500,500,500,500, 500,500,500,500,500, 500,500,500,500,500, 500,500,500,500,500 }; public final int[] CURSE_LEVEL_REQUIRED = { 50,50,52,54,56, 59,62,65,68,71, 74,76,78,80,82, 84,86,89,92,95 }; public final int[] CURSE = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 }; public final String[] CURSE_NAME = { "Protect Item", "Sap Warrior", "Sap Ranger", "Sap Mage", "Sap Spirit", "Berserker", "Deflect Summoning", "Deflect Magic","Deflect Missiles", "Deflect Melee", "Leech Attack", "Leech Ranged", "Leech Magic", "Leech Defence", "Leech Strength", "Leech Energy", "Leech Special Attack", "Wrath", "Soul Split", "Turmoil" }; public final int[] CURSE_GLOW = { 610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629 }; public final int[] CURSE_HEAD_ICONS = { -1,-1,-1,-1,-1,-1,12,10,11,9,-1,-1,-1,-1,-1,-1,-1,16,17,-1 }; public boolean[] curseActive = { false,false,false,false,false, false,false,false,false,false, false,false,false,false,false, false,false,false,false,false }; /*End of curse prayers*/ [/CODE] Then go to Combatassistant.java and find the code [CODE]c.spellId = 0;[/CODE] And under it you will see something like this [CODE] if (!c.autocasting) c.npcIndex = 0; }[/CODE] Then i want to to add under that ^^ This [CODE] if (Misc.random(15) == 0) { npcleechAttack(0); } if (Misc.random(15) == 0) { npcleechDefence(0); } if (Misc.random(15) == 0) { npcleechStrength(0); } if (Misc.random(20) == 0) { npcleechSpecial(0); } if (Misc.random(15) == 0) { npcleechRanged(0); } if (Misc.random(15) == 0) { npcleechMagic(0); } if (c.soulSplitDelay <= 0) { applynpcSoulSplit(i, 1); }[/CODE] Then search for [CODE]o.frozenBy = c.playerId;[/CODE] You should see a code like this [CODE] if (!c.autocasting && c.spellId <= 0) c.playerIndex = 0; }[/CODE] Under that add [CODE] applyLeeches(i); if (c.soulSplitDelay <= 1) { applySoulSplit(i, 1);//Maded by zant!! }[/CODE] Then search for [CODE]Server.playerHandler.players[i].updateRequired = true;[/CODE] You should see a code like this [CODE] applySmite(i, damage); if (damage2 != -1) applySmite(i, damage2);[/CODE] Replace that with this [CODE] applySmite(i, damage); if (c.soulSplitDelay <= 1) { applySoulSplit(i, damage);//makes it like smite } if (damage2 != -1) applySmite(i, damage2);[/CODE] Then search for this [CODE]applySmite(i, damage);[/CODE] and replace it with this [CODE] applySmite(i, damage); if (c.soulSplitDelay <= 1) { applySoulSplit(i, damage);//Thank zant }[/CODE] and again search for [CODE]applySmite(i, damage1); switch(damageMask) {[/CODE] Replace with [CODE] applySmite(i, damage1); if (c.soulSplitDelay <= 1) { applySoulSplit(i, damage1);//Maded by zant } switch(damageMask) {[/CODE] Then find [CODE]public void applySmite(int index, int damage) {[/CODE] Should see something like this [CODE] public void applySmite(int index, int damage) { if (!c.prayerActive[23]) return; if (damage <= 0) return; if (Server.playerHandler.players[index] != null) { Client c2 = (Client)Server.playerHandler.players[index]; c2.playerLevel[5] -= (int)(damage/4); if (c2.playerLevel[5] <= 0) { c2.playerLevel[5] = 0; c2.getCombat().resetPrayers(); } c2.getPA().refreshSkill(5); } }[/CODE] Under that add [CODE]/*Zant Curses*/ public void applynpcSoulSplit(int index, int damage) { if (!c.curseActive[18]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { if (damage == 0) { c.sendMessage("test"); return; } if (c.curseActive[18] && !c.prayerActive[23] && (c.playerLevel[3] <= 99)) { int heal = 2; if (c.playerLevel[3] + heal >= c.getPA().getLevelForXP(c.playerXP[3])) { c.playerLevel[3] = c.getPA().getLevelForXP(c.playerXP[3]); } else { c.playerLevel[3] += heal; } c.getPA().refreshSkill(3); } final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.getPA().createPlayersProjectile2(pX, pY, offX, offY, 50, 50, 2263, 9, 9, c.oldNpcIndex + 1, 24, 0); c.soulSplitDelay = 4; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.soulSplitDelay > 0) { c.soulSplitDelay--; } if (c.soulSplitDelay == 3) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2264); // 1738 } if (c.soulSplitDelay == 2) { int offX2 = (nY - pY)* -1; int offY2 = (nX - pX)* -1; c.getPA().createPlayersProjectile(nX, nY, offX2, offY2, 50, 45, 2263, 31, 31, - c.playerId - 1, 0); } if (c.soulSplitDelay == 0) { s.stop(); } } }, 500); } } } public void applySoulSplit(int index, int damage) { if (!c.curseActive[18]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; if (c.curseActive[18] && !c.prayerActive[23] && (c.playerLevel[3] <= 99)) { int heal = 2; if (c2.playerLevel[5] <= 0) { c2.playerLevel[5] = 0; c2.getCombat().resetPrayers(); } if (c.playerLevel[3] + heal >= c.getPA().getLevelForXP(c.playerXP[3])) { c.playerLevel[3] = c.getPA().getLevelForXP(c.playerXP[3]); } else { c.playerLevel[3] += heal; c2.playerLevel[5] -= 1; } c.getPA().refreshSkill(3); c2.getPA().refreshSkill(5); } c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2263, 31, 31, - c.oldPlayerIndex - 1, 0); c.soulSplitDelay = 4; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.soulSplitDelay > 0) { c.soulSplitDelay--; } if (c.soulSplitDelay == 3) { c2.gfx0(2264); } if (c.soulSplitDelay == 2) { int offX2 = (oY - pY)* -1; int offY2 = (oX - pX)* -1; c.getPA().createPlayersProjectile(oX, oY, offX2, offY2, 50, 45, 2263, 31, 31, - c.playerId - 1, 0); } if (c.soulSplitDelay == 0) { s.stop(); } } }, 500); } } public void deflectDamage(int damage) { int damage2 = 0; if (damage < 10) damage2 = 0; else damage2 = damage/10; c.dealDamage(damage2); } public void applyLeeches(int index) { if (Misc.random(20) == 0) { leechAttack(index); } if (Misc.random(20) == 0) { leechDefence(index); } if (Misc.random(20) == 0) { leechStrength(index); } if (Misc.random(20) == 0) { leechSpecial(index); } if (Misc.random(20) == 0) { leechRanged(index); } if (Misc.random(20) == 0) { leechMagic(index); } if (Misc.random(20) == 0) { leechEnergy(index); } } public void applynpcLeeches(int index) { if (Misc.random(20) == 0) { npcleechAttack(index); } if (Misc.random(20) == 0) { npcleechDefence(index); } if (Misc.random(20) == 0) { npcleechStrength(index); } if (Misc.random(20) == 0) { npcleechSpecial(index); } if (Misc.random(20) == 0) { npcleechRanged(index); } if (Misc.random(20) == 0) { npcleechMagic(index); } if (Misc.random(20) == 0) { npcleechEnergy(index); } } public void leechAttack(int index) { if (!c.curseActive[10]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; c.sendMessage("You leech your opponent's attack."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2231, 43, 31, - c.oldPlayerIndex - 1, 1); c.leechAttackDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechAttackDelay > 0) { c.leechAttackDelay--; } if (c.leechAttackDelay == 1) { c2.gfx0(2232); if (c.attackMultiplier < 1.10) { c.attackMultiplier += 0.01; } if (c2.attackMultiplier > 0.80) { c2.attackMultiplier -= 0.01; } } if (c.leechAttackDelay == 0) { s.stop(); } } }, 500); } } public void leechRanged(int index) { if (!c.curseActive[11]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; c.sendMessage("You leech your opponent's range."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2236, 43, 31, - c.oldPlayerIndex - 1, 0); c.leechRangedDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechRangedDelay > 0) { c.leechRangedDelay--; } if (c.leechRangedDelay == 1) { c2.gfx0(2238); if (c.rangedMultiplier < 1.10) { c.rangedMultiplier += 0.01; } if (c2.rangedMultiplier > 0.80) { c2.rangedMultiplier -= 0.01; } } if (c.leechRangedDelay == 0) { s.stop(); } } }, 500); } } public void leechMagic(int index) { if (!c.curseActive[12]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; c.sendMessage("You leech your opponent's magic."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2240, 43, 31, - c.oldPlayerIndex - 1, 2); c.leechMagicDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechMagicDelay > 0) { c.leechMagicDelay--; } if (c.leechMagicDelay == 1) { c2.gfx0(2242); if (c.magicMultiplier < 1.10) { c.magicMultiplier += 0.01; } if (c2.magicMultiplier > 0.80) { c2.magicMultiplier -= 0.01; } } if (c.leechMagicDelay == 0) { s.stop(); } } }, 500); } } public void leechDefence(int index) { if (!c.curseActive[13]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; c.sendMessage("You leech your opponent's defence."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2244, 43, 31, - c.oldPlayerIndex - 1, 3); c.leechDefenceDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechDefenceDelay > 0) { c.leechDefenceDelay--; } if (c.leechDefenceDelay == 1) { c2.gfx0(2246); if (c.defenceMultiplier < 1.10) { c.defenceMultiplier += 0.01; } if (c2.defenceMultiplier > 0.80) { c2.defenceMultiplier -= 0.01; } } if (c.leechDefenceDelay == 0) { s.stop(); } } }, 500); } } public void leechStrength(int index) { if (!c.curseActive[14]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; c.sendMessage("You leech your opponent's strength."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2248, 43, 31, - c.oldPlayerIndex - 1, 4); c.leechStrengthDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechStrengthDelay > 0) { c.leechStrengthDelay--; } if (c.leechStrengthDelay == 1) { c2.gfx0(2250); if (c.strengthMultiplier < 1.10) { c.strengthMultiplier += 0.01; } if (c2.strengthMultiplier > 0.80) { c2.strengthMultiplier -= 0.01; } } if (c.leechStrengthDelay == 0) { s.stop(); } } }, 500); } } public void leechEnergy(int index) { if (!c.curseActive[15]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; c.sendMessage("You leech your opponent's run energy."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2252, 43, 31, - c.oldPlayerIndex - 1, 5); c.leechEnergyDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechEnergyDelay > 0) { c.leechEnergyDelay--; } if (c.leechEnergyDelay == 1) { c2.gfx0(2254); } if (c.leechEnergyDelay == 0) { s.stop(); } } }, 500); } } public void leechSpecial(int index) { if (!c.curseActive[16]) return; if (Server.playerHandler.players[index] != null) { final Client c2 = (Client)Server.playerHandler.players[index]; final int pX = c.getX(); final int pY = c.getY(); final int oX = c2.getX(); final int oY = c2.getY(); int offX = (pY - oY)* -1; int offY = (pX - oX)* -1; c.sendMessage("You leech your opponent's special attack."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2256, 43, 31, - c.oldPlayerIndex - 1, 6); c.leechSpecialDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechSpecialDelay > 0) { c.leechSpecialDelay--; } if (c.leechSpecialDelay == 1) { c2.gfx0(2258); if (c.specAmount >= 10) return; if (c2.specAmount <= 0) return; c.specAmount += 1; c2.specAmount -= 1; c2.sendMessage("Your special attack has been drained."); } if (c.leechSpecialDelay == 0) { s.stop(); } } }, 500); } } public void npcleechAttack(int index) { if (!c.curseActive[10]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.sendMessage("You leech your opponent's attack."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2231, 43, 31, - c.oldNpcIndex - 1, 1); c.leechAttackDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechAttackDelay > 0) { c.leechAttackDelay--; } if (c.leechAttackDelay == 1) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2232); if (c.attackMultiplier < 1.10) { c.attackMultiplier += 0.01; } } if (c.leechAttackDelay == 0) { s.stop(); } } }, 500); } } } public void npcleechRanged(int index) { if (!c.curseActive[11]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.sendMessage("You leech your opponent's range."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2236, 43, 31, - c.oldNpcIndex - 1, 0); c.leechRangedDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechRangedDelay > 0) { c.leechRangedDelay--; } if (c.leechRangedDelay == 1) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2238); if (c.rangedMultiplier < 1.10) { c.rangedMultiplier += 0.01; } } if (c.leechRangedDelay == 0) { s.stop(); } } }, 500); } } } public void npcleechMagic(int index) { if (!c.curseActive[12]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.sendMessage("You leech your opponent's magic."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2240, 43, 31, - c.oldNpcIndex - 1, 2); c.leechMagicDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechMagicDelay > 0) { c.leechMagicDelay--; } if (c.leechMagicDelay == 1) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2242); if (c.magicMultiplier < 1.10) { c.magicMultiplier += 0.01; } } if (c.leechMagicDelay == 0) { s.stop(); } } }, 500); } } } public void npcleechDefence(int index) { if (!c.curseActive[13]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.sendMessage("You leech your opponent's defence."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2244, 43, 31, - c.oldNpcIndex - 1, 3); c.leechDefenceDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechDefenceDelay > 0) { c.leechDefenceDelay--; } if (c.leechDefenceDelay == 1) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2246); if (c.defenceMultiplier < 1.10) { c.defenceMultiplier += 0.01; } } if (c.leechDefenceDelay == 0) { s.stop(); } } }, 500); } } } public void npcleechStrength(int index) { if (!c.curseActive[14]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.sendMessage("You leech your opponent's strength."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2248, 43, 31, - c.oldNpcIndex - 1, 4); c.leechStrengthDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechStrengthDelay > 0) { c.leechStrengthDelay--; } if (c.leechStrengthDelay == 1) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2250); if (c.strengthMultiplier < 1.10) { c.strengthMultiplier += 0.01; } } if (c.leechStrengthDelay == 0) { s.stop(); } } }, 500); } } } public void npcleechEnergy(int index) { if (!c.curseActive[15]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.sendMessage("You leech your opponent's run energy."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2252, 43, 31, - c.oldNpcIndex - 1, 5); c.leechEnergyDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechEnergyDelay > 0) { c.leechEnergyDelay--; } if (c.leechEnergyDelay == 1) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2254); } if (c.leechEnergyDelay == 0) { s.stop(); } } }, 500); } } } public void npcleechSpecial(int index) { if (!c.curseActive[16]) return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { final int pX = c.getX(); final int pY = c.getY(); final int nX = NPCHandler.npcs[c.oldNpcIndex].getX(); final int nY = NPCHandler.npcs[c.oldNpcIndex].getY(); final int offX = (pY - nY) * -1; final int offY = (pX - nX) * -1; c.sendMessage("You leech your opponent's special attack."); c.startAnimation(12575); c.getPA().createPlayersProjectile(pX, pY, offX, offY, 50, 45, 2256, 43, 31, - c.oldNpcIndex - 1, 6); c.leechSpecialDelay = 2; EventManager.getSingleton().addEvent(new Event() { public void execute(EventContainer s) { if (c.leechSpecialDelay > 0) { c.leechSpecialDelay--; } if (c.leechSpecialDelay == 1) { NPCHandler.npcs[c.oldNpcIndex].gfx0(2258); if (c.specAmount >= 10) return; c.specAmount += 1; } if (c.leechSpecialDelay == 0) { s.stop(); } } }, 500); } } }[/CODE] Then save Then go to clickingButton.java OK guys titas said he maded the clickingbutton part but i don't remember If you allready have curses replace the button id with these [CODE] /**Prayers**/ case 87231: // thick skin c.getCurse().activateCurse(0); return; case 87233: // burst of str c.getCurse().activateCurse(1); break; case 87235: // charity of thought c.getCurse().activateCurse(2); break; case 87237: // range c.getCurse().activateCurse(3); break; case 87239: // mage c.getCurse().activateCurse(4); break; case 87241: // rockskin c.getCurse().activateCurse(5); break; case 87243: // super human c.getCurse().activateCurse(6); break; case 87245: //defmage if(c.curseActive[7]) { c.curseActive[7] = false; c.getPA().sendFrame36(88, 0); c.headIcon = -1; c.getPA().requestUpdates(); } else { c.getCurse().activateCurse(7); c.getPA().sendFrame36(90, 0); //defmellee c.getPA().sendFrame36(89, 0);//defrang c.getPA().sendFrame36(97, 0);//soulsplit c.getPA().sendFrame36(96, 0);//warth c.getPA().sendFrame36(88, 1);//deflmag } break; case 87247: //defrng if(c.curseActive[8]) { c.getPA().sendFrame36(89, 0); c.curseActive[8] = false; c.headIcon = -1; c.getPA().requestUpdates(); } else { c.getCurse().activateCurse(8); c.getPA().sendFrame36(90, 0); //defmellee c.getPA().sendFrame36(89, 1);//defrang c.getPA().sendFrame36(88, 0);//deflmag c.getPA().sendFrame36(97, 0);//soulsplit c.getPA().sendFrame36(96, 0);//warth } break; case 87249://defmel if(c.curseActive[9]) { c.getPA().sendFrame36(90, 0); c.curseActive[9] = false; c.headIcon = -1; c.getPA().requestUpdates(); } else { c.getCurse().activateCurse(9); c.getPA().sendFrame36(90, 1); //defmellee c.getPA().sendFrame36(89, 0);//defrang c.getPA().sendFrame36(88, 0);//deflmag c.getPA().sendFrame36(97, 0);//soulsplit c.getPA().sendFrame36(96, 0);//warth } break; case 87251: // leeech attack if(c.curseActive[10]) { c.getPA().sendFrame36(91, 0); //str c.curseActive[10] = false; } else { c.getCurse().activateCurse(10); c.curseActive[19] = false; c.getPA().sendFrame36(91, 1); //attack leech c.getPA().sendFrame36(105, 0);// turmoil } break; case 87253: // leech range if(c.curseActive[11]) { c.getPA().sendFrame36(103, 0); //str c.curseActive[11] = false; } else { c.getCurse().activateCurse(11); c.curseActive[19] = false; c.getPA().sendFrame36(105, 0);// turmoil c.getPA().sendFrame36(103, 1); //range } break; case 87255: // leech magic if(c.curseActive[12]) { c.getPA().sendFrame36(104, 0); //str c.curseActive[12] = false; } else { c.getCurse().activateCurse(12); c.curseActive[19] = false; c.getPA().sendFrame36(105, 0);// turmoil c.getPA().sendFrame36(104, 1); //mage } break; case 88001: // leech def if(c.curseActive[13]) { c.getPA().sendFrame36(92, 0); //str c.curseActive[13] = false; } else { c.getCurse().activateCurse(13); c.curseActive[19] = false; c.getPA().sendFrame36(105, 0);// turmoil c.getPA().sendFrame36(92, 1); //def } break; case 88003: // leech str if(c.curseActive[14]) { c.getPA().sendFrame36(93, 0); //str c.curseActive[14] = false; } else { c.getCurse().activateCurse(14); c.curseActive[19] = false; c.getPA().sendFrame36(105, 0);// turmoil c.getPA().sendFrame36(93, 1); //str } break; /* .getCurse().activateCurse(15); c.sendMessage("Doesn't work yet"); return; */ case 88007: // protect from magic if(c.curseActive[16]) { c.getPA().sendFrame36(95, 0); //str c.curseActive[16] = false; } else { c.getCurse().activateCurse(16); c.curseActive[19] = false; c.getPA().sendFrame36(105, 0);// turmoil c.getPA().sendFrame36(95, 1); //def } return; case 88009: // protect from range if(c.curseActive[17]) { c.getPA().sendFrame36(96, 0); c.curseActive[17] = false; c.headIcon = -1; c.getPA().requestUpdates(); } else { c.getCurse().activateCurse(17); c.getPA().sendFrame36(90, 0); //defmellee c.getPA().sendFrame36(89, 0);//defrang c.getPA().sendFrame36(88, 0);//deflmag c.getPA().sendFrame36(97, 0);//soulsplit c.getPA().sendFrame36(96, 1);//warth } break; case 88011: // protect from melee if(c.curseActive[18]) { c.getPA().sendFrame36(97, 0); c.curseActive[18] = false; c.headIcon = -1; c.getPA().requestUpdates(); } else { c.getCurse().activateCurse(18); c.getPA().sendFrame36(90, 0); //defmellee c.getPA().sendFrame36(89, 0);//defrang c.getPA().sendFrame36(88, 0);//deflmag c.getPA().sendFrame36(97, 1);//soulsplit c.getPA().sendFrame36(96, 0);//warth } break; case 88013: // 44 range if(c.curseActive[19]) { c.getPA().sendFrame36(105, 0); //str c.curseActive[19] = false; } else { c.getCurse().activateCurse(19); c.curseActive[10] = false; c.curseActive[11] = false; c.curseActive[12] = false; c.curseActive[13] = false; c.curseActive[14] = false; c.getPA().sendFrame36(91, 0); //attack leech c.getPA().sendFrame36(105, 1);// turmoil c.getPA().sendFrame36(93, 0); //str c.getPA().sendFrame36(92, 0); //def c.getPA().sendFrame36(104, 0); //mage c.getPA().sendFrame36(103, 0); //range c.getPA().sendFrame36(95, 0);//spec c.getPA().sendFrame36(96, 0);//run } break; /**End of curse prayers**/[/CODE] Then go to curses.java in players folder if you have if not just make one and replace it with this [CODE]package server.model.players; import server.Config; import server.Server; import server.util.Misc; import server.model.players.*; public class Curse { private Client c; public Curse(Client c) { this.c = c; } public void resetCurse() { for(int p = 0; p < c.curseActive.length; p++) { c.curseActive[p] = false; c.getPA().sendFrame36(c.CURSE_GLOW[p], 0); } c.headIcon = -1; c.getPA().requestUpdates(); } public void strCurse(int i) { for (int j = 0; j < str.length; j++) { if (str[j] != i) { c.curseActive[str[j]] = false; c.getPA().sendFrame36(c.CURSE_GLOW[str[j]], 0); } } } public void atkCurse(int i) { for (int j = 0; j < atk.length; j++) { if (atk[j] != i) { c.curseActive[atk[j]] = false; c.getPA().sendFrame36(c.CURSE_GLOW[atk[j]], 0); } } } public void defCurse(int i) { for (int j = 0; j < def.length; j++) { if (def[j] != i) { c.curseActive[def[j]] = false; c.getPA().sendFrame36(c.CURSE_GLOW[def[j]], 0); } } } public void rngCurse(int i) { for (int j = 0; j < rng.length; j++) { if (rng[j] != i) { c.curseActive[rng[j]] = false; c.getPA().sendFrame36(c.CURSE_GLOW[rng[j]], 0); } } } public void mgeCurse(int i) { for (int j = 0; j < mge.length; j++) { if (mge[j] != i) { c.curseActive[mge[j]] = false; c.getPA().sendFrame36(c.CURSE_GLOW[mge[j]], 0); } } } public void sprtCurse(int i) { for (int j = 0; j < sprt.length; j++) { if (sprt[j] != i) { c.curseActive[sprt[j]] = false; c.getPA().sendFrame36(c.CURSE_GLOW[sprt[j]], 0); } } } public int[] def = {13, 19}; public int[] str = {14, 19}; public int[] atk = {1, 10, 19}; public int[] rng = {2, 11, 19}; public int[] mge = {3, 12, 19}; public int[] sprt = {4, 16};//spirit public void activateCurse(int i) { if(c.duelRule[7]) { resetCurse(); c.sendMessage("Prayer has been disabled in this duel!"); return; } if (c.playerLevel[1] < 30) { c.getPA().sendFrame36(c.CURSE_GLOW[i], 0); c.sendMessage("You need 30 Defence to use this prayer."); return; } //0 = pItem//1 = sapWar//2 = sapRng//3 = sapMge//4 = sapSprt //5 = berserk//6 = defSum//7 = defMge//8 = defRng//9 = defMel //10 = leechAtk//11 = leechRng//12 = leechMge//13 = leechDef//14 = leechStr //15 = leechEnrgy//16 = leechSpec//17 = wrath//18 = soul//19 = turmoil if(c.playerLevel[5] > 0 || !Config.PRAYER_POINTS_REQUIRED) { if(c.getPA().getLevelForXP(c.playerXP[5]) >= c.CURSE_LEVEL_REQUIRED[i] || !Config.PRAYER_LEVEL_REQUIRED) { boolean headIcon = false; switch(i) { case 0://pItem if(c.prayerActive[10] == false) { c.prayerActive[10] = true; c.lastProtItem = System.currentTimeMillis(); c.startAnimation(12567); c.gfx0(2213); } else { c.prayerActive[10] = false; } break; case 1: case 10: if (c.curseActive[i] == false) { atkCurse(i); // } break; case 2: case 11: if (c.curseActive[i] == false) { rngCurse(i); // } break; case 3: case 12: if (c.curseActive[i] == false) { mgeCurse(i); // } break; case 4: case 16: if (c.curseActive[i] == false) { sprtCurse(i); // } break; case 5: //if(!c.zerkOn) { //c.zerkOn = true; c.startAnimation(12589); c.gfx0(2266); c.sendMessage("You somehow feel your boosted stats will last longer."); // } else { // c.zerkOn = false; // } break; case 13: if (c.curseActive[i] == false) { defCurse(i); // } break; case 14: if (c.curseActive[i] == false) { strCurse(i); // } break; case 6: case 7: case 8: case 9: if(System.currentTimeMillis() - c.stopPrayerDelay < 5000) { c.sendMessage("You have been injured and can't use this prayer!"); c.getPA().sendFrame36(c.CURSE_GLOW[7], 0); c.getPA().sendFrame36(c.CURSE_GLOW[8], 0); c.getPA().sendFrame36(c.CURSE_GLOW[9], 0); return; } if (i == 7) c.protMageDelay = System.currentTimeMillis(); else if (i == 8) c.protRangeDelay = System.currentTimeMillis(); else if (i == 9) c.protMeleeDelay = System.currentTimeMillis(); case 17: case 18: headIcon = true; for(int p = 6; p < 19; p++) { if(i != p && p != 10 && p != 11 && p != 10 && p != 12 && p != 13 && p != 14 && p != 15 && p != 16) { c.curseActive[p] = false; c.getPA().sendFrame36(c.CURSE_GLOW[p], 0); } } break; case 19: if (c.curseActive[i] == false) { c.startAnimation(12565); c.gfx0(2226); strCurse(i); atkCurse(i); defCurse(i); mgeCurse(i); rngCurse(i); } break; } if(!headIcon) { if(c.curseActive[i] == false) { c.curseActive[i] = true; c.getPA().sendFrame36(c.CURSE_GLOW[i], 1); } else { c.curseActive[i] = false; c.getPA().sendFrame36(c.CURSE_GLOW[i], 0); } } else { if(c.curseActive[i] == false) { c.curseActive[i] = true; c.getPA().sendFrame36(c.CURSE_GLOW[i], 1); c.headIcon = c.CURSE_HEAD_ICONS[i]; c.getPA().requestUpdates(); } else { c.curseActive[i] = false; c.getPA().sendFrame36(c.CURSE_GLOW[i], 0); c.headIcon = -1; c.getPA().requestUpdates(); } } } else { c.getPA().sendFrame36(c.CURSE_GLOW[i],0); c.getPA().sendFrame126("You need a @[email protected] level of "+c.CURSE_LEVEL_REQUIRED[i]+" to use "+c.CURSE_NAME[i]+".", 357); c.getPA().sendFrame126("Click here to continue", 358); c.getPA().sendFrame164(356); } } else { resetCurse(); strCurse(i); atkCurse(i); defCurse(i); mgeCurse(i); rngCurse(i); c.sendMessage("You have run out of Prayer points!"); } } } [/CODE] [SPOILER="Pictures"][IMG]http://realtingpk.com/gif/npcss.gif[/IMG] [/SPOILER] This tuts is only for rune-server and runelocus no other places are aloud to be posted Credits 90% Zant 10% titas for the clicking button witch not sure he maded but idk Please if you use give me and titas credits we would love that :)
  7. I have a project insanity source and client I set IP's to 127.0.0.1. Ports are set to 43594. What else can I do?
  8. Ok, in the server that my friend runs, he has a ton of loyalty titles. There is an issue with some of them though. Some of the titles such as "the Fail Magnet" and "the Respawner" will not show up where they are supposed to, after the players name. How can he make it so that they show up after the players name such as John the Fail Magnet instead of the Fail Magnet John? All help will be appreciated! P.S. This is a 718 server loading 732.
  9. Communism is a Major subject all over the world. But why is it always pictured as the bad guy? Because communism only works with non-selfish humans which everyone knows is impossible. In Communist theory the only way to abolish capitalist inequalities is to have the working class, who collectively constitute the main producer of wealth in society, and who are perpetually exploited and marginalised by the wealthy class, to overthrow the capitalist system in a wide-ranging social revolution. The revolution, in the theory of most individuals and groups espousing communist revolution, usually involves an armed rebellion. The revolution espoused can be explained by theorists in many different ways, and usually depends on the environment in which the particular communism theory originates. For example, the Chinese Revolution involved military combat between the Chinese Red and the Chinese Nationalist Armies, while the Vietnamese Revolution was characterised by guerilla warfare between the heavily-backed Vietnam People's Army and various Western armies, culminating in the Vietnam War which ended in 1975. Meanwhile, the Cuban Revolution was essentially a coup that did not involve intensive wide-scale military conflict between Fulgencio Batista's soldiers and those of Fidel Castro and Che Guevara. In fact, Castro initially did not believe that a vanguard party was necessary in Cuba's case, a view boosted by Batista's unpopularity at the time of the actual armed conflict between the two sides. Regardless of the specific form a communist revolution takes, its aim is for the working class to replace the exploiter class as the ruling class to establish a society without class divisions, called socialism, as a prelude to attempting to achieve the final stage of communism. In theory Communism works. On Paper Communism works. But Humans Drive For More Wealth... Bring The Downfall For Later Generations. I just wanted to know what everyone thinks about communism and how recent countries have been using it.
  10. I've seen plenty of communities that have failed to reinforce what the correct approach to learning a language is. Because of this, they have been forced to deal with a member base that requires constant and continuous spoonfeeding. When i say spoonfeeding, i refer to members expecting information to be thrown at them with very little work on their side of the fence. There's many negatives to spoonfeeding: 1. You miss out on vital problem-solving skills. You soon become very dependent on the community for help and you very rarely learn how to solve problems for yourself. 2. Your ability to find adequate resources lessens because they're handed to you on a silver platter. 3. Contribution decreases because the blind soon lead the blind, with no real 'outside the box' projects being conducted. The original knowledge is just circles and decreases in quality each round that it makes. [U]So instead of following the template of other communities that preach such bad habits, i offer you another method. [/U] [B]Read[/B] Read like there's no tomorrow. I would be very surprised if you were to read one of the many 600-page books on a language and not have learned anything new by completion. Read your heart away. Start easy even, with the 'for dummies' collection. Go to your local library and find every book on the subject that you can. Nobody ever said it was easy. It requires hard work and dedication. Most of all, interest. This later breeds passion, that feeling you gain from accomplishment. [url]http://docs.oracle.com/javase/tutorial/reallybigindex.html[/url] [B]Write[/B] Write, write, write. Write until your hands bleed and you're unable to pleasure yourself for a month. Write something simple, run it and see how it preforms. Everything you read is useless until you put it into practice. You will begin remembering what you've read the day before and you will know many methods of attaining the same result. You will develop a style, learn design and increase your ability to problem solve. The key to problem solving after all, is knowing multiple ways of achieving the same result. [B]Write.. again[/B] You can attain your desired result, great. This doesn't mean you should put it in the back of the brain and move on to another chapter. No. Re-write the same thing, in a slightly different way. Observe the results. Analyze the benefits or it's shortcomings. You will eventually learn a bit of efficiency which is vital. This can become a little dull after a while, re-writing the same thing 3-4 times. Once again, i never promised it would be an easy path to walk along. [B]Keep Notes[/B] I'm an addict with notes. I keep them for almost anything and those notes have saved me a lot of time. Note everything. Did you slip up with the last piece you wrote? Note why and how you fixed it. Found a great resource? Note it. Did you wish something was a little easier or was there a part where you struggled? Note it and then work on it. Note keeping is also vital for client examination, in my belief. [B]Help Yourself[/B] Instead of asking how you would approach a problem, first [i]try[/i] figuring it out for yourself. You will fail loads or reach a halfway point where you realize that it's just not going to work. That's fine, at least now you're aware of it. You should never ask for the aid of other members unless you've tried fixing it yourself and show your work so far. It gains a lot of respect posting your source code. It shows you tried. There's no respect for the lazy. [b]JavaDocs and Resources[/b] They are your friend. They usually provide great examples and in-depth descriptions. They are your friend. Love them. Use them. [url]http://docs.oracle.com/javase/7/docs/[/url] Also remember that a lot of the problem you face, will have already been resolved by other people on their own little projects. Especially in the RS cheating scene. Google with correct searches. Use the forum's search feature. The internet has a wealth of information. Eventually you will become faster as separating the bullshit from the useful. [b]Gain a Mentor[/b] Know someone who rather knowledgeable? They are a great resource. Have them on an IM client and help each other and discuss ideas. The experience of others is a huge asset to have. Mentors can be found by seeing who contributes the most or even in certain IRC channels. [B]Share and Credit[/B] Share whatever you have managed to do, even if it is minor. Usually you will get a lot of harsh criticism, though there are some diamonds in the dirt. Eventually as you progress, you will see other members start to respect you a lot more and together you will start contributing information to the community. This is how a community progresses. The amount of times i have seen communities produce something great, from just a few starting words in a thread. I'm aware that this was largely Java based but it seems appropriate for it to be, considering what usually gets worked on in this particular community. Wish you all the best.
  11. This is the correct ClickItem packet(#122) Action 1 (parts)(Information coming from RSWiki.mopar): Add in Stream.java: [code] public int readSignedShortLittleEndianA() { currentOffset += 2; int i = (buffer[currentOffset - 1] & 0xff) + ((buffer[currentOffset - 2] - 128 & 0xff) << 8); // if (i > 32767) i -= 0x10000; return i; } [/code] ClickItem.java: [code] int frame = c.getInStream().readSignedShortLittleEndianA(); //use to be readSignedWordBigEndianA(); int itemSlot = c.getInStream().readSignedWordA(); //use to be readUnsignedWordA(); int itemId = c.getInStream().readSignedWordBigEndian(); //us to be unsigned. [/code] Please do not post like this if you do: "Why did you name it readSigned[b]Short[/b]LittleEndianA()?!?!?" Obviously runescape must have used shorts or something like that in their code, but it was then converted to a byte, so then when you read it, it can be produced to either a "short" or an "int".(I'm not too sure about this statement being correct, so w.e) I believe that statement because, shorts are basically integers with a smaller [b]MAX[/b] value. That is why my naming is so bad..
  12. Mine is corrupt and it wont pack anymore. I don't know why :L Can anyone pack one for me? Will rep+ Thanks a lot!
  13. someone please help me with teamviewer see if i got my router portforwarded right.. my server wont connect for me or others When I change the Server = localhost to my link So yea i guess the only thing culd be is the portforwarding.. il pay like 5$ paypal to whoever can get it online working.
  14. flindo

    NPC Correct Stats

    Can anyone help me out with sorting out NPC stats, i'm using Dementhium source and some NPCs for example, 'Kree-arra' seem to be extremely overpowered and difficult to hit on. Just wondering if anyone can help me out or link me somewhere with the correct NPC stats? Cheers
  15. Ok i have the crowns loading into the chatbox, so my question is how would i get them to load next to their name where they type..? Example: [IMG]http://i1139.photobucket.com/albums/n547/Im_G_O_D/whatwhatttt.png[/IMG] This is photoshopped, dont talk shit :p
  16. Hello, I am relatively new to rune locus, but I have a server that has soul split. So far soulsplit works some-what. It has a problem however that it only heals 2 hp per hit, no matter what. Could someone please give me the snippet for the code and tell me where I should put it, thanks!
  17. [SPOILER="Just the glitch"] Go into Container.java and replace your addAll method with this: [CODE]public void addAll(Container container) { for(int i = 0; i < container.getSize(); i++) { Item item = container.get(i); if(item != null) { if(item.getDefinition().isNoted()) { Item item2 = new Item(item.getId()-1, item.getAmount()); container.remove(item); add(item2); continue; } container.remove(item); add(item); } } }[/CODE][/SPOILER] [SPOILER="Entire thing"] Go into ActionButtonPacketHandler.java and search "762" You'll see: case 762: and a bunch of other case numbers underneath Add this one under them all: [CODE]case 20: player.getBank().bankInv(); break;[/CODE] Now open Bank.java: [CODE]public void bankInv() { bank.addAll(player.getInventory().inventory); player.getInventory().inventory.clear(); refresh(); player.getInventory().refresh(); }[/CODE] Container.java: [CODE]public void addAll(Container container) { for(int i = 0; i < container.getSize(); i++) { Item item = container.get(i); if(item != null) { if(item.getDefinition().isNoted()) { Item item2 = new Item(item.getId()-1, item.getAmount()); container.remove(item); add(item2); continue; } container.remove(item); add(item); } } }[/CODE][/SPOILER]
  18. 100% Credits too Cloudin Source. People too lazy to download a source and get it out... -.- This fixes where it hits like on x10 hits: 430 240 312 1900 PlayerVsNpc.java [CODE] case 14484: p.graphics(1950, 0); p.animate(10961, 0); int dclaw1 = meleeDamage/2;int dclaw2 = meleeDamage/3;int dclaw3 = meleeDamage/3; if (meleeDamage == 0) { dclaw1 = Misc.random(p.MaxHitMelee()); dclaw2 = dclaw1/2; dclaw3 = dclaw1/3; } if (meleeDamage == 0 && dclaw1 == 0) { dclaw2 = Misc.random(p.MaxHitMelee()); dclaw3= dclaw2/3; } if (meleeDamage == 0 && dclaw1 == 0 && dclaw2 == 0) { dclaw3 = Misc.random(p.MaxHitMelee()); } n.hit(p, meleeDamage); n.hit(p, dclaw1); n.hit(p, dclaw2); n.hit(p, dclaw3);[/CODE] PlayerVsPlayer.java [CODE] case 14484://dragon claws p.graphics(1950, 0); p.animate(10961, 0); int dclaw1 = meleeDamage/2;int dclaw2 = meleeDamage/4;int dclaw3 = meleeDamage/4; if (meleeDamage == 0) { dclaw1 = calculateMelee(p, p2); dclaw2 = dclaw1/2; dclaw3 = dclaw1/4; } if (meleeDamage == 0 && dclaw1 == 0) { dclaw2 = calculateMelee(p, p2); dclaw3= dclaw2/2; } if (meleeDamage == 0 && dclaw1 == 0 && dclaw2 == 0) { dclaw3 = calculateMelee(p, p2); } final int[] fDclaw = {dclaw1, dclaw2, dclaw3}; World.getWorld().submit(new Tickable(1) { public void execute() { p2.hit(p, meleeDamage); World.getWorld().submit(new Tickable(1) { public void execute() { p2.hit(p, fDclaw[0]); p2.hit(p, fDclaw[1]); p2.hit(p, fDclaw[2]); this.stop(); } }); this.stop(); } }); break;[/CODE]
  19. I saw the id changed so i found this while i was on Runescape 1374 - Blowkiss emote 1702 - gfx (Credits to Beuner) 4278 - Stomp emote Enjoy :P
×