[DiscordArchive] would you say having a script holding a smart pointer reference to a despawned creature or an offlin
[DiscordArchive] would you say having a script holding a smart pointer reference to a despawned creature or an offlin
Archived author: jackpoz • Posted: 2024-09-14T19:25:14.261000+00:00
Original source
would you say having a script holding a smart pointer reference to a despawned creature or an offline player would do good ?
Archived author: jackpoz • Posted: 2024-09-14T19:26:11.005000+00:00
Original source
trying to cast spell to an offline player and being stuck in combat ? that will indeed take few hours of debugging
Archived author: jackpoz • Posted: 2024-09-14T19:27:14.285000+00:00
Original source
or just use ASan and get a clear report about what is wrong, if one knows how to use dynamic analysis tools, that is
Archived author: Ike • Posted: 2024-09-14T19:39:07.401000+00:00
Original source
Don't store pointers to the objects. Store their GUID and look up the corresponding object in the world instead. Storing pointers and accessing them later will lead to super nasty and hard to track down bugs
Archived author: Aleist3r • Posted: 2024-09-14T22:33:50.663000+00:00
Original source
just do like i do, forget to do null check and crash the server getting access violation
Archived author: herb • Posted: 2024-09-16T14:43:16.618000+00:00
Original source
hold the programmers hostage until someone spills the beans
Archived author: herb • Posted: 2024-09-16T14:43:32.537000+00:00
Original source
https://tenor.com/view/ah-gif-23580102ht...f-23580102
Archived author: Kaev • Posted: 2024-09-17T08:56:27.474000+00:00
Original source
TIL Would have guessed they would be set to nullptr when they get deleted. I barely do C++ but that will probably be good to know some day
Archived author: Rafael • Posted: 2024-09-17T09:02:36.235000+00:00
Original source
Im trying to learn but TC standarts kill me ( in a good way)
Archived author: Rafael • Posted: 2024-09-17T09:03:03.096000+00:00
Original source
Truth be told if your code aint good enought to be in their repository is not good enought for anything either way