azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.13k stars 2.46k forks source link

`.npc near` output is wrong. #19216

Closed heyitsbench closed 1 day ago

heyitsbench commented 4 days ago

Current Behaviour

Spitting out every value shifted over, i.e. X position is always shown as 0.

Expected Blizzlike Behaviour

The coordinates and map ID should be correct.

Source

Common sense.

Steps to reproduce the problem

  1. .npc near near a creature.
  2. Observe what it says.

Extra Notes

No response

AC rev. hash/commit

29f376f9bcbad4a9038b5ed447a4b4b768e51b42

Operating system

Windows 10 x64

Custom changes or Modules

mod-ptr-template

heyitsbench commented 4 days ago

.lookup quest output when you have a quest in your log is also incorrect, still using the old "%s/%u" formatting.