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

الموقع العربي الاول للعبة Silkroad Online (https://silkroad4arab.com/vb/index.php)
-   قسم الشروحات و البرامج المستخدمة في عمل السيرفرات الخاصة (https://silkroad4arab.com/vb/forumdisplay.php?f=289)
-   -   Devils Gender Switch Tool (https://silkroad4arab.com/vb/showthread.php?t=579273)

Dev. iLegend 18-02-2015 11:49 PM

Devils Gender Switch Tool
 
1 مرفق
http://www2.0zz0.com/2012/10/22/15/311256858.gif

http://www2.0zz0.com/2012/10/22/16/593531309.png

http://im45.gulfup.com/wsCcCQ.png



Devils Gender Switch Tool

أولاً الموضوع كامل من مجهودي الخاص ومش منقول

الاسكرول دي عبارة عن ريترن سكرول بترجعك المدينة وبتغيرلك
الديفل اللى معاك .. لو كان Male بتعمله Female والعكس ..


بس الديفل لازم يكون موجود فى اول Slot فى الـ Char Inventory

نيجي للمهم بقا ..

Database Side

dbo._RefObjCommon

كود PHP:

1    42160    ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL    ????? (????)    xxx    SN_ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL    SN_ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL_TT_DESC    0    0    3    3    3    1    180000    3    0    0    1    1    0    0    1    0    0    1    0    0    0    0    0    0    0    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_mall_scroll.bsr    item\etc\mall_DEVIL_GENDER_SWITCH.ddj    xxx    xxx    21634 



dbo._RefObjItem

كود PHP:

21634    1    2    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1000    ????    1    ??????    -1    RESURRECT    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0    0 



SRO_VT_SHARDLOG > Programmability > Stored Procedures > dbo._AddLogItem

كود PHP:

  IF (@Operation 41) -- If item used!
  
Begin
    
IF (@ItemRefID 42160) -- RefObjCommon ID
       Begin
         
Declare @InvID INT = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0)
         Declare @
RefItemID INT = (Select RefItemID From [SRO_VT_SHARD].[dbo].[_ItemsWhere ID64 = @InvID)
       IF @
RefItemID in (24414,24972,24974,24976,24978,24406,24408,24410,24412) -- IF found your Devil is Male
        Begin
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24413',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24414        --@Devil B Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24971',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24972        --@Devil A Red Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24973',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24974        --@Devil A Yellow Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24975',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24976        --@Devil A Blue Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24977',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24978        --@Devil S Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24405',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24406        --@Devil A Red Mall
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24407',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24408        --@Devil A Yellow Mall
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24409',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24410        --@Devil A Blue Mall
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24411',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24412        --@Devil S Mall
        End
       
ELSE IF @RefItemID in (24413,24971,24973,24975,24977,24405,24407,24409,24411) -- IF found your Devil is Female
        Begin
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24414',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24413        --@Devil B Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24972',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24971        --@Devil A Red Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24974',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24973        --@Devil A Yellow Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24976',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24975        --@Devil A Blue Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24978',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24977        --@Devil S Event
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24406',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24405        --@Devil A Red Mall
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24408',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24407        --@Devil A Yellow Mall
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24410',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24409        --@Devil A Blue Mall
         Update 
[SRO_VT_SHARD].[dbo].[_ItemsSet RefItemID='24412',CreaterName='iLegend' Where ID64 = (Select ItemID From [SRO_VT_SHARD].[dbo].[_InventoryWhere CharID = @CharID and Slot '13' and ItemID 0) and RefItemID 24411        --@Devil S Mall
        End
       End
  End 



Media Side

itemdata_xxxx.txt

كود PHP:

1    42160    ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL    ????? (????)    xxx    SN_ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL    SN_ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL_TT_DESC    0    0    3    3    3    1    180000    3    0    0    1    1    0    0    1    0    0    1    0    0    0    0    0    0    0    -1    0    -1    0    -1    0    -1    0    -1    0    0    0    0    0    0    0    100    0    0    0    xxx    item\etc\drop_mall_scroll.bsr    item\etc\mall_DEVIL_GENDER_SWITCH.ddj    xxx    xxx    1    2    0    0    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1000    ????    1    ??????    -1    RESURRECT    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    -1    xxx    0    0 



textdata_object.txt

كود PHP:

1    SN_ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL                                Devil's Gender Switch tool
1    SN_ITEM_MALL_DEVIL_GENDER_SWITCH_SCROLL_TT_DESC                                <sml2>Use this scroll for change your devil gender.<br><br><strong><font color="255,236,219,156">How To Use:</font></strong><br>- Put your devil that u want to upgrade it at your inventory slot 1.<br>- Use this scroll by right click on it.<br>- You will teleported automatically to town to applay changes.<br><br><strong><font color="255,236,219,156">Created by:</font></strong><br><strong><font color="255,0,255,127">iLegend</font></strong></sml2> 



الأيكون موجودة فى المرفقات ،،

بكدا نكون خلصنا إضافة الاسكرول .. رستر السيرفر وادخل جرب ..

صور من عندي ..

http://www10.0zz0.com/2015/02/18/23/729825956.jpg

http://www10.0zz0.com/2015/02/18/23/900116905.jpg

http://www10.0zz0.com/2015/02/18/23/290311086.jpg

الموضوع مش منقول .. وياريت اللى ينقله يذكر المصدر ..

إنتظروا .. Daily Quest System

# iLegend #

Mr Z!dane 19-02-2015 12:08 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
#Approved

X_Shadow 19-02-2015 12:13 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
تسلم ايديك جميل

Dev. iLegend 19-02-2015 12:22 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
اقتباس:

المشاركة الأصلية كتبت بواسطة Mr Z!dane (المشاركة 5163373)
#Approved

Thnx :wink:
اقتباس:

المشاركة الأصلية كتبت بواسطة X_Shadow (المشاركة 5163379)
تسلم ايديك جميل

انت تأمر يا برنس

Dangers SrO 19-02-2015 12:31 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
Good

Hamza FiGo 19-02-2015 12:38 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
شغل عالي جدا. تسلم ايدك ^^

Dev. iLegend 19-02-2015 01:37 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
اقتباس:

المشاركة الأصلية كتبت بواسطة newhere (المشاركة 5163390)
Good

اقتباس:

المشاركة الأصلية كتبت بواسطة Hamza FiGo (المشاركة 5163396)
شغل عالي جدا. تسلم ايدك ^^

شكرا يا رجالة دي حاجة بسطية
:character15:


™MaR™ 19-02-2015 01:50 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
عااااش استمر :rocket::rocket:

Dev. iLegend 19-02-2015 11:12 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 

شكراً يا برنس

:triggerhappysmiley:

pop2009 19-02-2015 11:28 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
استمر ياض ليك مستقبل جامد و الله

Dev. iLegend 19-02-2015 05:03 PM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
انشاء الله يا كبير ..

وشكراً على مرورك

:icon7:

™Dev Microsoft™ 19-02-2015 05:18 PM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
good job
:littleangel:

Dev. iLegend 19-02-2015 05:21 PM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
Thanks Albert

™ EgY_KhaN ™ 24-02-2015 07:10 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
جميله ياريس تسلم ايدك (Y)

Jaffa 03-03-2015 05:57 AM

رد: ♔ Release : Devils Gender Switch Tool ♔
 
حلو و تمام بس Icon مش شغالة و بايظة يريت حل


الساعة الآن 04:35 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.