[DiscordArchive] <@179207761555488769> care to share your code?
[DiscordArchive] <@179207761555488769> care to share your code?
Archived author: MadBits • Posted: 2023-10-22T14:55:34.079000+00:00
Original source
But I did find some random forums stating that that's how you do it, although it was for cmangos and probably an old version of it as well.
Archived author: MadBits • Posted: 2023-10-22T14:55:47.611000+00:00
Original source
But again, don't take my words for granted, I'm pretty much lost and have no idea what am talking about.
Archived author: swagkhalifa • Posted: 2023-10-22T14:56:57.265000+00:00
Original source
You should use LOG_ERROR("error", "my message") or LOG_DEBUG whatever you prefer to print out messages for debugging.
Archived author: Natrist • Posted: 2023-10-22T14:58:18.038000+00:00
Original source
You can also use SendNotification or get the player object and send a chat message
Archived author: Natrist • Posted: 2023-10-22T14:58:33.624000+00:00
Original source
That's what I usually do because I don't want to search through logs
Archived author: swagkhalifa • Posted: 2023-10-22T14:59:16.062000+00:00
Original source
And if you want to print out the coordinates for example you can do it like this: ``LOG_ERROR("error", "Position X: {}, Position Y: {}, Position Z: {}", destX, destY, deztZ)``