Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Enabling Treasure Trove: A Step-by-Step Guide

Joined
Jun 27, 2010
Messages
940
Reaction score
1,193
On LobbyDB.RandomStoreInitializationSchedule you can set the start date.

On server side replace expandrandomstoredata.xml and randomstoredata.xml

settings on randomstoredata.xml
To enable key trove on alias="RandomStore" replace Cash_Grocery_Key_0014 by Cash_Grocery_RandomStore_0001, change random-store-enable="n" to y, set min usable level limit-level="1", on default-slot-count="2" change to 8

If you don't want to enable gold trove tab on alias="goldRandomstore" on random-store-enable="y" change to n you also will need to change datafile_186.xml for the client side.

On cliente side
Download this unpack datafile.bin replace datafile_073.xml and datafile_186.xml repack rename the new created file "datafile_new.bin" to "datafile.bin" replace the one you have unpacked on "xml.dat.files" and repack the "xml.dat".

on datafile_186.xml
this disable gold trove tab
<data>2,0,24,9216,1,0,0,20000,0,0,0,0,1,0,51</data>
this enable gold trove tab
<data>2,0,24,257,1,0,0,20000,0,0,0,0,1,0,51</data>

unpack config.dat
edit system.config2.xml
<option name="use-random-store" value="true" />

unpack xml.dat
On client.config2.xml
To enable/disable gold trove tab enable this option.
<option name="use-ui-type-tencent-random-store" value="y" />
Here you can set the min level to use trove.
<option name="min-level-for-use-random-store" value="1" />

Item Id for Instant Treasure Trove Key 20001
Item Id for Old Winter Treasure Trove Expansion 20002

The Default trove looks like this

and if you enable the gold tab will look like this


Files for Client/Server:

Original guide found .
 
Last edited:
Newbie Spellweaver
Joined
Dec 21, 2021
Messages
8
Reaction score
1
your latest BNS tool does not seem to support repacking .dat files. Am I missing something?
 
Back
Top