Released for the first time

A weapon glow system of my own and you will never find it on any other server or DB.
The system enables you to add specific Dye, remove specific Dye and mix all Dyes together on your weapon together at the same time using a very little code.
I made my system on 8 different Dyes, but you can add any number of weapon Dyes.
First thing you need to know, the possibility to mix 8 weapon Dyes will require from you to add 256 different weapons to your database (Number of possibilities for one weapon).
So, total amount of weapons 4096
I will release my lines from my game Aeon, these files are for all D14 Sun weapons, Here i will speak only about one weapon for saving spaces, But you can repeat same operation for all the 16 weapons.
DB & Media files (Particles,Media) :

So, for now lets work on TwoHanded Staff
Remember, You need to add 8 scrolls for Dyes adder and 8 scrolls for Dyes remover in your DB
I will not release this because I think everyone can add scrolls to game normally and control them.
Now the System starts
lets go
Make a new Table with same number of Columns
For example lets call it _DyesSystem
This previous table is so important for the system because the procedure collects data from this table and will not load on SQL MEMORY (SQL CODE PERFORMANCE)
now its time to release the procedures
These procedures works on VsroPlus filter, but you can handle the procedure to work on your own filter...
First, Adding Dyes to weapon :
Second, Remove Specific Dye: 
Don't forget to replace ADDER_XXX_DYE_SCROLL_ID & REMOVER_XXX_DYE_SCROLL_ID with your scrolls ID
Now the system is complete, you can try that by yourself
If you have any questions, dont hesitate to write me
Thanks to all of you and goodluck
My discord : lordoflegendg
or [Dev]LordOfLegend#1555
A weapon glow system of my own and you will never find it on any other server or DB.
The system enables you to add specific Dye, remove specific Dye and mix all Dyes together on your weapon together at the same time using a very little code.
I made my system on 8 different Dyes, but you can add any number of weapon Dyes.
First thing you need to know, the possibility to mix 8 weapon Dyes will require from you to add 256 different weapons to your database (Number of possibilities for one weapon).
So, total amount of weapons 4096
I will release my lines from my game Aeon, these files are for all D14 Sun weapons, Here i will speak only about one weapon for saving spaces, But you can repeat same operation for all the 16 weapons.
DB & Media files (Particles,Media) :

So, for now lets work on TwoHanded Staff
Remember, You need to add 8 scrolls for Dyes adder and 8 scrolls for Dyes remover in your DB
I will not release this because I think everyone can add scrolls to game normally and control them.
Now the System starts
Make a new Table with same number of Columns
For example lets call it _DyesSystem
| ItemID | White | Black | Blue | Pink | Violet | Green | Yellow | Red |
| 44545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 44546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| 44547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
| 44548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
| 44549 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| 44550 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
| 44551 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 |
| 44552 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
| 44553 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 44554 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
| 44555 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
| 44556 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 |
| 44557 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
| 44558 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 |
| 44559 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 |
| 44560 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 44561 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
| 44562 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
| 44563 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 |
| 44564 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 |
| 44565 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 |
| 44566 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
| 44567 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
| 44568 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 |
| 44569 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 |
| 44570 | 0 | 0 | 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| 0 | 1 | 0 | 1 | 1 |
| 44781 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 |
| 44782 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 1 |
| 44783 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 |
| 44784 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 |
| 44785 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
| 44786 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 |
| 44787 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 |
| 44788 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 |
| 44789 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 |
| 44790 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
| 44791 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 |
| 44792 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |
| 44793 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 |
| 44794 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 |
| 44795 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 |
| 44796 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 |
| 44797 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 |
| 44798 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 |
| 44799 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
| 44800 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
This previous table is so important for the system because the procedure collects data from this table and will not load on SQL MEMORY (SQL CODE PERFORMANCE)
now its time to release the procedures
These procedures works on VsroPlus filter, but you can handle the procedure to work on your own filter...
First, Adding Dyes to weapon :
PHP Code:
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_Add_Dyes] Script Date: 12/5/2023 11:46:40 AM ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[_Add_Dyes]
@CharID int,
@ItemRefID int
AS
BEGIN
SET NOCOUNT ON;
SET XACT_ABORT ON;
Declare @Item int = (Select RefItemID from _Items inner join _Inventory on ID64 = ItemID where CharID = @CharID and Slot = 13)
Declare @Red tinyint = (Select Red from _DyesSystem where ItemID = @Item)
Declare @Yellow tinyint = (Select yellow from _DyesSystem where ItemID = @Item)
Declare @Green tinyint = (Select green from _DyesSystem where ItemID = @Item)
Declare @Violet tinyint = (Select violet from _DyesSystem where ItemID = @Item)
Declare @Pink tinyint = (Select pink from _DyesSystem where ItemID = @Item)
Declare @Blue tinyint = (Select blue from _DyesSystem where ItemID = @Item)
Declare @Black tinyint = (Select black from _DyesSystem where ItemID = @Item)
Declare @White tinyint = (Select White from _DyesSystem where ItemID = @Item)
Declare @CharName Varchar(64) = (Select CharName16 from _Char where CharID = @CharID)
Declare @ItemCodeName Varchar(128)
if ((@ItemRefID = ADDER_RED_DYE_SCROLL_ID and @Red = 0 ) and Exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item + 1)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = ADDER_YELLOW_DYE_SCROLL_ID and @Yellow = 0) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item + 2)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = ADDER_GREEN_DYE_SCROLL_ID and @Green = 0) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item + 4)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = ADDER_VIOLET_DYE_SCROLL_ID and @Violet = 0) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item + 8)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = ADDER_PINK_DYE_SCROLL_ID and @Pink = 0) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item + 16)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = ADDER_BLUE_DYE_SCROLL_ID and @Blue = 0) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item + 32)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = ADDER_BLACK_DYE_SCROLL_ID and @Black = 0) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item + 64)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = ADDER_WHITE_DYE_SCROLL_ID and @White = 0 ) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item +128)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
END
PHP Code:
USE [SRO_VT_SHARD]
GO
/****** Object: StoredProcedure [dbo].[_Remove_Dyes] Script Date: 12/5/2023 11:54:18 AM ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[_Remove_Dyes]
@CharID int,
@ItemRefID int
AS
BEGIN
SET NOCOUNT ON;
SET XACT_ABORT ON;
Select RefItemID from SRO_VT_SHARD.dbo._Items where Serial64 = @ItemRefID
Select CharID from _Char where CharID = @CharID
Declare @Item int = (Select RefItemID from _Items inner join _Inventory on ID64 = ItemID where CharID = @CharID and Slot = 13)
Declare @Red tinyint = (Select Red from _DyesSystem where ItemID = @Item)
Declare @Yellow tinyint = (Select yellow from _DyesSystem where ItemID = @Item)
Declare @Green tinyint = (Select green from _DyesSystem where ItemID = @Item)
Declare @Violet tinyint = (Select violet from _DyesSystem where ItemID = @Item)
Declare @Pink tinyint = (Select pink from _DyesSystem where ItemID = @Item)
Declare @Blue tinyint = (Select blue from _DyesSystem where ItemID = @Item)
Declare @Black tinyint = (Select black from _DyesSystem where ItemID = @Item)
Declare @White tinyint = (Select White from _DyesSystem where ItemID = @Item)
Declare @CharName Varchar(64) = (Select CharName16 from _Char where CharID = @CharID)
Declare @ItemCodeName Varchar(128)
if ((@ItemRefID = REMOVER_RED_DYE_SCROLL_ID and @Red = 1 ) and Exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 1)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = REMOVER_YELLOW_DYE_SCROLL_ID and @Yellow = 1) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 2)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = REMOVER_GREEN_DYE_SCROLL_ID and @Green = 1) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 4)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = REMOVER_VIOLET_DYE_SCROLL_ID and @Violet = 1) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 8)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = REMOVER_PINK_DYE_SCROLL_ID and @Pink = 1) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 16)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = REMOVER_BLUE_DYE_SCROLL_ID and @Blue = 1) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 32)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = REMOVER_BLACK_DYE_SCROLL_ID and @Black = 1) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 64)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
if ((@ItemRefID = REMOVER_WHITE_DYE_SCROLL_ID and @White = 1 ) and exists (Select RefItemID from _Items inner join _DyesSystem on _DyesSystem.ItemID = RefItemID inner join _Inventory on ID64=_Inventory.ItemID where CharID = @CharID and Slot = 13 ))
begin
Set @ItemCodeName = (Select CodeName128 from _RefObjCommon where ID = @Item - 128)
Exec vPlus.._Char_MutateItemAt @CharID,13,@ItemCodeName
end
END
Now the system is complete, you can try that by yourself
If you have any questions, dont hesitate to write me
Thanks to all of you and goodluck
My discord : lordoflegendg
or [Dev]LordOfLegend#1555







