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:10 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

This isn't a bug. Spell ac is effect_value * 0.29411.
Reply With Quote
  #8  
Old 06-21-2009, 09:37 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

hmm, is there is a reason for this rather unique modifier?
Reply With Quote
  #9  
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
  #10  
Old 06-21-2009, 09:56 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Because that's what the client does?
Reply With Quote
  #11  
Old 06-21-2009, 10:01 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Oh that I didn't know =)

Ok I see now. Basicly SOE gave all buffs a nice round +10, +20, +30 and so on values into the file and then used some weird modifier to nerf everything at once, rather than edit individual spells.

This however leads to an issue that all Ac buffs don't worth a crap
Looks like I will upping everything 5 times

But thank you for answering - I was worried it was something I broke
Reply With Quote
  #12  
Old 06-22-2009, 01:15 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

You mean you guys see the same AC value with #showstats as in the Titanium client? I don't so if you guys do, then it's probably yet another 64bit linux bug on my end. /sigh
Reply With Quote
  #13  
Old 06-22-2009, 01:29 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I definitely don't get the same AC with #showstats. I used #showbuffs to figure out what the server thought our bonus spell AC was and compared it to what the client thought it should be. Matched up fine.
Reply With Quote
  #14  
Old 06-22-2009, 01:34 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

cool. one less thing I have to track down
Reply With Quote
  #15  
Old 06-22-2009, 01:55 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

ok now you confusing me KLS.

My T-client and my #showstats report the same AC with or wihout buffs.

You telling me this is not how it suppose to be? and its bad?
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 09:46 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