Cum schimb item_proto

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
DominiK
Nivel 1

Nivel 1
Mesaje: 138
Membru din: 18 Iul 2018, 11:34
Server: Metin2
Regat: Jinno
Aprecieri: 16  
Mulţumiri: 1  
Medalii

*Problemă:Am un serverfiles 40k si cand vreau sa adaug in item_proto

Cod: Selectaţi tot

<Item vnum="460" hashName="'RuneSword+0'" name="RuneSword+0" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="95" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="3" applytype1="17" applyvalue1="1" applytype2="22" applyvalue2="5" value0="0" value1="120" value2="250" value3="140" value4="255" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="461" refine_set="0" magic_pct="15" specular="0" socket_pct="3" />
<Item vnum="461" hashName="'RuneSword+1'" name="RuneSword+1" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="96" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="4" applytype1="17" applyvalue1="2" applytype2="22" applyvalue2="8" value0="0" value1="124" value2="250" value3="157" value4="278" value5="7" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="462" refine_set="0" magic_pct="15" specular="0" socket_pct="3" />
<Item vnum="462" hashName="'RuneSword+2'" name="RuneSword+2" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="97" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="6" applytype1="17" applyvalue1="3" applytype2="22" applyvalue2="11" value0="0" value1="127" value2="250" value3="173" value4="301" value5="14" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="463" refine_set="0" magic_pct="15" specular="0" socket_pct="3" />
<Item vnum="463" hashName="'RuneSword+3'" name="RuneSword+3" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="98" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="7" applytype1="17" applyvalue1="5" applytype2="22" applyvalue2="13" value0="0" value1="131" value2="250" value3="190" value4="324" value5="21" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="464" refine_set="0" magic_pct="15" specular="0" socket_pct="3" />
<Item vnum="464" hashName="'RuneSword+4'" name="RuneSword+4" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="99" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="8" applytype1="17" applyvalue1="6" applytype2="22" applyvalue2="16" value0="0" value1="134" value2="250" value3="206" value4="347" value5="28" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="465" refine_set="0" magic_pct="15" specular="30" socket_pct="3" />
<Item vnum="465" hashName="'RuneSword+5'" name="RuneSword+5" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="101" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="10" applytype1="17" applyvalue1="7" applytype2="22" applyvalue2="19" value0="0" value1="137" value2="250" value3="222" value4="369" value5="36" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="466" refine_set="0" magic_pct="15" specular="40" socket_pct="3" />
<Item vnum="466" hashName="'RuneSword+6'" name="RuneSword+6" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="102" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="11" applytype1="17" applyvalue1="8" applytype2="22" applyvalue2="22" value0="0" value1="140" value2="250" value3="238" value4="392" value5="43" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="467" refine_set="0" magic_pct="15" specular="50" socket_pct="3" />
<Item vnum="467" hashName="'RuneSword+7'" name="RuneSword+7" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="103" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="12" applytype1="17" applyvalue1="10" applytype2="22" applyvalue2="24" value0="0" value1="144" value2="250" value3="255" value4="415" value5="50" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="468" refine_set="0" magic_pct="15" specular="65" socket_pct="3" />
<Item vnum="468" hashName="'RuneSword+8'" name="RuneSword+8" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="104" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="14" applytype1="17" applyvalue1="11" applytype2="22" applyvalue2="27" value0="0" value1="147" value2="250" value3="271" value4="438" value5="57" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="469" refine_set="0" magic_pct="15" specular="80" socket_pct="3" />
<Item vnum="469" hashName="'RuneSword+9'" name="RuneSword+9" type="1" subtype="0" weight="0" size="2" antiflag="56" flag="1" wearflag="16" immuneflag="0" gold="0" buy_price="0" limittype0="1" limitvalue0="106" limittype1="0" limitvalue1="0" applytype0="5" applyvalue0="15" applytype1="17" applyvalue1="12" applytype2="22" applyvalue2="30" value0="0" value1="151" value2="250" value3="288" value4="461" value5="64" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="15" specular="100" socket_pct="3" />
si nu merge sa il inpachetez faza este ca in item_proto meu apare gen ItemDef

Cod: Selectaţi tot

	<ItemDef Vnum="1" Name="돈꾸러미" LocalizedName="Yang" Type="9" SubType="0" Weight="0" Size="1" AntiFlags="0" Flags="0" WearFlags="0" ImmuneFlags="0" Gold="0" ShopBuyPrice="0" LimitType0="0" LimitValue0="0" LimitType1="0" LimitValue1="0" ApplyType0="0" ApplyValue0="0" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="0" Value2="0" Value3="0" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="0" RefineSet="0" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="0" AddonType="0"  />
	<ItemDef Vnum="2" Name="한국무쌍버젼" LocalizedName="Versiune In limba Romana" Type="0" SubType="0" Weight="0" Size="1" AntiFlags="0" Flags="0" WearFlags="0" ImmuneFlags="0" Gold="0" ShopBuyPrice="0" LimitType0="0" LimitValue0="0" LimitType1="0" LimitValue1="0" ApplyType0="0" ApplyValue0="0" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="0" Value2="0" Value3="0" Value4="0" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="0" RefineSet="0" AlterToMagicItemPercent="0" Specular="0" GainSocketPercent="0" AddonType="0"  />
	<ItemDef Vnum="10" Name="도+0" LocalizedName="Sabie+0" Type="1" SubType="0" Weight="0" Size="2" AntiFlags="32" Flags="1" WearFlags="16" ImmuneFlags="0" Gold="0" ShopBuyPrice="0" LimitType0="1" LimitValue0="0" LimitType1="0" LimitValue1="0" ApplyType0="7" ApplyValue0="22" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="15" Value2="19" Value3="13" Value4="15" Value5="0" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="11" RefineSet="1" AlterToMagicItemPercent="15" Specular="0" GainSocketPercent="1" AddonType="0"  />
	<ItemDef Vnum="11" Name="도+1" LocalizedName="Sabie+1" Type="1" SubType="0" Weight="0" Size="2" AntiFlags="32" Flags="1" WearFlags="16" ImmuneFlags="0" Gold="100" ShopBuyPrice="100" LimitType0="1" LimitValue0="0" LimitType1="0" LimitValue1="0" ApplyType0="7" ApplyValue0="22" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="15" Value2="19" Value3="13" Value4="15" Value5="7" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="12" RefineSet="2" AlterToMagicItemPercent="15" Specular="0" GainSocketPercent="1" AddonType="0"  />
	<ItemDef Vnum="12" Name="도+2" LocalizedName="Sabie+2" Type="1" SubType="0" Weight="0" Size="2" AntiFlags="32" Flags="1" WearFlags="16" ImmuneFlags="0" Gold="100" ShopBuyPrice="100" LimitType0="1" LimitValue0="0" LimitType1="0" LimitValue1="0" ApplyType0="7" ApplyValue0="22" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="15" Value2="19" Value3="13" Value4="15" Value5="14" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="13" RefineSet="3" AlterToMagicItemPercent="15" Specular="0" GainSocketPercent="1" AddonType="0"  />
	<ItemDef Vnum="13" Name="도+3" LocalizedName="Sabie+3" Type="1" SubType="0" Weight="0" Size="2" AntiFlags="32" Flags="1" WearFlags="16" ImmuneFlags="0" Gold="100" ShopBuyPrice="150" LimitType0="1" LimitValue0="0" LimitType1="0" LimitValue1="0" ApplyType0="7" ApplyValue0="22" ApplyType1="0" ApplyValue1="0" ApplyType2="0" ApplyValue2="0" Value0="0" Value1="15" Value2="19" Value3="13" Value4="15" Value5="21" Socket0="0" Socket1="0" Socket2="0" RefinedVnum="14" RefineSet="4" AlterToMagicItemPercent="15" Specular="0" GainSocketPercent="1" AddonType="0"  />
[/b]
Tipologie server:
*Resursă folosită:
*ServerFiles utilizat:
*Syserr:
Poză:
*Detalii suplimentare: Cum pot sa il faca direct 40k ? sa fie gen ItemDef
Avatar utilizator
Noby
Nivel 1

Nivel 1
Mesaje: 51
Membru din: 21 Feb 2017, 18:47
Server: Nu
Regat: Jinno
Aprecieri: 47  
Mulţumiri: 3  
Medalii

Dupa ce faci item-ul, iei codul .SQL si il pui pe site-ul stevecraft. cz/hracky/ip_sql_to_xml.php


O sa iti converteasca in XTML pentru item_proto 40k.
Avatar utilizator
DominiK
Nivel 1

Nivel 1
Mesaje: 138
Membru din: 18 Iul 2018, 11:34
Server: Metin2
Regat: Jinno
Aprecieri: 16  
Mulţumiri: 1  
Medalii

Am facut asta dar nu vrea sa se adauge in pack..nu il modifica..si am luat multe cryptere si degeaba..
Avatar utilizator
Noby
Nivel 1

Nivel 1
Mesaje: 51
Membru din: 21 Feb 2017, 18:47
Server: Nu
Regat: Jinno
Aprecieri: 47  
Mulţumiri: 3  
Medalii

Inainte sa modifici item_proto din client, intri in el cu notepad ++ si faci pasi urmatori:

1. Dai pe encoding -> character sets -> central european -> windows 1250


Abia dupa editezi, acum te sfatuiesc sa modifici item_proto original , pe ala l-ai stricat

bafta
Pentru acest mesaj, Noby for the post:
DominiK
Avatar utilizator
DominiK
Nivel 1

Nivel 1
Mesaje: 138
Membru din: 18 Iul 2018, 11:34
Server: Metin2
Regat: Jinno
Aprecieri: 16  
Mulţumiri: 1  
Medalii

Am rezolvat ! Mersi ! T/C !
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

Răspuns primit, topic mutat în probleme rezolvate.
Imagine
Afișează semnătura
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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