ItemENCTemplate.bt error

Results 1 to 4 of 4
  1. #1
    Novice Kuserow is offline
    MemberRank
    Jun 2010 Join Date
    4Posts

    ItemENCTemplate.bt error

    When i used ItemENCTemplate for decoding item.enc in 010 Editor have some errors

    I used ItemENCTemplate.bt :
    Code:
    typedef struct {float row[4];} Vec4D;
    typedef struct {Vec4D col[4];} Matrix4x4;       //  Stupid crap that needs to be done to emulate a multi-dimensional array ،_،
    
    //--------------------------------------
    
    typedef enum <uint32> {
        _1x1     = 0,
        _1x2     = 1,
        _1x3     = 2,
        _1x4     = 3,
        _2x1     = 4,
        _2x2     = 5,
        _2x3     = 6,
        _2x4     = 7,
        _3x1     = 8,
        _3x2     = 9,
        _3x3     = 10,
        _3x4     = 11,
        _4x1     = 12,
        _4x2     = 13,
        _4x3     = 14,
        _4x4     = 15,
    } SLOTS;      // Width x Height
    
    typedef enum <uint32> {
        m_BATTLE       = 1,
        a_ARMOUR        = 2,
        z_MARTIAL       = 0
    } DISP;
    
    typedef enum <uint32> {
        IDT_UCOR        = 0,
        IDT_OCOR        = 1,
        IDT_QDID        = 2,
        IDT_QDIT        = 3,
        IDT_WSCL        = 4,
        IDT_MWPN        = 5,
        IDT_1HND        = 6,
        IDT_2HND        = 7,
        IDT_SUIT        = 8,
        IDT_GLOV        = 9,
        IDT_BOOT        = 10,
        IDT_HMET        = 11,
        IDT_ALZS        = 13,
        IDT_PTON        = 14,
        IDT_RING        = 15,
        IDT_NLCE        = 16,
        IDT_CLOK        = 17,
        IDT_QSTS        = 18,
        IDT_QSTN        = 19,
        IDT_QDMI        = 20,
        IDT_VEHI        = 22,
        IDT_PANT        = 24,
        IDT_SPOS        = 27,
        IDT_FMUC        = 28,
        IDT_EXTR        = 29,
        IDT_CTOL        = 30,
        IDT_CLVU        = 31,
        IDT_ERNG        = 32,
        IDT_BSLI        = 33,
        IDT_LOTT        = 34,
        IDT_COEN        = 35,
        IDT_FXTS        = 36,
        IDT_FXTN        = 37,
        IDT_BLBD        = 38,
        IDT_WCCL        = 39,
        IDT_RSRT        = 42,
        IDT_CURE        = 43,
        IDT_CHNG        = 44,
        IDT_RNCD        = 45,
        IDT_RSPN        = 46,
        IDT_GLDE        = 50,
        IDT_PETN        = 51,
        IDT_FXFS        = 52,
        IDT_AVAN        = 54,
        IDT_BALN        = 55,
        IDT_GEND        = 56,
        IDT_RPNS        = 57,
        IDT_FTSM        = 58,
        IDT_LKWP        = 59,
    } TYPE;
    
    typedef struct {
        char VisualID[60];
        char ItemID[60];
        char DescID[60];
        ubyte unk_0[20];
        TYPE Type;
        DISP DisplayCode_pt1;
        uint32 DisplayCode_pt2;
        ubyte unk_2[56];
        uint32 LimitLevel;
        uint32 unk_3;
        uint32 LimitReputation;
        ubyte unk_4[32];
        uint32 dSTR2;
        uint32 dDEX2;
        uint32 dINT2;
        uint32 PriceSell;
        SLOTS SlotSpaces;
        uint32 ValueLv;
        uint32 AttackRate_Opt1;
        uint32 DefenRate_Opt1Val_PhyAttMax;
        uint32 Defense_LEVLmt_MagAttVal;
        uint32 MaxCore;
        uint32 Opt2_STRLmt1;
        uint32 DEXLmt1_Opt2Val;
        uint32 INTLmt1_Opt3;
        uint32 Opt3Val_STRLmt2;
        uint32 DEXLmt2_Opt4;
        uint32 INTLmt2_Opt4Val;
        uint32 dSTR1;
        uint32 dDEX1;
        uint32 dINT1;
        uint32 Property;
        ubyte EnchantCodeLnk;
        ubyte unk_5;
        ubyte Grade;
        ubyte unk_6;
        ubyte LimitClass;
        ubyte unk_7;
        ubyte PeriodType;
        ubyte PeriodUse;
    } ITEM;
    
    //--------------------------------------
    
    FSeek(0);
    
    struct LI {
        ITEM Items[1668]<optimize=false>;
    } Items;
    Anyone can help?


  2. #2
    Valued Member Pupacila is offline
    MemberRank
    Jan 2009 Join Date
    104Posts

    Re: ItemENCTemplate.bt error

    How do hell do you expect anyone to help you if you dont even post what's the error?

    Learn to use a forum kids!

  3. #3
    Novice Kuserow is offline
    MemberRank
    Jun 2010 Join Date
    4Posts

    Re: ItemENCTemplate.bt error

    when using template have error on:

    char VisualID[60];
    char ItemID[60];
    char DescID[60];

    ubyte unk_4[32];

    uint32 dINT2;
    uint32 PriceSell;

    If are more, I don't know.

  4. #4
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,517Posts

    Re: ItemENCTemplate.bt error

    Try unpacking the item.enc first...



Advertisement