Hello Everyone,
Credits for @[Only registered and activated users can see links. Click Here To Register...]
I have a nice surprise today, many people told me about it, but it does some lags/delays if you have a large number of players, but no, today I solved this problem with a system that is very easy to control and it is done by HIGH PERFORMANCE and does not have any load on the CPU If you have any questions, just call me on the DISCORD Taut:#3258
Note: Create your own scroll, Use Your brain.exe
CREATE PROCEDURE
AddLogItem
Credits for @[Only registered and activated users can see links. Click Here To Register...]
I have a nice surprise today, many people told me about it, but it does some lags/delays if you have a large number of players, but no, today I solved this problem with a system that is very easy to control and it is done by HIGH PERFORMANCE and does not have any load on the CPU If you have any questions, just call me on the DISCORD Taut:#3258
Note: Create your own scroll, Use Your brain.exe
CREATE PROCEDURE
Code:
USE [YOUR_DATABASE] GO /****** Object: StoredProcedure [dbo].[_TautUpgrade] Script Date: 6/5/2021 5:05:35 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO --============================================= --Credits For TautĄ --Discord:Taut#3258 --DM ME IF YOU HAVE ANY PROBLEM! --============================================= CREATE PROCEDURE [dbo].[_TautUpgrade] @RefItemID INT, @CharID INT AS BEGIN TRY SET NOCOUNT ON; DECLARE @CharName varchar(20) SELECT @CharName=CharName16 FROM SRO_VT_SHARD.._Char WITH(NOLOCK) WHERE CharID=@CharID -------------------------------------------- IF @RefItemID = 11111 -- (ScrollID) Seal of Star +9 -> Seal of Moon +0 BEGIN UPDATE I Set RefItemID=M2.RefItemID,OptLevel = 0--,MagParamNum = 0 , Variance = 0,MagParam1=0,MagParam2=0,MagParam3=0,MagParam4=0,MagParam5=0,MagParam6=0,MagParam7=0,MagParam8=0,MagParam9=0,MagParam10=0,OptLevel =5 FROM SRO_VT_SHARD.._Inventory Inv JOIN SRO_VT_SHARD.._Items I ON Inv.ItemID=I.ID64 AND I.OptLevel >= 9 --Plus Here JOIN _UpgradeItem M1 ON I.RefItemID=M1.RefItemID JOIN _UpgradeItem M2 ON M2.ItemType=M1.ItemType AND M2.Model = M1.Model AND M2.ItemGrade ='B_RARE' WHERE Inv.CharID=@CharID AND Inv.Slot=13 AND Inv.ItemID!=0 AND M1.ItemGrade = 'A_RARE' IF @@ROWCOUNT = 1 --You Can add your message here if success like it: INSERT Tautbot_User.._TautCommands VALUES (1,'Congratulations! Your Seal Of Nova [Weapon] Have Been Upgraded To Seal Of Moon!','Notice','system',0,0,0,0,0,0) IF @@ROWCOUNT = 0 BEGIN --You Can add your message here if failed like it because items not in slot (13) INSERT Tautbot_User.._TautCommands VALUES (1,'Please put a valid Seal Of Nova (+9 or more) item into the first slot of your inventory','Notice','system',0,0,0,0,0,0) END END END TRY BEGIN CATCH END CATCH
AddLogItem
Code:
IF @Operation = 41 AND @ItemRefID = 11111--(ScrollID) BEGIN EXEC _TautUpgrade @ItemRefID,@CharID END
CREATE UPGRADE TABLE
Code:
USE [YOUR_DATABASE] GO /****** Object: Table [dbo].[_UpgradeItem] Script Date: 6/9/2021 5:26:16 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[_UpgradeItem]( [ID] [int] IDENTITY(1,1) NOT NULL, [RefItemID] [int] NOT NULL, [ItemType] [varchar](100) NOT NULL, [ItemGrade] [varchar](50) NOT NULL, [Model] [varchar](50) NOT NULL, [ScrollID] [int] NOT NULL, [GLOW] [varchar](50) NULL ) ON [PRIMARY] GO
EXAMPLE FOR ADD ITEMS IN TABLE
Code:
RefItemID= ID From _Refobjcommon of each weapon ItemType = Example: SWORD,BLADE Like ITEM_CH_BLADE_11_A_RARE ItemGrade = A_RARE / B_RARE / C_RARE / SET_A_RARE / SET_B_RARE Model = If you have model switcher, you can use it ScrollID = ID Of scroll, like your (ScrollID) In Procederus. GLOW = If you have Scroll change glow like model switcher. [B]So, Let's See[/B] 6401 4044 SWORD A_RARE NONE 0 0 6402 4080 BLADE A_RARE NONE 0 0 6403 4116 SPEAR A_RARE NONE 0 0 6404 4152 TBLADE A_RARE NONE 0 0 6405 4188 BOW A_RARE NONE 0 0 6406 4224 SHIELD A_RARE NONE 0 0 6407 4045 SWORD B_RARE NONE 0 0 6408 4081 BLADE B_RARE NONE 0 0 6409 4117 SPEAR B_RARE NONE 0 0 6410 4153 TBLADE B_RARE NONE 0 0 6411 4189 BOW B_RARE NONE 0 0 6412 4225 SHIELD B_RARE NONE 0 0
PS:If Line have SWORD / A_RARE And another Line SWORD / B_RARE Your upgrade will be work fine from A_RARE TO B_RARE By same ItemType
Thanks everyone. Wait for new things and do not hesitate when you need anything. Just tell me via the discord: Taut#3258 24/7 Active