[XP] MAWS - Can't teleport at all?...

Started by Chabb, May 24, 2014, 01:18:28 am

Previous topic - Next topic

Chabb

May 24, 2014, 01:18:28 am Last Edit: May 24, 2014, 06:43:04 pm by KK20
Hello!

I'll make it simple. Sudden nostalgia, I wanted to make a small game for fun. Started to seek out the old scripts I used to have years ago. I found this script:

http://forum.chaos-project.com/index.php?topic=5710.0, which is way better than what I used to have. It's perfect: lots of different weathers, for all taste.

... Except for one thing. I can't transfert the player from one map to another without crashing. It even occurs in the downloadable demo in the above link. Whenever I change of map, the game crashes completely, saying:

QuoteScript 'Weather Script' line 164: NoMethodError occured.

undefined method `each' for nilLNilClass


The line 64 in question is simply:

for image in @flame_meteor_bitmaps
     image.dispose


It's one single script, I tried in both the demo (which contains only this script and nothing else) and my own game. It's said to be compatible with almost everything, yet I don't understand why it crashes. On the other hand, if I put the Starting Point in a map which generates the weather from the script, I have no problem playing. I can generate all the weather I can. The crash really occurs the minute I want to change the map I'm in.

Thank you!

Sorry for using such old scripts by the way. :P

KK20

May 24, 2014, 06:40:15 pm #1 Last Edit: May 24, 2014, 06:42:14 pm by KK20
Just downloaded the demo and can't crash it. What are you doing specifically?

EDIT: Actually, I have no idea what script you are using. I just CTRL + F for "flame_meteor_bitmaps" and it returned nothing.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Chabb

Quote from: KK20 on May 24, 2014, 06:40:15 pm
Just downloaded the demo and can't crash it. What are you doing specifically?

EDIT: Actually, I have no idea what script you are using. I just CTRL + F for "flame_meteor_bitmaps" and it returned nothing.


? That's odd.

I copy/pasted the Weather script from the demo. O_o

That said, I ended using another weather script instead, with as many different effects, so I guess my problem is solved. For now. Thanks though! :)