EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   AC bonus handling error with high AGI (https://www.eqemulator.org/forums/showthread.php?t=23067)

BWStripes 07-02-2007 07:04 AM

AC bonus handling error with high AGI
 
I'd recreated a friend's L70 ranger for him, as best I could, gear as good as or equivalent to OOW, some tier2 stuff.

After a while, I noticed this coming up in the error log files:
[07.02. - 00:47:55] Error in Client::acmod(): Agility: 330, Level: 70

He'd bought the PoP planar power AAs, and pushed the caps to 330.

I dug into the source a bit for the AC handling and found there aren't any values to handle above 300 AGI.

client_mods.cpp, line 558:
} else if(agility <= 300) {

having 330, it dumps out to line 717:
LogFile->write(EQEMuLog::Error, "Error in Client::acmod(): Agility: %i, Level: %i",agility,level);
Return 0;

I just modified it and recompiled so it handles the higher AGI value, and now returns 65 (line 714). I can't remember if any buffs push it beyond 330.

I seem to remember you could be pushing 400 with DoD AAs....


All times are GMT -4. The time now is 12:06 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.