Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::General > Archive::General Discussion

Archive::General Discussion 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
  #8  
Old 03-30-2002, 04:01 PM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default

(Maybe this should be in the dev forum, but oh, well)

mobs have the ability to have up to 8 billion hp.

8 billion requires 33 bits. Are you sure you don't mean 2 billion? In zone/mob.h, all the hp fields are declared as sint32, which is declared as a signed int in common/types.h. The maximum size for a signed int is 2^31-1 = 2,147,483,647 (the final bit is for the sign). But I haven't looked at all the code, so I could be wrong...
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:37 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