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

Відкрити
3 місяців тому відкрито image · 1 коментарів
image відкоментовано 3 місяців тому

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 відкоментовано 3 місяців тому
Співавтор

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
Підпишіться щоб приєднатися до обговорення.
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.