Adding items
From VbGORE Visual Basic Online RPG Engine
Notice: This guide is up to date with Version 1.0.4
Introduction
Items are handled in vbGORE server-side on the database. It is then up to the server to send data to the client on items. This, though, just covers how to actually add items, which is a very easy process.
Adding items
First you need to connect to your database since all the item information is stored in there. Browse to the objects table and click Table Data.
From here you have complete access to items. You can either edit existing items, add new items, or delete existing items. Editing is quite self explanatory, so we will not cover that. To add a new item, just create a new field. This is done in SQLyog by clicking the lowest table (with the * on it) and just enter in information.
Table Information
id: The unique id of the Quest - you can only have 1 of each ID.
name: The item name.
price: The price of the item. This can be used in stores to buy or sell items.
objtype: What type of item it is
1 = Consumable
2 = Weapon
3 = Armor
4 = Wing
weapontype: What type of weapon it is (if it is a weapon).
1 = Meele (sword etc...)
4 = Ranged (Bow, gun etc...)
weaponrange: How far the weapon can hit.
classrec: If the item has a class requirement, put the class ID in here.
grhindex: The item graphic.
usegrh: What grh to show when being used.
usesfx: Sound affect when used.
projectilerotatespeed: How fast a projectile rotates when in action (useful for ninja stars and similar items).
stacking: If the item can stack (This is if more than 1 of the same items can be held in one item slot)
-1 = Server's default limit
1 = Not stackable
>1 = Stackable by this value
sprite_body: What body ID to change the body to if the item is used. The body ID can be found at
vbGORE folder >> Data >> Body.dat
sprite_weapon: What weapon ID to show if the item is used. The weapon ID can be found at
vbGORE folder >> Data >> Weapon.dat
sprite_hair: What hair ID to show on the character if the item is used. The hair ID can be found at
vbGORE folder >> Data >> Hair.dat
sprite_head: What head ID to show on the character if the item is used. The head ID can be found at
vbGORE folder >> Data >> Head.dat
sprite_wings: What wings ID to show on the character if the item is used. The wings ID can be found at
vbGORE folder >> Data >> Wings.dat
replenish_hp: How much HP the character will replenish when the item is used.
replenish_mp: How much MP the character will replenish when the item is used.
replenish_sp: How much SP the character will replenish when the item is used.
replenish_hp_percent: How many % of HP the character will replenish when the item is used.
replenish_mp_percent: How many % of MP the character will replenish when the item is used.
replenish_sp_percent: How many % of SP the character will replenish when the item is used.
stat_STATNAME: How much of the STATNAME stat is added to the character when item is used.
req_STATNAME: How much of the STATNAME stat is required for the use of the item.
req_lvl: The level required to use the item.