Thread: 718 item drops on death

Results 1 to 3 of 3
  1. #1 718 item drops on death 
    Donator

    Join Date
    Nov 2013
    Posts
    50
    Thanks given
    7
    Thanks received
    10
    Rep Power
    15
    Uhm i have a problem with the items drops on death on pvm monsters and i realy wanna change it to not drop items unless your in wildy or red portal.

    Code:
    @Override
    			public void run() {
    				if (loop == 0) {
    					setNextAnimation(new Animation(836));
    				} else if (loop == 1) {
    					getPackets().sendGameMessage("Oh dear, you have died.");
    					if (source instanceof Player) {
    						Player killer = (Player) source;
    						killer.setAttackedByDelay(4);
    					}
    				} else if (loop == 3) {
    					controlerManager.startControler("DeathEvent", deathTile, hasSkull());
    				} else if (loop == 4) {
    					getPackets().sendMusicEffect(90);
    					stop();
    				}
    				loop++;
    			}
    		}, 0, 1);
    	}
    thats the code i have but im not sure how to change it also somehow i get sended to death each time i die wich is wierd idk how to remove that to.
    Also some items appear under a grave stone idk how to remove that either..... ive tryed and googled for hours
    Reply With Quote  
     

  2. #2  
    Registered Member Grown's Avatar
    Join Date
    Oct 2012
    Posts
    838
    Thanks given
    650
    Thanks received
    86
    Rep Power
    54
    Quote Originally Posted by zittlax View Post
    Uhm i have a problem with the items drops on death on pvm monsters and i realy wanna change it to not drop items unless your in wildy or red portal.

    Code:
    @Override
    			public void run() {
    				if (loop == 0) {
    					setNextAnimation(new Animation(836));
    				} else if (loop == 1) {
    					getPackets().sendGameMessage("Oh dear, you have died.");
    					if (source instanceof Player) {
    						Player killer = (Player) source;
    						killer.setAttackedByDelay(4);
    					}
    				} else if (loop == 3) {
    					controlerManager.startControler("DeathEvent", deathTile, hasSkull());
    				} else if (loop == 4) {
    					getPackets().sendMusicEffect(90);
    					stop();
    				}
    				loop++;
    			}
    		}, 0, 1);
    	}
    thats the code i have but im not sure how to change it also somehow i get sended to death each time i die wich is wierd idk how to remove that to.
    Also some items appear under a grave stone idk how to remove that either..... ive tryed and googled for hours
    Maybe I'm just so exhausted I cannot comprehend what you're saying, but can you clearly ask what you want removed/changed?
    "Programs aren’t just built in one go, like a bridge. They are talked about,
    sketched out, prototyped, played with, refactored, tuned, tested, tweaked,
    deleted, rewritten....
    A program is not built; it is grown.
    Because a program is always growing and always changing, it must be written
    with change in mind."
    Reply With Quote  
     

  3. #3  
    Donator

    Join Date
    Nov 2013
    Posts
    50
    Thanks given
    7
    Thanks received
    10
    Rep Power
    15
    fixed
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 13
    Last Post: 01-16-2015, 06:57 PM
  2. Replies: 3
    Last Post: 02-24-2014, 03:08 PM
  3. Rune-EvoV3 718/742 - Items Dropped on Death.
    By Company in forum Requests
    Replies: 1
    Last Post: 02-06-2014, 02:29 AM
  4. 718 Item drops on death issue
    By Mr Joopz in forum Help
    Replies: 5
    Last Post: 10-08-2013, 10:48 AM
  5. 718 items dropped on death
    By legend 349 in forum Help
    Replies: 4
    Last Post: 12-09-2012, 11:34 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •