Hello all,
I'm making a script for the RPG academy game by the Niche, but I keep on getting an error. The error is: The RGSS Player doesn't work. It's a transelation from Dutch, so it might not be the exact error. I get this error if I enter the scene of my script (Scene_Note) by using
, then going back to the map:
and then going to ANY other scene. I tried battles, the menu and Scene_Note. This only applies to maps with auto-tiles. The scene has the background of the map. I called that background with
@back = Spriteset_Map.new
and I closed it with
. Is this a known error?
Thank you in advance!
-SBR*
P.S. I don't post the script because I'm a bit paranoid about that: I'm afraid somebody is gonna use it while it isn't published yet... I can send it in a PM of course!
Check the script for any "exit" commands. Also, try the game without that script and see if that script is the one causing the problem.
Quote from: Blizzard on May 13, 2010, 03:00:14 pm
Check the script for any "exit" commands. Also, try the game without that script and see if that script is the one causing the problem.
The script has no exit commands. Also, all the other scripts are RMXP's standard scripts and the neccessary scripts (Tons of Add-ons (only Custom Game Controls enabled) and the Mouse Controller by Blizzard). Thank you anyway...
EDIT: Any other solutions? :'(
instead of doing @back = nil do @back.dispose
Quote from: game_guy on May 13, 2010, 06:02:42 pm
instead of doing @back = nil do @back.dispose
I tried that, and that gave an error on itself. The same error. I'll try it once more...
EDIT: Tried it, and it did what I said there^.
EDIT: Alright, I did something really strange. In the update method I used
@back = Spriteset_Map.new
too, and that caused the error... Sorry!
RESOLVED
Lol, memory leak.
Quote from: Blizzard on May 14, 2010, 01:09:25 pm
Lol, memory leak.
Yeah. It was just for testing because something else wasn't working and I forgot to remove it. And it wasn't working because I used
instead of
. Thank you anyway :^_^':.