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] /changename support #4260

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

[Request] /changename support #4260

fryguy503 opened this issue Apr 15, 2024 · 0 comments

Comments

@fryguy503
Copy link
Contributor

Description

/changename (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_GMNameChange, but is smaller than the expected packet size and is discarded.

4/15/2024 4:59:56 PM Wrong size: OP_GMNameChange, size=[132], expected [196]
4/15/2024 4:59:56 PM [OP_GMNameChange] [0x035f] Size [134]
0: 54 72 75 73 74 74 65 73 - 74 00 00 00 00 00 00 00 | Trusttest.......
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 name and the current name. This falls into the current structures 64 and 64 bytes.

struct GMName_Struct {
	char oldname[64];
	char gmname[64];
	char newname[64];
	uint8 badname;
	uint8 unknown[3];
};

However it looks like it is giving them in a different order.

Screenshots

Window manually opened.
image

Window manually opened and a request submitted.
image

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

1 participant