View Full Version : Problem with AC buffs
ChaosSlayerZ
06-21-2009, 12:19 AM
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.
gaeorn
06-21-2009, 07:46 AM
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.
ChaosSlayerZ
06-21-2009, 12:00 PM
I did. How else would I see Ac on npcs =P
It shows same thing - only a fraction of what it should be
gaeorn
06-21-2009, 03:56 PM
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.
AndMetal
06-21-2009, 07:44 PM
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.
ChaosSlayerZ
06-21-2009, 08:10 PM
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?
This isn't a bug. Spell ac is effect_value * 0.29411.
ChaosSlayerZ
06-21-2009, 09:37 PM
hmm, is there is a reason for this rather unique modifier?
trevius
06-21-2009, 09:41 PM
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 :)
Because that's what the client does?
ChaosSlayerZ
06-21-2009, 10:01 PM
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 :D
Looks like I will upping everything 5 times :D
But thank you for answering - I was worried it was something I broke :D
gaeorn
06-22-2009, 01:15 AM
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
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.
gaeorn
06-22-2009, 01:34 AM
cool. one less thing I have to track down :D
ChaosSlayerZ
06-22-2009, 01:55 AM
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?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.