#518 DoF client mender / repair

Zavřený
otevřeno před 1 rokem uživatelem image · 1 komentářů
image okomentoval před 1 rokem

Right now sending the merchant packet for the repair/mender window alone in DoF does not work, displays a blank window.

Workaround is to send buy window (type 0) first, then send a identical packet (type 16) which populates the repair panel with the items.

Repair All works, Repair a single item does not.

This workaround however avoids crashes which was the main goal, going from a normal merchant to mender would cause the merchants list to display, clicking the UI would previously crash the client.

redo how the setmerchant pointer is handled we don't want loose spawn ptrs.

Right now sending the merchant packet for the repair/mender window alone in DoF does not work, displays a blank window. Workaround is to send buy window (type 0) first, then send a identical packet (type 16) which populates the repair panel with the items. Repair All works, Repair a single item does not. This workaround however avoids crashes which was the main goal, going from a normal merchant to mender would cause the merchants list to display, clicking the UI would previously crash the client. redo how the setmerchant pointer is handled we don't want loose spawn ptrs.
image okomentoval před 7 měsíci
Spolupracovník

the issue with repairing a single item was due to the no repair flag being improperly checked so that is against both clients..

the merchant window "behaving" correctly will also be patched next... was due to the fact the "type" of merchant has changed, where-as it was (0x60)96 in newer clients (AoM and such) "classic" needs it to be (0x70)112, 0x10(16) is also set.

the issue with repairing a single item was due to the no repair flag being improperly checked so that is against both clients.. the merchant window "behaving" correctly will also be patched next... was due to the fact the "type" of merchant has changed, where-as it was (0x60)96 in newer clients (AoM and such) "classic" needs it to be (0x70)112, 0x10(16) is also set.
Přihlaste se pro zapojení do konverzace.
Načítání...
Zrušit
Uložit
Není zde žádný obsah.