Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 19:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Upgrade System By Scroll (Procedures) High Performance

Discussion on Upgrade System By Scroll (Procedures) High Performance within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1

 
Taut¥'s Avatar
 
elite*gold: 28
Join Date: Mar 2021
Posts: 136
Received Thanks: 189
Upgrade System By Scroll (Procedures) High Performance

Hello Everyone,

Credits for @

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
Taut¥ is offline  
Thanks
9 Users
Old 06/09/2021, 18:59   #2
 
denise456's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 391
Received Thanks: 87
thanks
denise456 is offline  
Thanks
1 User
Old 06/10/2021, 02:50   #3
 
elite*gold: 0
Join Date: Oct 2020
Posts: 104
Received Thanks: 19
good but need query get all items Dg in 1 click insert to table ?
Rixy* is offline  
Thanks
1 User
Old 06/10/2021, 04:00   #4

 
Taut¥'s Avatar
 
elite*gold: 28
Join Date: Mar 2021
Posts: 136
Received Thanks: 189
Quote:
Originally Posted by Rixy* View Post
good but need query get all items Dg in 1 click insert to table ?
1-You Can select by this query and copy it to your table

Code:
SELECT id, codename128
FROM _RefObjCommon
WHERE CodeName128 like '%ITEM_CH_%_01_%'
Another way: without copy

Code:
INSERT INTO YourTable here (ID, Codename128)
SELECT ID, Codename128
FROM _RefObjCommon
WHERE CodeName128 like '%ITEM_CH_%_01_%'
Taut¥ is offline  
Thanks
1 User
Old 06/10/2021, 12:04   #5
 
elite*gold: 0
Join Date: Oct 2020
Posts: 104
Received Thanks: 19
Quote:
Originally Posted by Taut¥ View Post
1-You Can select by this query and copy it to your table

Code:
SELECT id, codename128
FROM _RefObjCommon
WHERE CodeName128 like '%ITEM_CH_%_01_%'
Another way: without copy

Code:
INSERT INTO YourTable here (ID, Codename128)
SELECT ID, Codename128
FROM _RefObjCommon
WHERE CodeName128 like '%ITEM_CH_%_01_%'
Nice query but where line 'Scroll'
Rixy* is offline  
Thanks
1 User
Old 06/10/2021, 13:27   #6
 
elite*gold: 0
Join Date: Jun 2021
Posts: 2
Received Thanks: 1
You topic not have line and What is the brain.exe

error

Msg 102, Level 15, State 1, Procedure _TautUpgrade, Line 38 [Batch Start Line 7]
Incorrect syntax near 'END'.
zilmamu is offline  
Thanks
1 User
Old 06/10/2021, 14:41   #7

 
Taut¥'s Avatar
 
elite*gold: 28
Join Date: Mar 2021
Posts: 136
Received Thanks: 189
Quote:
Originally Posted by zilmamu View Post
You topic not have line and What is the brain.exe

error

Msg 102, Level 15, State 1, Procedure _TautUpgrade, Line 38 [Batch Start Line 7]
Incorrect syntax near 'END'.

1-Use your brain to create scroll that's system not line for scroll.

2- Your error because you dont copy full proc, you dont copy END TRY BEGIN CATCH END CATCH, Check Procedure Again mate.

Quote:
Originally Posted by Rixy* View Post
Nice query but where line 'Scroll'

Scroll for what mate?

You write need query to copy DG (1) Item Lines from _Refobjcommon to Insert in Specific table, I already add it in comment.
Taut¥ is offline  
Old 06/11/2021, 14:39   #8
 
elite*gold: 30
Join Date: Apr 2021
Posts: 112
Received Thanks: 70
Not bad, but useless, as there are already 2-3 options that work better and easier for beginners, but ty
Bastiras Online is offline  
Thanks
1 User
Old 06/11/2021, 14:45   #9

 
Taut¥'s Avatar
 
elite*gold: 28
Join Date: Mar 2021
Posts: 136
Received Thanks: 189
Quote:
Originally Posted by [GM]Darius View Post
Not bad, but useless, as there are already 2-3 options that work better and easier for beginners, but ty
Useless? Lol, Btw there are already 2~3 systems, but same performance? except #Syloxx System?, It's so funny

Quote:
Originally Posted by [GM]Darius View Post
Not bad, but useless, as there are already 2-3 options that work better and easier for beginners, but ty
I Think that you are one of the people. If it has an existing and working system, this is 100% fine, but there are very important things, such as this system, EX: performance and load, and does it have an effect on the CPU or not, and you did it by loop/fetch or not, but I see that you do not know All of these things are as I explain
Taut¥ is offline  
Thanks
1 User
Old 06/11/2021, 23:07   #10

 
SubZero**'s Avatar
 
elite*gold: 70
Join Date: Apr 2017
Posts: 1,023
Received Thanks: 504
Quote:
Originally Posted by Taut¥ View Post
Useless? Lol, Btw there are already 2~3 systems, but same performance? except #Syloxx System?, It's so funny



I Think that you are one of the people. If it has an existing and working system, this is 100% fine, but there are very important things, such as this system, EX: performance and load, and does it have an effect on the CPU or not, and you did it by loop/fetch or not, but I see that you do not know All of these things are as I explain

small note about performance you can use gs addon that allow you to the whole sys live like gander scroll.. (less sql query)
SubZero** is offline  
Thanks
1 User
Old 06/11/2021, 23:56   #11

 
Taut¥'s Avatar
 
elite*gold: 28
Join Date: Mar 2021
Posts: 136
Received Thanks: 189
Quote:
Originally Posted by [GM]Darius View Post
Not bad, but useless, as there are already 2-3 options that work better and easier for beginners, but ty
Quote:
Originally Posted by SubZero** View Post
small note about performance you can use gs addon that allow you to the whole sys live like gander scroll.. (less sql query)
GS For live item okay!!, but you'll use same system with sql, or you can do proc system via gameserver? xDD
Taut¥ is offline  
Old 06/12/2021, 18:07   #12

 
SubZero**'s Avatar
 
elite*gold: 70
Join Date: Apr 2017
Posts: 1,023
Received Thanks: 504
Quote:
Originally Posted by Taut¥ View Post
GS For live item okay!!, but you'll use same system with sql, or you can do proc system via gameserver? xDD
btw gs will switch to the new item like gander scroll not live item
you just need to select the new codename and the current slot also CharID .
SubZero** is offline  
Old 06/12/2021, 23:32   #13

 
Taut¥'s Avatar
 
elite*gold: 28
Join Date: Mar 2021
Posts: 136
Received Thanks: 189
Quote:
Originally Posted by SubZero** View Post
btw gs will switch to the new item like gander scroll not live item
you just need to select the new codename and the current slot also CharID .
Why i should to do that via gs-addon? lel xD
Taut¥ is offline  
Thanks
1 User
Old 08/14/2021, 04:07   #14
 
elite*gold: 0
Join Date: Aug 2021
Posts: 71
Received Thanks: 24
Exclant mate <3
-[Anxi]- is offline  
Thanks
1 User
Old 01/30/2023, 20:49   #15
 
caner_tr's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 25
Received Thanks: 5
Quote:
Originally Posted by Taut¥ View Post
Hello Everyone,

Credits for @

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

Bro


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

How to make this lines work? We don't have Tautbot_User.._TautCommands VALUES
caner_tr is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] Custom Open Skills Scroll (Procedures) High Performance
06/06/2021 - SRO PServer Guides & Releases - 5 Replies
Hello Everyone, Credits for Taut¥ Today I wrote to you a system that was done before by Developers with a scroll in each BUILD, today it is through one scroll when you open the Mastery like: FIRE/COLD/LIGHT, ETC and the STATS POINT together with a STR or INT will open All skills automatically and it is done by HIGH PERFORMANCE to reduce the 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
[Release] Silk Ruffle Scroll [Best Performance]
07/29/2017 - SRO PServer Guides & Releases - 4 Replies
https://i.epvpimg.com/Ybguf.png The Procedure was taken from Reality SRO DB and re-coded by me The Procedure USE GO /****** Object: StoredProcedure . Script Date: 7/29/2017 7:36:03 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON
[Release] Upgrade System - 3 Lines only, Better performance
03/23/2015 - SRO PServer Guides & Releases - 5 Replies
Hey guys, Everybody here heard of this system, most of ya guys probably know it. But unfortunately every release related to this system doesn't work properly or has a bad performance, so i decided to code a new one and release it. FAQ What is this? -This is a system that will upgrade your weapon to a newer seal/degree. How does it work? -Simply put a +9 item in your first slot and use upgrade scroll or whatever you'll name it and you'll get a new weapon. How can i configure it?
RfEmpire♣Cap110♣Pve/Pvp♣New♣System♣New♣Scroll♣System♣Upgrade♣New♣Featu re♣Join♣WithUs
11/24/2014 - SRO PServer Advertising - 9 Replies
Hello elitepvpers, I would like to introduce our new private server Underworld.. ◘Links Website|Download|Registration|Facebook|Forum http://i.epvpimg.com/nMCph.png|http://s14.directu pload.net/images/140122/wqc4kxi2.png|http://s14.di rectupload.net/images/140122/fnq6eumq.png|http://i .epvpimg.com/QNpqc.png|http://s1.directupload.net/ images/140124/idlkx3j6.png •Welcome Everybody To Our Project RiseOfEmpire Online. After Hard Working In Our Database Finally We Have Done Developing Our...
[Performance-Camtasia Studio]Wie verbessere ich die Performance?
11/13/2009 - Video Art - 4 Replies
Hallo liebe Community und Mitglieder. Wenn ich mit dem Aufnahmeprogramm „Camtasia Studio" ein Fenster aufnehme, z.B. das Client Fenster von Metin2, verschlechtert sich die Performance beim späteren angucken des Resultates. D.h. es bleibt bei mehreren Hängern und es ist kein flüssiger Film. Was habe ich versucht? #Die Frames pro Sekunde zu erhöhen(bis 200 Frames pro Sekunde, aber dann gibt es auch schon bei der Aufnahme Hänger, bzw. beim produzieren) #Das Video in der Bearbeitung zu...



All times are GMT +1. The time now is 19:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.