I had some free time and i was thinking to write a procedure that upgrades your items by quests instead of using scrolls, and i have made it and tested it. it worked so i decided to release it since i don't need it.
FAQ How does this system work?
You have to collect a certain number of a weapon, and once gained you can upgrade that count of that weapon to a newer seal of that weapon from a quest.
But i don't have upgrade quest,how to make it?
MaDenGo released it before , it is not too hard to make .
I don't like that system
gtfo without posting a stupid post.
Here is the procedure
Quote:
CREATE PROC [_AeronQuestUpgrade]
@CharID int,
@QuestID int
as
DECLARE @CharName Varchar(MAX) = (select CharName16 from SHARD.dbo._Char Where CharID = @CharID)
if(@QuestID='Your quest id')
begin
Declare @OldItemCode varchar(128)
Declare @NewItemCode varchar(128)
Declare @ItemID INT
Select @ItemID = (Select ID From SHARD.dbo._RefObjCommon Where CodeName128=@OldItemCode)
select @OldItemCode = (select codename128 from SHARD.._refobjcommon where id = @itemID)
If @OldItemCode = 'ITEM_EU_TSTAFF_10_B_RARE'
begin
set @NewItemCode = 'ITEM_EU_TSTAFF_10_C_RARE'
end
else if @OldItemCode = 'ITEM_EU_TSWORD_10_B_RARE'
begin
set @NewItemCode = 'ITEM_EU_TSWORD_10_C_RARE'
end
Declare @OldItemCount int
Select @OldItemCount = (select COUNT(Item.refitemid) from SHARD.dbo._Items as Item inner Join SHARD.dbo._Inventory as inv on item.ID64 = inv.ItemID where inv.CharID = @CharID and item.RefItemID = @ItemID and item.Serial64 >0)
if(@OldItemCount >= 5)
begin
update SHARD.dbo._Inventory set ItemID = 0
where ItemID in (SELECT TOP 5 Item.ID64 from SHARD.dbo._Items as Item
inner Join SHARD.dbo._Inventory as inv on item.ID64 = inv.ItemID
where inv.CharID = @CharID and item.RefItemID = @ItemID and item.Serial64 >0)
update SHARD.dbo._Items set Serial64 = 0 where ID64 in (SELECT TOP 5 Item.ID64 from SHARD.dbo._Items as Item
inner Join SHARD.dbo._Inventory as inv
on item.ID64 = inv.ItemID
where inv.CharID = @CharID and item.RefItemID = @ItemID and item.Serial64 >0)
exec SHARD.dbo._ADD_ITEM_EXTERN @Charname,@NewItemCode,1,0
end
end
add this to your shard.dbo._quest_manage procedure
Quote:
If @QuestID = 'Your quest id'
begin
exec _AeronQuestUpgrade @CharID , @QuestID
end
If @OldItemCode = 'ITEM_EU_TSTAFF_10_B_RARE' begin set @NewItemCode = 'ITEM_EU_TSTAFF_10_C_RARE' end else if @OldItemCode = 'ITEM_EU_TSWORD_10_B_RARE' begin set @NewItemCode = 'ITEM_EU_TSWORD_10_C_RARE' end
TIP: This check is useless since @OldItemCode was not assigned.
And since the two variables Old/New has no values then the whole thing won't work.
[RELEASE] Pet System Advanced quest 04/18/2020 - Metin2 PServer Guides & Strategies - 120 Replies hi all,
I anticipate that the quest is not quite complete as it is a job that I left a few weeks and I do not think that will complete only for lack of desire.
What is missing: to complete the quest really miss a few functions including management and summon pet horse in the application of the bonus for the fighting style I think there is nothing more to add (if I remember correctly).
the quest is very flexible, you can add different fighting styles you find already made 2 as an...
[RELEASE] Tages Quest System 04/22/2014 - Metin2 PServer Guides & Strategies - 9 Replies Hallo. Ich Release mein Tages Quest System dieses brauche ich nicht mehr. Vl können viele damit etwas anfangen.
--]
quest sub_quest_kill begin
state start begin
when login or levelup with not pc.is_gm() begin
local level = {10,20,30,40,50,55,60,65,70,75,80,85,90,95}
local qstate = pc.getqf("quest_state")+1
[Release] Verwarn-System(Quest) 01/10/2014 - Metin2 PServer Guides & Strategies - 57 Replies Hallo Freunde :rolleyes:,
ich habe mal wieder was für euch. Es ist ein Verwarn-System ich habe es geschrieben da ihr das wahrscheinlich auch kennt ein User wird beleidigt und die GM´s können nichts machen außer vllt. Chatblock. So hat mann die Gelegenheit als Teamler einen User zu verwarnen nach 3,5,7 und 10 Verwarnungen wird das System automatisch Aktiv und je nach Verwarnung gibt es eine Strafe z.b
Verwarnungen|Strafe
3|3h Bann
5|1 Tages Bann
7|3 Tages Bann
10|Perma. Bann
Ihr...
★ReVolt-Network★ Cap100- Upgrade System Weapon - Job Based - Free 10k Silk -Quest 09/30/2013 - SRO PServer Advertising - 8 Replies http://im31.gulfup.com/mnq67.png
ReVolt-Network Gaming Network is a network which tries so hard to create new legacy of mmorpg game play system . In fact , The legacy won't be changed without someone who force it to change .. We , The team of ReVolt-Network Gaming Network CO. transforming the road of play in Silkroad Online to a new
management of trustful , hopeful predictions .
http://img716.imageshack.us/img716/7955/articlese parator.png
Hello Everyone,
We are...
[QUEST-RELEASE]Auction System 04/06/2013 - Metin2 PServer Guides & Strategies - 8 Replies Hi epvp,
About quest:
It's very simple script in lua for metin2, from AzorisMt2.
The script is very short, it have only 1100 line.
The source code by: masodikbela, from hungary.
If be more than 50 records in the tables, it will very laggy
Use:
In the rar archive are two .sql files, you have to put these tables into the player database.