Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Bugs

Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2003, 07:13 PM
Smaks
Fire Beetle
 
Join Date: Jun 2003
Posts: 3
Default Sta/HP Calculation bug

ok, so I've been messing around with eqemu for a few weeks now, ive noticed that there is a bug with the max number of hp that you have and your total hp for example:

my wizard has 1031 hp maximum but it will only allow you to get up to 1000 hp maximum. Now, I have done some research on this and tried different item combinations etc. It seems to be a bug with the way HP are calculated after 255 stamina, there isnt a problem at 256 sta, but anything over that makes the Current/Max HP mismatch. and then it always says you are at 99% life.

Sta | Amount Off
---------------------
280| 31 HP
278| 28 HP
272| 20 HP
267| 15 HP
258| 2 HP

Now, I have noticed that sometimes when i log in, my character just starts to lose HP, and he constantly loses hit points until he dies, and then he keeps losing hp putting him in a death loop. I am not sure if this bug is related to this yet, but since I took some items off and dropped my characters stamina to 255 or lower I havent seen this happen yet. I will look into the code when I get a little more time, would appreciate any help or input anyone has.

Another bug I have noticed is that when someone is playing on my server sometimes it displays the incorrect amount of HP in the group window, or they take a lot of damage on their client and the server doesn't register it.
Reply With Quote
  #2  
Old 06-12-2003, 12:54 AM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

For loosing life, make sure you don't have any gm items and aren't a gm, no duplicate lore items, and you have the recomended level for the items.
__________________
++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<
+++++>-]<+.+++++++..+++.>>+++++[<++++++>-]<+
+.<<+++++++++++++++.>.+++.------.--------.>+.
Reply With Quote
  #3  
Old 06-12-2003, 03:52 AM
gej302
Sarnak
 
Join Date: May 2003
Location: Silverfist
Posts: 42
Default

you might consider doing a #showstats to see if the server thinks you are over 255 stamina, too. What could be happening is that client says to server hey, I'm 1031 hp, and server replys with "denied, you are 1000hp, submit in 30 seconds for further denial"
Reply With Quote
  #4  
Old 06-12-2003, 06:30 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

Stats over 254 will break characters .
Unless someone gets a wild hair up thier ass i wouldn't expect ANYTHING pop related to work untill we're done with all the other expansions

Recommended level items shouldn't drain your life if your using a (relativly) recent cvs version

hp desync is just lag, code needs optimized ect

Have a look at the client Calc* functions and "friends", Hp's AC and Atk all need some loving.
Reply With Quote
  #5  
Old 06-12-2003, 07:07 AM
Smaks
Fire Beetle
 
Join Date: Jun 2003
Posts: 3
Default

You say, '#showstats'
Name: Zalumbas the Gay Gnome
Level: 65 MaxHP: 3623 CurHP: 3623 AC: 792 Class: 12
MaxMana: 5745 CurMana: 5745 ATK: 20 Size: 3.0
STR: 160 STA: 255 DEX: 255 AGI: 234 INT: 255 WIS: 134
CHA: 115
Race: 12 BaseRace: 12 Texture: 255 HelmTexture: 255
Gender: 0 BaseGender: 0
EntityID: 87 PetID: 0 OwnerID: 0 AIControlled: 0
CharID: 5 PetID: 0

Also, thanks for the lore items/gm items suggestion, that seems to have fixed the problem.

According to the client my character should have 4004 HP Max, 1271 AC, 1127 Atk.

160str 280sta 234agi 280dex 134wis 280int 115cha

Thanks for the info bigpull
appreciate all the input guys
Reply With Quote
Reply


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 12:39 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