EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Pets stealing XP. (https://www.eqemulator.org/forums/showthread.php?t=35339)

Drakiyth 05-15-2012 04:04 AM

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.

trevius 05-15-2012 05:16 AM

Maybe this thread can help:

http://www.eqemulator.org/forums/showthread.php?t=35302

Drakiyth 05-15-2012 01:01 PM

Quote:

Originally Posted by trevius (Post 209748)


Yeah, it's in the On: Death thing.. Where exactly would I find that and how would I alter it correctly to disable it?

sorvani 05-15-2012 01:18 PM

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.

bad_captain 05-15-2012 01:37 PM

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.

bad_captain 05-30-2012 05:53 PM

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.

kimura 06-01-2012 07:32 PM

Thats awesome man! Thanks for all your work! Is there an update i need to run to fix it on my server?

bad_captain 06-01-2012 10:03 PM

Just get the latest and compile. Let me know if you have any issues.

bad_captain 06-02-2012 10:41 AM

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.

kimura 06-04-2012 10:51 AM

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

bad_captain 06-04-2012 05:55 PM

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.

kimura 06-04-2012 11:29 PM

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

bad_captain 07-13-2012 01:13 AM

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.