#518 DoF client mender / repair

已关闭
image1 年之前创建 · 1 条评论
image 评论于 1 年之前

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 评论于 7 月之前
协作者

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.
image7 月之前 关闭
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。