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

Ouvert
Créé il y a 3 mois par image · 1 commentaires
image a commenté il y a 3 mois

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 a commenté il y a 3 mois
Collaborateur

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
Connectez-vous pour rejoindre cette conversation.
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.