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

باز‌کردن
3 ماه پیش باز شده توسط 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 نظر 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
برای پیوستن به گفتگو، وارد شودید.
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.