عرض مشاركة واحدة
قديم 11-10-2016, 12:32 PM   #1

Blizzard
عضو مميز



الصورة الرمزية Blizzard


• الانـتـسـاب » Jan 2014
• رقـم العـضـويـة » 115993
• المشـــاركـات » 586
• الـدولـة » Giza
• الـهـوايـة » Game's
• اسـم الـسـيـرفـر » Aries
• الـجـنـس » Male
• نقـاط التقييم » 14
Blizzard صـاعـد

Blizzard غير متواجد حالياً



(1) مشكله فى Scroll Change Weapon



السلام عليكم و رحمه الله و بركاته

دلوقتى انا ضيفت الاسكروله دى عفوا ,,, لايمكنك مشاهده الروابط لانك غير مسجل لدينا [ للتسجيل اضغط هنا ]

انا عملت الاسكروله Weapon بس مجيتش جمب بتاعت Set

ده Procedure بتاع Weapon بس

كود PHP:
--- CH Weapon and Set Change
IF (@Operation 41)and(@ItemRefID 42099) --Ch Weapon change TO Sword
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='39369',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39390,39411,39432,39453
 
END
 
IF (@Operation 41)and(@ItemRefID 42100) --Ch Weapon change TO Blade
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='39390',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39369,39411,39432,39453
END
 
IF (@Operation 41)and(@ItemRefID 42101) --Ch Weapon change TO Spear
       BEGIN
       Update SRO_VT_SHARD
.._Items Set RefItemID='39411',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39369,39390,39432,39453)        
END
 
IF (@Operation 41)and(@ItemRefID 42102) --Ch Weapon change TO Glaive
       BEGIN
       Update SRO_VT_SHARD
.._Items Set RefItemID='39432',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39369,39390,39411,39453
END
  
IF (@Operation 41)and(@ItemRefID 42103) --Ch Weapon change TO Bow
       BEGIN
       Update SRO_VT_SHARD
.._Items Set RefItemID='39453',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39369,39390,39411,39432
END
IF (@Operation 41)and(@ItemRefID 42104) --Ch Set Garment Or Protector change TO Set Armor
       Begin
                     Execute 
[SRO_VT_SHARDLOG].[dbo].[_ChangeSystemH.A] @CharID
END
IF (@Operation 41)and(@ItemRefID 42105) --Ch Set Garment Or Armor change TO Set Protector
       Begin
              Execute 
[SRO_VT_SHARDLOG].[dbo].[_ChangeSystemL.A] @CharID
END
IF (@Operation 41)and(@ItemRefID 42106) --Ch Set Protector Or Armor change TO Set Garment
       Begin
              Execute 
[SRO_VT_SHARDLOG].[dbo].[_ChangeSystemRobe] @CharID
END
--- EU Weapon and Set Change
 
IF (@Operation 41)and(@ItemRefID 42107) --EU Weapon change TO Dagger
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40314',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40335,40356,40377,40398,40419,40440,40461,40482
END
 
IF (@Operation 41)and(@ItemRefID 42108) --EU Weapon change TO CrossBow
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40398',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40335,40356,40377,40419,40440,40461,40482)  
END
 
IF (@Operation 41)and(@ItemRefID 42109) --EU Weapon change TO Axe
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40377',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40335,40356,40398,40419,40440,40461,40482
END
 
IF (@Operation 41)and(@ItemRefID 42110) --EU Weapon change TO One Hand Sword
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40335',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40356,40377,40398,40419,40440,40461,40482)  
END
 
IF (@Operation 41)and(@ItemRefID 42111) --EU Weapon change TO Two Hand Sword
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40356',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40335,40377,40398,40419,40440,40461,40482)  
END
 
IF (@Operation 41)and(@ItemRefID 42112) --EU Weapon change TO Two Hand Staff
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40440',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40335,40356,40377,40398,40419,40461,40482
END
 
IF (@Operation 41)and(@ItemRefID 42113) --EU Weapon change TO Claric Rod
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40482',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40335,40356,40377,40398,40419,40440,40461
END
 
IF (@Operation 41)and(@ItemRefID 42114) --EU Weapon change TO Warlock Rod
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40419',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40335,40356,40377,40398,40440,40461,40482
END
IF (@Operation 41)and(@ItemRefID 42115) --EU Weapon change TO Harp
       Begin
       Update SRO_VT_SHARD
.._Items Set RefItemID='40461',CreaterName='HLP' Where ID64 = (Select ItemID From SRO_VT_SHARD.._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40314,40335,40356,40377,40398,40419,40440,40482
END
IF (@Operation 41)and(@ItemRefID 42116) --EU Set Robe Or L.A change TO Set H.A
       Begin
                     Execute 
[SRO_VT_SHARDLOG].[dbo].[_ChangeSystemH.A] @CharID
END
IF (@Operation 41)and(@ItemRefID 42117) --EU Set Robe Or H.A change TO Set L.A
       Begin
              Execute 
[SRO_VT_SHARDLOG].[dbo].[_ChangeSystemL.A] @CharID
END
IF (@Operation 41)and(@ItemRefID 42118) --EU Set L.Or H.A change TO Set Robe
       Begin
              Execute 
[SRO_VT_SHARDLOG].[dbo].[_ChangeSystemRobe] @CharID
END 

ده الجديد بعد التعديل بى Dgree الجديد بتاعى

كود PHP:
--- CH Weapon 
 
IF (@Operation 41) and (@ItemRefID 65001) --Ch Weapon change TO Sword
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='39372' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39393,39414,39435,39456)
 
END
 
IF (@Operation 41) and (@ItemRefID 65002) --Ch Weapon change TO Blade
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='39393' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39372,39414,39435,39456)
END
 
IF (@Operation 41) and (@ItemRefID 65003) --Ch Weapon change TO Spear
       BEGIN
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='39414' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39372,39393,39435,39456)
END
 
IF (@Operation 41) and (@ItemRefID 65004) --Ch Weapon change TO Glaive
       BEGIN
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='39435' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39372,39393,394141,39456)
END
 
IF (@Operation 41) and (@ItemRefID 65005) --Ch Weapon change TO Bow
       BEGIN
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='39456' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (39372,39393,39414,39435)
END

--- EU Weapon 
 
IF (@Operation 41) and (@ItemRefID 64991) --EU Weapon change TO Dagger
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40317' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40401,40380,40338,40359,40443,40485,40422,40464
END
 
IF (@Operation 41) and (@ItemRefID 64992) --EU Weapon change TO CrossBow
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40401' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40380,40338,40359,40443,40485,40422,40464)  
END
 
IF (@Operation 41) and (@ItemRefID 64993) --EU Weapon change TO Axe
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40380' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40401,40338,40359,40443,40485,40422,40464
END
 
IF (@Operation 41) and (@ItemRefID 64994) --EU Weapon change TO One Hand Sword
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40338' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40401,40380,40359,40443,40485,40422,40464)  
END
 
IF (@Operation 41) and (@ItemRefID 64995) --EU Weapon change TO Two Hand Sword
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40359' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40401,40380,40338,40443,40485,40422,40464)  
END
 
IF (@Operation 41) and (@ItemRefID 64996) --EU Weapon change TO Two Hand Staff
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40443' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40401,40380,40338,40459,40485,40422,40464
END
 
IF (@Operation 41) and (@ItemRefID 64997) --EU Weapon change TO Claric Rod
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40485' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40401,40380,40338,40459,40443,40422,40464
END
 
IF (@Operation 41) and (@ItemRefID 64998) --EU Weapon change TO Warlock Rod
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40422' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40401,40380,40338,40459,40443,40485,40464
END
IF (@Operation 41) and (@ItemRefID 64999) --EU Weapon change TO Harp
       Begin
       Update 
[SRO_VT_SHARD].._Items Set RefItemID='40464' Where ID64 = (Select ItemID From [SRO_VT_SHARD].._Inventory Where CharID = @CharID and Slot '6' and ItemID 0) and RefItemID in (40317,40401,40380,40338,40459,40443,40485,40422
END 
المشكله عندى بقى ان Chin بس هو الى بيحول لاكن Eur مش راضى يشتغل
ارجو الرد سريعا

شكرا







إعلانات google