|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Support::Windows Servers Support forum for Windows EQEMu users. |  
	
	
		
	
	
	| 
			
			 
			
				09-30-2013, 11:44 AM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Oct 2011 
						Posts: 132
					      |  |  
	| 
				 AC, ATTK, Haste, ETC 
 all of these stats in #mystats are showing equal to whatever level the player is...
 if level 80 those are 80, if 75 then they are 75 etc...
 
 these stats in #mystats are not effected by items or spells, they don't change unless your level changes...
 
 anyone know what the deal is?
 
 Thanks :P
 |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 03:44 PM
			
			
			
		 |  
	| 
		
			
			| Administrator |  | 
					Join Date: May 2013 Location: United States 
						Posts: 1,604
					      |  |  
	| 
 What version of the source are you running on? And would you mind looking up the Armor Class, Attack, Haste, etc. code in your source and posting it? |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 03:46 PM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Aug 2007 
						Posts: 5
					      |  |  
	| 
 This fixed it for me. There's one instance of itoa that you shouldn't replace around line 2583 (after adding the function linked). Think you'd have to add another function that accepts more parameters to handle that call, but don't know enough c++ to be sure. :phttp://eqemulator.org/forums/showthread.php?t=36981 |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 03:59 PM
			
			
			
		 |  
	| 
		
			
			| Administrator |  | 
					Join Date: May 2013 Location: United States 
						Posts: 1,604
					      |  |  
	| 
 That's quite weird, it works 100% fine for me on the newest source, may I ask what revision this error occurred in? |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 04:06 PM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Aug 2007 
						Posts: 5
					      |  |  
	| 
 Not a clue. I pulled the source from git on sep 7th though. |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 04:07 PM
			
			
			
		 |  
	| 
		
			
			| Administrator |  | 
					Join Date: May 2013 Location: United States 
						Posts: 1,604
					      |  |  
	| 
 Mine's from around there I believe, I'm not 100% sure, but that's weird, I had source from last October and it didn't ever do that. |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 04:33 PM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Aug 2010 
						Posts: 1,742
					      |  |  
	| 
 itoa/atoi has never been safe.  The ways it can fail are implementation dependent, so it may be fine on one platform and not on another. |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 07:29 PM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Oct 2011 
						Posts: 132
					      |  |  
	| 
 hey guys,  ty for the responses!  this seems a litte outta my league as far as knowledge goes haha. . . 
 the source i used was very recent. . . i think 2514 or 2516?
 |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 08:06 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Feb 2007 Location: Sunset Home 
						Posts: 71
					      |  |  
	| 
 I can verify the problem on the newest git source (9/13/13). Also the client is HoT for me. 
	Code: Caption     Displayed     Actual
Level        85              85
Rune        85              0
Spell Rune 85              0 "Spell Runes", 480 spells in spell book
HP           10276         10276
Mana       9390/9390    9390/9391 (I'm guessing a rounding error. I never hit 9391)
End          4168          4168 
DS          85
ATK         85              1716 (reported in inventory)
AC          85               1818 (reported in inventory)
Haste      85               No worn/spell haste, #haste 0
Heal Amt 85/85
spell dmg 85/85
clairvoyance 85/85
dmg shld mit 85/85
(I don't know the formula for calculating them, but I'm fairly certain they aren't 85...) The only effect level had was changing the 85's to what ever the current level is. I checked at level 10, 20, ..., 70, 80, 85 all the same. |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 08:13 PM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Apr 2008 Location: MA 
						Posts: 1,164
					      |  |  
	| 
 
	Quote: 
	
		| 
					Originally Posted by lerxst2112  itoa has never been safe.  The ways it can fail are implementation dependent, so it may be fine on one platform and not on another. |  This isn't "standard" itoa (there actually isn't a standard, itoa isn't part of ANSI C or C++)
 
What is also weird is that itoa works 100% through out the rest of the Client::SendStatsWindow function. It only fails compiling the final string. |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 08:51 PM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Oct 2011 
						Posts: 132
					      |  |  
	| 
 yes,  HnathBST,  that is exactly what mine is doing too |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 10:29 PM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Apr 2008 Location: MA 
						Posts: 1,164
					      |  |  
	| 
 This should be fixed on GitHub now. |  
	
		
	
	
	| 
			
			 
			
				09-30-2013, 10:57 PM
			
			
			
		 |  
	| 
		
			
			| Dragon |  | 
					Join Date: May 2010 
						Posts: 965
					      |  |  
	| 
 
	Quote: 
	
		| 
					Originally Posted by HnathBST  I can verify the problem on the newest git source (9/13/13). Also the client is HoT for me. |  just a note, there is not a HoT client. You have UF.
http://www.eqemulator.net/wiki/wikka...ClientVersions |  
	
		
	
	
	| 
			
			 
			
				10-01-2013, 12:58 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Feb 2007 Location: Sunset Home 
						Posts: 71
					      |  |  
	| 
 
	Quote: 
	
		| 
					Originally Posted by sorvani   |  Touche sir. |  
	
		
	
	
	| 
			
			 
			
				10-01-2013, 03:54 PM
			
			
			
		 |  
	| 
		
			
			| Hill Giant |  | 
					Join Date: Oct 2011 
						Posts: 132
					      |  |  
	| 
 that fixed it! thanks so much demonstar! |  
	
		
	
	
	
	
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is Off 
 |  |  |  All times are GMT -4. The time now is 02:29 PM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |