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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2013, 11:44 AM
kimura
Hill Giant
 
Join Date: Oct 2011
Posts: 132
Default 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
Reply With Quote
  #2  
Old 09-30-2013, 03:44 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

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?
Reply With Quote
  #3  
Old 09-30-2013, 03:46 PM
kardath2
Fire Beetle
 
Join Date: Aug 2007
Posts: 5
Default

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. :p
http://eqemulator.org/forums/showthread.php?t=36981
Reply With Quote
  #4  
Old 09-30-2013, 03:59 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

That's quite weird, it works 100% fine for me on the newest source, may I ask what revision this error occurred in?
Reply With Quote
  #5  
Old 09-30-2013, 04:06 PM
kardath2
Fire Beetle
 
Join Date: Aug 2007
Posts: 5
Default

Not a clue. I pulled the source from git on sep 7th though.
Reply With Quote
  #6  
Old 09-30-2013, 04:07 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

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.
Reply With Quote
  #7  
Old 09-30-2013, 04:33 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

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.
Reply With Quote
  #8  
Old 09-30-2013, 07:29 PM
kimura
Hill Giant
 
Join Date: Oct 2011
Posts: 132
Default

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?
Reply With Quote
  #9  
Old 09-30-2013, 08:06 PM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default

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.
Reply With Quote
  #10  
Old 09-30-2013, 08:13 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

Quote:
Originally Posted by lerxst2112 View Post
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.
Reply With Quote
  #11  
Old 09-30-2013, 08:51 PM
kimura
Hill Giant
 
Join Date: Oct 2011
Posts: 132
Default

yes, HnathBST, that is exactly what mine is doing too
Reply With Quote
  #12  
Old 09-30-2013, 10:29 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

This should be fixed on GitHub now.
Reply With Quote
  #13  
Old 09-30-2013, 10:57 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 966
Default

Quote:
Originally Posted by HnathBST View Post
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
Reply With Quote
  #14  
Old 10-01-2013, 12:58 AM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Default

Quote:
Originally Posted by sorvani View Post
just a note, there is not a HoT client. You have UF.
http://www.eqemulator.net/wiki/wikka...ClientVersions
Touche sir.
Reply With Quote
  #15  
Old 10-01-2013, 03:54 PM
kimura
Hill Giant
 
Join Date: Oct 2011
Posts: 132
Default

that fixed it! thanks so much demonstar!
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 11:59 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3