Merhaba vsro.org ailesi bugün sizlere Wanted sistemi paylaşıyorum.
Hunter&Trader ve thief giysileriniz ile kestiğiniz karakterler databasede kayitli kalmaktadir 10-20-30-40-50 'kill sayisina ulastiğinizda size wanted rutbesi vermektedir.Bug yapilmamasi için ayni karakteri sadece 3 defa kesebilirsiniz ve 80 level olmasi gerekmektedir.
NOT: Bu ayarları kendinize göre prosodürden ayarlayabilirsiniz.
Wanted Level 1: (10 Kill) : Hero Mode Sublieutenant : Verdiği bufflar : Physicial damage %1 Increase, Magical damage %1 Increase , Attack rate %1 Increase , Parry rate %1 Increase Alchemy probility %1 Increase , Lucky %1 Increase , Str 1 , Int 1 )
Wanted Level 5: (50 Kill): Hero Mode Marshall : Verdiği bufflar : Physicial damage %5 Increase, Magical damage %5 Increase , Attack rate %5 Increase , Parry rate %5 Increase Alchemy probility %1 Increase , Lucky %5 Increase , Str 3 , Int 3 )
Ekli dosyayı görüntüle 109
Link:
--- Wanted System
if @eventID = '19' -- Count kills
BEGIN
if (@strPos like '%(0x679a)%')
BEGIN
IF @desc LIKE '%Trader, Neutral, no freebattle team%' -- Trader
OR @desc LIKE '%Hunter, Neutral, no freebattle team%' -- Hunter
OR @desc LIKE '%Robber, Neutral, no freebattle team%' -- Thief
) BEGIN
DECLARE @killedName VARCHAR(512) = @desc
DECLARE @ReqLevel INT = 0
SELECT @killedName = REPLACE @killedName, LEFT @killedName, CHARINDEX('(', @killedName)), '')
SELECT @killedName = REPLACE @killedName, RIGHT @killedName, CHARINDEX(')', REVERSE @killedName))), '')
SELECT @ReqLevel = CurLevel FROM [SRO_VT_SHARD].[dbo].[_Char] WHERE CharName16 = @killedName
if @ReqLevel >= 90
BEGIN
Exec [_Wanted] @CharID , @eventID , @desc
End
END
END
END
if @eventID = '20' -- if dies
BEGIN
IF @desc LIKE '%Trader, Neutral, no freebattle team%' -- Trader
OR @desc LIKE '%Hunter, Neutral, no freebattle team%' -- Hunter
OR @desc LIKE '%Robber, Neutral, no freebattle team%' -- Thief
) BEGIN
UPDATE _RowKills SET Kills = '0' WHERE KillerID = @CharID
IF EXISTS (SELECT * FROM SRO_VT_SHARD.dbo._TimedJob WHERE CharID = @CharID AND JobID = '33862' or CharID = @CharID and JobID between '50021' and '50024')
BEGIN
DELETE FROM SRO_VT_SHARD.dbo._TimedJob WHERE CharID = @CharID and JobID = '33862' or CharID = @CharID and JobID between '50021' and '50024'
END
END
END
--------- End of wanted system
prosedür de hata alıyorum ?