Acs Posted December 13, 2020 Share Posted December 13, 2020 (edited) Hello, so I have made a character mod with no special coding yet. However, Upon loading into a world with the mod enabled the game will give me a crash. Also if the mod was enabled on world creation, it will be stuck at "Server is generating the world". Not sure whats wrong with the code here lol. I think its one of the LUA files according to the crash. client_log.txt Edited December 13, 2020 by Acs Link to comment https://forums.kleientertainment.com/forums/topic/124834-character-mod-problems-help-would-be-appreciated/ Share on other sites More sharing options...
-LukaS- Posted December 13, 2020 Share Posted December 13, 2020 Well, according to the crash log, a local function called CalculateLight is using a 'dynrange' variable, which is for some reason a 'nil' value. Since this function is trying to return 'p * dynrange + 1 - dynrange' which is a arithmetic equation, it crashed the game because equations can't have 'nil' values in them. You're saying the only thing your mod adds is a character with no special coding so the only possible problem could be with bad coding in one of the .lua files as you mentioned. Did you use a character template? If yes, then make sure you implemented it correctly, and if no, then use it. It will help a lot. 1 Link to comment https://forums.kleientertainment.com/forums/topic/124834-character-mod-problems-help-would-be-appreciated/#findComment-1405195 Share on other sites More sharing options...
Acs Posted December 13, 2020 Author Share Posted December 13, 2020 (edited) I am in fact using that same template lol, so Im not really sure what went wrong in the process, I honestly think that we should make a new template that is a bit neater and has stuff for the new updates. Thank you though for replying. Edited December 13, 2020 by Acs Link to comment https://forums.kleientertainment.com/forums/topic/124834-character-mod-problems-help-would-be-appreciated/#findComment-1405252 Share on other sites More sharing options...
Acs Posted December 13, 2020 Author Share Posted December 13, 2020 (edited) Alright so I have went through and renamed some left over files, no difference in the crash however. rip Edited December 13, 2020 by Acs problem semifixed Link to comment https://forums.kleientertainment.com/forums/topic/124834-character-mod-problems-help-would-be-appreciated/#findComment-1405278 Share on other sites More sharing options...
-LukaS- Posted December 14, 2020 Share Posted December 14, 2020 Have you tried creating a world without your mod enabled? Maybe it's a problem with the game files not the mod. If it crashes without your mod enabled you should verify integrity of game files. 1 Link to comment https://forums.kleientertainment.com/forums/topic/124834-character-mod-problems-help-would-be-appreciated/#findComment-1405533 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