Mercury Diamonds don't update when bought in CMS
I got a badgeshop in my CMS, and when I have around 100 diamonds as a example and a badge costs 90 diamonds I'm still able to buy 100 diamonds worth of items in the client.
In phoenix you would still see 100 but you actually would have 90. Any way to make it update automatically or something?
Re: Mercury Diamonds don't update when bought in CMS
This is like solving a puzzle, i didnt get your question could you like restructure your question.
Re: Mercury Diamonds don't update when bought in CMS
When a purchase is made there should be a command send to the emulator to tell that the diamonds have been updated. Basically that doesn't happen and things get out of sync.
Re: Mercury Diamonds don't update when bought in CMS
Quote:
Originally Posted by
Tequiro
I got a badgeshop in my CMS, and when I have around 100 diamonds as a example and a badge costs 90 diamonds I'm still able to buy 100 diamonds worth of items in the client.
In phoenix you would still see 100 but you actually would have 90. Any way to make it update automatically or something?
If it's not updating there is probably an issue with the compatibility of the script and the database. Which badgeshop release are you using?
Re: Mercury Diamonds don't update when bought in CMS
Quote:
Originally Posted by
Terrum
If it's not updating there is probably an issue with the compatibility of the script and the database. Which badgeshop release are you using?
http://forum.ragezone.com/f353/revcm...e-shop-867295/
Re: Mercury Diamonds don't update when bought in CMS
Terrum, he wants MUS connected to the purchase submit form so it updates on-client;
If you don't know about MUS, research it OR add a statement like
$a = mysql_fetch_assoc(mysql_query("SELECT * FROM users WHERE id = '".$_SESSION["user"]["id"]."'");
if($a['online'] == 1)
{
die("You need to be offline for this to submit!");
return true;
}
Re: Mercury Diamonds don't update when bought in CMS
He needs to enable MUS in his emulator then if that's the case :wink: And to ensure that the badgeshop is configured to the MUS IP and such.