Jump to content

Search the Community

Showing results for tags 'task'.



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

  1. Okey so i wanna make it so when you have a slayer task, only the monsters from that task only will drop caskets. But how do i say in java like to check the slayertask and add casket drop to those monsters?
  2. Every time I try to hand in a task when I've completed it, it returns I have 0 left to kill? Tried countless things like changing some return values < > etc [code]package com.rs.game.player.dialogues.impl; import com.rs.game.player.dialogues.Dialogue; public class SlayerMaster extends Dialogue { [MENTION=15855]Over[/MENTION]ride public void start() { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Hello warrior, What can i do for you? (Test for Mike)"); stage = 1; } [MENTION=15855]Over[/MENTION]ride public void run(int interfaceId, int componentId) { if (stage == 1) { sendOptionsDialogue("Slayer Options", "I would like a new Slayer Task", "Reset my slayer task (Cost: 500k)", "Tell me my current task", "I have completed my current task", "Show me the Rewards Shop"); stage = 2; } else if (stage == 2) { if (componentId == OPTION_1) { if (player.getTask().isComplete()) { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Turn in your previous task before getting a new one!"); stage = 1; return; } if (player.getTask().getTaskAmount() > 0){ sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Please reset or finsh your ", "task if you want another!"); stage = 1; return; } player.getTask().getNewTask(); int amount = player.getTask().getTaskAmount(); sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Your new task is to kill:", "x"+amount+" "+player.getTask().getName()+""); stage = 1; } else if (componentId == OPTION_2) { if (player.getInventory().containsItem(995, 500000)) { player.getTask().getNewTask(); int amount = player.getTask().getTaskAmount(); player.getInventory().deleteItem(995, 500000); sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Your new task is to kill:", "x"+amount+" "+player.getTask().getName()+""); } else { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Please come back when you", "have atleast 500k on you."); stage = 1; } } else if (componentId == OPTION_3) { int amount = player.getTask().getTaskAmount(); if (player.getTask().getTaskAmount() == -2) { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "You do not have a task."); } else { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Your current task is to kill:", "x"+amount+" "+player.getTask().getName()+""); } stage = 1; } else if (componentId == OPTION_4) { if (player.getTask().getCurrentTask() > 0) { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "You still have remaining:", "x"+player.getTask().getTaskAmount()+" "+player.getTask().getName()+""); stage = 1; } else { if (player.getTask().getCurrentTask() < 1) { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "Very good! Have some slayer points!", "You can now set a new task."); boolean hasSlayerRing = player.getEquipment().getRingId() == 13281; player.setSlayerPoints(player.getSlayerPoints() + (hasSlayerRing == true ? 40 : 20)); player.getTask().resetTask(); stage = 1; } else { sendEntityDialogue(IS_NPC, "Kuradal", 9085, 9827, "You do not currently have a task."); stage = 1; } } } else if (componentId == OPTION_5) { end(); player.getInterfaceManager().sendInterface(164); player.getPackets().sendIComponentText(164, 20, ""+player.getSlayerPoints()+""); } } } [MENTION=15855]Over[/MENTION]ride public void finish() { // TODO Auto-generated method stub } } [/code]
  3. anyone got the netty deps. util and task files/jar's ?
  4. imabigkidnow

    Task System!

    667 Server, i was wondering on how i can remove the task system? and Add Buttons, or just text there instead? Thanks could use the help!
  5. I just added exetreme task to a friends server and he informed me he wants them to have a different amount of kills EX: 70 instead of 30, but only for elites. how would I do this? some1 point me in right direction [CODE] public void giveTask(int taskLevel) { int given = 0; int random = 0; if (taskLevel == 1) { random = (int)(Math.random() * (lowTasks.length - 1)); given = lowTasks[random]; } else if (taskLevel == 2) { random = (int)(Math.random() * (medTasks.length - 1)); given = medTasks[random]; } else if (taskLevel == 3) { random = (int)(Math.random() * (highTasks.length - 1)); given = highTasks[random]; } else if (taskLevel == 4) { random = (int)(Math.random() * (eliteTasks.length - 1)); given = eliteTasks[random]; } else if (taskLevel == 5) { random = (int)(Math.random() * (exetremeTasks.length - 1)); given = exetremeTasks[random]; } if (!canDoTask(taskLevel,random)) { giveTask(taskLevel); return; } c.slayerTask = given; c.taskAmount = Misc.random(15) + 15; c.sendMessage("You have been assigned to kill " + c.taskAmount + " " + Server.npcHandler.getNpcListName(given) + " as a slayer task."); }[/CODE]
  6. Alright well Idk if anyone has ever played or heard of a server called "2spec." If so I want to try to make a server like this or close to it :) its basically a 2007 server like right before the grand exchange and new wildy update happened. If anyone could help me reach this, I'll give you one of two rewards. Either you can get something on the server (free donor or admin or something.) or my main runescape account, (its a level 116. with 99 wc 97 str 94 mage 70 pray.) SO please contact me on this thread before you add me on skype :D Skype: element82196
  7. Inb4banner Hey guys! Welcome to my Slayer Task Guide! I will be adding my methods of using Gear/Inventory at a certain task! It will have what drops to pick up, what I recommend to wear, what I recommend to bring in your inventory, and how to kill them! This will be updated every task I get! Make sure to keep up-to-date on this if you need help with slayer!! <3 I am doing this for a fun way to do slayer while helping out all of you! So make sure to check on this thread every few hours! [spoiler=Dust Devils] [SIZE=4][COLOR="#0000FF"]Information[/COLOR][/SIZE]- Combat Level - 93 Life Points - 1050 Weakness - Range, Stab NEED A FACEMASK/SLAYER HELM/FULL SLAYER HELM! MUST HAVE TO KILL THEM! Requirements - 65 Slayer Recommended Gear - [IMG]http://screensnapr.com/e/oMYrxs.png[/IMG] Recommended Inventory - [IMG]http://screensnapr.com/e/Gk2Ira.png[/IMG] Where to kill them - [IMG]http://screensnapr.com/e/yLmVtC.png[/IMG] (Picture from [url]http://runescape.wikia.com/wiki/Chaos_Tunnels[/url]) Notable Drops - Earth Battlestaff, Dragon Chain ( OBV ) Deaths, and needed charms! [/spoiler]
×