Jump to content

Recommended Posts

Hello, i added bigger yang limit from this it works but when im in game and make shop, shop shows me random numbers. at photo i set the price at 10T i can buy it for 10T but in shop is another price. Anybody know how to fix that please? spacer.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/28744-shop-showing-bad-price/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Active Member

Check packets game source and binary. 

 

Check this packets 
command_exchange
SShopItemTable
packet_shop_update_price
packet_exchange

#ifdef ENABLE_REMOVE_LIMIT_GOLD
	unsigned long long		price;
#else
    DWORD		price;
#endif


extend_inventory_packet
#ifdef ENABLE_REMOVE_LIMIT_GOLD
enum {
	HEADER_GC_CHARACTER_GOLD 		= 224,
	HEADER_GC_CHARACTER_GOLD_CHANGE = 225,	
};

typedef struct packet_gold
{
	BYTE	header;
	unsigned long long		gold;
} TPacketGCGold;

typedef struct packet_gold_change
{
	int		header;
	DWORD	dwVID;
	long long	amount;
	unsigned long long	value;
} TPacketGCGoldChange;
#endif

Remember that it must coincide. But first of all check if your binary packages match those on the src game.

Link to comment
https://metin2.dev/topic/28744-shop-showing-bad-price/#findComment-147509
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.