Thread: Funpk gives Pk Points

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 Funpk gives Pk Points 
    Registered Member Blaze3211's Avatar
    Join Date
    Dec 2012
    Posts
    384
    Thanks given
    39
    Thanks received
    4
    Rep Power
    10
    Hello,
    I am working on a 317 pi RSPS called erasedpkz and when you kill someone in funpk you seem to gain pk points. How do i stop this?
    Thanks
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Code:
    				if (c.inWild() && !c.inFunPk())
    				if (Server.playerHandler.players[c.playerId].connectedFrom != o.lastKilled) {
    					o.sendMessage("You have defeated "+Misc.optimizeText(c.playerName)+"!");
    					o.sendMessage("and received 2 PvP Points!");     
    					o.pkPoints = (o.pkPoints + 2);
    					o.lastKilled = Server.playerHandler.players[c.playerId].connectedFrom;
    					} else {
    						o.sendMessage("You do not recieve pk points because you have killed " +c.playerName+ " twice in a row.");
    				return;
    				}
    			}
    		}
    go to your applydead() method and use this as a reference.
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    Registered Member Blaze3211's Avatar
    Join Date
    Dec 2012
    Posts
    384
    Thanks given
    39
    Thanks received
    4
    Rep Power
    10
    Should I add that in because its not there
    Reply With Quote  
     

  5. #4  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by Blaze3211 View Post
    Should I add that in because its not there
    i said to use it as a reference, i never said that you'd have the exact same thing.
    just look through your applydead method and see if you can find where its distributing pk points.
    Reply With Quote  
     

  6. #5  
    Registered Member Blaze3211's Avatar
    Join Date
    Dec 2012
    Posts
    384
    Thanks given
    39
    Thanks received
    4
    Rep Power
    10
    Um can you help me through skype?
    Reply With Quote  
     

  7. #6  
    Respected Member


    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,099
    Thanks given
    2,226
    Thanks received
    3,146
    Rep Power
    5000
    Quote Originally Posted by Blaze3211 View Post
    Um can you help me through skype?
    $3 and i'll help you.
    Attached image

    Spoiler for Spoilers!:
    Attached image
    Attached image
    Attached image
    Attached image
    Reply With Quote  
     

  8. #7  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by sponjebubu View Post
    $3 and i'll help you.
    jack, need an extra $3 for a lb of weed or what lol.
    Reply With Quote  
     

  9. #8  
    Respected Member


    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,099
    Thanks given
    2,226
    Thanks received
    3,146
    Rep Power
    5000
    Quote Originally Posted by Karma_K View Post
    jack, need an extra $3 for a lb of weed or what lol.
    im out of dank shit.
    Attached image

    Spoiler for Spoilers!:
    Attached image
    Attached image
    Attached image
    Attached image
    Reply With Quote  
     

  10. #9  
    Registered Member Blaze3211's Avatar
    Join Date
    Dec 2012
    Posts
    384
    Thanks given
    39
    Thanks received
    4
    Rep Power
    10
    Quote Originally Posted by sponjebubu View Post
    $3 and i'll help you.
    lol if i pay $3 your gonna need to fix all my bugs
    Reply With Quote  
     

  11. #10  
    Donator
    Darkness's Avatar
    Join Date
    Nov 2012
    Age
    26
    Posts
    876
    Thanks given
    121
    Thanks received
    75
    Rep Power
    47
    Playerassistant.java

    Ctrl+F : inWild

    you WILL have this line at the TOP

    Code:
    					if (c.inWild()) {
    Under something SIMILAR to :

    Code:
    		c.respawnTimer = 15;
    		c.isDead = false;
    		Client o = (Client) PlayerHandler.players[c.killerId];
    		if(c.duelStatus != 6) {
    			c.killerId = findKiller();
    			if(o != null) {
    				c.playerKilled = c.playerId;
    				if(o.duelStatus == 5) {
    					o.duelStatus++;
    				}
    Change it to

    Code:
    					if (c.inWild() && !c.inFunPk()) {
    Attached image
    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)


User Tag List

Similar Threads

  1. [PI] Slayer tasks give pk points
    By Impervious in forum Help
    Replies: 3
    Last Post: 07-24-2011, 01:09 AM
  2. [PI] Kills don't give pk points Deaths do.
    By LorenzoMKW in forum Help
    Replies: 4
    Last Post: 05-06-2011, 12:45 AM
  3. Npc gives pk point
    By im raw in forum Help
    Replies: 10
    Last Post: 03-23-2011, 05:33 PM
  4. [PI] Dying from monster gives PK points
    By ba bye range in forum Help
    Replies: 1
    Last Post: 02-17-2011, 03:55 AM
  5. Funpk zone pk points problem...{DELTA}
    By mudvayne5493 in forum Help
    Replies: 2
    Last Post: 03-01-2009, 03:43 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
  •