Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Crash Fixed In Duel Mode

Experienced Elementalist
Joined
Oct 14, 2015
Messages
293
Reaction score
86
I see that in most gunz nowadays the problem of crashing in duel mode while you are in observer mode still continues to occur, I found a way that this can be fixed.
It's something simple and easy to add. :junglejane:

Open: ZGame.cpp
Line: 6509
Old Code:
Code:
if (pObserver && pObserver->IsVisible())
    uidTarget = pObserver->GetTargetCharacter()->GetUID();

New Code:

Code:
if (pObserver && pObserver->IsVisible() && pObserver->GetTargetCharacter()->GetUID() != MUID(0, 0))
    uidTarget = pObserver->GetTargetCharacter()->GetUID();

Credits: Me
 
Back
Top