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. 
		
	
		
		
		
		
		
		
		
		
		
	
		
			
			
			
			
				 
			
			
			
			
			
			
				
			
			
			
		 
		
	
	
	 |