View Full Version : Problem with revision 2136
chrsschb
05-03-2012, 12:13 AM
Since updating to the newest revision I've started having issues with player pets stealing experience. If the pet does 51% of the total damage (or more) it takes 100% of the experience. This should only happen if the pet does 100% of the damage.
Any advice?
chrsschb
05-03-2012, 11:35 PM
Bump, this is a pretty big issue for me. Player's who play pet classes have just about stopped playing until this is resolved, especially mages with epic pets. It's near impossible to out damage the pet while still playing efficiently.
louis1016
05-04-2012, 12:04 AM
thats how it was on live years ago i dont know if it ever changed
chrsschb
05-04-2012, 12:09 AM
I stated in my original post how it WAS and how it's SUPPOSED to be. This change happened recently and I'm assuming it's a source change as that's all that has changed on my server.
If the player does 1 damage, the pet should take 0 experience. This was put into effect nearly 12 years ago.
lerxst2112
05-04-2012, 12:53 AM
Are you using bots as well or not?
If you are I'd guess this is the problem in NPC::Death()
#ifdef BOTS
if(!ownerInGroup) {
give_exp = NULL;
}
#endif //BOTS
I didn't debug it, but I assume that if the pet is the top damage on the hate list that it clears who to give experience to if they are not in a group. There's needs to be more checking to make sure it's actually a bot that was top damage and not a client's pet.
chrsschb
05-04-2012, 12:57 AM
Are you using bots as well or not?
If you are I'd guess this is the problem in NPC::Death()
#ifdef BOTS
if(!ownerInGroup) {
give_exp = NULL;
}
#endif //BOTS
I didn't debug it, but I assume that if the pet is the top damage on the hate list that it clears who to give experience to if they are not in a group. There's needs to be more checking to make sure it's actually a bot that was top damage and not a client's pet.
Yeah I use bots for testing purposes on the server. Bots aren't being used when this is happening though.
lerxst2112
05-04-2012, 01:01 AM
It doesn't matter. If you compiled for bots then that code is active.
chrsschb
05-04-2012, 01:04 AM
Alright, guess I'll switch to a non-bot source until that's fixed.
Thanks for the help.
bad_captain
06-02-2012, 10:30 AM
This should be fixed with the latest rev.
chrsschb
06-02-2012, 05:48 PM
This should be fixed with the latest rev.
Awesome thanks man.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.