if(@Operation = 90)
begin
declare @ int select @ = OptLevel from SRO_VT_SHARD.._Items Where Serial64 = @erial if @ >= 12)
begin
update SRO_VT_SHARD.._Items Set OptLevel = '12' Where Serial64 = @erial
end
end
if (@Operation=90)
BEGIN
-- Yui Plus limit --
declare @us int =17 -- this for max plus you want to limit declare @us int =16 -- this for back plus limit
UPDATE SRO_VT_SHARD.dbo._items set optlevel = @us where optlevel >= @us and serial64 > 0
end
From Procedure AddItemExtern In SRO_VT_SHARD
Go to SRO_VT_SHARD >> Programmability >> StoredProcedures >> _ADD_ITEM_EXTERN
search On
Code:
declare [MENTION=1319586]dur[/MENTION] int
select [MENTION=1319586]dur[/MENTION] = Dur_L from _RefObjItem where ID = [MENTION=298250]link[/MENTION]_to_item
set [MENTION=336745]DaTa[/MENTION] = [MENTION=1319586]dur[/MENTION]
if [MENTION=1489981]opt[/MENTION]_level < 0)
set [MENTION=1489981]opt[/MENTION]_level = 0
else if [MENTION=1489981]opt[/MENTION]_level > 12)
set [MENTION=1489981]opt[/MENTION]_level = 12
Then Change 12 To Ur +++
Then U Can Use This Query To Sent Any Player The Item With The +++ U Want
I changed it as @3 and @ discribed and changed the + of the weapon to 249 via SMC. If I login I can see that it was changed to 249 but after relog it is back to +12.
Any idea what wrong?
Thanks for help
Quote:
Originally Posted by tiras1102
Hello guys,
I changed it as @3 and @ discribed and changed the + of the weapon to 249 via SMC. If I login I can see that it was changed to 249 but after relog it is back to +12.
Any idea what wrong?
Thanks for help
I could fix it. The problem was in the stored procedure for login/logoff event.