Code Monkey home page Code Monkey logo

Comments (5)

wwylele avatar wwylele commented on August 23, 2024 2

Fixed in 3eb805c. Thanks!

from mhrice.

dtlnor avatar dtlnor commented on August 23, 2024 1

I have seen -1 that has corresponding data "1400" (in integer), so I believe that's just garbage data

because when I checking those file has -1 value. I saw the value inside always going to the string part(larger than data_offset) if we handle it as offset.
for example:
natives\STM\npc\Message\nid801_MR.msg.539100710, all the values are 151948, which if I found the value at that offset, it is 0x0000
natives\NSW\Message\Quest\Quest_Demo_MR.msg.539100710, all the values are 32304, which if I found the value at that offset, it is 0x0000
natives\NSW\Message\Quest\Quest_Demo.msg.539100710, all the values are 160168, which if I found the value at that offset, it is 0x0000
for that file has 82ADE89D-FEB631FA mmh, all the values are 1400, which if I found the value at that offset, it is 0x0000

so I guess -1 is some thing like disabled. and its value is an offset always pointing to the string part with the value 0x0000 which is ""

I tried to assert its value must be between the data_offset and EOF, and assert the string value must be 0x0000, its fine with all the msg files in current game version

although it is still garbage data

from mhrice.

wwylele avatar wwylele commented on August 23, 2024

I remember last time I saw some inconsistent data so I didn't resolve it this way. Will revisit

from mhrice.

dtlnor avatar dtlnor commented on August 23, 2024

-1 : could be a string? (a u64 offset pointing to a actual string), it seems like it is always pointing to a null string(0x0000). From the nid801_MR.msg.539100710 and Quest_Demo_MR.msg.539100710 file

from mhrice.

wwylele avatar wwylele commented on August 23, 2024

I have seen -1 that has corresponding data "1400" (in integer), so I believe that's just garbage data

from mhrice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.