If you're using the SP Jocs posted then
Code:
If(@Operation= '41')
if(@ItemRefID= '41846')
begin
declare @RemovePrem1 int
declare @RemovePrem2 int
declare @RemovePrem3 int
declare @RemovePrem4 int
declare @RemovePrem5 int
declare @RemovePrem6 int
declare @RemovePrem7 int
declare @RemovePrem8 int
declare @RemovePrem9 INT
SET @RemovePrem1 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=3847)
SET @RemovePrem2 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=3783)
SET @RemovePrem3 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=3769)
SET @RemovePrem4 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=3795)
SET @RemovePrem5 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=10800)
SET @RemovePrem6 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=224)
SET @RemovePrem7 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=1)
SET @RemovePrem8 = (Select ID From SRO_VT_SHARD.DBO._TimedJob Where CharID=@CharID and Data2=2)
SET @RemovePrem9 = (SELECT ID FROM SRO_VT_SHARD.DBO._TimedJob WHERE CharID=@CharID AND Data2=707799600)
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem1
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem2
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem3
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem4
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem5
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem6
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem7
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem8
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem9
end
end
Simply add a new line with the data2 column from the lines you extracted
We are going to follow his code:
last lines are @RemovePrem9 So we are going to add after each one @RemovePrem10 and so on..
declare @RemovePrem9 int
declare @RemovePrem10 int
SET @RemovePrem9 = (SELECT ID FROM SRO_VT_SHARD.DBO._TimedJob WHERE CharID=@CharID AND Data2=707799600)
SET @RemovePrem10 = (SELECT ID FROM SRO_VT_SHARD.DBO._TimedJob WHERE CharID=@CharID AND Data2=707799600)
This will explain how to get the Data2 for the new lines you're going to add
[Only registered and activated users can see links. Click Here To Register...]
or just do the following
1- remove all the buffs/scroll and all remaining wait time etc.. data from the _TimedJob belong to your character
Code:
delete from SRO_VT_SHARD.dbo._TimedJob where charid = (select CharID from SRO_VT_SHARD.dbo._Char where charname16 = 'WRITE YOUR YOUR CHAR NAME ')
2-go ingame and use the premium
3- select the Data2 which is needed to run in Jocs query at _AddLogItem procedure @LogDatabase
Code:
SELECT Data2 from SRO_VT_SHARD.dbo._TimedJob where Charid = (select CharID from SRO_VT_SHARD.dbo._Char where charname16 = 'WRITE YOUR YOUR CHAR NAME ')
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem9
delete from SRO_VT_SHARD.DBO._TimedJob WHERE ID=@RemovePrem10
It's pretty easy but I wrote a lot for no reason.