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

Otevřený
otevřeno před 3 měsíci uživatelem image · 1 komentářů
image okomentoval před 3 měsíci

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 okomentoval před 3 měsíci
Spolupracovník

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
Přihlaste se pro zapojení do konverzace.
Načítání...
Zrušit
Uložit
Není zde žádný obsah.