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

Packet Parser: Unknown switch: 0A16 #3951

Closed
dcyxxt opened this issue Jan 15, 2025 · 8 comments · Fixed by #3952
Closed

Packet Parser: Unknown switch: 0A16 #3951

dcyxxt opened this issue Jan 15, 2025 · 8 comments · Fixed by #3952

Comments

@dcyxxt
Copy link

dcyxxt commented Jan 15, 2025

according to #3916

how can i open this GOLDPCCAFE in openkore ?

i use
'send 16 0A 47 4F 4C 44 50 43 43 41 46 45 00 00 00 00' command
then i disconnected
console.txt

[2025.01.13 18:08:04.86] Client network buffer flushed out
[2025.01.13 18:08:10.29] Packet Parser: Unknown switch: 0A16
[2025.01.13 18:08:10.30] ================================================
<< Received unknown switch [26 bytes] 2025.01.13 18:08:10
0> 16 0A 47 4F 4C 44 50 43 43 41 46 45 00 00 00 00 ..GOLDPCCAFE....
16> 00 00 00 00 00 00 00 00 00 00 ..........
[2025.01.13 18:08:10.30] Sent packet : 0A16 [26 bytes] [NPC Dynamic Create Request]
[2025.01.13 18:08:10.33] ================================================
<< Received packet: 00B4 - NPC Talk [21 bytes] 2025.01.13 18:08:10
0> B4 00 15 00 09 BE 8E 06 5B 20 D4 DA CF DF BB FD ........[ ......
16> B7 D6 20 5D 00 .. ].
[2025.01.13 18:08:10.33] An unexpected npc conversation has started, auto-creating a TalkNPC Task
[2025.01.13 18:08:10.33] Task::TalkNPC::new has been called with sequence ''.

@dcyxxt
Copy link
Author

dcyxxt commented Jan 15, 2025

i use xkore mode to open the GOLDPCCAFE shop in client,but i can't use 'send xxx' command to open it

@ya4ept
Copy link
Contributor

ya4ept commented Jan 15, 2025

Try to open it using RO client and send log from OpenKore

@ya4ept
Copy link
Contributor

ya4ept commented Jan 15, 2025

https://github.com/rathena/rathena/blob/fb637d97ebb0609664b92234c68c78a88952ab70/src/map/packets_struct.hpp#L5833

#if PACKETVER >= 20140430
struct PACKET_CZ_DYNAMICNPC_CREATE_REQUEST {
	uint16 PacketType;
	char name[NAME_LENGTH];
} __attribute__((packed));
DEFINE_PACKET_HEADER(CZ_DYNAMICNPC_CREATE_REQUEST, 0x0a16);
#endif // PACKETVER >= 20140430

@ya4ept ya4ept added feature request need info We are waiting for additional information from the author labels Jan 15, 2025
@dcyxxt
Copy link
Author

dcyxxt commented Jan 15, 2025

Try to open it using RO client and send log from OpenKore

<< Sent by RO client: 0A16 [26 bytes] 2025.01.15 16:00:22
0> 16 0A 47 4F 4C 44 50 43 43 41 46 45 00 00 00 00 ..GOLDPCCAFE....
16> 00 00 00 00 00 00 00 00 00 00 ..........
Packet Parser: Unknown switch: 0A16

<< Received unknown switch [26 bytes] 2025.01.15 16:00:22
0> 16 0A 47 4F 4C 44 50 43 43 41 46 45 00 00 00 00 ..GOLDPCCAFE....
16> 00 00 00 00 00 00 00 00 00 00 ..........

@ya4ept
Copy link
Contributor

ya4ept commented Jan 15, 2025

@dcyxxt please test this patch: #3952

@dcyxxt
Copy link
Author

dcyxxt commented Jan 16, 2025

@dcyxxt please test this patch: #3952

it worked,command 'nc' is ok~thx

@ya4ept
Copy link
Contributor

ya4ept commented Jan 16, 2025

@dcyxxt Please show me what the NPC looks like? What happens after this command is executed?

@OpenKore OpenKore deleted a comment from dcyxxt Jan 16, 2025
@OpenKore OpenKore deleted a comment from dcyxxt Jan 16, 2025
@dcyxxt
Copy link
Author

dcyxxt commented Jan 16, 2025

@dcyxxt Please show me what the NPC looks like? What happens after this command is executed?

it is not an NPC,its a GOLDshop

111111111111

As mentioned in this post
rathena/rathena#7410

i can use command to open it in openkore

@ya4ept ya4ept removed the need info We are waiting for additional information from the author label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants