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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 01-11-2014, 05:51 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

Okay, so it's not only scaling health. Also, my other database works just fine, no extra stats or health, it's rather weird...

Here's a picture of extra health and stats, the query for this NPC is below.


Code:
INSERT INTO npc_types VALUES
(1025,'Zaoco_Liaoc','Powersource Progression',70,3,1,1,31,0,0,3,0,0,0,0,0,0,0,0,0,0,0,1,2,-1,'24^35,1',0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,28,28,1.25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,75,75,75,75,80,75,75,0,0,1,0,1,0,0,0,0,0,100,0,0,0,0,0,100,100);
I wrote more debugging code and here is the output. The Calculations inside MaxHP are called twice, so the information is before and after, they're getting extra health from items some how.
Code:
[01.11. - 06:06:13] Mob: Grogg_Hoack000
[01.11. - 06:06:13] [pre-calc hp] cur: 31, max: 31
[01.11. - 06:06:13] [Base Health]: 31
[01.11. - 06:06:13] [Before Calculations]: Max HP: 31, Item Bonuses: 0, Spell Bonuses: 0
[01.11. - 06:06:13] [After Calculations]: Max HP: 31, AA Bonuses (MaxHP): 0, Spell Bonuses (MaxHP): 0, Item Bonuses (MaxHP): 0
[01.11. - 06:06:13] [Base Health]: 31
[01.11. - 06:06:13] [Before Calculations]: Max HP: 8171, Item Bonuses: 8140, Spell Bonuses: 0
[01.11. - 06:06:13] [After Calculations]: Max HP: 8171, AA Bonuses (MaxHP): 0, Spell Bonuses (MaxHP): 0, Item Bonuses (MaxHP): 0
[01.11. - 06:06:13] [post-calc hp] cur: 31, max: 8171
I believe I discovered the issue, I have an item at id 0, so it's going on the NPCs and players in every empty slot they have.
Code:
0	0	Kreljnok's Sword of Eternal Power	20	70	0	20	15	0	0	30	25	20	0	4	1	8	1	0	1	0	1	30	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	500	500		0	1	4278190080	0	0	0	0	30	46	0	0	29	0	0	25	5	0	0	0	320	0	0	0	0	0	0	0	0		-1	30	1	0	0	370	2	1521	IT10749	0	0	0	0	0	6		0	1	0	0	0	0	-1	0	0	1	0	30	0	65535	0	0	0	70	1	6	2	-1	0	24576	6264	0	0	0	0	0	0	20	0	1	0	0	0	0	300	6	0	0	0	0	0	2012-12-27 10:35:28	Epic 2.0	0	0	0	0	1	0	0		0	-1	0	0	0	0	6280	2	0	0	0	0	0	0	0	-1	0	0	0	0		2012-06-20 19:37:58		13THFLOOR	0		1	0	0	0	0	0	0	0	0	-1	0	0	00000000000000000000	0		0	0	0	0	0		-1	0	0	0	0	0		0	0	0	0	0	0		-1	0	0	0	0	0		-1	0	0	0						0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2004-12-07 09:35:20	0	70	0	0	0	-1	0	0	0	0	0	0	0	0		-1	0	0	0	0	0	0	142	0	1	0	1036831949	1075838976	0	-1	0	-256	255	0	0	-2147483648	63	0	0	0	1
I have fixed my issue, thanks for the help everyone.
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 03:01 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3