Unable to find file:

IneptAttoney_08

Dimas Ridwan AP
Veteran
Joined
Mar 1, 2019
Messages
146
Reaction score
29
First Language
Indonesia
Primarily Uses
RMVXA
I receive an error like in this image when I create a custom script for the item purchase confirmation window in Scene_Shop and this error also occurs when one of the actors uses a skill (Error does not occur when the actor uses a weapon)
ear.PNG
At first this error only occurred when the actor used the skill.
But when I make two custom scripts, (the first one is used to confirm buying items and the second is used to confirm selling items)
The error appeared.
Then I tried to remove the second script, which is the script to confirm selling goods. But the error is still happening today.
how to solve this error?
 

AloneForLong

Seksy Catgirl
Member
Joined
Feb 15, 2020
Messages
27
Reaction score
1
First Language
English
Primarily Uses
RMVXA
What is your script? Does it use an external file (like an image, etc)
 

IneptAttoney_08

Dimas Ridwan AP
Veteran
Joined
Mar 1, 2019
Messages
146
Reaction score
29
First Language
Indonesia
Primarily Uses
RMVXA
What is your script? Does it use an external file (like an image, etc)
I just created a confirmation window which is a child of the Command window.
Window_BuyConfirm < Window_Command
 

kyonides

Reforged is laughable
Veteran
Joined
Nov 17, 2019
Messages
287
Reaction score
71
First Language
English
Primarily Uses
RMXP
Please post the actual error message for we can't help you if we don't get enough details. What's the filename? Where does it tell you it should be located?
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,635
Reaction score
5,116
First Language
English
Primarily Uses
RMVXA
Moved to Script Support.

(To anyone helping with code: this is VX Ace)
 

IneptAttoney_08

Dimas Ridwan AP
Veteran
Joined
Mar 1, 2019
Messages
146
Reaction score
29
First Language
Indonesia
Primarily Uses
RMVXA
Please post the actual error message for we can't help you if we don't get enough details. What's the filename? Where does it tell you it should be located?
The error message does not indicate which file is missing. that's what made me ask you here.

I've managed to solve this problem. I deleted and re-created the error window script and the error actor.
 

kyonides

Reforged is laughable
Veteran
Joined
Nov 17, 2019
Messages
287
Reaction score
71
First Language
English
Primarily Uses
RMXP
Well, since this can return in the (not so near) future, it's better to include a check that makes sure a string representing the filename isn't empty alias "". You can either make it fail and return a more specific error message with:

Code:
raise "No filename was specified" if string.empty?
That will quit the game after clicking on the popup window warning the developer about that error or mere slip. :D

Or do anything else you can come up with.
 

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

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,479
Members
137,824
Latest member
dobratemporal
Top