الموقع العربي الاول للعبة Silkroad Online

الموقع العربي الاول للعبة Silkroad Online (https://silkroad4arab.com/vb/index.php)
-   قسم المواضيع المكررة و المخالفة (https://silkroad4arab.com/vb/forumdisplay.php?f=58)
-   -   مشكله فى Scroll Change Weapon (https://silkroad4arab.com/vb/showthread.php?t=605957)

Blizzard 11-10-2016 12:32 PM

مشكله فى Scroll Change Weapon
 
السلام عليكم و رحمه الله و بركاته

دلوقتى انا ضيفت الاسكروله دى HERE

انا عملت الاسكروله 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 مش راضى يشتغل
ارجو الرد سريعا

شكرا




Blizzard 12-10-2016 04:52 AM

رد: مشكله فى Scroll Change Weapon
 
UP

Hamza FiGo 12-10-2016 11:01 AM

رد: مشكله فى Scroll Change Weapon
 
دا نفس دا ياباشا . طالما الصيني اشتغل يبقي لازم الاوروبي يشتغل دا لو انت مظبط الاوروبي زي ما ظبطت الصيني

Blizzard 12-10-2016 01:45 PM

رد: مشكله فى Scroll Change Weapon
 
والله مضبطه بس باجى امسك السلاح مش و اضرب الاسكرول مش راضيه تتحول

Jayden 12-10-2016 03:42 PM

رد: مشكله فى Scroll Change Weapon
 
اتأكد من ال IDs اللى بعد كلمة in
لان مفيش اى شك لغلط غير فيها

Blizzard 12-10-2016 04:36 PM

رد: مشكله فى Scroll Change Weapon
 
دى ID بتاعت ال Weapon


كود PHP:

40317    ITEM_EU_DAGGER_15_C_RARE

40401    ITEM_EU_CROSSBOW_15_C_RARE

40380    ITEM_EU_AXE_15_C_RARE

40338    ITEM_EU_SWORD_15_C_RARE

40359    ITEM_EU_TSWORD_15_C_RARE

40443    ITEM_EU_TSTAFF_15_C_RARE

40485    ITEM_EU_STAFF_15_C_RARE

40422    ITEM_EU_DARKSTAFF_15_C_RARE

40464    ITEM_EU_HARP_15_C_RARE 



الساعة الآن 01:51 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.