Skip to content

GetREFRs() requires integer for the c library yet provied a filename #18

Description

@zergvszerg

when called from https://github.com/z-edit/zedit-example-patcher/blob/c60cdc42987e8547404d4217c1cca802f94c8293/index.js#L77

            // loads all REFRs that place Weapons
            records: filesToPatch => {
                let records = filesToPatch.map(f => {
                    return xelib.GetREFRs(f, 'WEAP');
                });
                return Array.prototype.concat.apply([], records);
            },

it pass a filename, yet in xelib.GetREFRs() the argument 0 is passed on to the dll which requires a integer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions