• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Cash_Shop, event and vip coins issue within the game

Newbie Spellweaver
Joined
Aug 3, 2012
Messages
59
Reaction score
3
Hello friends of ragezone, please I need you to take me out of a question, I just added my cash_shop within the gunz, but I have a major inconvenience, when I buy the items from CASH, EVENT AND VIP, it is bought with BOUNTY, but more it is not discounted CASH and Epoints currencies, and tried to change it in the Zitem.xml, bt_price to cash_price, and the price is set to 0 and also iscashitem = "true", and even the problem persists, can someone give me some solution or get out of doubt to solve it ?, I would appreciate it very much, thanks
 
Joined
Jul 11, 2012
Messages
786
Reaction score
190
Did you mean you added the cash/event items to shop in game? if so, I haven't really done that before, but I can assume some stuff.
First of all, try adding the items (cash/event) to the dbo.Item table and in the last column (where it says, IsCashItem) put 1, which will declare it as a cash item.
Most importantly, you might need to add some stored procedures that will define the cash/event item purchase behavior in the client, and add its relevant code to the source code (for example what defines the bounty item purchase is the stored procedure spBuyBountyItem), for cash items it might be already there (if I'm not mistaken), but you will have to add the code for it (for in game shop purchasing).
I am not entirely sure if that's all though.

Personally, I think this is a pain in the butt, if you're willing to add cash/event item system, might be easier to do them in a website with php code, and avoid all the source code edits (like all other private servers)
 
Upvote 0
Newbie Spellweaver
Joined
Aug 3, 2012
Messages
59
Reaction score
3
Yes, of course, in procedure a table was missing that was not added, or that perhaps the owner wanted to delete all the accounts and by chance that table was deleted, and so it was completely solved,

sp.udapte ... I don't remember what else it was, now I'm not on PC I'm on from my mobile
 
Upvote 0
Junior Spellweaver
Joined
Aug 26, 2020
Messages
148
Reaction score
20
I guest its dbo.spUpdateGunzSystem or dbo.spBuyBountyItem correct me if im wrong.
 
Last edited:
Upvote 0