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 03-26-2008, 02:01 PM
Sabyre's Avatar
Sabyre
Sarnak
 
Join Date: Jun 2003
Location: Maine, USA
Posts: 88
Default NPC Weapons

It has been brought up before and I read a thread that stated the fix was included in the source some time ago, but I cant get it to work.

I can not seem to get NPC's to wield the weapons in their loot table. The only way I can get them to physically hold the items is to #npcloot add.

Is this in fact a fixed issue? If so, what am I doing wrong?

The weapons I am trying are relevant to the NPC; class, level, etc.

Thanks
__________________
.......
...
.
"We are the music makers and we are the dreamers of the dreams" - Willy Wonka
Reply With Quote
  #2  
Old 03-26-2008, 02:28 PM
Jibbatwinkers
Sarnak
 
Join Date: May 2006
Location: Cincinnati
Posts: 73
Default

The only way I have gotten it to work is using the GeorgeS NPC and Loot editor. In the area where the loot it show there is a column that says equipped and you can change it to YES or NO. I'm not really sure how to do this any other way, I don't know where GeorgeS pulls this information from the DB because it seems to be based on the loot tables / items, and not the NPCs themselves.
__________________
Lead GM ~ Zeb
Zeb Server
ZebServer.com
Reply With Quote
  #3  
Old 03-26-2008, 03:30 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

Quote:
Originally Posted by Jibbatwinkers View Post
The only way I have gotten it to work is using the GeorgeS NPC and Loot editor. In the area where the loot it show there is a column that says equipped and you can change it to YES or NO. I'm not really sure how to do this any other way, I don't know where GeorgeS pulls this information from the DB because it seems to be based on the loot tables / items, and not the NPCs themselves.
aye it is correct. the npc "equip item" yes/no field is in one of the loottables
Reply With Quote
  #4  
Old 03-26-2008, 04:07 PM
Sabyre's Avatar
Sabyre
Sarnak
 
Join Date: Jun 2003
Location: Maine, USA
Posts: 88
Default

I use Georges tools (Big Fan) still doesn't work for me.
__________________
.......
...
.
"We are the music makers and we are the dreamers of the dreams" - Willy Wonka
Reply With Quote
  #5  
Old 03-26-2008, 04:33 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Using the Wiki as a reference:

Quote:
lootdrop_entries
A list of individual items that can drop in a particular Loot Drop. Each entry also has a chance value that determines how likely that item is to drop as opposed to any other items in the same Loot Drop.
Quote:
Fields
  • lootdrop_id: ID into lootdrop table
  • item_id: ID of the item that could drop
  • item_charges: number of charges the item has
  • equip_item: boolean field - True meaning the NPC can equip this item.
  • chance: The chance this item has to drop
So, just set the equip_item field in the lootdrop_entries table to 1 (boolean for true of course), and any mob with that loot table will be able to equip that item. As far as I know, that's what GeorgeS's editor does. If that doesn't allow the mob to equip it, then it looks like it's not working properly.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #6  
Old 03-26-2008, 09:08 PM
Sabyre's Avatar
Sabyre
Sarnak
 
Join Date: Jun 2003
Location: Maine, USA
Posts: 88
Default

Never figured it would require a world restart. I thought loot tables were loaded via zone...

Anywho, wasn't broken for me just needed a restart.

Thanks all.
__________________
.......
...
.
"We are the music makers and we are the dreamers of the dreams" - Willy Wonka
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 06:59 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