I'm making a game using Mr.Mo's SBABS system.
A problem i'm having way to frequently is 'disposed sprite' errors.
Specifically, when transferring players.
I've tried several fixes. Including waits and disabling the ABS just before the transfer.
It seems to work in some situations.
But it doesn't always.
Setting up events in this order seems to work. But it's not foolproof.
script:$abs.active = false
wait 10
transfer player
wait 10
script: $abs.active = true
Simply, it disables the battle system a waits a brief time before transferring and reenabling the ABS.
However, it doesn't always work. And I have no idea how to fix it without completely murdering my FPS by disabling the anti-lag script.
Scripts that are included with the ABS that might contribute or even cause the error:
Mr. Mo's SBABS Lite 5.2
f0tz's Anti-Lag Script 0.71
Alework's Input 1.21
There's also a Gradient Bar's scipt (No name or version commented in it.)
It seems the error occurs in situations where the Gradient Bar from enemies either active when transferring, or when 'switched' off, hasn't vanished with the enemy.
It's a VERY annoying error, that kills the game in the worst of situations.
Like what just happened to my friend beta-testing my demo.
3 Minutes fighting a tough boss, he already died twice to. Finally kill it...
Then before the scene occurs, DISPOSED SPRITE. Game closes.
Is there a known cause or fix to this bug?
A problem i'm having way to frequently is 'disposed sprite' errors.
Specifically, when transferring players.
I've tried several fixes. Including waits and disabling the ABS just before the transfer.
It seems to work in some situations.
But it doesn't always.
Setting up events in this order seems to work. But it's not foolproof.
script:$abs.active = false
wait 10
transfer player
wait 10
script: $abs.active = true
Simply, it disables the battle system a waits a brief time before transferring and reenabling the ABS.
However, it doesn't always work. And I have no idea how to fix it without completely murdering my FPS by disabling the anti-lag script.
Scripts that are included with the ABS that might contribute or even cause the error:
Mr. Mo's SBABS Lite 5.2
f0tz's Anti-Lag Script 0.71
Alework's Input 1.21
There's also a Gradient Bar's scipt (No name or version commented in it.)
It seems the error occurs in situations where the Gradient Bar from enemies either active when transferring, or when 'switched' off, hasn't vanished with the enemy.
It's a VERY annoying error, that kills the game in the worst of situations.
Like what just happened to my friend beta-testing my demo.
3 Minutes fighting a tough boss, he already died twice to. Finally kill it...
Then before the scene occurs, DISPOSED SPRITE. Game closes.
Is there a known cause or fix to this bug?