#249 Swimming bug

Kapalı
neatz09 tarafından 3 yıl önce kere açıldı · 1 yorum
neatz09 3 yıl önce olarak yorumlandı

Fresh load of a client swimming acts as normal. Target a spawn then attempt to swim -> cant swim Relog character after target -> still cant swim Reload client -> can swim If targeting a spawn while swimming -> Will sink the bottom of the water and be unable to swim

Fresh load of a client swimming acts as normal. Target a spawn then attempt to swim -> cant swim Relog character after target -> still cant swim Reload client -> can swim If targeting a spawn while swimming -> Will sink the bottom of the water and be unable to swim
image 3 yıl önce olarak yorumlandı
Katkıcı

Spawn::InitializeInfoPacketData

This might be caused by follow_target, issue goes away if I comment out the 0xFFFFFFFF target_id when there is no follow target:

    // If player and player has a follow target
    if (IsPlayer()) {
        if (((Player*)this)->GetFollowTarget())
            packet->setDataByName("follow_target", ((((Player*)this)->GetIDWithPlayerSpawn(((Player*)this)->GetFollowTarget()) * -1) - 1));
        //else
        //  packet->setDataByName("follow_target", 0xFFFFFFFF);
    }
    //else if (!IsPet()) {
    //  packet->setDataByName("follow_target", 0xFFFFFFFF);
    //}
Spawn::InitializeInfoPacketData This might be caused by follow_target, issue goes away if I comment out the 0xFFFFFFFF target_id when there is no follow target: ``` // If player and player has a follow target if (IsPlayer()) { if (((Player*)this)->GetFollowTarget()) packet->setDataByName("follow_target", ((((Player*)this)->GetIDWithPlayerSpawn(((Player*)this)->GetFollowTarget()) * -1) - 1)); //else // packet->setDataByName("follow_target", 0xFFFFFFFF); } //else if (!IsPet()) { // packet->setDataByName("follow_target", 0xFFFFFFFF); //} ```
image 3 yıl önce işlemesinde bu sorunu işaret etti
Giriş yap bu konuşmaya katılmak için.
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.