Jump to content
  • 0
Sign in to follow this  
blindwitness

[pi] duel help (will pay rsgp)

Question

alright so in duel arena its almost complete except for one part, when you win the stake you don't get the interface to collect your items,but it teles you out of the arena. I'll pay 10m rsgp for help. Edited by blindwitness

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
ok i figured out its because duelstatus6 is commented out but i dont know how to fix without errors
[CODE] public void applyDead() {
Client o = (Client) Server.playerHandler.players[c.killerId];
c.respawnTimer = 15;
c.isDead = false;
if(c.duelStatus != 6) {
c.killerId = findKiller();
if(o != null) {
if (c.killerId != c.playerId) {
o.sendMessage("You have defeated "+c.playerName+"!");
if (!c.connectedFrom.equals(o.lastKilled)) {
o.pcPoints ++;
o.sendMessage("@[email protected] recieve a PK point for your kill. You now have " + o.pcPoints + " PK points.");
} else
o.sendMessage("You have already killed " + c.playerName + " recently. You do not recieve a PK point.");
o.lastKilled = c.connectedFrom;
}
o.playerKilled = c.playerId;
/*if(c.duelStatus != 6) {
//c.killerId = c.getCombat().getKillerId(c.playerId);
c.killerId = findKiller();
if(o != null) {
if (c.killerId != c.playerId)
o.pcPoints += 1;
c.playerKilled = c.playerId;
if(o.duelStatus == 5) {
o.duelStatus++;
}
*/[/CODE]

Share this post


Link to post
Share on other sites
Sign in to follow this  

×