Jump to content
  • 1

Farming PvP points by killing in pvp problem.


Question

Posted

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.

7 answers to this question

Recommended Posts

  • 1
Posted
-	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;
}

  • Upvote 1
  • 0
Posted
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.

Posted (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 by AnnieRuru
Posted

-	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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...