9kittencorn Posted July 11, 2017 Share Posted July 11, 2017 Hey guys, hope you can help me. I'm trying to make my own character but it doesn't work. The game gives me a "Warning", so something can't be correct. Please don't delete this post, if I'm posting it into the wrong forum. Here is the error-text : [string *scripts/mainfunctions.lua*]:119: Error loading file prefabs/Ren [string *../mods/Ren/scripts/prefabs/Ren.lia*]:62: function arguments expected near "=" LUA ERROR strack traceback: =[C] in function 'assert' scripts/mainfunctions.lua(119.1) =(tail call) ? scripts/mods.lua(154.1) scripts/mods.lua(593.1) in function 'RegisterPrefabs' scripts/gamelogic.lua(226.1) in function 'LoadAssets' Link to comment Share on other sites More sharing options...
GentlemanFridge Posted July 12, 2017 Share Posted July 12, 2017 @ImDaMisterL, care to move this to the nodding topics? Link to comment Share on other sites More sharing options...
Sinister_Fang Posted July 12, 2017 Share Posted July 12, 2017 1 hour ago, WishIHadAFridge said: @ImDaMisterL, care to move this to the nodding topics? *nods* Sorry for being completely off-topic, but I found it to be an amusing typo... Link to comment Share on other sites More sharing options...
alainmcd Posted July 12, 2017 Share Posted July 12, 2017 *nods* The error means the Lua interpreter thinks you are trying to call a function, but you didn't do it properly. However, it usually means you wrote something like this inst:thing = a when you meant this inst.thing = a Withouth seeing your code it's impossible to tell what the error message exactly refers to. You should find the source of the error in the line 62 of your Ren.lua (lia?) or the previous line of code. In the future you'll want to post directly in the DST Modding section. And welcome to the forums! Link to comment Share on other sites More sharing options...
Lumina Posted July 12, 2017 Share Posted July 12, 2017 It took me a while to see the error in your example... Link to comment Share on other sites More sharing options...
9kittencorn Posted July 15, 2017 Author Share Posted July 15, 2017 Thanks for helping me guys. Should I upload the script files in here? I'm totally a noob in this. It's my first time doing something like this... Again: Thanks for helping me Ren.lua hounded.lua modmain.lua Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.