Kzisor Posted February 22, 2015 Share Posted February 22, 2015 Bug Submission:Category: Client CrashIssue Title: variable 'chestfunctions' is not declaredIssue Description: This error will randomly appear when triggering traps on chests.Steps to Reproduce: Create a mod with a trap on a chest and trigger it. It will randomly cause this crash."local chestfunctions = require("scenarios/chestfunctions")" is at the top of all my chest traps. Note: This happens with all treasurechests not just the pandoraschest that I was using. I originally changed because I ran into this issue. Edit:Attaching log file since it won't attach normally. Link to comment https://forums.kleientertainment.com/forums/topic/51281-client-crash-variable-chestfunctions-is-not-declared/ Share on other sites More sharing options...
Developer bizziboi Posted February 22, 2015 Developer Share Posted February 22, 2015 Cheers, seems like a refactor gone wrong. Link to comment https://forums.kleientertainment.com/forums/topic/51281-client-crash-variable-chestfunctions-is-not-declared/#findComment-615357 Share on other sites More sharing options...
Kzisor Posted February 23, 2015 Author Share Posted February 23, 2015 @bizziboi, any idea on when/if we see a fix for this in next weeks updates or if there is a change I could apply to get it temporarily fixed on my end for testing purposes? Link to comment https://forums.kleientertainment.com/forums/topic/51281-client-crash-variable-chestfunctions-is-not-declared/#findComment-615658 Share on other sites More sharing options...
Developer bizziboi Posted February 23, 2015 Developer Share Posted February 23, 2015 @Kzisor, I would think, for testing purposes, that moving InitializeChestTrap after OnOpenTestTrap and changing chestfunctions.OnOpenChestTrap to just OnOpenChestTrap should work? Link to comment https://forums.kleientertainment.com/forums/topic/51281-client-crash-variable-chestfunctions-is-not-declared/#findComment-615659 Share on other sites More sharing options...
Kzisor Posted February 23, 2015 Author Share Posted February 23, 2015 @bizziboi, thanks I will test that out and let you know if it resolves the issue. Edit:That seems to have fixed the issue, although I haven't done extensive testing for it. Link to comment https://forums.kleientertainment.com/forums/topic/51281-client-crash-variable-chestfunctions-is-not-declared/#findComment-615668 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.