Unable to save game when using Khas Awesome Light Effects

Just as the title says, I'm using KALE, v 1.0 and, when it is enabled, it wont let me save while in-game. I can save on the first or second map, but if I try on any other map I get a buzzer sound.

I do not have save access disabled on any of my maps and I can access the save menu. Only when I try to save on an open, or unopened, slot I get the buzz sound effect and nothing.

I only have a basic knowledge of coding but it seems really odd that a script that adds light effects and shadows disables saving.

I know it is the KALE script that causes the problem. Removing it lets me save anywhere, anytime.

If anyone has any ideas how to fix this please let me know 🙂
I've moved this thread to Khas Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Thanks, Wasn't sure where to post this.
This is really weird. Nobody have ever complained about this.

Would you mind to send me a demo so I can check what is going on?

Thanks a lot!
I should let you know that KALE is not the only script I am using. However, when I first noticed this problem I went through each of my scripts, removing and testing the game one by one. I was surprised that KALE was the script that caused the problem so I tested again, and, every time I remove KALE I am able to save.

I tried creating a brand new project with KALE as the only script and the game worked fine. So I have to assume that KALE and one of my other scripts together are messing something up. thing is, none of my other scripts have anything to do with lighting or shadows.

If you have some time and want to check out this problem take a look at the short demo.

http://www.mediafire.com/download/bxiytk3pusj75gj/Lighting_Problem_Demo.zip

First time using mediafire....hope the link works.
;_;

Turns out it is Schala that isn't compatible with KALE and creates an invalid save on any map you transfer to after the first one with lights.
I checked the demo and my script is properly disposing of its sprites/bitmaps.

It seems that your battle system do temporary saves which are kind of corrupt, but I couldn't manage to fix that 🙁

Sorry, but I have limited time and I couldn't find/correct the exact error.
Thanks 🙂

Is it ok then if I commission someone to work on the battle and your script to make them work together? 

Probably a simple question but I don't want to make any potentially big adjustments to your script without permission.
Good day!

I have the same problem occurs when you use save your script Awesome Light Effects of 1.0

I use autosave system with the command to run the script [DataManager.save_game (n)]

If nothing happens, no error message, or save the game in the specified file.

 

Tell me, is there any way to solve this problem?

your demo https://drive.google.com/open?id=0B4Bin74pU7IQNmFVcEdmMEtSbTA
ImperiousRex

Sure! It's okay as long as you doesn't share any modified code.

soulshard

Try to place this script after Awesome Light Effects:

module SceneManager def self.dispose_kale if @scene.is_a?(Scene_Map) @scene.spriteset.dispose_lights else @stack.reverse.each do |s| if s.is_a?(Scene_Map) s.spriteset.dispose_lights return end end end end def self.restore_kale if @scene.is_a?(Scene_Map) @scene.spriteset.setup_lights else @stack.reverse.each do |s| if s.is_a?(Scene_Map) s.spriteset.setup_lights return end end end end endAnd then, when you call your autosave system, use these commands instead:

Code:
SceneManager.dispose_kale# Your autosave command goes hereSceneManager.restore_kale

Original thread: https://forums.rpgmakerweb.com/threads/unable-to-save-game-when-using-khas-awesome-light-effects.45162/