[EXPLICIT] Implementare Costume 40k

Ghiduri şi tutoriale despre cum să vă îmbunătăţiţi serverul/clientul dv. de metin2.
Avatar utilizator
misura123
Nivel 3

Nivel 3
Mesaje: 301
Membru din: 13 Mar 2014, 18:46
Server: Karios2
Regat: Shinsoo
Aprecieri: 185  
Mulţumiri: 9  
Discord: Copiază ID
Medalii

[Yuri] scrie:Pentru cei ce au SQL in loc de .txt, trebuie sa foloseasca acest site:
http://www.stevecraft.cz/hracky/ip_xml_to_sql.php

Introduceti codul item_proto din client, si anume:

Cod: Selectaţi tot

<ItemDef Vnum="41600" Name="SteamPunk" LocalizedName="Costum Steampunk(M)" Type="28" SubType="0" Weight="0" Size="2" AntiFlags="32897" Flags="0" WearFlags="0" ImmuneFlags="0" Gold="0" ShopBuyPrice="0" LimitType0="7" LimitValue0="2592000" LimitType1="0" LimitValue1="0" ApplyType0="1" ApplyValue0="2000" ApplyType1="17" ApplyValue1="10" ApplyType2="53" ApplyValue2="150" Value0="5" Value1="0" Value2="0" Value3="1860" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="0" RefineSet="0" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="0" AddonType="0"  />
   <ItemDef Vnum="41601" Name="SteamPunk" LocalizedName="Costum Steampunk(M)" Type="28" SubType="0" Weight="0" Size="2" AntiFlags="32897" Flags="0" WearFlags="0" ImmuneFlags="0" Gold="0" ShopBuyPrice="0" LimitType0="7" LimitValue0="2592000" LimitType1="0" LimitValue1="0" ApplyType0="1" ApplyValue0="2000" ApplyType1="17" ApplyValue1="10" ApplyType2="53" ApplyValue2="150" Value0="5" Value1="0" Value2="0" Value3="1861" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="0" RefineSet="0" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="0" AddonType="0"  />
   <ItemDef Vnum="41602" Name="»ç¸·ÀÇ Àü»ç" LocalizedName="Costum Steampunk(F)" Type="28" SubType="0" Weight="0" Size="2" AntiFlags="32898" Flags="0" WearFlags="0" ImmuneFlags="0" Gold="0" ShopBuyPrice="0" LimitType0="7" LimitValue0="2592000" LimitType1="0" LimitValue1="0" ApplyType0="1" ApplyValue0="2000" ApplyType1="17" ApplyValue1="10" ApplyType2="53" ApplyValue2="150" Value0="5" Value1="0" Value2="0" Value3="1860" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="0" RefineSet="0" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="0" AddonType="0"  />
    <ItemDef Vnum="41603" Name="»ç¸·ÀÇ Àü»ç" LocalizedName="Costum Steampunk(F)" Type="28" SubType="0" Weight="0" Size="2" AntiFlags="32898" Flags="0" WearFlags="0" ImmuneFlags="0" Gold="0" ShopBuyPrice="0" LimitType0="7" LimitValue0="2592000" LimitType1="0" LimitValue1="0" ApplyType0="1" ApplyValue0="2000" ApplyType1="17" ApplyValue1="10" ApplyType2="53" ApplyValue2="150" Value0="5" Value1="0" Value2="0" Value3="1861" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="0" RefineSet="0" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="0" AddonType="0"  />
Iar codul rezultat in casuta de jos, il veti rula in player.item_proto, de exemplu, pentru aceste costume, acest cod:

Cod: Selectaţi tot

INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (41600, 'SteamPunk', 'Costum Steampunk(M)', 28, 0, 0, 2, 32897, 0, 0, '0', 0, 0, 0, 0, 0, 0, 7, 2592000, 0, 0, 1, 2000, 17, 10, 53, 150, 5, 0, 0, 1860, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (41601, 'SteamPunk', 'Costum Steampunk(M)', 28, 0, 0, 2, 32897, 0, 0, '0', 0, 0, 0, 0, 0, 0, 7, 2592000, 0, 0, 1, 2000, 17, 10, 53, 150, 5, 0, 0, 1861, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (41602, '»ç¸·ÀÇ Àü»ç', 'Costum Steampunk(F)', 28, 0, 0, 2, 32898, 0, 0, '0', 0, 0, 0, 0, 0, 0, 7, 2592000, 0, 0, 1, 2000, 17, 10, 53, 150, 5, 0, 0, 1860, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `item_proto` (`vnum`, `name`, `locale_name`, `type`, `subtype`, `weight`, `size`, `antiflag`, `flag`, `wearflag`, `immuneflag`, `gold`, `shop_buy_price`, `refined_vnum`, `refine_set`, `refine_set2`, `magic_pct`, `limittype0`, `limitvalue0`, `limittype1`, `limitvalue1`, `applytype0`, `applyvalue0`, `applytype1`, `applyvalue1`, `applytype2`, `applyvalue2`, `value0`, `value1`, `value2`, `value3`, `value4`, `value5`, `socket0`, `socket1`, `socket2`, `socket3`, `socket4`, `socket5`, `specular`, `socket_pct`, `addon_type`) VALUES (41603, '»ç¸·ÀÇ Àü»ç', 'Costum Steampunk(F)', 28, 0, 0, 2, 32898, 0, 0, '0', 0, 0, 0, 0, 0, 0, 7, 2592000, 0, 0, 1, 2000, 17, 10, 53, 150, 5, 0, 0, 1861, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Cum introduc acest cod in Navicat?
Talk is cheap.
Show me the code.
Afișează semnătura
Răspunde
Răspunsuri
5
Vizualizări
213
Răspunsuri
3
Vizualizări
120
Răspunsuri
1
Vizualizări
233
Răspunsuri
8
Vizualizări
322

Înapoi la “Ghiduri şi Tutoriale”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori