Unmantained Guida script item shop entrate

Una guida contrassegnata come Unmantained contiene informazioni su un argomento obsoleto, non più utile o files non aggiornati da parte del creatore.
Stato
Discussione chiusa ad ulteriori risposte.

Skillers

Utente Gold
11 Ottobre 2010
488
56
37
212
salve,
ho un piccolo problema con lo script dell'item shop.
più precisamente con i socket.
dopo aver shoppato un item l'item non ha le montature per le pietre.
ora non sono molto esperto in php chi sa darmi una mano a riolvere?
questo e lo script ditemi che cosa fare +1 al risolutore.. ^^
$sql = "INSERT INTO `item` (
`id` ,
`owner_id` ,
`window` ,
`pos` ,
`count` ,
`vnum` ,
`socket0` ,
`socket1` ,
`socket2` ,
`socket3` ,
`socket4` ,
`socket5` ,
`attrtype0` ,
`attrvalue0` ,
`attrtype1` ,
`attrvalue1` ,
`attrtype2` ,
`attrvalue2` ,
`attrtype3` ,
`attrvalue3` ,
`attrtype4` ,
`attrvalue4` ,
`attrtype5` ,
`attrvalue5` ,
`attrtype6` ,
`attrvalue6`
)
VALUES (
NULL , '$userid', 'MALL', '$pos', '1', '$itemid', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''
)" ;
vi ringrazio in anticipo..
 
guarda, ti do io una mano nel postarlo nella sezione giusta.

Codice:
Guide, Traduzioni e Addon per i Server Privati di Metin2. [COLOR="red"][no domande, solo release][/COLOR]
 
[font='Georgia, Times New Roman, Times, serif']Certo che fate sempre e solo copia ed incolla... cogliete l'attimo e cercate di imparare ciò che fate.
Basta impostare "1" nei fields "socket".[/font]

PHP:
$sql = "INSERT INTO `item` (`id` ,`owner_id` ,`window` ,`pos` ,`count` ,`vnum` ,`socket0` ,`socket1` ,`socket2` ,`socket3` ,`socket4` ,`socket5` ,`attrtype0` ,`attrvalue0` ,`attrtype1` ,`attrvalue1` ,`attrtype2` ,`attrvalue2` ,`attrtype3` ,`attrvalue3` ,`attrtype4` ,`attrvalue4` ,`attrtype5` ,`attrvalue5` ,`attrtype6` ,`attrvalue6`) VALUES (NULL , '$userid', 'MALL', '$pos', '1', '$itemid', '1', '1', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')" ;
 
[font='Georgia, Times New Roman, Times, serif']Certo che fate sempre e solo copia ed incolla... cogliete l'attimo e cercate di imparare ciò che fate.
Basta impostare "1" nei fields "socket".[/font]

PHP:
$sql = "INSERT INTO `item` (`id` ,`owner_id` ,`window` ,`pos` ,`count` ,`vnum` ,`socket0` ,`socket1` ,`socket2` ,`socket3` ,`socket4` ,`socket5` ,`attrtype0` ,`attrvalue0` ,`attrtype1` ,`attrvalue1` ,`attrtype2` ,`attrvalue2` ,`attrtype3` ,`attrvalue3` ,`attrtype4` ,`attrvalue4` ,`attrtype5` ,`attrvalue5` ,`attrtype6` ,`attrvalue6`) VALUES (NULL , '$userid', 'MALL', '$pos', '1', '$itemid', '1', '1', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')" ;
Bravo <.<
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom