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

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 06-09-2002, 12:18 AM
Kaiyodo
Hill Giant
 
Join Date: Jan 2002
Location: Midlands,UK
Posts: 149
Default

My editor only supports 4 digits due to the size of the idfile member in the item_struct. As you're probably aware the top of the Item_Struct is ..

char name[35];
char lore[60];
char idfile[6];
sint16 flag;

.. and the item graphic is stored as a non-terminated string inside idfile. As all of the items start with "IT" I could only have 4 digits without corrupting 'flag'.

This puzzled me greatly as I've been finding unique items well into 5 digits when I ignored the badness I was doing by writing over 'flag' with random numbers. I never worked out what was really going on, so I left it at 4 digits

You'll have a hard time changing that behaviour in my editor I'd have thought Baron, unless you made 'flag' an 8 bit number and made idfile[7]. But that's bound to screw up a load of items :(

K.
Reply With Quote
 


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:04 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3