-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use
Question
ddks
hello
i installl on my server mangosweb 3.04 version. i fix some errors on this release but i have problems with vote shop.
1. when i add itemsets they not appear like as wowhead in vote shop page. and its imposible to send.
also imposible send multi items separated with "," comma.
its work perfect when i send one item and gold.
please help me understand what is wrong.
p.s.
if someone have working vote sistem, please send link on mail: [email protected] or just write here.
this is a part of full script from file ...inc/shop/shop.checkout.php
// Initiate the command array
$command = array();
// If there is an item number for the selected package
if($package['item_number'] != 0)
{
$item_array = '';
$package_array = explode(',', $package['item_number']);
foreach($package_array as $a)
{
$item_array .= $a.":".$package['quanity']." ";
}
$command[] = "send items ".$_POST['char']." "".$lang["shop_mail_subject"]."" "".
$lang["shop_mail_message"]."" ".$item_array;
}
// If there is an itemset for this package, we need to make a command for that as well
if($package['itemset'] != 0)
{
$qray = $WDB->select("SELECT `entry` FROM `item_template` WHERE `itemset`='".$package['itemset']."'");
$items = '';
foreach($qray as $d)
{
$items .= $d['entry'].":1 ";
}
$command[] = "send items ".$_POST['char']." "".$lang["shop_mail_subject"]."" "".
$lang["shop_mail_message"]."" ".$items;
}
// If there is gold in this package, make a command for that
if($package['gold'] != 0)
{
$command[] = "send money ".$_POST['char']." "".$lang["shop_mail_subject"]."" "".
$lang["shop_mail_message"]."" ".$package['gold'];
}
i search deep in sql and DB mangos - 'item_template' table - 'itemset' column, have required table information for itemsets ID but it anyway not work. mb problem with "additemset" command? mb mangosweb use in scripts another old command for adding itemsets?. please someone help me solve this problem. i think im not one person who have this problem. if we can fix this problem i can upload full worked mangosweb version here and everyone can use fixed release
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.