Jump to content

Fix Safebox Load Items


Recommended Posts

  • Active+ Member

There is a nasty bug where sometimes some items are not loaded in the safebox.

This problem occurs because the function that interprets the data from the set packet (RecvSafeBoxSetPacket) is called too early.

Fix:

// PythonNetworkStream.cpp
// 1. Search:
			Set(HEADER_GC_SAFEBOX_SET,	CNetworkPacketHeaderMap::TPacketType(sizeof(TPacketGCItemSet), STATIC_SIZE_PACKET));
// 1. Replace with:
			Set(HEADER_GC_SAFEBOX_SET,	CNetworkPacketHeaderMap::TPacketType(sizeof(TPacketGCItemSet2), STATIC_SIZE_PACKET));

 

  • Metin2 Dev 3
  • Scream 1
  • Love 1
  • Love 4
Link to comment
Share on other sites

  • Honorable Member

You're forgetting Mall:

// PythonNetworkStream.cpp
// 1. Search:
			Set(HEADER_GC_MALL_SET,	CNetworkPacketHeaderMap::TPacketType(sizeof(TPacketGCItemSet), STATIC_SIZE_PACKET));
// 1. Replace with:
			Set(HEADER_GC_MALL_SET,	CNetworkPacketHeaderMap::TPacketType(sizeof(TPacketGCItemSet2), STATIC_SIZE_PACKET));

 

 

Edited by martysama0134
  • Good 1
  • Love 2
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.