Jump to content

Search the Community

Showing results for tags 'bone'.



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

  1. GlazyHD

    Bone Burying Help

    Hey! I am currently using the RSCalifornia source. There is a problem with the bone burying. You can bury a bone drop it and pick it back up and still get XP. So you only need 1 bone to get 99. Can anyone help me with this?
  2. infallible

    [PI] Bone Drops

    right, this is a 317 Project Insanity base, Deception revision: Hello, The solution to this problem has eluded me for nigh on a year and a bit now. *NOTHING* drops bones. I have the switch statement (public int boneDrop) already coded into the NpcHandler, the switch statement is on line 1813 of my NpcHandler, and I don't believe the class or method is called upon anywhere other than there. I'm thinking maybe I'm missing something in, say, server.java? I don't know, I'm pretty new to this whole thing.... so please, what's the solution? everything I've checked seems to be in order, I haven't got any idea what I've missed. I'll show you any files you need to see in a reply.
  3. ok i know this is easy to to do but some people might not have done it so today im going to show you how to fix bone burying. atm you may notice it dosent bury anything that is because the method isn't been used lol!. first go into com.rs.game.player.content.Burying scroll all the way to the bottom and after the last bracket add this [CODE] public static boolean bury(final Player player, int slotId) { final Item item = player.getInventory().getItem(slotId); if (item == null || Bone.forId(item.getId()) == null) return false; if (player.getBoneDelay() > Utils.currentTimeMillis()) return true; final Bone bone = Bone.forId(item.getId()); final ItemDefinitions itemDef = new ItemDefinitions(item.getId()); player.addBoneDelay(3000); player.getPackets().sendSound(2738, 0, 1); player.setNextAnimation(new Animation(827)); player.getPackets().sendGameMessage( "You dig a hole in the ground..."); WorldTasksManager.schedule(new WorldTask() { @Override public void run() { player.getPackets().sendGameMessage( "You bury the " + itemDef.getName().toLowerCase()); player.getInventory().deleteItem(item.getId(), 1); player.getSkills().addXp(Skills.PRAYER, bone.getExperience()); stop(); } }, 2); return false; } [/CODE] all that is is the fixed method now you want to go into com.rs.net.decoders.handlers.inventoryoptionshandler and replace [CODE] import import com.rs.game.player.content.Burying.Bone; [/CODE] with [CODE] import com.rs.game.player.content.Burying; [/CODE] then under [CODE] if (Foods.eat(player, item, slotId)) return; [/CODE] add [CODE] if (Burying.bury(player, slotId)) return; [/CODE] then boom you have done it make sure to compile and yeah thats it post any errors you get and ill try to help fix :)
  4. I need some help in changing the amount of exp received per dragon bone buried. It would also be helpful if you could tell me how to differ the rates from alter to bury.
  5. This is just simple Bone Burying for RuneEscape. [CODE]package com.rs.game.player.content; import com.rs.game.Animation; import com.rs.game.item.Item; import com.rs.game.player.Player; import com.rs.game.tasks.WorldTask; import com.rs.game.tasks.WorldTasksManager; /** * @author Halo` <RuneUnited> */ public class Bones { public static enum Bone { WOLF_BONE("Wolf Bones", 2859, 4.4), BONE("Bones", 526, 4.5), MONKEY_BONE( "Monkey Bones", 3179, 5), BURNT_BONE("Burnt Bones", 528, 5), BAT_BONE( "Bat Bones", 530, 5.25), BIG_BONE("Big Bones", 532, 15), ZOYRGE_BONE( "Zogre Bones", 4812, 22.5), DRAGON_BONE("Dragon Bones", 534, 72), DAGANORTH_BONE( "Dagganoth Bones", 6155, 125), OURG_BONE("Ourg Bones", 4834, 140), ANCIENT_BONE("Ancient Bones", 15410, 200), FROST_BONE( "Frost Bones", 18830, 180); private int boneID; private double xp; private String name; private Bone(String name, int boneID, double xp) { this.boneID = boneID; this.name = name; this.xp = xp; } public double getXp() { return xp; } public int getID() { return boneID; } public String getName() { return name; } } private static Bone getBone(int boneID) { for (Bone b : Bone.values()) { if (boneID == b.boneID) { return b; } } return null; } public static boolean bury(final Player player, Item item, int slot) { final Bone b = getBone(item.getId()); player.getPackets().sendGameMessage("You dig a hole in the ground..."); WorldTasksManager.schedule(new WorldTask() { @Override public void run() { player.getPackets().sendGameMessage( "...and you bury the " + b.getName() + "."); player.setNextAnimation(new Animation(827)); player.getPackets().sendSound(2738, 0); player.getInventory().deleteItem(b.getID(), 1); player.getSkills().addXp(5, b.getXp()); stop(); } }, 2); return true; } }[/CODE] This didn't take me very long but to use it add this is ItemOption1 of your "InventoryPacketHandler" or "WorldPacketsDecoder": [CODE]if (Bones.bury(player, item, slotId)) return;[/CODE]
×