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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2013, 11:10 AM
Armm
Sarnak
 
Join Date: Feb 2013
Posts: 70
Default

Still havent figured what causes it. It might be related to grouping because these mercs below are run by a guy who multiboxes/groups...

Anyhow demonstrating the "leftovers"

Reply With Quote
  #2  
Old 03-28-2013, 02:59 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by Armm View Post
Still havent figured what causes it. It might be related to grouping because these mercs below are run by a guy who multiboxes/groups...

Anyhow demonstrating the "leftovers"

I'll take a look into this soon; been busy so I haven't had time for mercs.
Reply With Quote
  #3  
Old 04-06-2013, 02:30 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I've been out and busy the last 2 weeks, so I'm going to try and get back into this this weekend and check out some of the issues you've pointed out.

I'd have to look into the buffs. Not sure what's going on there.

Attack and AC are kind of confusing and how they are calculated and displayed are different between clients, npc, bots, mercs, and pretty much everything else. Merc base ATK and AC may be higher than what clients are used to because they have little to no way to improve them. No equipment upgrades, no AAs, etc. Only buffs can be used to increase them. They may still be a little high, as I just guessed when I created them, trying to get them close to high end client values at that level. If you have a specific example of what one should be, I can adjust them accordingly.

#Showstats shows different values for Bots as well, but I'd have to look into it again, as it's been a while since I tried to figure it out. I do remember ATK values being maybe half what they should have shown for bots.

Edit: Looks like that is being added twice. I'll get that removed.

Last edited by bad_captain; 04-06-2013 at 02:38 PM..
Reply With Quote
  #4  
Old 04-06-2013, 02:44 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I have figured out the buffs issue, I believe. I'll see if I can get it in this weekend.
Reply With Quote
  #5  
Old 04-06-2013, 06:20 PM
Armm
Sarnak
 
Join Date: Feb 2013
Posts: 70
Default

Thank you.

I agree the attack code is confusiing. Since you asked for a specific example ill give you one with the level 50 scenario above. The example below ASSUMES i know what the code is doing. I am going to leave ATK values out of it because im not sure what is being calced here.

Mob is level 50 Froglok Dar Knight from sebilis who has an AC of 429 in DB.

Level 50 Merc attack the Froglok. Merc has str of 267, and warrior for that level has offense of 210. Running that through formuyla listed above WIHTOUT the ATK added onto it gives you 463 for attack RATING.

Froglok is an NPC so the NPCACfactor rule is 2.25 by default.

Code:
else if(IsNPC())
		{
			armor = CastToNPC()->GetRawAC();

			if(!IsPet()) 
			{
				armor = (armor / RuleR(Combat, NPCACFactor));
			}

			armor += spellbonuses.AC + itembonuses.AC + 1;
		}
so the Frogloks armor is AC/2.25 + spells and item bonuses which means his AC before class armor caps is 190.

You can see the problem is that the attack rating is already over 2 times the AC to begin with. Now if you add (im working from memory) several hundred or thousand ATK once or twice you can see that the attack rating to AC ratio is someplace from 3x to 20x.

To be fair , you are remarkably close on your AC settings for mercs tanking NPCs.
Reply With Quote
  #6  
Old 04-25-2013, 01:00 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I removed the doubling of the strength factor & offense for ATK for mercs, and some extra stats added in during stat calculations (I still had bot racial/class stats being added in), which I removed.

I will look more into the attack issue, and see if I can get ATK to be a little more reasonable comparable to group content geared clients. At 50, the highest value in the DB is 1600 for melee DPS (1550 for tanks). At 65, these values are 2080 and 2015. Adding in STR & Offense twice would mean 600-700 extra attack at 65, not really a few thousand. Either way, the calculation will still mostly come out where the attacker's attack rating is significantly higher than the mobs defense rating (when using the NPCACFactor), as mob AC is fairly low, especially at those lower levels.

Anyway, hopefully that helps.
Reply With Quote
  #7  
Old 04-30-2013, 09:49 PM
Furniture
Hill Giant
 
Join Date: Aug 2012
Posts: 205
Default

Sorry - heres my error, latest compile of everything, just cant source this update - 2013_03_1_Merc_Rules_and_Equipment

It stops when it tries to create the merc_inventory table:
Reply With Quote
  #8  
Old 05-01-2013, 10:00 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

See my response here:

www.eqemulator.org/forums/showthread.php?t=36795
Reply With Quote
  #9  
Old 07-17-2013, 05:21 PM
GurkhaPanzers
Hill Giant
 
Join Date: Aug 2010
Location: Arizona
Posts: 164
Default

I haven't compiled the source code in a while. May I ask Merc status. Do they work today? Are Mercs clerics and tanks only still?
Reply With Quote
  #10  
Old 09-14-2013, 08:48 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I am rather wondering the same thing. I had previously sourced in all of the merc SQL statements months ago. Two days ago I did a drop_system.sql and imported in the newest PEQ, recompiled my server source, maybe sure mercs were enabled in the rules table. If I go up to a liaison and right click nothing happens. I went ahead and sourced in the SQL for the mercs again, listed from a previous post and still nothing.

I did read were there were a few problems with ghosting mercs and saw there is a GIT fix request posted from Kimmy have mercs been disabled in code recently?
Reply With Quote
  #11  
Old 09-14-2013, 11:12 AM
Robregen
Developer
 
Join Date: May 2011
Posts: 109
Default

http://www.eqemulator.org/forums/sho...t=37086&page=2
Reply With Quote
  #12  
Old 09-14-2013, 12:02 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I guess I was looking in the wrong direction. I did see where the was a "failed to spawn" error people were talking about but I did not think it was related. RandyMarsh's sql update fixed it for me, yay!!

Thank you so much Robregen, your help to the community is always greatly appreciated.
Reply With Quote
  #13  
Old 09-14-2013, 04:12 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

One thing I did notice today is that I am indeed getting charged the merc upkeep cost, but the window shows 0 pp and 0 gold. Is this possibly just a client issue, I do believe I could had been using RoF instead of UF when I noticed it.
Reply With Quote
  #14  
Old 10-08-2013, 10:11 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I haven't seen this. what level? Verify client if you can.

Thanks.
Reply With Quote
  #15  
Old 10-08-2013, 10:13 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I'm excited to see the newest live expansion, with merc AAs and merc only equipment. Although we may not get a client we can use anytime soon, there's no reason we can't add support for both.
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:55 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3