Argument Error

EpicGaer541

Warper
Member
Joined
Oct 17, 2017
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMVXA
I have RPG Maker VX Ace and after a while, I keep getting this error and idk why. It keeps saying

Script 'Scene_Title' line 92: ArgumentError Occurred.
Wrong number of arguments (0 for 2)

But this is my code that I have in the script

Code:
# * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    @command_window = Window_TitleCommand.new
    @command_window.set_handler(:new_game, method(:command_new_game))
    @command_window.set_handler(:continue, method(:command_continue))
  end
What's wrong? Is there something I need to change? What do I need to do?
 
Last edited:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
Your images are not showing up. You will have to re-upload the image of the error message.
For your script, it should not be an image, so no need to re-upload that one. What we do need, however, is the name of the script and a link to the web page where you got it so that people do not have to hunt for it. The reason we ask for a link is because the web page often contains additional description and information. Also, many coders do not like their scripts being in multiple places.

Obviously, until you get a chance to edit your post, no one can help you, but I shall move this to the correct forum anyway, so that once you've done it, it can be answered straight away.

[mod]Moving to RGSSx Script Support[/mod]
 

EpicGaer541

Warper
Member
Joined
Oct 17, 2017
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Your images are not showing up. You will have to re-upload the image of the error message.
For your script, it should not be an image, so no need to re-upload that one. What we do need, however, is the name of the script and a link to the web page where you got it so that people do not have to hunt for it. The reason we ask for a link is because the web page often contains additional description and information. Also, many coders do not like their scripts being in multiple places.

Obviously, until you get a chance to edit your post, no one can help you, but I shall move this to the correct forum anyway, so that once you've done it, it can be answered straight away.

[mod]Moving to RGSSx Script Support[/mod]
Is that edit better?
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
Is that edit better?
Not really.
You obviously changed the default scripts somehow, or installed some custom scripts. Without knowing what you did, we can't help you.
The error itself is most probably coming from a title screen script (which probably changes the visuals of the title screen somehow).
 

EpicGaer541

Warper
Member
Joined
Oct 17, 2017
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Not really.
You obviously changed the default scripts somehow, or installed some custom scripts. Without knowing what you did, we can't help you.
The error itself is most probably coming from a title screen script (which probably changes the visuals of the title screen somehow).
could it be because I tried to change the color of the choice window that it's like that?
 

EpicGaer541

Warper
Member
Joined
Oct 17, 2017
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMVXA
could it be because I tried to change the color of the choice window that it's like that?
Not really.
You obviously changed the default scripts somehow, or installed some custom scripts. Without knowing what you did, we can't help you.
The error itself is most probably coming from a title screen script (which probably changes the visuals of the title screen somehow).
I tried to copy and paste every file except the script to a new project and things seem to work fine now. idk what happened myself. it's weird
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,231
Members
137,607
Latest member
Maddo
Top