#568 KoS/DoF clients UI timeout due to spell->SerializeSpell of type 3

Открыто
1 месяц назад открыта image · комментариев: 1
image прокомментировал 1 месяц назад

Doesn't seem to like the response packets, we send a second round of packets to "shut it up" via this logic:

    if (spell && !CountSentSpell(spell->GetSpellID(), spell->GetSpellTier())) {
        if (!spell->IsCopiedSpell())
            SetSentSpell(spell->GetSpellID(), spell->GetSpellTier());

        EQ2Packet* app = spell->SerializeSpell(this, display, trait_display);
        //DumpPacket(app);
        QueuePacket(app);
    }
    else if(spell && GetVersion() <=561 && CountSentSpell(spell->GetSpellID(), spell->GetSpellTier())) {
        EQ2Packet* app = spell->SerializeSpell(this, display, trait_display, GetVersion() <= 561 ? true : false);
        //DumpPacket(app);
        QueuePacket(app);
    }

the else if statement having the version check and the boolean true is what "stops" the onslaught of repeat requests for the same spell.

Struct is probably off for SpellInfo.

Doesn't seem to like the response packets, we send a second round of packets to "shut it up" via this logic: if (spell && !CountSentSpell(spell->GetSpellID(), spell->GetSpellTier())) { if (!spell->IsCopiedSpell()) SetSentSpell(spell->GetSpellID(), spell->GetSpellTier()); EQ2Packet* app = spell->SerializeSpell(this, display, trait_display); //DumpPacket(app); QueuePacket(app); } else if(spell && GetVersion() <=561 && CountSentSpell(spell->GetSpellID(), spell->GetSpellTier())) { EQ2Packet* app = spell->SerializeSpell(this, display, trait_display, GetVersion() <= 561 ? true : false); //DumpPacket(app); QueuePacket(app); } the else if statement having the version check and the boolean true is what "stops" the onslaught of repeat requests for the same spell. Struct is probably off for SpellInfo.
image прокомментировал 1 месяц назад
Соавтор

workaround is to use eq2_default.ini and add this setting:

cl_load_ui_resources_timeout 0

workaround is to use eq2_default.ini and add this setting: cl_load_ui_resources_timeout 0
Войдите, чтобы присоединиться к обсуждению.
Загрузка...
Отмена
Сохранить
Пока нет содержимого.