[DiscordArchive] what is the crash?
[DiscordArchive] what is the crash?
Archived author: Anchy • Posted: 2022-12-21T22:14:23.867000+00:00
Original source
i just use the Manual way (crossplatform) guide
Archived author: Anchy • Posted: 2022-12-21T22:15:48.108000+00:00
Original source
so just check that GetVictim() is not a null ref
Archived author: Anchy • Posted: 2022-12-21T22:16:11.613000+00:00
Original source
```cpp
if(!hostileRef->GetVictim())
return;```
![[Image: 1x.png?ex=690bcce0&is=690a7b60&hm=728bce...b14296e88&]](https://cdn.discordapp.com/attachments/284323424032129024/1055247561415479507/1x.png?ex=690bcce0&is=690a7b60&hm=728bce9bc4da8a248735a8f8451616d058cc372ea7a75662fbf7e21b14296e88&)
Archived author: Rymercyble • Posted: 2022-12-21T22:17:04.256000+00:00
Original source
only 936 lines of errors
![[Image: 1x.png?ex=690bcce0&is=690a7b60&hm=728bce...b14296e88&]](https://cdn.discordapp.com/attachments/284323424032129024/1055247561415479507/1x.png?ex=690bcce0&is=690a7b60&hm=728bce9bc4da8a248735a8f8451616d058cc372ea7a75662fbf7e21b14296e88&)
Archived author: Anchy • Posted: 2022-12-21T22:17:15.381000+00:00
Original source
wat
Archived author: Rymercyble • Posted: 2022-12-21T22:17:25.546000+00:00
Original source
in gdb output
Archived author: Anchy • Posted: 2022-12-21T22:17:38.087000+00:00
Original source
send gdb output
Archived author: Rymercyble • Posted: 2022-12-21T22:19:39.338000+00:00
Original source
this solved it so yes its most likely null
Archived author: Anchy • Posted: 2022-12-21T22:20:40.090000+00:00
Original source
yeah, usually a good idea to validate the pointers before using them
Archived author: Rymercyble • Posted: 2022-12-21T22:20:51.900000+00:00
Original source
i guess its bcs its being triggered also on npc fights around world when server starts