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

Unknown switch: 0A15 #3907

Closed
ya4ept opened this issue Dec 17, 2024 · 2 comments
Closed

Unknown switch: 0A15 #3907

ya4ept opened this issue Dec 17, 2024 · 2 comments

Comments

@ya4ept
Copy link
Contributor

ya4ept commented Dec 17, 2024

Add package support:

<< Received packet:      0A15 [12 bytes]   2024.12.17 09:12:57
  0>  15 0A 01 01 35 00 00 00    AF 00 00 00                ....5.......
[2024.12.17 09:12:57.41] Packet Parser: Unknown switch: 0A15
#if PACKETVER >= 20140611
struct PACKET_ZC_GOLDPCCAFE_POINT {
	// Note: 2014-04-30 has 1 byte less, but those packets are only functional after 2014-06-11Ragexe
	uint16 PacketType;
	int8 isActive; //< 1 = yes, 0 = no
	int8 mode;
	int32 point;
	int32 playedTime;
} __attribute__((packed));
DEFINE_PACKET_HEADER(ZC_GOLDPCCAFE_POINT , 0x0a15);
#endif // PACKETVER >= 20140611
@kidultwoo
Copy link

Add package support:

<< Received packet:      0A15 [12 bytes]   2024.12.17 09:12:57
  0>  15 0A 01 01 35 00 00 00    AF 00 00 00                ....5.......
[2024.12.17 09:12:57.41] Packet Parser: Unknown switch: 0A15
#if PACKETVER >= 20140611
struct PACKET_ZC_GOLDPCCAFE_POINT {
	// Note: 2014-04-30 has 1 byte less, but those packets are only functional after 2014-06-11Ragexe
	uint16 PacketType;
	int8 isActive; //< 1 = yes, 0 = no
	int8 mode;
	int32 point;
	int32 playedTime;
} __attribute__((packed));
DEFINE_PACKET_HEADER(ZC_GOLDPCCAFE_POINT , 0x0a15);
#endif // PACKETVER >= 20140611

The code "0A15 12" already exists in my RECVPACKETS.txt document. Do I need to perform any other operations? And which TXT document should I copy the above - mentioned code into?

@ya4ept
Copy link
Contributor Author

ya4ept commented Dec 24, 2024

You don't need to touch the code above!
Try applying this patch: #3916

@ya4ept ya4ept closed this as completed Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants