[Request]How to remove that thing when u kill someone in the arena u get pkpoints

05/29/2009 00:36 painkiller199202#1
Hi, can someone tell me how to code that?

When im in the Tc arena and i kill some player i get 10 pk points.

Thanks.
05/29/2009 03:48 AndreaCo#2
which source??
05/29/2009 03:57 painkiller199202#3
CoEmu v2
05/29/2009 03:58 Zeroxelli#4
just break; if the map ID is the ID of the arena lol
05/29/2009 03:59 painkiller199202#5
Srry didnt got it. (new to coding)
05/29/2009 04:03 Zeroxelli#6
Quote:
Originally Posted by painkiller199202 View Post
Srry didnt got it. (new to coding)
CTRL + F for the code that adds PK points, seeing as you cannot PK in TC it has to include a MapID check. Simply check if the MapID is that of the PKArena/GW Area and add a break; or return; :p
05/29/2009 04:59 Zeroxelli#7
Sorry, was working. I got your PM, in response. For example you want to not get PKP in the PK Arena:

In Calculations/doMonsterPlayer.cs search for
Code:
                    CSocket.Client.PkPoints += 10;
and replace it with
Code:
                if (CSocket.Client.Map != Struct.Maps.Arena)
                {
                    CSocket.Client.PkPoints += 10;
                }
                else CSocket.Client.Flashing = false;
Here's a screenshot afterwords, notice PKP.

[Only registered and activated users can see links. Click Here To Register...]
05/29/2009 14:45 painkiller199202#8
Thanks :D
06/25/2009 10:50 0105653642#9
Quote:
Originally Posted by Zeroxelli View Post
Sorry, was working. I got your PM, in response. For example you want to not get PKP in the PK Arena:

In Calculations/doMonsterPlayer.cs search for
Code:
                    CSocket.Client.PkPoints += 10;
and replace it with
Code:
                if (CSocket.Client.Map != Struct.Maps.Arena)
                {
                    CSocket.Client.PkPoints += 10;
                }
                else CSocket.Client.Flashing = false;
Here's a screenshot afterwords, notice PKP.

[Only registered and activated users can see links. Click Here To Register...]

good work it helps alot but i want to ask u for onther thing in arena still flashing name and get pk point and in Gw to