• Stop Motion Helper - NEED HELP!
    9 replies, posted
I used SMH before, I know HOW to use it. I deleted GMod from Steam, but before deleting the files, I backed up some folders, such as Legacy addons, the Lua folder, Data, Dupes, Saves, etc. I deleted the Workshop addons in my directory though. Well, I reinstalled GMod the other day, and it just so happens that when I press my +smh_menu key, I get the error message at the top right that says that SMH is creating script errors, and that it wants me to check the console for details. This is what it said. [Stop Motion Helper] lua/smh/client/concommands.lua:23: attempt to index field 'Data' (a nil value)   1. unknown - lua/smh/client/concommands.lua:23    2. unknown - lua/includes/modules/concommand.lua:54 Does anyone know how to fix this? If there's supposed to be an SMH folder in GarrysMod\garrysmod\lua, there isn't one.
Moved to the correct section. The file paths are virtual, the smh folder is probably in a gma you'll have to unpack to see the code.
So what should I do? How can I unpack the .gma?
Drag the gma on top of gmad.exe in your ~/GarrysMod/bin folder
Then what? Try to give me a step-by-step process if you have to. Am I looking for a specific line of code?
Then the decompiled gma will be in the location you dragged it from. The specific line of code and file are specified in the error you posted.
Well, I decompiled it. I found the file locations of the concommands from things in lua\smh\ But what does that mean? Sorry, I'm not a programmer. Those errors I stated at the top... why is it having errors when attempting to index the field that is specified, like "Data"?
"Data" is nil/doesn't exist. I would recommend learning some basic Lua to understand the code you're reading.
Well what can I do to fix it? somehow add some sort of data line?
It completely depends on the code and what "Data" is supposed to be. Perhaps you should contact the author.
Sorry, you need to Log In to post a reply to this thread.