Skip to content

Can't get a mod to work due to calls to nil values #114

@C0rn3j

Description

@C0rn3j

Link to mod

I've been trying to get the Pirate Perfection 'trainer' to work on Arch Linux with blt4l, but the further I got was renaming MOD.txt to mod.txt and getting the game to not crash on launch and getting into missions.

I can load the mod 'WolfHUD' just fine, so I'm assuming my setup is correct but this mod is either broken, or something blt4l does is not what the normal blt or the Windows game does.

If you tell me this is a problem with the mod itself I'll go post a report to their page instead, but I first wanted to make sure it's not a Linux specific issue by asking here.

I tried by using their entire 'mods' folder and by using the blt4l generated mods folder, and both give identical behavior and logs.

Errors from the log:

10:46:01 PM Lua: Loading mod settings : nil
10:46:01 PM Error: LUAErrRun loading LUA file mods/base/req/xaudio/XAudioMovement.lua
10:46:01 PM Error: mods/base/req/xaudio/XAudioMovement.lua:3: attempt to index global 'blt' (a nil value)
10:46:01 PM Error: LUAErrRun loading LUA file mods/PPreborn/Trainer/setup/pre_init.lua
10:46:01 PM Error: mods/PPreborn/Trainer/setup/__require.lua:132: attempt to call upvalue 'orig__require' (a nil value)
10:46:01 PM Info: Type: 4
10:46:01 PM Info: ref: 5
10:46:02 PM Error: LUAErrRun loading LUA file mods/PPreborn/Trainer/setup/init.lua
10:46:02 PM Error: mods/PPreborn/Trainer/setup/__require.lua:132: attempt to call upvalue 'orig__require' (a nil value)
10:46:02 PM Error: LUAErrRun loading LUA file mods/PPreborn/Trainer/setup/main_init.lua
10:46:02 PM Error: mods/PPreborn/Trainer/setup/main_init.lua:8: attempt to call local 'ppr_dofile' (a nil value)

Full log: https://haste.rys.pw/raw/ibifokedev

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