DeviiL Posted March 23, 2015 Share Posted March 23, 2015 When i try to enable my character from mods it says: The following mod(s) have caused a failure: Don Luciano .../Steam/steamapps/common/dont_starve/data/../mods/Don Luciano/modmain.lua:25: expected near 'luciano'What i've to do? i'll attach my file.modmain.lua Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/ Share on other sites More sharing options...
CarlZalph Posted March 23, 2015 Share Posted March 23, 2015 Variable names do not contain spaces in them, use underscores. E.G.GLOBAL.STRINGS.CHARACTER_TITLES.don_luciano = "Il Boss" I would also go back and replace any space with an underscore for your stuff that isn't a user-front thing like a GUI display name. Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-624290 Share on other sites More sharing options...
DeviiL Posted March 23, 2015 Author Share Posted March 23, 2015 Variable names do not contain spaces in them, use underscores. E.G.GLOBAL.STRINGS.CHARACTER_TITLES.don_luciano = "Il Boss"I would also go back and replace any space with an underscore for your stuff that isn't a user-front thing like a GUI display name. now i get this error (sorry for all these requests of help, it's my first mod) Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-624349 Share on other sites More sharing options...
CarlZalph Posted March 23, 2015 Share Posted March 23, 2015 (edited) File does not exist. Go to your folder for your mod, then in there should be a folder 'bigportraits'.Rename the file 'don luciano.xml' to 'don_luciano.xml'. Do this for all of your other assets, too.Generally spaces in names for files/folders is not going to be good. You'd reserve using spaces only for strings that the client, or person playing the game, seeing the content will see.Like menus and character selection or in-game chat stuff. Edited March 23, 2015 by CarlZalph Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-624354 Share on other sites More sharing options...
DeviiL Posted March 26, 2015 Author Share Posted March 26, 2015 i think i've edited all the things, but i've the same error. If i upload the entire mod folder can you help me? Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-625160 Share on other sites More sharing options...
Mobbstar Posted March 26, 2015 Share Posted March 26, 2015 i think i've edited all the things, but i've the same error. If i upload the entire mod folder can you help me?yes ... ... ...compress it to a zip or rar file though. Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-625161 Share on other sites More sharing options...
DeviiL Posted March 26, 2015 Author Share Posted March 26, 2015 i can't upload the file from here so i uploaded it to mega. https://mega.co.nz/#!VFcnwYYb!wbqOxoh8OocB-Z4IKB3TflUnAiIz6lckcbvLNDKFROU Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-625165 Share on other sites More sharing options...
DeviiL Posted March 27, 2015 Author Share Posted March 27, 2015 yes ... ... ...compress it to a zip or rar file though. So? What i've did wrong? Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-625451 Share on other sites More sharing options...
Corrosive Posted March 27, 2015 Share Posted March 27, 2015 @DeviiL, Exactly what the error says. It can't find a file named "anim/don_luciano.zip" because there is no "anim/don_luciano.zip". Your zip is located at "anim/Don Luciano.zip". You need to rename it to match what's in code. Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-625457 Share on other sites More sharing options...
DeviiL Posted March 28, 2015 Author Share Posted March 28, 2015 (edited) @DeviiL, Exactly what the error says. It can't find a file named "anim/don_luciano.zip" because there is no "anim/don_luciano.zip". Your zip is located at "anim/Don Luciano.zip". You need to rename it to match what's in code. /EDIT: i solved, thanks to everyone. Edited March 28, 2015 by DeviiL Link to comment https://forums.kleientertainment.com/forums/topic/52302-character-mod-error/#findComment-625483 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now