Guys, any one add some coast to offline trade system? I mean player need pay to use offline trade.
2 posters
Add Offline trade for some item
ProDev- Posts : 26
Join date : 2014-11-12
- Post n°2
Re: Add Offline trade for some item
Hi there!
As nulled06 requested, I implemented offline trade charging, it works as follows:
Here is the patch: http://cl.ly/code/3h2p2D0p2u15. Compatible with rev.505
Enjoy!
Greetings from Russia,
EDev team.
As nulled06 requested, I implemented offline trade charging, it works as follows:
- Server administrator has to define two parameters: OfflineTradeChargeItem and OfflineTradeChargeCount in custom.properties. If item ID = 0 - charging is skipped.
- When a player logs out, service tries to put him to offline trade mode
- If there are enough items in a player's inventory, he is charged for a defined amount of items and put to offline trade
- If there are not enough items - offline trade is skipped
Here is the patch: http://cl.ly/code/3h2p2D0p2u15. Compatible with rev.505
Enjoy!
Greetings from Russia,
EDev team.
|
|