Jump to content

Recommended Posts

  • Bot

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

english_banner.gif

Link to comment
https://metin2.dev/topic/30888-fix-safebox-load-items/
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
https://metin2.dev/topic/30888-fix-safebox-load-items/#findComment-157882
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.