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,624
Reaction score
5,104
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 Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,586
Latest member
Usagiis
Top