GithubHelp home page GithubHelp logo

Comments (12)

soulfrost avatar soulfrost commented on August 22, 2024

@Warpten any ideas why this happens? db2 from 7.3.5, stuctures right

from dbfilesclient.net.

Warpten avatar Warpten commented on August 22, 2024

What's the file signature? I'm currently rewriting the entire library under a new namespace. Judging by your error you structure is wrong as it appears to be reading an int32 as a string offset into the stringtable, but that ends up being outside the file, either because a) this file does not have a string table or b) your structure is wrong.

from dbfilesclient.net.

soulfrost avatar soulfrost commented on August 22, 2024

library supporting db2 format from 7.3.5 ( 26365 ) ?

from dbfilesclient.net.

Warpten avatar Warpten commented on August 22, 2024

if it's not supported, an exception is thrown.

from dbfilesclient.net.

soulfrost avatar soulfrost commented on August 22, 2024

okay, lets me check structure again

from dbfilesclient.net.

soulfrost avatar soulfrost commented on August 22, 2024

@Warpten trying to parse with fresh compiled clean TC wpp, 7.3.5.26365 db2 files,

namespace WowPacketParser.DBC.Structures
{
    [DBFile("Achievement")]

    public sealed class AchievementEntry
    {
        public string Title;
        public string Description;
        public string Reward;
        public uint Flags;
        public short InstanceID;
        public ushort Supercedes;
        public ushort Category;
        public ushort UIOrder;
        public ushort SharesCriteria;
        public sbyte Faction;
        public byte Points;
        public byte MinimumCriteria;
        public uint ID;
        public uint IconFileDataID;
        public uint CriteriaTree;
    }
}

and got this

InvocationException: Адресат вызова создал исключение. ---> System.InvalidOperationException: Structure AchievementEntry is missing properties (0 found, 15 expected).
   в DBFilesClient.NET.Reader`1.GenerateRecordLoader()
   в DBFilesClient.NET.WDB6.Reader`1.GenerateRecordLoader()
   в DBFilesClient.NET.Reader`1.Load()
   в DBFilesClient.NET.Storage`1.FromStream(Stream dataStream)
   в DBFilesClient.NET.Storage`1..ctor(String fileName, Boolean readOnly)

DBFilesClient.NET.dll version 1.2.0 - latest update from nuget

from dbfilesclient.net.

Warpten avatar Warpten commented on August 22, 2024

Properties, not fields

from dbfilesclient.net.

soulfrost avatar soulfrost commented on August 22, 2024

@Warpten still cant solve that issue... can did u help me and say how to fix that problem with properties?

from dbfilesclient.net.

Warpten avatar Warpten commented on August 22, 2024

http://www.dotnetodyssey.com/2017/05/31/difference-fields-properties-c/

from dbfilesclient.net.

soulfrost avatar soulfrost commented on August 22, 2024

image
problem in signature, isnt it ?

from dbfilesclient.net.

Pveska avatar Pveska commented on August 22, 2024

Same problem. Any progress with this issue?

from dbfilesclient.net.

Warpten avatar Warpten commented on August 22, 2024

‼️ Support for DBFilesClient.NET has been discontinued. For an up-to-date libary, see DBClientFiles.NET.

from dbfilesclient.net.

Related Issues (4)

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.