Thread: Eclipse/Dementhium 639/637 Death

Results 1 to 3 of 3
  1. #1 Eclipse/Dementhium 639/637 Death 
    Registered Member
    Join Date
    May 2011
    Posts
    129
    Thanks given
    8
    Thanks received
    5
    Rep Power
    0
    Hey guys, just here for a little question. I got the Eclipse 639 source TOTALLY customized and almost stable IMO, but now the dropping methods..

    When I kill a player in the wild, 90% of the times I won't get the drop.. it's there for himself to pickup, or if he leaves it I gotta wait till everybody can see it..

    I was looking for protect item prayer, but this goes first.. Why doesn't it drop the items for the killer? This is in the Skills.java ...

    Code:
    public void execute() {
            				  stop();
            				  dead = false;
            				  for (int i = 0; i < SKILL_COUNT; i++) {
            					  set(i, getLevelForExperience(i));
            				  }
            				  hitPoints = getMaxHitpoints();
            				  player.animate(Animation.RESET);
            				  player.getPrayer().closeAllPrayers();
            				  player.sendMessage("Oh dear, you have died.");
            				  ActionSender.sendConfig(player, 1240, hitPoints * 2);
            				  player.setSpecialAmount(1000);
            				  player.resetCombat();
            				  player.getPoisonManager().removePoison();
            				  player.setAttribute("teleblock", 0);
            				  player.setAttribute("freezeTime", 0);
            				  Mob killer = player.getDamageManager().getKiller();
            				  if (!player.getActivity().onDeath(player)) { //In a safe activity we don't drop items or teleport to the DEFAULT_LOCATION, this will be done in the onDeath method.
            					  if (killer != null && killer != player) {
            						  if (player.getRights() != 2) {
            							  GraveStoneManager.appendDeath(player, killer);
            						  }
            					  }
            					  player.teleport(Mob.DEFAULT);
            				  }
            			  }
    
            		  }, true);
            	  }
              });
    	}
    Any idea/way to solve ?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2011
    Posts
    1,140
    Thanks given
    385
    Thanks received
    398
    Rep Power
    474
    Wrong section. Use the 503+ section.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2011
    Posts
    129
    Thanks given
    8
    Thanks received
    5
    Rep Power
    0
    Damnit. Didn't know that sorry.
    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. [Dementhium 637] Dh axe Eclipse Fix
    By Godliike 667 in forum Snippets
    Replies: 12
    Last Post: 03-26-2013, 12:03 PM
  2. [637/639]Dementhium Custom Titles[637/639]
    By nbness2 in forum Snippets
    Replies: 6
    Last Post: 03-10-2012, 03:42 AM
  3. Replies: 1
    Last Post: 01-25-2012, 05:15 PM
  4. NPCDefinitions Eclipse 637/639
    By OpTiC.Icy in forum Help
    Replies: 3
    Last Post: 01-11-2012, 12:36 AM
  5. Replies: 2
    Last Post: 12-19-2011, 10:47 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •