Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2007, 08:42 AM
rottendeath
Fire Beetle
 
Join Date: Jun 2007
Posts: 1
Default Help with items

I'm trying to create custom items for my server, and i have had minimal success.
I overwrote one item because i could not figure out how to assign it to the right class/race, and when i tried to just create a new weapon, it was an unusable bag the did a LOT of damage.
Is there an item editor that creates the row for you to insert, or at least a chart i can refer to or something when making an item, or am i stuck picking attributes off of other items?

(I tried to download the item editor that comes up on this site when you search the forums, but the page is dead.)
Reply With Quote
  #2  
Old 09-28-2007, 01:20 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Classes and races are set like bitfields in the items table. They use a power of two to specify which class/race can equip the item. From classes.h and races.h we can see the values (I took them out of alphabetical order for readibility).

Code:
#define warrior_1 	1
#define cleric_1 	2
#define paladin_1 	4
#define ranger_1 	8
#define shadow_1 	16
#define druid_1 	32
#define monk_1 		64
#define bard_1 		128
#define rogue_1 	256
#define shaman_1 	512
#define necromancer_1 	1024
#define wizard_1 	2048
#define mage_1 		4096
#define enchanter_1 	8192
#define beastlord_1 	16384
#define berserker_1 	32768
Code:
#define human_1		1
#define barbarian_1	2
#define erudite_1	4
#define woodelf_1	8
#define highelf_1	16
#define darkelf_1	32
#define halfelf_1	64
#define dwarf_1		128
#define troll_1		256
#define ogre_1		512
#define halfling_1	1024
#define gnome_1		2048
#define iksar_1		4096
#define vahshir_1	8192
If you wanted an item to be WAR only, you would set it's class field to 1. If you wanted it to be WAR and ROG usable, you can add the numbers together and set it to 257 (1 + 256) .. etc. The same goes for classes.

Look on the wiki or search the forums for a list of item types. I have seen a few.
Reply With Quote
  #3  
Old 09-29-2007, 04:16 AM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

There are a couple great editors out there that can handle the grunt work of DB manipulation for you, which is somthing that I reccomend you use first to get a feel for things.

First one is Kayot's Editor. It can edit a multitude of things in the db. It has some quirks, but is a very nice editor. Next would be all of GeorgeS tools. He has made countless tools for you to use and I recommend you try them out.

Kayot's Page

GeorgeS Page
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 10:10 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