EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Exploit in experience gain ?? (https://www.eqemulator.org/forums/showthread.php?t=41124)

GRUMPY 01-26-2017 07:42 AM

Exploit in experience gain ??
 
Just curious if this is intentional in current development. I was using source code that was available from gitpull this month (Jan 13th)

I was doing some experience testing with a level 1 halfling in misty. I noticed that if I get the mob below 50%, then run for the guards
and let the guards kill the mob, not only do I get full experience for the kill, but can also loot the mob. I tried this out on several mobs.

I updated the source code from git last night (jan 25) and recompiled, but still getting same behavior. I personally don't have a preference
for that, as it creates an exploit for experience gain.

cannon 01-26-2017 09:51 AM

From what I remember is you only got the experience and loot if you get the last hit and have over 50% of the damage inflicted.

GRUMPY 01-26-2017 10:16 AM

Quote:

Originally Posted by cannon (Post 252768)
From what I remember is you only got the experience and loot if you get the last hit and have over 50% of the damage inflicted.

Back when I played on live (2004), that applied to player/player dps balance, but never did I ever get experience or loot from a guard kill,
no matter how much damage I did to the mob. But in this case, I stopped attacking and run past the guards and wait.
"Time to die, a large bat" ....no experience, no corpse, no loot.
If this was normal all the way through EQ's existance, nobody would have ever needed to actually drop a mob, just get it below 50% and
stand back and let the guards do the rest.

cannon 01-26-2017 10:22 AM

I remember doing something similar to this in North Karana on live, run the griffons to the guards at the tower the griffon kills the guard and the griffon was left at 10 pct, you finish of the griffon and get full exp plus loot.

GRUMPY 01-26-2017 10:26 AM

Quote:

Originally Posted by cannon (Post 252770)
I remember doing something similar to this in North Karana on live, run the griffons to the guards at the tower the griffon kills the guard and the griffon was left at 10 pct, you finish of the griffon and get full exp plus loot.

Funny you mention that strategy. Not long ago, I increased the stats and dmg on those same guards in karana, so that can't happen :)

cannon 01-26-2017 10:34 AM

Ok from what I see on my server, If I get the most damage on a mob then I get the exp for the mob if i kill or guard kills. Say mob has 100 hp and i do 51 pts of damage and the guard finishes it off with 49 damage, i get the exp. if the mob has 100 hp and i do 51 damage and the guard finishes it off with a 100 damage hit then he gets the kill. just from what i am observing. not sure if this the way it is.

GRUMPY 01-26-2017 10:37 AM

I am not sure if that is intentional in the code, but I think of it as a "too easy" exploit for power leveling a toon.

cannon 01-26-2017 10:38 AM

Quote:

Originally Posted by GRUMPY (Post 252774)
I am not sure if that is intentional in the code, but I think of it as a "too easy" exploit for power leveling a toon.

I agree, I think if a guard gets involved the mob should be a wash.

Maze_EQ 01-26-2017 01:00 PM

We exploited this seriously hard on p99 lolol.

Bard AOE everything to 40% and just have guards picking them off.

Was funny to watch.

Apocal 07-27-2018 12:03 PM

Anyone figure out a fix for this? Looking into a resolution.

Shin Noir 07-27-2018 07:35 PM

If you're pulling from source and building your own,
your answer is inside zone/attack.cpp NPC::Death() function, you'll see experience giving is based on the function hate_list.GetDamageTopOnHateList()
At a glance, it appears who gets credit is based on whoever does "top" damage, this is determined by the minimum of >50% of damage. It determines it with raid and grouping in mind. If you want to change this behavior, you'll need to edit either the NPC::Death logic when it sets the killer *mob from damagetop, or change the GetDamageTopOnHateList function to return whatever whimsical determination you want to customize this to.

It's not really a fix or exploit, since this has been the behavior since ages. I recall a similar behavior on live at one point or another, who knows what it does now or what it did back during DoN. So coding it would require someone to determine what's "right" vs what it is now. So there's the areas to edit above, and you can change it to whatever you like.

As an example though, if you want to code in cannon's "have to be last hit + >50 dmg" logic, you can add after the line
Code:

Mob* killer = GetHateDamageTop(this);
Something like this
Code:

Mob* killer = GetHateDamageTop(this);
if (killer && killer_mob && killer->GetID() != killer_mob->GetID() && killer_mob->IsNPC()) killer = killer_mob;

This way, if the last hitter was an npc, and the top damage mob is not them, then the killer is now whoever last hit (aka an npc), meaning you would lose your exp/loot rights in cannon's logic not being matched.

Apocal 07-27-2018 08:36 PM

Great post, thank you Shin. Coding it in now.

To start I'm working on creating a custom function in hate_list that will be called by attack.cpp around the NPC::Death function.

Though the above with a check for being a pet might work by itself. :D


All times are GMT -4. The time now is 10:20 AM.

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