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

Hidden Content

    Give reaction to this post to see the hidden content.

offlineshop_config.cpp :

Hidden Content

    Give reaction to this post to see the hidden content.
 and offlineshop_config.h 

Hidden Content

    Give reaction to this post to see the hidden content.

offlineshop_manager.cpp 

Hidden Content

    Give reaction to this post to see the hidden content.

 

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 :

Hidden Content

    Give reaction to this post to see the hidden content.
 and offlineshop_config.h 

Hidden Content

    Give reaction to this post to see the hidden content.

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


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.