Daenks/Meridian59_103 — pull request #637 by skittles1 (2014-09-15 11:20:04+00:00)
Title: Fix a SquaredDistanceTo check for tree LB, refine PE timer handling on logon/off, allow Apparition to be cast by unguilded against monsters in CV and Tos GY.

Fixing some minor bugs.
A change to SquaredDistanceTo from the last Radius Enchantments overhaul means some objects that call this will return errors, usually when they try to take action on another object that is no longer valid. One of these remaining errors is fixed for trees attempting to cast LB on something that has left the screen.

PE timer handling is improved when logging on/off, and will give meaningful debug errors for invalid timers rather than throw errors that don't mention the objects involved. The main method of ending up with a bad PE timer was fixed in the last update but in the event there is another way to make them, this will assist in debugging.

Apparition wasn't able to be cast on monsters by unguilded players in main room CV, Tos GY, main gate Tos and on monsters in towns. Since bad safety/player attacks are caught elsewhere, I've removed the guilded restriction from the spell so players can use this on monsters in rooms where they cannot attack guilded players. Note: the Reflection spell still has this restriction but may require discussion due to the nature of the spell.

Fixed a minor client rendering bug and incremented the client min version to 10.