- Joined
- Apr 1, 2009
- Messages
- 1,220
- Reaction score
- 1,281
Вижте следният код. Това са кодовете от MuServer\Data\Lang\???\item(???).txt зел съм първите 2 итема от всяка група.
Всички Итеми си имат ItemType те са отбелязани с червен цвят на горе посоченият код.
Всяко ItemType си има Index отбелязана със светло зелено.
ItemType + Index-a = на името на предмета отбелязан с тъмно зелен цвят.
Пример вие искате да направите в магазинът ви да се продава Kriss и Bronze set кодът ще бъде следният:
Ако искате от бох да падат Angelic Staff и Dragon set кодът ще е следният:
Клик тук за по-подробна информация.
BTW видях, че има друг Guide, но не беше много разбираем.
Все пак е по добре да разбираш какво адваш в магазина и от каде е дошъл този код.
И често се срещат на файловете на магазините да си имат :
за по лесно разбиране какво трябва да се пише вътре.
X Y отбелязани със светло син цвят са Кординатите на итема колко квадратчета заема. Ако Х е 3 Y е 2 заема 2 квадратчета по хоризонтал и 3 по вертикал.
btw X & Y се използват предимно в WebShop-a, но там и много друг работи може да се добавят ако искате да ви обясня някой друг ден пишете в тази тема.
Ако съм направил грешка пишете ще я едитна.
Code:
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Swords[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level MinDmg MaxDmg AttSpeed Dur MagDur MagPower LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]0[/COLOR]
[COLOR="Lime"]0[/COLOR] 0 0 [COLOR="Cyan"]1 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Kris"[/COLOR] 6 6 11 50 20 0 0 0 40 40 0 0 0 1 1 1 1 1 1 1
[COLOR="Lime"]1[/COLOR] 0 0 [COLOR="Cyan"]1 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Short Sword"[/COLOR] 3 3 7 20 22 0 0 0 60 0 0 0 0 1 1 1 1 1 1 1
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Axes[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level MinDmg MaxDmg AttSpeed Dur MagDur MagPower LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]1[/COLOR]
[COLOR="Lime"]0[/COLOR] 0 0 [COLOR="Cyan"]1 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Small Axe" [/COLOR] 1 1 6 20 18 0 0 0 50 0 0 0 0 1 1 1 1 1 1 1
[COLOR="Lime"]1[/COLOR] 0 0 [COLOR="Cyan"]1 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Hand Axe"[/COLOR] 4 4 9 30 20 0 0 0 70 0 0 0 0 1 1 1 1 1 1 1
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Maces & Scepters [/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level MinDmg MaxDmg AttSpeed Dur MagDur MagPower LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]2[/COLOR]
[COLOR="Lime"]0 [/COLOR]0 0 [COLOR="Cyan"]1 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Mace"[/COLOR] 7 7 13 15 21 0 0 0 100 0 0 0 0 1 0 1 0 1 1 0
[COLOR="Lime"]1[/COLOR] 0 19 [COLOR="Cyan"]1 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Morning Star"[/COLOR] 13 13 22 15 25 0 0 0 100 0 0 0 0 1 0 1 0 1 1 0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Spears[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level MinDmg MaxDmg AttSpeed Dur MagDur MagPower LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]3[/COLOR]
[COLOR="Lime"]0[/COLOR] 0 22 [COLOR="Cyan"]2 4[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Light Spear"[/COLOR] 42 50 63 25 56 0 0 0 60 70 0 0 0 1 0 1 1 1 0 0
[COLOR="Lime"]1[/COLOR] 0 0 [COLOR="Cyan"]2 4[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Spear"[/COLOR] 23 30 41 30 42 0 0 0 70 50 0 0 0 1 0 1 1 1 0 0
/-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Bows & Crossbows [/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y [/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level MinDmg MaxDmg AttSpeed Dur MagDur MagPower LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]4[/COLOR]
[COLOR="Lime"]0[/COLOR] 1 24 [COLOR="Cyan"]2 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Short Bow" [/COLOR] 2 3 5 30 20 0 0 0 20 80 0 0 0 2 0 0 1 0 0 0
[COLOR="Lime"]1[/COLOR] 1 24 [COLOR="Cyan"]2 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Bow"[/COLOR] 8 9 13 30 24 0 0 0 30 90 0 0 0 2 0 0 1 0 0 0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Staffs[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level MinDmg MaxDmg AttSpeed Dur MagDur MagPower LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]5[/COLOR]
[COLOR="Lime"]0[/COLOR] 0 0 [COLOR="Cyan"]1 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Skull Staff"[/COLOR] 6 3 4 20 0 20 6 0 40 0 0 0 0 3 1 0 0 1 0 1
[COLOR="Lime"]1[/COLOR] 0 0 [COLOR="Cyan"]2 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Angelic Staff" [/COLOR] 18 10 12 25 0 38 20 0 50 0 0 0 0 3 1 0 0 1 0 0
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Shields[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level Def SuccessBlock Dur LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]6[/COLOR]
[COLOR="Lime"]0[/COLOR] 1 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Small Shield"[/COLOR] 3 1 3 22 0 70 0 0 0 0 4 1 1 1 1 1 0
[COLOR="Lime"]1[/COLOR] 1 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Horn Shield"[/COLOR] 9 3 9 28 0 100 0 0 0 0 4 0 1 0 1 1 0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Helms[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level Def MagDef Dur LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]7[/COLOR]
[COLOR="Lime"]0[/COLOR] 2 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Bronze Helm"[/COLOR] 16 9 0 34 0 80 20 0 0 0 4 0 1 0 0 1 0
[COLOR="Lime"]1[/COLOR] 2 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Dragon Helm"[/COLOR] 57 24 0 68 0 120 30 0 0 0 4 0 1 0 0 0 0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Armors[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level Def MagDef Dur LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]8[/COLOR]
[COLOR="Lime"]0[/COLOR] 3 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Bronze Armor"[/COLOR] 18 14 0 34 0 80 20 0 0 0 4 0 1 0 1 1 0
[COLOR="Lime"]1[/COLOR] 3 0 [COLOR="Cyan"]2 3[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Dragon Armor"[/COLOR] 59 37 0 68 0 120 30 0 0 0 4 0 1 0 1 0 0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Pants[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level Def MagDef Dur LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]9[/COLOR]
[COLOR="Lime"]0[/COLOR] 4 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Bronze Pants"[/COLOR] 15 10 0 34 0 80 20 0 0 0 4 0 1 0 1 1 0
[COLOR="Lime"]1[/COLOR] 4 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Dragon Pants"[/COLOR] 55 26 0 68 0 120 30 0 0 0 4 0 1 0 1 0 0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Gloves[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level Def AttSpeed Dur LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]10[/COLOR]
[COLOR="Lime"]0[/COLOR] 5 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Bronze Gloves"[/COLOR] 13 4 4 34 0 80 20 0 0 0 4 0 1 0 1 1 0
[COLOR="Lime"]1[/COLOR] 5 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Dragon Gloves"[/COLOR] 52 14 6 68 0 120 30 0 0 0 4 0 1 0 1 0 0
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Boots[/COLOR] //
// [COLOR="Lime"] Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level Def WalkSpeed Dur LvlReq StrReq AgiReq EneReq VitReq CmdReq SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]11[/COLOR]
[COLOR="Lime"]0[/COLOR] 6 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Bronze Boots"[/COLOR] 12 4 10 34 0 80 20 0 0 0 4 0 1 0 1 1 0
[COLOR="Lime"]1[/COLOR] 6 0 [COLOR="Cyan"]2 2[/COLOR] 1 1 1 [COLOR="DarkGreen"]"Dragon Boots"[/COLOR] 54 15 2 68 0 120 30 0 0 0 4 0 1 0 1 0 0
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Accessories[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level Def Dur LvlReq EneReq StrReq DexReq ComReq BuyMoney DW/SM DK/BK ELF/ME MG DL SUM //
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]12[/COLOR]
[COLOR="Lime"]0[/COLOR] 7 0 [COLOR="Cyan"]3 2[/COLOR] 1 0 0 [COLOR="DarkGreen"]"Wings of Elf"[/COLOR] 100 10 200 180 0 0 0 0 0 0 0 1 0 0 0
[COLOR="Lime"]1[/COLOR] 7 0 [COLOR="Cyan"]5 3[/COLOR] 1 0 0 [COLOR="DarkGreen"]"Wings of Heaven"[/COLOR] 100 10 200 180 0 0 0 0 0 1 0 0 1 0 0
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Miscellaneous I[/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"] Name[/COLOR] Level Dur Res1 Res2 Res3 Res4 Res5 Res6 Res7 SetAttr DW/SM DK/BK ELF/ME MG DL SUM //
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]13[/COLOR]
[COLOR="Lime"]0[/COLOR] 8 0 [COLOR="Cyan"]1 1[/COLOR] 1 0 1 [COLOR="DarkGreen"]"Guardian Angel"[/COLOR] 23 255 0 0 0 0 0 0 0 0 1 1 1 1 1 1
[COLOR="Lime"]1[/COLOR] 8 0 [COLOR="Cyan"]1 1[/COLOR] 1 0 1 [COLOR="DarkGreen"]"Imp"[/COLOR] 28 255 0 0 0 0 0 0 0 0 1 1 1 1 1 1
//------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Miscellaneous II [/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y [/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Value Level //
//------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]14[/COLOR]
[COLOR="Lime"]0[/COLOR] -1 0 [COLOR="Cyan"]1 1[/COLOR] 0 0 1 [COLOR="DarkGreen"]"Apple"[/COLOR] 5 1
[COLOR="Lime"]1[/COLOR] -1 0 [COLOR="Cyan"]1 1[/COLOR] 0 0 1 [COLOR="DarkGreen"]"Small Healing Potion"[/COLOR] 10 10
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
//[COLOR="Red"]Scrolls [/COLOR] //
// [COLOR="Lime"]Index[/COLOR] Slot Skill [COLOR="Cyan"]X Y[/COLOR] Serial Option Drop [COLOR="DarkGreen"]Name[/COLOR] Level LvlReq EneReq BuyMoney DW/SM DK/BK ELF/ME MG DL SUM //
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
[COLOR="Red"]15[/COLOR]
[COLOR="Lime"]0[/COLOR] -1 0 [COLOR="Cyan"]1 2[/COLOR] 1 0 1 [COLOR="DarkGreen"]"Scroll of Poison"[/COLOR] 30 0 100 17000 1 0 0 1 0 0
[COLOR="Lime"]1[/COLOR] -1 0 [COLOR="Cyan"]1 2[/COLOR] 1 0 1 [COLOR="DarkGreen"]"Scroll of Meteorite"[/COLOR] 21 0 100 11000 1 0 0 1 0 1
Всички Итеми си имат ItemType те са отбелязани с червен цвят на горе посоченият код.
Всяко ItemType си има Index отбелязана със светло зелено.
ItemType + Index-a = на името на предмета отбелязан с тъмно зелен цвят.
Пример вие искате да направите в магазинът ви да се продава Kriss и Bronze set кодът ще бъде следният:
Code:
//[COLOR="Red"]ItemType[/COLOR] [COLOR="Lime"]Index[/COLOR] Level Durability Luck Skill Options
[COLOR="Red"]0[/COLOR] [COLOR="Lime"]0[/COLOR] 0 255 0 0 0 //Kriss
[COLOR="Red"]7[/COLOR] [COLOR="Lime"]0[/COLOR] 0 255 0 0 0 //Bronze Helm
[COLOR="Red"]8[/COLOR] [COLOR="Lime"]0[/COLOR] 0 255 0 0 0 //Bronze Armor
[COLOR="Red"]9[/COLOR] [COLOR="Lime"]0[/COLOR] 0 255 0 0 0 //Bronze Pants
[COLOR="Red"]10[/COLOR] [COLOR="Lime"]0[/COLOR] 0 255 0 0 0 //Bronze Gloves
[COLOR="Red"]11[/COLOR] [COLOR="Lime"]0[/COLOR] 0 255 0 0 0 //Bronze Boots
Code:
// [COLOR="Red"]type[/COLOR] [COLOR="Lime"]index[/COLOR] level skill option
[COLOR="Red"]5[/COLOR] [COLOR="Lime"]1[/COLOR] 0 0 0
[COLOR="Red"]7[/COLOR] [COLOR="Lime"]1[/COLOR] 0 0 0
[COLOR="Red"]8[/COLOR] [COLOR="Lime"]1[/COLOR] 0 0 0
[COLOR="Red"]9[/COLOR] [COLOR="Lime"]1[/COLOR] 0 0 0
[COLOR="Red"]10[/COLOR] [COLOR="Lime"]1[/COLOR] 0 0 0
[COLOR="Red"]11[/COLOR] [COLOR="Lime"]1[/COLOR] 0 0 0
BTW видях, че има друг Guide, но не беше много разбираем.
Все пак е по добре да разбираш какво адваш в магазина и от каде е дошъл този код.
И често се срещат на файловете на магазините да си имат :
Code:
//[COLOR="Red"]ItemType[/COLOR] [COLOR="Lime"]Index[/COLOR] Level Durability Luck Skill Options
X Y отбелязани със светло син цвят са Кординатите на итема колко квадратчета заема. Ако Х е 3 Y е 2 заема 2 квадратчета по хоризонтал и 3 по вертикал.
btw X & Y се използват предимно в WebShop-a, но там и много друг работи може да се добавят ако искате да ви обясня някой друг ден пишете в тази тема.
Ако съм направил грешка пишете ще я едитна.