Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] /changepetname support #4261

Open
fryguy503 opened this issue Apr 15, 2024 · 2 comments
Open

[Request] /changepetname support #4261

fryguy503 opened this issue Apr 15, 2024 · 2 comments

Comments

@fryguy503
Copy link
Contributor

Description

/changepetname (and the associated server side flag that should trigger the name change window), as well as questapi calls to trigger, would be useful for server owners to flag and enable players to manage name changes.

Packet sent from the client to server is OP_Unknown - 0x5dab -- The layout seems to mimic the /changename packet layout

4/15/2024 5:05:55 PM [OP_Unknown] [0x5dab] Size [134]
0: 54 72 75 73 74 73 70 65 - 74 6E 61 6D 65 00 00 00 | Trustspetname...
16: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
32: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
48: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
64: 54 72 75 73 74 00 00 00 - 00 00 00 00 00 00 00 00 | Trust...........
80: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
96: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
112: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
128: 00 00 00 00

You can see the desired pet name and the current player name.

Screenshots

Window manually opened.
image

Window manually opened and a request submitted.
image

@Valorith
Copy link
Contributor

This would be sweet!

@xackery
Copy link
Contributor

xackery commented Jul 11, 2024

EQUI_NameChangeMercWnd, EQUI_NameChangePetWnd and EQUI_NameChangeWnd are the UI elements

eq_str 4625 You have manually opened the pet name change window. If you are eligible for a pet name change, please enter your desired new pet name into the text field and click "Submit Name". NOTE: Changing your pet's name will change the current pet as well as all future pets.
and 4627 You are eligible for a pet name change! If you are ready to make the change now, please enter your desired new pet name into the text field and click "Submit Name". If you want to make the change later, just click "Remind Me Later", and this window will appear the next time you log in. Additionally, if you wish for this window to stop appearing altogether, simply click "Disable Reminder". You can also use the command "/changepetname" to manually open this window. NOTE: Changing your pet's name will change the current pet as well as all future pets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants