gnoetto Posted October 23, 2022 Share Posted October 23, 2022 Hello! I'm trying to make a custom character (Lu). There’s some troubles with it and I haven’t found an any solution on forum. At first, I got many problems with making personal recipe for her weapon (crowbar). For some reason AddCharacterRecipe doesn't working and I have to make AddRecipe2 with builder_tag and it's worked for a while. The weirdest thing is that problems returned whem I draw her images (icons and bigportrait, not sprites) and edit golden&white names. I tried to overwrite modmain many times with various options but it always gave me endless world generation or troubles with server starting. I don't understand the problem and it’s a little sad. Modmain made by merging two files -- Lu modmain and crowbar modmain. It contains now crowbar recipes (AddRecipe2), desc, RegisterInventoryItemAtlas and Lu's voice (which is named Darren and it's ok). With its current complement modmain causes an endless world generation. Without crowbar recipes and its desc it causes server error, so I can't just delete her weapon and see what's wrong. If anyone can show me where my mistake is, I’d appreciate it! I attach the client_log (no server_log because I can't find the right one) and character mod folder. Lu's folder is too big so there is a link to google drive. (Here) Could not load mod_config_data/modconfiguration_Lu -- I see that in client_log but it gives zero information. client_log.txt Link to comment https://forums.kleientertainment.com/forums/topic/144030-characters-modmain-causes-an-endless-world-generation-or-server-error/ Share on other sites More sharing options...
Chesed Posted October 24, 2022 Share Posted October 24, 2022 (edited) Hi there. I took a look at your mod for you. First thing, you're missing a comma on line 74 of modmain.lua, after builder_tag = "lu". The main issue seems to be this part of the error log here: Quote [00:00:54]: Mod: Lu Registering prefabs [00:00:54]: Mod: Lu Registering prefab file: prefabs/lu [00:00:54]: Mod: Lu lu [00:00:54]: Mod: Lu Registering prefab file: prefabs/lu_none [00:00:54]: Mod: Lu lu_none [00:00:54]: Mod: Lu Registering prefab file: prefabs/crowbar [00:00:54]: Mod: Lu crowbar [00:00:54]: Mod: Lu Registering default mod prefab [00:00:54]: unexpected end of data Which does seem to be related to issues with your XML files. I made a copy of your mod, deleted every XML file in the folder and let the Autocompiler re-compile them, and this caused your character to load correctly. Hopefully this works for you as well? If not there might be something weird happening when the files get compiled. ____ Also, I managed to get AddCharacterRecipe working by moving the crowbar's strings and recipe below the line "AddModCharacter("lu", "FEMALE", skin_modes)". Edited October 24, 2022 by Chesed Link to comment https://forums.kleientertainment.com/forums/topic/144030-characters-modmain-causes-an-endless-world-generation-or-server-error/#findComment-1604488 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