Jump to content

Search the Community

Showing results for tags 'announcing'.



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

  1. I saw rare drops -snippet at r-s done by item ids, decided to help everyone out by doing this by item name, giving you ability to add much effectively rare drop announcements. Code is absolutely horrible but works, wrote this just in 2 minutes in a rush, didn't add this to my server at all but it works for sure. :) [CODE] public static final String SUPER_RARES[] = {"armadyl", "bandos", "godsword"}; public static final String RARES[] = {"dragon chainbody", "whip" , "of fury"};[/CODE] [CODE] public static final void announce(Client c, int id) { String item = ItemAssistant.getItemName(id).toString(); for (String superRares : SUPER_RARES) { if (item.toLowerCase().contains(superRares)) { for (int j = 0; j < PlayerHandler.players.length; j++) { if (PlayerHandler.players[j] != null) { Client c2 = (Client) PlayerHandler.players[j]; c2.sendMessage("@[email protected]"+c.playerName+" has received x1 "+item+" as a extreme rare drop!"); } } return; } } for (String rares : RARES) { if (item.toLowerCase().contains(rares)) { for (int j = 0; j < PlayerHandler.players.length; j++) { if (PlayerHandler.players[j] != null) { Client c2 = (Client) PlayerHandler.players[j]; c2.sendMessage("@[email protected]"+c.playerName+" has received x1 "+item+" as a rare drop."); } } } } }[/CODE]
  2. I need help im getting an error im trying to make it so it announces to server when someone gets 99 in a skill [QUOTE] public void levelUp(int skill) { c.inDialogue = true; updateSkillTab(); switch(skill) { case 0: sendFrame126("Congratulations, you just advanced an attack level!", 6248); sendFrame126("Your attack level is now "+c.realLevel[skill]+".", 6249); c.sendMessage("Congratulations, you just advanced an attack level."); c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983); sendFrame164(6247); if(c.playerLevel[0] <= 99 ) { c2.sendMessage("<shad=15695415>[Ruination News]:" + c.playerName + " " + " has achieved 99 in.</col> "); } } } break;[/QUOTE]
×