Thread: Can pick up your items after dead?

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 Can pick up your items after dead? 
    Banned

    Join Date
    Oct 2012
    Posts
    4,723
    Thanks given
    1,684
    Thanks received
    1,100
    Rep Power
    0
    Okay rune-server,

    So out of nowhere this bugs appears when you kill a player in the wilderness (randomly) you can pick up your items after you died and your oppenent gets no message that he killed you.

    Does anyone know what the cause of this is willing to pay a fee for a fix 10$ fee.

    We know nothing about this glitch and it happens randomly without doing anything.

    If you need to know any codes let me know or contact me on skype vanelderen.patrick


    whole combat class: [Only registered and activated users can see links. ]



    EDIT noticed they do get pkp but no loots

    EDIT 15$ for the fix!
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Oct 2013
    Age
    21
    Posts
    687
    Thanks given
    15
    Thanks received
    68
    Rep Power
    0
    Show me the combat method.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Oct 2012
    Posts
    4,723
    Thanks given
    1,684
    Thanks received
    1,100
    Rep Power
    0
    Quote Originally Posted by Dri Comics View Post
    Show me the combat method.
    Whole player combat or? just a part and which part you want then
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Oct 2012
    Posts
    4,723
    Thanks given
    1,684
    Thanks received
    1,100
    Rep Power
    0
    [Only registered and activated users can see links. ]

    heres my whole combat class incase you need more
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Oct 2013
    Age
    21
    Posts
    687
    Thanks given
    15
    Thanks received
    68
    Rep Power
    0
    Quote Originally Posted by ipkmills View Post
    Whole player combat or? just a part and which part you want then
    Sorry, my mistake show me the class that the death is handled. I am pretty sure it's in Client.java since everything is handled their.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Oct 2012
    Posts
    4,723
    Thanks given
    1,684
    Thanks received
    1,100
    Rep Power
    0
    Quote Originally Posted by Dri Comics View Post
    Sorry, my mistake show me the class that the death is handled. I am pretty sure it's in Client.java since everything is handled their.


    you mean applydead? and thats in playerassistant not client nothing is handled in process() unless your process is crapy
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Oct 2012
    Posts
    4,723
    Thanks given
    1,684
    Thanks received
    1,100
    Rep Power
    0
    Quote Originally Posted by Dri Comics View Post
    Sorry, my mistake show me the class that the death is handled. I am pretty sure it's in Client.java since everything is handled their.

    Code:
    	/**
    	 * Dieing
    	 **/
    
    		public void applyDead() {
    		c.respawnTimer = 15;
    		c.isDead = false;
    		if(c.duelStatus != 6) {
    			c.killerId = findKiller();
    			Client o = (Client) PlayerHandler.players[c.killerId];
    			if(o != null && (c.killerId != c.playerId)) {			
    			o.specAmount = 10;
    			o.getItems().addSpecialBar(o.playerEquipment[o.playerWeapon]);
    			o.sendMessage("Your special attack refills completely!");
    			o.cStreak += 1;
    			o.getPA().sendFrame126("@[email protected] Kill Streak: @[email protected](@[email protected]" + o.cStreak + "@[email protected])", 7334);
    			if (o.cStreak >= 3) {
    			for (int j = 0; j < PlayerHandler.players.length; j++) {
    			if (PlayerHandler.players[j] != null) {
    				Client c2 = (Client)PlayerHandler.players[j];
    				c2.sendMessage("@[email protected][Killstreak] @[email protected]"+o.playerName+" just killed @[email protected]"+c.playerName+"@[email protected] and is on a "+o.cStreak+" killstreak");
    				}
    				}
    				}
    			if(o.cStreak > o.hStreak) {
    				o.sendMessage("Congratulations, your Highest kill streak has increased!");								
    				o.hStreak = o.cStreak;
    				o.getPA().sendFrame126("@[email protected] Kill Streak: @[email protected](@[email protected]" + o.hStreak + "@[email protected])", 7333);
                            }
    			if(!o.inPits){
    				if(o.killsThisMinute <= 2){
    					if(o.cantGetKills == 0){
    						if(c.playerId != o.playerId){
    							if(!c.inPits && !c.inFunPk()){
    								if (c.pkPoints > 10){
    									//c.getItems().addItem(c.randomStatues(), 1);
    									c.pkPoints = (c.pkPoints - 1);
    									c.sendMessage("You now have "+c.pkPoints+" PK Points. @[email protected](-1)");
    								}
    								
    								if (c.pkPoints <=10){
    									c.sendMessage("@[email protected] lose no points because you only have "+c.pkPoints+" PK Points.");
    								}
    								c.DC++;
    								
    							} else if(c.inFunPk()) {
    									c.sendMessage("You were killed in FunPK so you don't lose any PK Points.");
    							} else if(c.inPits) {
    									c.sendMessage("@[email protected] receive no penalty for dying in Fight Pits.");
    							}
    				String a = ""+o.connectedFrom+"";
    				String b = ""+c.connectedFrom+"";
    				
    							if(o.playerKilled != c.playerId && o.lastKilled != Server.playerHandler.players[c.playerId].connectedFrom){
    								o.KC++; 
    								//if(o.hasRegistered == 1)
    									//o.updateStats();
    								//else if(o.hasRegistered != 1)
    									//o.sendMessage("@[email protected] @[email protected]::register @[email protected] compare your k/d with friends in the new highscores!");
    
    								o.killsThisMinute++;
    								o.playerKilled = c.playerId;
    								if (!o.inFunPk()){
    								
    									if(c.playerId == o.myTarget){
    									if (!a.equals(b)){
    										o.sendMessage("@[email protected] gain 1 target point for killing your target! ");
    										o.sendMessage("@[email protected] gain 5 extra PK Points for killing your target!");
    										o.pkPoints += 5;
    										o.targetPoints += 1;
    										o.totalTargetPoints += 1;
    										//c.getItems().addItem(c.randomStatues(), 1);
    										
    										
    										c.myTarget = -1;
    										o.myTarget = -1;
    										c.target = 0;
    										o.target = 0;
    										o.getPA().createPlayerHints(10, -1);
    										c.getPA().createPlayerHints(10, -1);
    										o.targetName = "None";
    										c.targetName = "None";
    										o.findTarget();
    										c.findTarget();
    										}
    										if (a.equals(b)){
    										o.sendMessage("@[email protected] gained nothing from your kill and your target was reset.");
    										c.myTarget = -1;
    										o.myTarget = -1;
    										c.target = 0;
    										o.target = 0;
    										o.getPA().createPlayerHints(10, -1);
    										c.getPA().createPlayerHints(10, -1);
    										o.targetName = "None";
    										c.targetName = "None";
    										o.findTarget();
    										c.findTarget();
    									}
    									}
    								
    									if(o.memberStatus == 2){
    									if (!a.equals(b)){
    										o.pkPoints = (o.pkPoints + 6);
    										o.sendMessage("@[email protected] Donator bonus: @[email protected](+6 PK points)");
    										//c.getItems().addItem(c.randomStatues(), 1);
    										}
    										if (a.equals(b)){
    										c.sendMessage("You didn't gain any PKP for that kill.");
    				}
    									}
    									if(o.memberStatus == 1){
    									if (!a.equals(b)){
    										o.pkPoints = (o.pkPoints + 5);
    										o.sendMessage("@[email protected] Donator bonus: @[email protected](+5 PK points)");
    										//c.getItems().addItem(c.randomStatues(), 1);
    										}
    										if (a.equals(b)){
    										c.sendMessage("You didn't gain any PKP for that kill.");
    				}
    									}
    									if(o.isTraining){
    									if (!a.equals(b)){
    										o.pkPoints = (o.pkPoints + 10);
    										o.sendMessage("@[email protected] account: @[email protected](+10 PK points)");
    										//c.getItems().addItem(c.randomStatues(), 2);
    										}
    										if (a.equals(b)){
    										c.sendMessage("You didn't gain any PKP for that kill.");
    				}
    									}
    									if(o.memberStatus == 3){
    									if (!a.equals(b)){
    										o.pkPoints = (o.pkPoints + 7);
    										o.sendMessage("@[email protected] bonus: @[email protected](+7 PK points)");
    										//c.getItems().addItem(c.randomStatues(), 2);
    										}
    										if (a.equals(b)){
    										c.sendMessage("You didn't gain any PKP for that kill.");
    				}
    									}
    									if(o.memberStatus == 0){
    									if (!a.equals(b)){
    										o.pkPoints = (o.pkPoints + 5);
    										//c.getItems().addItem(c.randomStatues(), 1);
    										o.sendMessage("@[email protected](+5 PK points)");
    										}
    										if (a.equals(b)){
    										c.sendMessage("You didn't gain any PKP for that kill.");
    				}
    									}
    									
    								
    									if(!o.isInHighRiskPK()){
    										o.pkPoints = (o.pkPoints + 10);
    										o.sendMessage("@[email protected] now have "+o.pkPoints+" PK Points. @[email protected](+10 PK points)");
    									} else {
    										o.pkPoints = (o.pkPoints + 10);
    										o.sendMessage("@[email protected] now have "+o.pkPoints+" PK Points. @[email protected](+5 PK points)");
    									}
                                    }
    						
    								if (o.inFunPk()){
    									o.pkPoints = (o.pkPoints + 1);
    									if(o.memberStatus <= 1){
    										o.sendMessage("@[email protected] gain 1 PK Point because you were in FunPK!");
    										o.sendMessage("@[email protected] now have "+o.pkPoints+" PK Points. @[email protected](+1 PK points)");
    									} else if(o.memberStatus >= 2){
    										o.pkPoints = (o.pkPoints + 1);
    										o.sendMessage("@[email protected] gain 2 PK Points for being a Super Donor in FunPK!");
    										o.sendMessage("@[email protected] now have "+o.pkPoints+" PK Points. @[email protected](+2 PK points)");
    									}
    								}
    								o.lastKilled = Server.playerHandler.players[c.playerId].connectedFrom;
    								
    							} else {
    							o.sendMessage("@[email protected] gain no PK points.");
    							}
    						}
    				} else {
    					o.sendMessage("@[email protected] have been blocked from recieving PK Points for 1 hour.");
    					c.playerKilled = c.playerId;
    					c.DC++;
    					c.pkPoints = (c.pkPoints - 1);
    					c.sendMessage("@[email protected] now have "+c.pkPoints+" PK Points. (-1)");
    				}
    				} else {
    					c.DC++;
    					c.pkPoints = (c.pkPoints - 1);
    					c.sendMessage("@[email protected] now have "+c.pkPoints+" PK Points. (-1)");
    					o.cantGetKills = 1;
    					o.cantGetKillsTimer = 3600;
    					o.sendMessage("@[email protected] have been blocked from recieving PK Points for 1 hour.");
    				}
    				} else {
    					o.sendMessage("@[email protected] now have "+o.pkPoints+" PK Points. (+4)");
    					o.pkPoints = (o.pkPoints + 4);
    					//o.pitsPoints = (o.pitsPoints + 1);
    					//o.sendMessage("@[email protected] now have "+o.pitsPoints+" Pits Points. (+1)");
    					//o.sendMessage("@[email protected] pits PK point bonus is temporarily disabled!");
    				}
    				
    				if(o.duelStatus == 5) {
    					o.duelStatus++;
    				}
    			}
    		}
    		c.faceUpdate(0);
    		c.npcIndex = 0;
    		c.playerIndex = 0;
    		c.stopMovement();
    		if(c.duelStatus <= 4) {
    		if (c.redSkull == true) {
    			return;
    		}
    			c.sendMessage("Oh dear you are dead!");
    			c.cStreak = 0;
    			c.getPA().sendFrame126("@[email protected] Kill Streak: @[email protected](@[email protected]" + c.cStreak + "@[email protected])", 7334);
    			//MYSQL.updateKD(c.KC, c.DC, c.playerName);
    		} else if(c.duelStatus != 6) {
    			c.sendMessage("You have lost the duel!");
    		}
    		resetDamageDone();
    		c.specAmount = 10;
    		c.getItems().addSpecialBar(c.playerEquipment[c.playerWeapon]);
    		c.lastVeng = 0;
    		c.vengOn = false;
    		c.doubleHit = false;
    		c.usingClaws = false;
    		resetFollowers();
    		c.attackTimer = 10;
    	}
    	
    	public void resetDamageDone() {
    		for (int i = 0; i < PlayerHandler.players.length; i++) {
    			if (PlayerHandler.players[i] != null) {
    				PlayerHandler.players[i].damageTaken[c.playerId] = 0;			
    			}		
    		}	
    	}
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Oct 2012
    Posts
    4,723
    Thanks given
    1,684
    Thanks received
    1,100
    Rep Power
    0
    Quote Originally Posted by Dri Comics View Post
    Sorry, my mistake show me the class that the death is handled. I am pretty sure it's in Client.java since everything is handled their.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Oct 2013
    Age
    21
    Posts
    687
    Thanks given
    15
    Thanks received
    68
    Rep Power
    0
    After reviewing the code I am struck as well. I cannot really read the code due to all the if and else statements. All I can say is remove the pkp adding and all that and go from their.
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Oct 2012
    Posts
    4,723
    Thanks given
    1,684
    Thanks received
    1,100
    Rep Power
    0
    Quote Originally Posted by Dri Comics View Post
    After reviewing the code I am struck as well. I cannot really read the code due to all the if and else statements. All I can say is remove the pkp adding and all that and go from their.

    already did that didnt work
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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

Similar Threads

  1. [659] Picking up of items ?
    By Anthony in forum Help
    Replies: 1
    Last Post: 09-22-2011, 07:07 AM
  2. [Galkon]Error when picking up some item
    By zivkovic in forum Help
    Replies: 26
    Last Post: 03-21-2011, 07:48 AM
  3. Items Picked Up After Death
    By kjl777 in forum Help
    Replies: 0
    Last Post: 10-06-2009, 07:46 PM
  4. Help - Picking up custom items
    By discipl3 in forum Help
    Replies: 1
    Last Post: 03-01-2009, 04:09 PM
  5. 100% Perfect picking up ground items! + Video
    By Pkitten in forum Tutorials
    Replies: 177
    Last Post: 09-26-2008, 10:32 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
  •