Adding a new char makes client crash

Results 1 to 1 of 1
  1. #1
    Novice e8315402 is offline
    MemberRank
    Mar 2023 Join Date
    1Posts

    Support Adding a new char makes client crash

    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.




Advertisement