Thread: How to make other bones get buried and more food to eat.

Results 1 to 7 of 7
  1. #1 How to make other bones get buried and more food to eat. 
    Soul Breaker
    Guest
    I did not leech this from mopar, I am the same person.

    Difficulty: 5/10
    Server Base: Devolution, others.
    Classes Modified: Client.Java

    What this tutorial would teach: This tutorial will teach you how to make more bones get buried and more food to eat, there can be more but that's all I can think of.

    Burying BONES

    Step 1:

    First of all go open your client.java and search for:
    Code:
    public void buryItem
    You'll see some examples already like this one:
    Code:
    			case 526:
    				prayerMessage(100);
    				break;
    Step 2:

    Next step, you saw the example. Right? Now copy that whole code again after the "break;"
    Now let me explain what the other codes are for.

    case 526 is what the item id is. [ THE BONE ID ]
    prayerMessage(100) is how much prayer experience it would give, so just change 100 to whatever you like.

    So an example would look like this: [ To tell you, this is a dagannoth bone. ]
    Code:
    			case 6729:
    				prayerMessage(650);
    				break;
    More Food To Eat.

    This next one is similar to the tutorial above, but just a little different.

    Step 1:

    Scroll down a bit more, and you'll probably see a code similar to this:
    Code:
    			case 315:
    				setAnimation(0x33D);
    				animationReset = System.currentTimeMillis() + 750;
    				currentHealth += 5;
    				if (currentHealth > playerLevel[playerHitpoints])
    					currentHealth = playerLevel[playerHitpoints];
    				sendMessage("You eat the shrimps");
    				break;
    Now that code was for a shrimp.

    Step 2:

    Copy that code again and paste it after the "break;"
    Now let me explain it to you.

    SetAnimation is what the emote you would use to eat.
    CurrentHealth += 5 is the health you would receive if you eat the food, so change the 5
    Leave animationreset and the
    Code:
    				if (currentHealth > playerLevel[playerHitpoints])
    					currentHealth = playerLevel[playerHitpoints];
    Of course, sendMessage is the message you would receive

    Now that you're done, save and COMPILE!

    Enjoy the food and the Bones!
     

  2. #2  
    P I M P 3 D Tut
    Guest
    i dont understand, what does this do?
     

  3. #3  
    Registered Member

    Join Date
    Aug 2007
    Posts
    2,395
    Thanks given
    2
    Thanks received
    63
    Rep Power
    558
    this is already in dodian source... ?
    [Only registered and activated users can see links. ]
     

  4. #4  
    littleplop
    Guest
    Quote Originally Posted by P I M P 3 D Tut View Post
    i dont understand, what does this do?
    Thats right you don't understand what its like to cum in your public hair
     

  5. #5  
    Registered Member

    Join Date
    Jun 2007
    Posts
    2,237
    Thanks given
    267
    Thanks received
    411
    Rep Power
    1283
    Quote Originally Posted by littleplop View Post
    Thats right you don't understand what its like to cum in your public hair
    What is public hair
    Don't worry, Be happy.
     

  6. #6  
    Aj
    Aj is offline
    Ex Administrator
    Aj's Avatar
    Join Date
    Dec 2007
    Age
    30
    Posts
    4,352
    Thanks given
    17
    Thanks received
    3,365
    Rep Power
    5000
    I understand. This may be helpful to brand new users. Useless to maybe 90% coders. But other than that, it will help. So good job.
     

  7. #7  
    Soul Breaker
    Guest
    Quote Originally Posted by surfer25 View Post
    What is public hair
    It's PUBIC hair LMAO, u know the hair that grows on the girls and boys, thing?

    AND GUYS THIS MAKES MORE FOOD TO EAT READ THE TITLE =S
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •