hey,nice work. here are my quickly scribed comments as I was merging it in:
Please ignore whitespace when making your diffs.
When adjusting hard coded constants in the code, like exp loss level or pet range, please replace the constants with the rule system instead (placing your value as the default), so people can tune it as they see fit.
as for your pet thing, the DistNoZ returns an absolute distance, not a squared, so you increased the range to 10000. I changed this to 150.
what is this about? did you mean to send out app3 instead of app2 2 lines down?
Code:
+ EQApplicationPacket app3;
+ CreateSpawnPacket(&app3, new_corpse);
as for:
Code:
+ AddCash(0,0,0,0);
+ //Add no money because otherwise the corpse tries to use
+ //Uninited Vars and you'll get random amounts of money from the naked corpse
its better to fix the problem (init them to 0 in constructor) than to do this.