it's not important system so i decide to release it
you have first to add this code into SRO_VT_SHARDLOG.dbo._AddLogChar
if (@EventID = 22)
begin
exec SRO_VT_SYSTEM_ALEXIUNS.dbo._CoinsPerLevel @CharID , @Data2, @EventTime
end
then you will create this table
create table _LeveLog (CharID int,Data2 tinyint,EventTime DateTime)
last thing you will create the proc
USE [SRO_VT_SYSTEM_ALEXIUNS]
GO
/****** Object: StoredProcedure [dbo].[_CoinsPerLevel] Script Date: 02/11/2014 20:27:42 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
create proc [dbo].[_CoinsPerLevel]
@CharID int,
@Data2 tinyint,
@EventTime DateTime
as
/* This is system by Alexiuns */
declare @Charname varchar(64) = (select CharName16 from SRO_VT_SHARD.dbo._Char Where CharID = @CharID)
if not exists (select CharID,Data2 From _LeveLog Where CharID = @CharID and Data2 = @Data2)
begin
insert into _LeveLog values (@CharID,@Data2,@EventTime)
exec SRO_VT_SHARD.dbo._ADD_ITEM_EXTERN @CharName,'ITEM_ETC_SD_TOKEN_01',1,1
end
btw this system with anti cheat