KDR

10/25/2014 22:24 Cansas59#1
i have a question, is there any way to show the kdr not display in game?
10/25/2014 23:03 nubness#2
From what I know, KDR stands for Kill/Death Ratio, which is never displayed in game, so what the heck ? Maybe you want to make it to where deaths don't show. If that's the case, learn how to ask your questions.
10/26/2014 00:36 Cansas59#3
yes so i mean this sry death dont show
10/26/2014 00:40 _Diavolino_#4
So Nubness is it possible out to 'paint' the graphic to dont see the Result of the death by display the death ingame ?:bandit:

Thank you ^^
10/26/2014 02:01 nubness#5
Here's a little SQL approach:

In usp_Read_Chars_Detail2_R:
Code:
Line 57 (by default): PosX, PosY, PosZ, Hg, Vg, Cg, Og, Ig, Del, K1, K2, K3, K4, @Money AS StoredMoney, @GuildID AS GuildID, @GuildLevel AS GuildLevel,
Add a 0 in front of the K2, like so:
Code:
PosX, PosY, PosZ, Hg, Vg, Cg, Og, Ig, Del, K1, 0 K2, K3, K4, @Money AS StoredMoney, @GuildID AS GuildID, @GuildLevel AS GuildLevel,
In usp_Save_Char_Info_E, instead of:
Code:
K2 = @K2
, you write
Code:
K2 += @K2
or
Code:
K2 = K2 + @K2
This should do the trick. Your players will see 0 deaths, but the database will still store the real number.
10/26/2014 18:22 _Diavolino_#6
Thanks for that, but as you told the database will still record so in case of using stat pad detection, the script still works ? i presume Yes But better to get one confirmation xD

regards, :)
10/26/2014 19:18 nubness#7
Yes, it still works.
10/26/2014 19:38 Cansas59#8
script works fine thank you nubness :)
11/01/2014 12:25 Autrux#9
#moved

#closed