Helpful Information
 
 
Category: vbBux / vbPlaza
How do I create dummy items?

Im running a website for a custom game server, and im trying to intergrate the website to the game.

I cant seem to figure out how to create a dummy item that does *nothing* on the site aside from being able to be purchased and shown that it was purchased.


After getting around one bug, I seem to be hung on the setname. It gives the error when I try to purchase a dummy item:

The eStore option you are trying to purchase has an invalid Set Name.

Thats with the setname blank, when It ry to put something in it, it causes an IE crash on purchase heh.

First off you need to add a field to your "user" table.

Whatever field name you use there, thats what you enter for the "setname".

Then for the Set Value, put a 1, and use the Set Type Bitfield.

And that should do it for you.

To add a field to your user table run a query something like ...


ALTER TABLE (TABLE_PREFIX)user ADD COLUMN yourfield INT UNSIGNED NOT NULL DEFAULT '0'


-CMX

im wondering if you could explain the whole thing abit better because i would like to also use this but alot and knowing how to use it would help.

Umm the Set Name : how do i know what to put in that field.

The query: will i be adding the name i made in the Set Name to "yourfield" part of the query.

Sorry & Thanks

im wondering if you could explain the whole thing abit better because i would like to also use this but alot and knowing how to use it would help.

Umm the Set Name : how do i know what to put in that field.

The query: will i be adding the name i made in the Set Name to "yourfield" part of the query.

Sorry & Thanks


the query yes you need to change what you want it to be where it says yourfield. Like customitem or dummyitem. Whatever you want or what it is. As far as the other thing im not too sure of.

The query works like this basically..

UPDATE tablename SET setname = setvalue WHERE wherename = wherevalue

-CMX










privacy (GDPR)