[HELP]1-15 PVP STATS FROM VEY MANAGER

05/09/2016 15:31 [GM]Krasnodar#1
Hello
I know this is stupid and also checked forum but i couldnt fibd anything how can i get pvp stats from vet manager at level 15 tried to find offsets with CE but i think i made some mistakes if any help would be great

Best Regards
05/09/2016 18:58 [Admin]Ziggy#2
Hey!
Same as you do on any other level :P
05/10/2016 13:11 [GM]Bondax#3
If you are level 15 you cant get from vet manager you can only get points when you are 16 but he want to get them on at level 15 i think you misunderstood. I will try to make it but if other devs can make it would be faster
05/10/2016 13:51 [Admin]Ziggy#4
Oh, my bad. I apologise
05/11/2016 23:52 SnickQ#5
You can use sql trigger with quest for this.

Add for Chars table or whatever new columin some like this
Code:
USE [PS_GameData]
BEGIN TRANSACTION
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET NUMERIC_ROUNDABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.Chars ADD
	Rank15 tinyint NOT NULL CONSTRAINT DF_Chars_Rank15 DEFAULT 0
GO
COMMIT
For trigger

if not exist (Select rank15 from Chars where CharID=CharID and rank15='1')
begin
If @[Only registered and activated users can see links. Click Here To Register...]='15' and k1 = '1'
begin
Update Chars
Set Statpoint=Statpoint+'1',Rank15='1'
where CharID=@CharID
end
end


And if player wish reset stat ad another trigger for reset

Code:
If ActionType='112' and value2='100048'
Begin
update PS-GameData.dbo.chars
Set Rank15='0'
where CharID=@CharID
And after relog player can use bonus stat again
Im not test this but should work