Pets stealing XP.
I wasn't sure where to put this.
How would one remove the experience stolen from pets for doing too much damage? I honestly want to completely remove that rule from my server so pets can do full damage and the player will still get exp. Or at least make it 5% instead of 50%. Thanks. |
|
Quote:
Yeah, it's in the On: Death thing.. Where exactly would I find that and how would I alter it correctly to disable it? |
it is in zone/attack.cpp @ line 2118.
comment it out and rebuild. looking at that code, the entire thing could be tweaked a little and maybe a rule put in. but just commenting it out wold fix your server how you desire it. |
I made a fix for this last night and can commit it this week. I could add a rule, although I think not getting xp from your bots should be the default, which was the purpose of that code. I just happened to find a bot spell ai bug I spent a while trying to correct, otherwise I would have fixed it last night.
|
I finally got around to committing this. I didn't add a rule, I just fixed it as it should be. If I can be convinced to add the rule, I will at a later date.
|
Thats awesome man! Thanks for all your work! Is there an update i need to run to fix it on my server?
|
Just get the latest and compile. Let me know if you have any issues.
|
Sorry I realized I posted my responses in the wrong thread. They were meant for the linked thread by Trevius. (It's a little harder to follow the forums while on my phone)
I fixed an issue where pets were stealing all xp if they did over 50% damage. Just as long a you do any damage, you will get xp. If this doesn't address your issue, please let me know. |
i got the latest source and compiled, but i didnt see any update sql's..pets are still stealing xp on my server...im sure i screwed up somewhere grrr
|
When exactly are they stealing xp? When you do < 50% damage? 0 damage? In a group? Not?
There shouldn't be any sql updates, it was just a code change. |
If they out dps me, so I guess 50% has to be the mark.... the bot is grouped with me and it has a pet
|
Hopefully the last issue with this was just fixed in Rev 2164.
|
All times are GMT -4. The time now is 07:10 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.