[DiscordArchive] how do i debug?
[DiscordArchive] how do i debug?
Archived author: C0UNT3RPR0DUCT1V • Posted: 2023-09-20T14:51:55.875000+00:00
Original source
how do i debug?
Archived author: stoneharry • Posted: 2023-09-20T14:56:05.670000+00:00
Original source
Check 'aura cannot be cancelled'
Archived author: Kiffy • Posted: 2023-09-20T16:09:07.347000+00:00
Original source
easiest way would be to just insert messages in different parts of code to find out whats being executed and whats not:
```c++
// Necessary header
#include "World.h"
// Sends a server-wide message
sWorld->SendServerMessage(SERVER_MSG_STRING, "Your debug message here.");
```
Archived author: Kiffy • Posted: 2023-09-20T16:10:35.241000+00:00
Original source
can work with string data type in the second argument as well so u can concatenate simply to check what the values are
Archived author: Kiffy • Posted: 2023-09-20T16:10:49.503000+00:00
Original source
dont do this in a production server lol
Archived author: C0UNT3RPR0DUCT1V • Posted: 2023-09-20T16:12:24.218000+00:00
Original source
Okay I was trying to do it this way but I was doing it way wrong. Thank you very much
Archived author: Kiffy • Posted: 2023-09-20T16:15:36.171000+00:00
Original source
okay no problem, if you encounter anything its nice to be specific and either paste code on a site or just in chat. will be easier to simply run it on a local server then