Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2009, 12:19 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default Problem with AC buffs

I was playing around with Ac buffs lately and noticed that they give far LESS AC than they should.

For example level 1 Skin like Wood suppose to give 10 ac at lev 1, and up to 15 at lev 10.

But it only gives me 2 ac!

At first I thought this has to do somehting with a class Ac modifier- like casters only get a fraction of AC than melees get. So tried this with other classes, including casting it on warrior class pet, and makign npc cast it on itself and checking its ac via #showstats and so on.

Anyway I tried - the AC given from buff is only 1/4 of what it says in the spell file ( I made a custom spell which should give 200 AC and it gave me only 50 regadless of my level)

Does anyone else has this happening?
I am on Rev 535 if this matters.
Reply With Quote
  #2  
Old 06-21-2009, 07:46 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

The AC reported on the client end is much lower than at the server end (this is due to the difficulty in getting the client to report the correct values). Use #showstats on the server end to get the real values.
Reply With Quote
  #3  
Old 06-21-2009, 12:00 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

I did. How else would I see Ac on npcs =P
It shows same thing - only a fraction of what it should be
Reply With Quote
  #4  
Old 06-21-2009, 03:56 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Sorry, I was half asleep when I posted that earlier. I would test with the latest code. If you see the same results, I would post the exact AC values you are seeing before and after the spell is cast, along with the npc race, class and level. If you were using a specific npc id, provide that as well. This will allow a developer to duplicate the problem so they can then debug it.
Reply With Quote
  #5  
Old 06-21-2009, 07:44 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

I think KLS once said we don't use the total value for anything directly, but we use the modifier for something. also, for some reason i think trev did something with the calculated ac a while back so that it can be more accurate in #showstats.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #6  
Old 06-21-2009, 08:10 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

ummm as far as i can tell atm both client and server report identical AC after buffs - at least on the buffs I used.
which are at a fraction of what it says in the spell file...
So question becomes - can we somehow straighten it out so 10 ac is actualy 10 ac? =)

Or at least post some sort of conversion formula?
Reply With Quote
  #7  
Old 06-21-2009, 09:41 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by AndMetal View Post
I think KLS once said we don't use the total value for anything directly, but we use the modifier for something. also, for some reason i think trev did something with the calculated ac a while back so that it can be more accurate in #showstats.
That was Attack Rating. I got the formulas for it figured out almost exactly to match the client. But, the code for it was never implemented because we are calculating attack rating in 2 separate places for different parts of what it is supposed to do. The total isn't very useful for how we handle it in the code, so it isn't actually used other than for #showstats. I never really messed with AC. That is more of KLS' baby
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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:26 PM.


 

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