Currently Posted December 21, 2012 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted December 21, 2012 Can I request a script where they have to kill another player to earn another pvp points? Example: Player 1 killed Player 2 for a point. Player 1 has to kill Player 3 for a point. Player 1 can kill Player 2 again for a point. Overview: Player 1 can't keep killing Player 2. Player 1 have to kill another player. Quote Link to comment Share on other sites More sharing options...
1 Euphy Posted December 21, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1131 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted December 21, 2012 - script PVP_Points -1,{ OnPCKillEvent: if (killedrid == getcharid(3) || killedrid == last_kill) end; set last_kill, killedrid; set #CASHPOINTS, #CASHPOINTS+1; dispbottom "Gained a kill point! Total: "+#CASHPOINTS; end; } 1 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 21, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 21, 2012 I think the last_kill variable can be change into a temporary player variable ... this killedrid is not a permanent player variable, its a constant http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=3249 Quote Link to comment Share on other sites More sharing options...
Currently Posted December 21, 2012 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted December 21, 2012 (edited) Thank you! Working perfectly (: Edited December 21, 2012 by Dreamworks Quote Link to comment Share on other sites More sharing options...
Euphy Posted December 21, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1131 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted December 21, 2012 I think the last_kill variable can be change into a temporary player variable ... You can farm kills logging in and out, then. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 21, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 21, 2012 (edited) I think the last_kill variable can be change into a temporary player variable ... You can farm kills logging in and out, then. ahh ... that's because its from my experiences from working on a live server ...because every pvp maps has nosave mapflag to prevent them from ambushing other players by logging-out-and-in ... it has become an instinct to me that every event script has nowarp/nowarpto/noteleport/nosave mapflags =/ PS: and ... I usually never use permanent player variable in an event script ... I guess this one is an exception ... Edited December 21, 2012 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Virtue Posted December 21, 2012 Group: Members Topic Count: 92 Topics Per Day: 0.02 Content Count: 354 Reputation: 22 Joined: 11/17/11 Last Seen: May 12 Share Posted December 21, 2012 - script PVP_Points -1,{ OnPCKillEvent: if (killedrid == getcharid(3) || killedrid == last_kill) end; set last_kill, killedrid; set Pvp Points, Pvp Points+1; dispbottom "Gained a kill point! Total: "+Pvp Points; end; } is this possible? or do i have to make it "Pvp Points" ? nvm, solved it, used @Emistry's Custom Currency Shop. Thanks Quote Link to comment Share on other sites More sharing options...
0 kyleanthonydizon Posted May 7, 2017 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 100 Reputation: 0 Joined: 10/22/16 Last Seen: May 17, 2017 Share Posted May 7, 2017 On 12/21/2012 at 10:18 AM, Euphy said: - script PVP_Points -1,{ OnPCKillEvent: if (killedrid == getcharid(3) || killedrid == last_kill) end; set last_kill, killedrid; set #CASHPOINTS, #CASHPOINTS+1; dispbottom "Gained a kill point! Total: "+#CASHPOINTS; end; } Hi sir, what if I want to add to PvP and WoE Maps only? And minus points everytime you die. Quote Link to comment Share on other sites More sharing options...
Question
Currently
Can I request a script where they have to kill another player to earn another pvp points?
Example:
Player 1 killed Player 2 for a point.
Player 1 has to kill Player 3 for a point.
Player 1 can kill Player 2 again for a point.
Overview: Player 1 can't keep killing Player 2. Player 1 have to kill another player.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.