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

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 02-03-2017, 05:56 PM
ZombieSoul's Avatar
ZombieSoul
Sarnak
 
Join Date: Jan 2017
Posts: 31
Default

I thought those were charge based potions already, I've looked in the database and maxcharges = 10 is listed for the 10 dose Blood of the Wolf

stock PEQ item number 14534


I have been looking through the code it does some very ..odd.. stuff when setting the charges like using quantity for charges and other things:

int16 charges = 0;
if (item->Stackable || item->MaxCharges > 1)
charges = mp->quantity;
else
charges = item->MaxCharges;

possibly for supporting different clients.. I'm currently setting up the tools to build this to do some testing.
I'm sure there are reasons it does this, but I'm not able to fully understand yet. I could be way off base but the above seems to be that quantity and charges are used interchangeably for some things in building the item the player receives.

Last edited by ZombieSoul; 02-03-2017 at 05:59 PM.. Reason: Clarification
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:33 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