Thread: [PI] PK Point Farming[+REP]

Results 1 to 6 of 6
  1. #1 [PI] PK Point Farming[+REP] 
    Registered Member
    Join Date
    Apr 2010
    Posts
    83
    Thanks given
    10
    Thanks received
    4
    Rep Power
    3
    Base: PI, DSPK
    Problem: People are PK point farming, and I want a method that would make it so you can't get pk points from killing a person twice in a row.
    Errors(Compiling Errors):None
    Other Information/Media(Pictures, etc):

    Thanks in advance.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Mar 2011
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    In client.java

    This will mean if you kill someone on the same ip it just says you have killed this player twice in a row. and do not get any PkPoints
    Hope i helped

    Code:
    				if (Server.playerHandler.players[c.killerId].connectedFrom == Server.playerHandler.players[c.playerKilled].connectedFrom && c.inWild()) {
    				//if (Server.playerHandler.players[c.playerId].connectedFrom != o.lastKilled) {
    					o.pkPoints = (o.pkPoints + 1);
    					o.sendMessage("You have killed " +c.playerName+"!.");
    					o.lastKilled = Server.playerHandler.players[c.playerId].connectedFrom;
    					o.sendMessage("PkP: "+c.pkPoints+" K: "+c.KC+" D: "+c.DC+"");
    				} else {
    					o.sendMessage("You have killed " +c.playerName+"!");
    					o.sendMessage("You do not recieve pk points because you have killed " +c.playerName+ " twice in a row.");
    					o.sendMessage("PkP: "+c.pkPoints+" K: "+c.KC+" D: "+c.DC+"");
    					//sendFrame126("PkP: "+c.pkPoints+" K: "+c.KC+" D: "+c.DC+"", 663);
    				}
    			}
    		}
    Reply With Quote  
     

  3. #3  
    Banned [PI] PK Point Farming[+REP] Market Banned


    Join Date
    Jan 2011
    Age
    26
    Posts
    3,112
    Thanks given
    1,198
    Thanks received
    1,479
    Rep Power
    0
    Make a new token named 'lastkilled'

    Then, make it so once you kill a player, it sets the token lastkilled to there name.
    Then make it so if lastkilled is equal to the players name who you are attacking, to do nothing.

    It's very simple if you think about it.
    Reply With Quote  
     

  4. #4  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,149
    Thanks given
    1,508
    Thanks received
    1,980
    Rep Power
    4944
    What Clawz Fury said, but also add something so the host can't open a new account on his computer and pkfarm from there.
    Reply With Quote  
     

  5. #5  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    Quote Originally Posted by xGenesis R View Post
    What Clawz Fury said, but also add something so the host can't open a new account on his computer and pkfarm from there.
    This actually isn't a good solution. The reason is because there may be more than one person from the same household wishing to pk each other.

    Also, the last person killed thing may be bad, because people are pking each other over and over again for fun, because they are friends. Another reason this may not work is because a person could easily have 3 accounts. One account would be the main account, and two others would be farming accounts. They would simply kill one account then kill the other and repeat.

    I think the best way to deal with this would be make it so that the more kills you get, the less points you get.

    If you like my idea, I will add it in for you if you give me your code.


    Spoiler for different picture now:
    Reply With Quote  
     

  6. #6  
    Community Veteran


    Join Date
    Jun 2007
    Posts
    1,683
    Thanks given
    302
    Thanks received
    309
    Rep Power
    481
    Solution: Remove pk farming.

    There is no real fix to this, as you can just get a bunch of friends and take turns killing one by one (to keep changing the lastkilled int).
    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. Pk point Farming
    By Defiled-X in forum Help
    Replies: 19
    Last Post: 04-06-2014, 08:14 AM
  2. Pk Point Farming Help
    By Zro. in forum Help
    Replies: 6
    Last Post: 01-01-2010, 04:18 AM
  3. PK point farming rep++
    By Trock in forum Help
    Replies: 17
    Last Post: 11-30-2009, 05:37 PM
  4. Replies: 4
    Last Post: 08-24-2009, 02:49 AM
  5. Farming timer! great farming tool made by me :)
    By lattmjolk1 in forum Application Development
    Replies: 8
    Last Post: 01-10-2009, 02:42 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
  •