Jump to content

number 5

Member
  • Content count

    65
  • Joined

  • Last visited

  1. [quote name='newman007']9 errors.[/QUOTE] For PI, It's easy to convert a command.
  2. OR you could do it right and use this [CODE] if (!c.curseActive[18])//soulsplit on npc's return; if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { if (c.curseActive[18] && !c.prayerActive[23] && (c.playerLevel[3] <= 99)) { int heal = Misc.random(10); 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) { if (c.oldNpcIndex > 0) { if (NPCHandler.npcs[c.oldNpcIndex] != null) { 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); } }[/CODE]
  3. As the title says my farcasting does not work on player vs player combat. The cheap hack does not work for PVP. Does anyone have a fix for this?
  4. Do you even have com because i can't read that small picture of what is inside your folder
  5. Why not just use the thieving animation 881
  6. return 0; above that bracket
  7. Looks better than most 317's I have seen so far. Edit; Is that real korasi spec in the nomad picture? I can only see a tiny part of it
  8. number 5

    Cannot connect

    You need to create a windows firewall exception. Hint: Control panel > Network and internet connections
  9. [quote name='FunSizePK']Lol... Your spoon feeding fixed one problem yet cause another but thanks, i'll see if i can work out other error now.[/QUOTE] No problemo, Good luck with your server.
  10. initiate variable c2 in the command like this Client c2 = (Client)Server.playerHandler.players[j]; #spoonfeed
  11. hit the button called manifest template and at the top it says Main Class: (put the word "client" here) and then hit the button at the bottom that says set manifest. if the problem persists that means you didn't jar it correctly. To jar correctly make sure you have the client.bat and all your class files in the same area then jar and sign PS. to do this you may have to edit the run.bat
  12. [quote name='Titanscape']guessing this is based off of [URL="http://www.runelocus.com/forums/member.php?15778-apache-ah64"]Apache Ah64's[/URL] command? Well ofc re-written for 317-474 not based off of 562+ code.[/QUOTE] Actually this is based off the moderator command for 317 I didn't use apache's code at all. What this command does is if you have loyalty ranks added in your client, you can use this command to give them the loyalty rank. Not impressive at all just a neat snippet for those who have loyalty ranks added.
  13. A neat snippet for those of you who wanted/have this added. [CODE] if (playerCommand.startsWith("giveloyalrank")) { try { String[] args = playerCommand.split(" "); int loyalty = Integer.parseInt(args[1]); String otherplayer = args[2]; for(int i = 0; i < Config.MAX_PLAYERS; i++) { if(Server.playerHandler.players[i] != null) { if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(otherplayer)) { Client c2 = (Client)Server.playerHandler.players[i]; //c2.sendMessage("You have received the loyalty title: <col=255>" + c.getLoyaltyRank(loyalty) + "</col>."); //c.sendMessage("You have given <col=255>"+ c2.playerName +"</col> the rank of <col=255>"+ c.getLoyaltyRank(loyalty) +"</col>."); c2.loyaltyRank = loyalty; c2.updateRequired = true; c2.appearanceUpdateRequired = true; break; } } } } catch(Exception e) { c.sendMessage("Use as ::giveloyalrank (1-24) (name)."); } }[/CODE]
×