[DiscordArchive] You said that your server crashes when removing a buff. What are the crash logs saying about the cra
[DiscordArchive] You said that your server crashes when removing a buff. What are the crash logs saying about the cra
Archived author: Srzm • Posted: 2023-08-21T10:26:51.360000+00:00
Original source
Ah, I see: Linux. No idea where the crash logs are there and how they look there.
Archived author: Srzm • Posted: 2023-08-21T10:27:48.405000+00:00
Original source
But there should be such a log where you can see the reason your server crashed.
Archived author: Krutok • Posted: 2023-08-21T10:30:50.395000+00:00
Original source
only the client crashes, not the server
Archived author: Krutok • Posted: 2023-08-21T10:31:10.564000+00:00
Original source
// Prevent stacking of mounts and client crashes upon dismounting
Archived author: Srzm • Posted: 2023-08-21T10:33:00.434000+00:00
Original source
Okay, that's what I got wrong. Sorry.
Then I'll refer to jackpoz' answer from above. You gotta find the issue - try debugging it.
Archived author: jackpoz • Posted: 2023-08-21T10:35:44.208000+00:00
Original source
well, if it's the wow client crashing, nothing I can help with
Archived author: Krutok • Posted: 2023-08-21T10:36:13.740000+00:00
Original source
I would also need to download the source code to my windows computer as I only have one file. and I would first have to configure everything and download the necessary things for Windows.
Archived author: Krutok • Posted: 2023-08-21T10:37:21.364000+00:00
Original source
is also so in the original code that only the client crashes if you dismounted.
if (Player* target = GetHitPlayer())
{
// Prevent stacking of mounts and client crashes upon dismounting
target->RemoveAurasByType(SPELL_AURA_MOUNTED, ObjectGuid::Empty, GetHitAura());
Archived author: Krutok • Posted: 2023-08-21T10:39:39.457000+00:00
Original source
<@228947336800370689>the two scripts can be properly compiled but in the game i have 2 mount auras and when i dismount my client crashes. so something is still missing in the code snipsel which I forgot to copy, so that
is also so in the original code that only the client crashes if you dismounted.
if (Player* target = GetHitPlayer())
{
// Prevent stacking of mounts and client crashes upon dismounting
target->RemoveAurasByType(SPELL_AURA_MOUNTED, ObjectGuid::Empty, GetHitAura());
which is performed and the double aura is removed.
Archived author: Krutok • Posted: 2023-08-21T10:44:42.024000+00:00
Original source
I see no error there now. But I'm also not a great programmer and I only took the original and changed 2 values, the rest is the same