Jump to content

Receive 4kkk Yang from shop offline?


Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

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
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.