Improved tile add creature checks and also fixed a crash there.
NPCs no longer think about sneaky game masters.
Removed unnecessary callback in Monster.
- Monsters which are not hostile are now allowed to enter protection zones.
- Monsters which are already in a protection zone are allowed to move there.
Added LUA function 'teleportThingNearPosition'.
Version Bump
Fixed potential bug related to releasing when cloning items.
NPCs will no longer buy equipped items.
Fixed that beds are not working at all.
Movement event willAddCreature now has the event item as fourth parameter.
Fixed invalid assertion related to item releasing.
Creatures can no longer spawn dead.
Added a check to prevent dead players from logging in and messing up the server. Although this should never happen...
Forwarders can be blocked by solids on the same tile again.
Fixed corrupt LUA stack in willAddCreature event.
Creature and item move events will no longer be called when it is removed from the tile (instead of being moved).
Fixed crash in Spawn::checkSpawn.
Moved entering/exiting the world to the new World object.
Fixed various bugs and improved alternative tile lookup when adding creatures to the world or teleporting them.
Fixed various crashes due to dangling pointers.