Jump to content

Recommended Posts

I have error in My Character for Don't starve
I launch my mod and I see error : /common/dont_starve/mods/MrManGo/modmain.lua:13:'<name>' expected near '<eof>' !


In the Modmain:

PrefabFiles = {
"MrManGo",


}
Assets = {
Asset( "IMAGE", "images/saveslot_portraits/MrManGo.tex" ),
Asset( "IMAGE", "images/selectscreen_portraits/MrManGo.tex" ),
Asset( "IMAGE", "images/selectscreen_portraits/MrManGo_silho.tex" ),
Asset( "IMAGE", "bigportraits/MrManGo.tex" ).


AddModCharacter("MrManGo")

Help! :lemo:

This is either really easy or you copied something wrong (or I'm a big dummy). You didn't close your ASSETS table with a } and you put a dot after the last element of that list.

Those kind of errors are really basic and you should be able to fix that yourself in the future.

This is either really easy or you copied something wrong (or I'm a big dummy). You didn't close your ASSETS table with a } and you put a dot after the last element of that list.

Those kind of errors are really basic and you should be able to fix that yourself in the future.

Now I have 

 

PrefabFiles = {
        "MrManGo",
         
 
}
Assets = {
    Asset( "IMAGE", "images/saveslot_portraits/MrManGo.tex" ),
    Asset( "IMAGE", "images/selectscreen_portraits/MrManGo.tex" ),
    Asset( "IMAGE", "images/selectscreen_portraits/MrManGo_silho.tex" ),
    Asset( "IMAGE", "bigportraits/MrManGo.tex" ).
}
 
AddModCharacter("MrManGo").
 
But I still get the error

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...