Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Ramenuzumaki

Script Problem

Question

Hello everyone!

I am currently working on a Fantasy RPG project that has yet to be named. I have made my way to creating the first city/town/village/thing. I made a nice event that uses variables to open/close doors. However, I am having a problem. I get the following error if I open my menu before leaving through the door:

 

---------------------------
Unnamed
---------------------------
Script 'Game_Event' line 99: NoMethodError occurred.

undefined method `<' for []:Array
---------------------------
OK   
---------------------------

 

I have even opened the menu BEFORE entering through the door, and upon exit I receive the error. Can anyone help me please? :3

 

EDIT:

 

I just tried to make a quest using events, and using my quest script and as soon as you pick up the quest you get that same error.

 

EDIT2:

Turns out its something to do with the entire city. If i had opened the menu at any time during the game even before the town i will get that error if i try to enter the city D:

Edited by Ramenuzumaki

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Sounds like a problem with the map itself. Same thing happened to my friend with his game.

 

I suggest remaking the map, one step at a time, testing the game every so often, and finding out when the error comes up. That way you can pinpoint the source of the error.

Share this post


Link to post
Share on other sites
  • 0

First thign i tried was deleting the door events and now everything works fine :(

that makes me sad my doors took so long to make! D:

i have no idea whats wrong with them

there was a tutorial on another site and i followed it to the letter!

 

*rips out hair*

Share this post


Link to post
Share on other sites
  • 0

Hey, at least you can be thankful that it was the first thing you tried changing. :alright:

 

If you want to post the events for your doors, I can see if I can spot the problem.

Share this post


Link to post
Share on other sites
  • 0

Ok.

 

Here are the images for my door event, and a picture of the map im using.

each door has a variable increase of one so that the doors all close separately.

if not when you come back to the city from one of the buildings if another door is in view both doors will close at the same time

 

Door Page 1

 

Door1lawl.jpg

Door2lawl.jpg

 

 

Door Page 2

 

Door3lawl.jpg

Door4lawl.jpg

 

 

Door Page 3

 

Door5lawl.jpg

 

 

Map

 

Door6lawl.jpg

 

Share this post


Link to post
Share on other sites
  • 0

Instead of looking through yours, I'll just show you my door events. They work fine and they are much shorter. (Ignore the door graphic)

 

 

 

1z307kh.jpg

 

 

 

 

 

2gsg1l5.jpg

 

 

Edited by jttsteelix

Share this post


Link to post
Share on other sites
  • 0

whats the script int he conditional branch and the call script at the bottom? D:

This is the tutorial where i got the event from :3

http://www.rmxp.tigerseye.uk.com/tutorial_aevent3.shtml

 

i think its something to do with the variables

i took the variables out of the door and i turned off the variable condition and i didnt get an error :(

 

well i found a way around it. the thing now is my doors dont close. i think the problem was the auto run on the second page was a variable *shrug*

works now though so its all good :3

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...