imjustglue Posted August 2, 2022 Share Posted August 2, 2022 (edited) Up until the character select screens it loads just fine, but as soon as u select the character and u click 'go' it freezes on the white loading screen and it stays that way, i have no idea what went wrong Edited August 2, 2022 by imjustglue Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/ Share on other sites More sharing options...
Goregonzola Posted August 2, 2022 Share Posted August 2, 2022 Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1591138 Share on other sites More sharing options...
imjustglue Posted August 2, 2022 Author Share Posted August 2, 2022 7 hours ago, C_Thun said: Is this a crash? and if it is, how do i read the client log? Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1591218 Share on other sites More sharing options...
sorrylate_ Posted August 3, 2022 Share Posted August 3, 2022 3 hours ago, imjustglue said: Is this a crash? and if it is, how do i read the client log? I think you need to read the server log instead. And if you confused what is wrong with your mod. Just upload the error log in here? 1 Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1591230 Share on other sites More sharing options...
imjustglue Posted August 3, 2022 Author Share Posted August 3, 2022 19 hours ago, sorrylate_ said: I think you need to read the server log instead. And if you confused what is wrong with your mod. Just upload the error log in here? client_log.txt There u go Could not load mod_config_data/modconfiguration_workshop-2078243581_CLIENT i found this in the server log, is this it? Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1591474 Share on other sites More sharing options...
sorrylate_ Posted August 4, 2022 Share Posted August 4, 2022 3 hours ago, imjustglue said: client_log.txt 12.5 kB · 1 download There u go Could not load mod_config_data/modconfiguration_workshop-2078243581_CLIENT i found this in the server log, is this it? I'm not sure because i never have blank crash like that, but i think you wrong upload? I didnt see any crash report there. If you want to test your mod i suggest you to make new server and only enable your mod. And if its crash or something happen, you can go to server menu screen and you can see like a gear then click it and choose open folder. After that you open master folder and you can see file called server_log.txt 1 Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1591523 Share on other sites More sharing options...
imjustglue Posted August 4, 2022 Author Share Posted August 4, 2022 20 hours ago, sorrylate_ said: I'm not sure because i never have blank crash like that, but i think you wrong upload? I didnt see any crash report there. If you want to test your mod i suggest you to make new server and only enable your mod. And if its crash or something happen, you can go to server menu screen and you can see like a gear then click it and choose open folder. After that you open master folder and you can see file called server_log.txt Thanks mate, i think i found it "[00:03:13]: [string "scripts/components/foodaffinity.lua"]:25: table index is nil LUA ERROR stack traceback: scripts/components/foodaffinity.lua:25 in (method) AddFoodtypeAffinity (Lua) <24-26> ../mods/dreamercharmod/scripts/prefabs/dreamer.lua:67 in (upvalue) master_postinit (Lua) <62-123> scripts/prefabs/player_common.lua:2358 in (field) fn (Lua) <1916-2406> scripts/mainfunctions.lua:333 in () ? (Lua) <322-364>" i suppose its this, i have a bit of idea what its saying, but i rather ask you guys who know more Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1591935 Share on other sites More sharing options...
sorrylate_ Posted August 5, 2022 Share Posted August 5, 2022 18 hours ago, imjustglue said: Thanks mate, i think i found it "[00:03:13]: [string "scripts/components/foodaffinity.lua"]:25: table index is nil LUA ERROR stack traceback: scripts/components/foodaffinity.lua:25 in (method) AddFoodtypeAffinity (Lua) <24-26> ../mods/dreamercharmod/scripts/prefabs/dreamer.lua:67 in (upvalue) master_postinit (Lua) <62-123> scripts/prefabs/player_common.lua:2358 in (field) fn (Lua) <1916-2406> scripts/mainfunctions.lua:333 in () ? (Lua) <322-364>" i suppose its this, i have a bit of idea what its saying, but i rather ask you guys who know more nice if you found it, but sorry i cant help much since i never make character mod and still learning lua too but i think your problem like it said the table of AddFoodtypeAffinity i think is nil? maybe you can check mermking or merm they also have this components, maybe you can compare to yours or maybe can i see your dreamer prefab code? 1 Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1592185 Share on other sites More sharing options...
imjustglue Posted August 5, 2022 Author Share Posted August 5, 2022 (edited) 2 hours ago, sorrylate_ said: nice if you found it, but sorry i cant help much since i never make character mod and still learning lua too but i think your problem like it said the table of AddFoodtypeAffinity i think is nil? maybe you can check mermking or merm they also have this components, maybe you can compare to yours or maybe can i see your dreamer prefab code? Well i did steal the food afinity from Wurt prefab code, and yes i did suspect it was it, i just straigth up deleted it to see if it would run and it didnt, anyway, there u go the character prefab, if it looks like a mess its because it is, sorry dreamer.lua Edited August 5, 2022 by imjustglue Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1592228 Share on other sites More sharing options...
sorrylate_ Posted August 6, 2022 Share Posted August 6, 2022 10 hours ago, imjustglue said: Well i did steal the food afinity from Wurt prefab code, and yes i did suspect it was it, i just straigth up deleted it to see if it would run and it didnt, anyway, there u go the character prefab, if it looks like a mess its because it is, sorry dreamer.lua 2.4 kB · 0 downloads i think you already deleted the error line when uploading it to here? and get new crash? seeing your code its like so simple and i think need to add GLOBAL in some line. if you want try to make simple character first i think you need to read and download template from here. [Tutorial] Using Extended Sample Character Template - Tutorials & Guides - Klei Entertainment Forums since i cant help much because i dont have experience making custom character 1 Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1592359 Share on other sites More sharing options...
imjustglue Posted August 6, 2022 Author Share Posted August 6, 2022 6 hours ago, sorrylate_ said: i think you already deleted the error line when uploading it to here? and get new crash? seeing your code its like so simple and i think need to add GLOBAL in some line. if you want try to make simple character first i think you need to read and download template from here. [Tutorial] Using Extended Sample Character Template - Tutorials & Guides - Klei Entertainment Forums since i cant help much because i dont have experience making custom character Well i alredy read it, more than once, but thats not the matter, thank you for helping me and just consitantly keeping up with this time zone message exchange crap, so yeah thanks anyway Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1592389 Share on other sites More sharing options...
sorrylate_ Posted August 6, 2022 Share Posted August 6, 2022 2 hours ago, imjustglue said: Well i alredy read it, more than once, but thats not the matter, thank you for helping me and just consitantly keeping up with this time zone message exchange crap, so yeah thanks anyway ohh right i see your code also same like in the template lol, but if you still wondering and learning making your mod, i think you can pm me, so maybe we can fix the error. Link to comment https://forums.kleientertainment.com/forums/topic/142304-problem-with-loading-my-modded-character/#findComment-1592413 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