Poner imagen
-
]bueno estub viendo una piedra nueva para meter explica todo para poner en el item_proto del cliente y del server pero no explica como darle imagen y agregarla al item_list alguien me podria explicar eso por favor
:DEsto que se incluirán en 'item_proto desempaquetado######Item vnum="28046" hashName="'Pietra della Possibilità+0'" name="Pietra della Possibilità+0" type="10" subtype="0" weight="0" size="0" antiflag="0" flag="0" wearflag="160" immuneflag="0" gold="2500" buy_price="2500" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="12" applyvalue0="5%" applytype1="13" applyvalue1="5%" applytype2="14" applyvalue2="5%" value0="0" value1="0" value2="0" value3="0" value4="0" value5="33" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
######Item vnum="28046" hashName="'Pietra della Possibilità+1'" name="Pietra della Possibilità+1" type="10" subtype="0" weight="0" size="0" antiflag="0" flag="0" wearflag="16" immuneflag="0" gold="2500" buy_price="2500" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="12" applyvalue0="10%" applytype1="13" applyvalue1="10%" applytype2="14" applyvalue2="10%" value0="0" value1="0" value2="0" value3="0" value4="0" value5="33" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
######Item vnum="28046" hashName="'Pietra della Possibilità+2'" name="Pietra della Possibilità+2" type="10" subtype="0" weight="0" size="0" antiflag="0" flag="0" wearflag="16" immuneflag="0" gold="2500" buy_price="2500" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="12" applyvalue0="20%" applytype1="13" applyvalue1="20%" applytype2="14" applyvalue2="20%" value0="0" value1="0" value2="0" value3="0" value4="0" value5="33" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
######Item vnum="28046" hashName="'Pietra della Possibilità+3'" name="Pietra della Possibilità+3" type="10" subtype="0" weight="0" size="0" antiflag="0" flag="0" wearflag="16" immuneflag="0" gold="2500" buy_price="2500" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="12" applyvalue0="30%" applytype1="13" applyvalue1="30%" applytype2="14" applyvalue2="30%" value0="0" value1="0" value2="0" value3="0" value4="0" value5="33" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
######Item vnum="28046" hashName="'Pietra della Possibilità+4'" name="Pietra della Possibilità+4" type="10" subtype="0" weight="0" size="0" antiflag="0" flag="0" wearflag="16" immuneflag="0" gold="2500" buy_price="2500" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="12" applyvalue0="40%" applytype1="13" applyvalue1="40%" applytype2="14" applyvalue2="40%" value0="0" value1="0" value2="0" value3="0" value4="0" value5="33" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
######Item vnum="28046" hashName="'Pietra della Possibilità+5'" name="Pietra della Possibilità+5" type="10" subtype="0" weight="0" size="0" antiflag="0" flag="0" wearflag="16" immuneflag="0" gold="2500" buy_price="2500" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="12" applyvalue0="50%" applytype1="13" applyvalue1="50%" applytype2="14" applyvalue2="50%" value0="0" value1="0" value2="0" value3="0" value4="0" value5="33" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
######Item vnum="28046" hashName="'Pietra della Possibilità+6'" name="Pietra della Possibilità+6" type="10" subtype="0" weight="0" size="0" antiflag="0" flag="0" wearflag="16" immuneflag="0" gold="2500" buy_price="2500" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="12" applyvalue0="60%" applytype1="13" applyvalue1="60%" applytype2="14" applyvalue2="60%" value0="0" value1="0" value2="0" value3="0" value4="0" value5="33" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
Esto que se incluirán en la consulta de base de datos
INSERT INTO player.item_proto VALUES (28044, "Pietra della Possibilità+0", "Pietra della Possibilità+0", 10, 0, 0, 1, 0, 0, 16, '', 2500, 2000, 28144, 0, 0, 0, 0, 0, 0, 0, 12, 5%, 13, 5%,14, 5%,0, 0, 0, 0, 0, 0, 0, 0, 0, 33, -1, -1, -1, -1, -1, -1, 0, 0, 0)
INSERT INTO player.item_proto VALUES (28044, "Pietra della Possibilità+1", "Pietra della Possibilità+1", 10, 0, 0, 1, 0, 0, 16, '', 2500, 2000, 28144, 0, 0, 0, 0, 0, 0, 0, 12, 10%, 13, 10%,14, 10%,0, 0, 0, 0, 0, 0, 0, 0, 0, 33, -1, -1, -1, -1, -1, -1, 0, 0, 0)
INSERT INTO player.item_proto VALUES (28044, "Pietra della Possibilità+2", "Pietra della Possibilità+2", 10, 0, 0, 1, 0, 0, 16, '', 2500, 2000, 28144, 0, 0, 0, 0, 0, 0, 0, 12, 20%, 13, 20%,14, 20%,0, 0, 0, 0, 0, 0, 0, 0, 0, 33, -1, -1, -1, -1, -1, -1, 0, 0, 0)
INSERT INTO player.item_proto VALUES (28044, "Pietra della Possibilità+3", "Pietra della Possibilità+3", 10, 0, 0, 1, 0, 0, 16, '', 2500, 2000, 28144, 0, 0, 0, 0, 0, 0, 0, 12, 30%, 13, 30%,14, 30%,0, 0, 0, 0, 0, 0, 0, 0, 0, 33, -1, -1, -1, -1, -1, -1, 0, 0, 0)
INSERT INTO player.item_proto VALUES (28044, "Pietra della Possibilità+4", "Pietra della Possibilità+4", 10, 0, 0, 1, 0, 0, 16, '', 2500, 2000, 28144, 0, 0, 0, 0, 0, 0, 0, 12, 40%, 13, 40%,14, 40%,0, 0, 0, 0, 0, 0, 0, 0, 0, 33, -1, -1, -1, -1, -1, -1, 0, 0, 0)
INSERT INTO player.item_proto VALUES (28044, "Pietra della Possibilità+5", "Pietra della Possibilità+5", 10, 0, 0, 1, 0, 0, 16, '', 2500, 2000, 28144, 0, 0, 0, 0, 0, 0, 0, 12, 50%, 13, 50%,14, 50%,0, 0, 0, 0, 0, 0, 0, 0, 0, 33, -1, -1, -1, -1, -1, -1, 0, 0, 0)
INSERT INTO player.item_proto VALUES (28044, "Pietra della Possibilità+6", "Pietra della Possibilità+60", 10, 0, 0, 1, 0, 0, 16, '', 2500, 2000, 28144, 0, 0, 0, 0, 0, 0, 0, 12, 60%, 13, 60%,14, 60%,0, 0, 0, 0, 0, 0, 0, 0, 0, 33, -1, -1, -1, -1, -1, -1, 0, 0, 0)
-
Puedes crear tu la misma foto que quieras y ponerla en formato "tga" si no pues saldra una botella de cristal de imagen, tampoco es que importe mucho que sale O_O xD