Jump to content
×
×
  • Create New...
  • 0

Receive 4kkk Yang from shop offline?


DeYaN.

Question

13 answers to this question

Recommended Posts

  • 0

Yeap ,the problem is from old yang limit incrase , 

I compare the files with old system but with limit incrase ,and i modify at offlineshop_config.h/cpp , at GOLD_MAX and g_dwNeedMoney ( from dword - > long long ) ,  now in game, the shop don't give me 4kkk ,now he give me 0,8kkk... :))

# Can somebody help me with a full solutions , i`m compare the all files from source, but i dont see anything 

I`m not skilled in source :P And sorry for my english :))

Link to comment
  • 0
10 hours ago, Endymion said:

char.cpp

 

Here is all what i have with that function ,

Spoiler

#ifdef ENABLE_MAXIMUM_YANG_FOR_OFFLINE_SHOP
void CHARACTER::OpenMyOfflineShop(const char * c_pszSign, TOfflineShopItemTable * pTable, BYTE bItemCount, BYTE bTime)
#else
void CHARACTER::OpenMyOfflineShop(const char * c_pszSign, TShopItemTable * pTable, BYTE bItemCount, BYTE bTime)
#endif

And here is all char.cpp http://pastebin.com/tQ6zar86

offlineshop_config.cpp :http://pastebin.com/tkk62Z7m and offlineshop_config.h http://pastebin.com/f1xd00bR

offlineshop_manager.cpp http://pastebin.com/5D811FRL

 

Link to comment
  • 0
20 hours ago, Hesher said:

Enter in serverside / OFFLINE_SHOP_CONFIG and change this : OFFLINE_SHOP_NEED_MONEY: 0 500

with this

#OFFLINE_SHOP_NEED_MONEY: 0 500

EDIT #

THX YOU FOR REPLY , with that it work , but the function it`s problem and i want to solve because i want to use the required money :D

Link to comment
  • 0

Just comment these rows, in case if you don't want use yang fee for shops opening:
 

	if (g_bNeededMoney)
		PointChange(POINT_GOLD, -g_dwNeedMoney, false);

 

Otherwise make sure that 'offlineshop_config' works like it should.

Regards.

Link to comment
  • 0
20 hours ago, wezt said:

Just comment these rows, in case if you don't want use yang fee for shops opening:
 

	if (g_bNeededMoney)
		PointChange(POINT_GOLD, -g_dwNeedMoney, false);

 

Otherwise make sure that 'offlineshop_config' works like it should.

Regards.

 

Thx you for reply  , this is my  offlineshop_config.cpp :http://pastebin.com/tkk62Z7m and offlineshop_config.h http://pastebin.com/f1xd00bR

It`s ok ? :D

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.