Jump to content
  • 0

Character unable to move after using cashshop or pointshop NPC scripts


maciel

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  76
  • Reputation:   3
  • Joined:  06/27/20
  • Last Seen:  

Client Date: 20120410a

Server Mode: Pre-Renewal

Description of Issue:

Result:
When buying from these shop-types, or by selecting "cancel" once the UI opens, the character is unable to move from the current cell, or interact with any other NPCs. The client is not frozen; I can still increase my stats, use items, use atcommands. @refresh redraws the UI but otherwise does nothing.

Expected Result: Resume normal client operation once UI is closed.

How to Reproduce:
Give yourself some ANYPOINTS to test the pointshop with @set ANYPOINTS 10.
Use the following script to position NPCs, then attempt to close the UI.

sec_in02,34,161,3    cashshop    CashShop#sec_in02    871,501:3
sec_in02,36,161,3    pointshop    PointShop#sec_in02    871,ANYPOINTS,501:3

 

image.png.4fbd519b8714543eabbbcc943aababab.png

 

image.png.db25177a668ca12df8ad28e672e302cd.png

https://github.com/rathena/rathena/issues/7240

This client does not send 0x084a when closing the shop and therefore the server is unable to know that you closed the window and keeps thinking that you still have a shop open.

 

Does anyone know how I fix this in "src" ?

remembering that this is not a problem with the executable 20120410 but with the emulator which does not support this executable, as I tested it on the emulator of the old "Brathena 2018/09/24" and it ran smoothly without errors, does anyone know how we can fix this in the new/current "Rathena" emulator??

below are the compatible files of the executable 20120410 of the old "Brathena" that we can see that has support for the 20120410 among other old ones.

packets.h clif.c

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...