Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-11-2012, 10:36 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I thought this info was in the 'peq.inventory' table. Its primary key is linked to the ID of the character. Slots are only assigned if there is an item in it. (Corpses
don't have a separate inventory table..their inventories are blob-encoded.)

If you're testing a character with absolutely no items, then you will not have any entries for that character ID.


The fact that you're finding HP, AC, etc... before the items is fairly surprising since that info is encoded in the BLOB.

If you're going to support Ti in addition to later clients, you will have to account for the extra BLOB length incurred by the addition of the 'power item' slot.


EDIT: I'm not sure if I'm reading this right, but if you're trying to add server code to provide your intended goal by reading in-memory values, you're probably
making it more difficult than it needs to be. You can read directly from the db since all item transactions are immediately saved.

Otherwise, look in 'client.h' for the definitions of m_inv, etc...
__________________
Uleat of Bertoxxulous

Compilin' Dirty
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 06:51 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