Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] <@179207761555488769> care to share your code?

[DiscordArchive] <@179207761555488769> care to share your code?

[DiscordArchive] <@179207761555488769> care to share your code?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
10-22-2023, 02:55 PM
#11
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.
rektbyfaith
10-22-2023, 02:55 PM #11

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.

rektbyfaith
Administrator
0
10-22-2023, 02:55 PM
#12
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.
rektbyfaith
10-22-2023, 02:55 PM #12

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.

rektbyfaith
Administrator
0
10-22-2023, 02:56 PM
#13
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.
rektbyfaith
10-22-2023, 02:56 PM #13

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.

rektbyfaith
Administrator
0
10-22-2023, 02:58 PM
#14
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
rektbyfaith
10-22-2023, 02:58 PM #14

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

rektbyfaith
Administrator
0
10-22-2023, 02:58 PM
#15
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
rektbyfaith
10-22-2023, 02:58 PM #15

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

rektbyfaith
Administrator
0
10-22-2023, 02:59 PM
#16
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)``
rektbyfaith
10-22-2023, 02:59 PM #16

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)``

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)