Problem with terrain and region effects! :(

Hello, I am using the script "Terrain and Region Effects v1.0a" by Neon Black. It's basically a script that plays sounds and/or shows visual effects when walking over a certain terrain/region. The problem i'm having is when the "effect" of the grass sprite is created and i pause the game and unpause again whilst the sprite is showing I get this error.

 

Script 'Character Step Sound' line 351: RGSSError occured.

disposed sprite
 

I tried replicating that in the demo that the script came with and i can pause and unpause the game just fine while the effect sprites are showing. So i'm thinking it's probably something to do with my other scripts? Maybe something is interfering with it? If anybody can give me an idea what KIND of script may be interfering with it it would be appreciated, i just dont have any idea why this is happening. I have quite a lot of scripts and i'm not sure which one could be causing it... I'll post some pics to show you what i mean.

I've uploaded the error message and what the effect showing is. Here's a link to the demo if you want to try it for yourself so you can see what the script actually is. I also uploaded a copy of the script itself.

If anyone can help me with this I would really appreciate it.

Btw, this is the line it's talking about:

" sprite.bitmap = Cache.system(effect.file) "

*UPLOADED SCRIPT DATA FILE*
 

Link to demo: https://www.dropbox.com/s/llsr0khh22roqm2/Step%20Effects.rar?dl=0

error.png

grass.png

Script.txt

Scripts.rar

TRGSSX.rar
Another one of your scripts would appear to be disposing of that sprite prematurely..
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Another one of your scripts would appear to be disposing of that sprite prematurely..
hmm, thats what i thought to start with.. i just don't know what script it might be... could you have a look at the scripts please? i'll upload the script data file and try it in a project to see what scipt it could be?
I've downloaded the demo, but it runs all fine for me, the footsteps show up, hit escape, while footsteps were on the map and still no error. 😳
Tried to hit pause at any moment, but still no problems here. Or did you only started it from the editor, because that I didn't tried. (\s/)

Edit:
If I add the script.rar to it, it closes without any message. 😳 /)
I've downloaded the demo, but it runs all fine for me, the footsteps show up, hit escape, while footsteps were on the map and still no error. 😳

Tried to hit pause at any moment, but still no problems here. Or did you only started it from the editor, because that I didn't tried. (\s/)
Ahhh, yes i know. The demo works fine, i just uploaded it for reference >.< try putting my script data file into the demo and see if it does the same thing? >.< I'll try that now too as well.

and the error occures when you UNPAUSE it not when you pause it, but obviously you have to pause it to unpause it XD

*EDIT* uhm.. actually trying to run the game with that script data file just closes the game upon opening it 😳

*EDIT AGAIN* ah, a DLL file is needed lol, i'll upload it in my first post.

*EDIT* Uploaded it, it's the last .rar file. then it asks for the "light" image, just delete the KHAS LIGHT script for that
I've fixed this myself, it was the script "Galvs character effects" so of course that was going to clash. So yeah, this is now solved. Thanks to everyone who had a look into it for me 🙂

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-terrain-and-region-effects.36760/