Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mod caused nil error in zk utility function #5801

Copy link
Copy link

Description

@SteelBlueZK
Issue body actions

[t=00:07:46.006454][f=0030033] Error: [LuaRules::RunCallInTraceback] error=2 (LUA_ERRRUN) callin=GameFrame trace=[Internal Lua error: Call failure] [string "LuaRules/Utilities/unittypechecker.lua"]:63: attempt to index local 'ud' (a nil value)
This error seems to happen every frame once it starts
source link

This error comes out of this replay:
https://zero-k.info/Battles/Detail/2472912

running this mod: https://zero-k.info/Mods/Detail/31

The mod changes stuff about commanders, and is most likely an interaction with code from the commander egg update.

Probably just needs a change to return false when it's given an improper unit def ID and let errors scream elsewhere.

Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.