Jump to content
  • 0

Error chainer.lua


syllxvestern

Question

1 answer to this question

Recommended Posts

The crash occurred during execution of the code on line 20 of the script. Script is open-source so we can check the code of interest (lines 19-20 in this case): 

local ti = gg.getTargetInfo()
local x64 = ti.x64

From error description and this code we can see that the error occurs because the call to "gg.getTargetInfo" function results in nil value being returned and saved in "ti" variable. Script expects table to be returned and accesses "x64" field of it, but nil is not a table and accessing fields of nil value is not a legal operation in Lua so script execution is terminated.

This script needs the data that is normally returned by "gg.getTargetInfo" function to work. So the problem is that "gg.getTargetInfo" function returns nil for you. This may (or may not) mean that GG is unable to retrieve that data for some reason.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.