Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2014, 01:55 PM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default How do I add a starting_items to all...

How do I add a new item to all possible character combinations in a certain starting zone with starting_items through a query without adding the item individually to each possibility?

For example:

I want to add a "Bone Chips" (13073) so when a new character logs in it is in their inventory.

Thanks
Reply With Quote
  #2  
Old 01-13-2015, 03:02 AM
Nerdgasm
Discordant
 
Join Date: Apr 2013
Posts: 426
Default

I do all my stuff manually using Excel then input into the DB, but if you wanted just bonechips for everyone it'd be

ID - 1(Or whatever ID is unsed)
race - 0
Class - 0
deityid - 0
zoneid - 0 - Unless you wanted a specific zone that they start in.
itemid - X(Bonechip id)
item_charges - x(How many ever you want)
gm - 0
slot - -1
__________________
I am the All Mighty Mittens!
Reply With Quote
  #3  
Old 01-13-2015, 04:43 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

Try this query (since ID is auto-incrementing you do not need ID in the query).
Code:
INSERT INTO `starting_items` (`race`, `class`, `deityid`, `zoneid`, `itemid`, `item_charges`, `gm`, `slot`) VALUES ('0', '0', '0', '0', '13073', '20', '0', '-1');
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:31 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3