syllxvestern Posted April 21, 2021 Share Posted April 21, 2021 Please help, why I got this error, I have no clue really Link to comment Share on other sites More sharing options...
CmP Posted April 22, 2021 Share Posted April 22, 2021 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 More sharing options...
Question
syllxvestern
Please help, why I got this error, I have no clue really
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.