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!

Adding a new char makes client crash

Initiate Mage
Joined
Mar 2, 2023
Messages
1
Reaction score
0
Hello guys,

I am making my Trickster server. My goal is to add some new equipment.
Since adding a new item is not easy work, I started with adding a single word to the description of an item (item_index: 600042). It doesn't work.

I read some threads. Here is how I did it:
1. use a hex editor (HxD) to decrypt the libconfig.dat (remove 01)
2. use Cabala_DatDec.exe to generate the xml file (libconfig.xml)
3. edit the libconfig.xml by VScode in binary mode (I add a single Chinese character)
4. use xml_idx_E.exe to generate a new index file (libconfig.idx) for the xml file.
5. use Cabala_DatDec.exe to compress the xml back to the dat (libconfig.dat)
6. encrypt the dat file by adding 01 at the first-byte position.

I tried a lot of ways based on what I learned from the posts in the forum but none of them works.

* the size of libconfig.dat should not be bigger/smaller than what it was
* the libconfig.idx should be re-generated if we add/remove the content from the libconfig.dat because the client side uses the idx file to locate the content in the dat file.
* the dat/idx files can be inconsistent on the client and server sides.

Can anyone point out what step is wrong?

Thanks to every contributor in the forum. I learned a lot from you.:thumbup:
 
Initiate Mage
Joined
Nov 14, 2022
Messages
3
Reaction score
7
why use hex editor to edit libconfig.dat ?.
use TO Toolbox to export dat file to xml
an use TO toolbox to edit xml file

at libconfig,add info:
edit ItemParam2 table ,add your item info
edit Equip_Property table,add item info

at database, add info:
ini_item_index
ini_item_compound_equip_index
ini_item_option_index
 

Attachments

You must be registered for see attachments list
Upvote 0
Back
Top