Bust talksprite problems, show picture method.

Klaykrow

masochistfox
Veteran
Joined
Apr 7, 2017
Messages
31
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I for the life of me cant get talksprites to work.

I've tried using galv's scripts but i cant get it to work properly, so im trying the show picture method and that wont work either.

everytime it comes to the part where the talksprite would be shown i get an error:

Script 'Game_pictures'line 20: Nameerror occurred. uninitialized constant Game_Pictures::Game_picture

ive tried renaming the picture, resizing the picture, putting it in different x/y areas, everything.

and still this error.

I wish I could get galv's script to work but i get a different error or it just will show the tiny character box instead of a bust.

im new to rpg maker, obviously, and hope this isnt an annoying question, but ive scoured google for a good answer and couldnt find anything (anybody with a similar problem just goes "OH FIXED IT" without explaining!)

thank you.

(rpgmaker VX ACE)
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
we can't help you without seeing what exactly you did - screenshots of the event page that creates the error are the minimum.
Additionally it would help if you give us a screenshot of the backtracer output to see which scripts are involved here (follow the link "how to use a script" in my signature to the bughunting part, that explains how to install and use the Backtracer for Ace)

That said, it looks like you made a mistake with the filename or the format of the picture you're using (unless you really messed up your game scripts), so it might help to get that picture attached as well.
 

Klaykrow

masochistfox
Veteran
Joined
Apr 7, 2017
Messages
31
Reaction score
1
First Language
English
Primarily Uses
RMVXA
ive messed with the axis and its still the same

 

Klaykrow

masochistfox
Veteran
Joined
Apr 7, 2017
Messages
31
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Ah nevermind, Someone helped me figure out Galv's script.

I would like to be able to use pictures in my game though, so im still sad i couldnt figure that problem out *shrugs*
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
I would like to be able to use pictures in my game though, so im still sad i couldnt figure that problem out *shrugs*
We can only help if you answer our questions.
In this case it will probably require a screenshot of the backtracer output and to see the file of the picture that you try to display, both of which I already requested above.
If you don't understand how to get that from the directions I gave you, simply ask.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
The error line you get should look like this:
Code:
@data[number] ||= Game_Picture.new(number)
Just copy the above line and change the error line in your script to that one to be sure.

If it still doesn't work, you have a bigger problem.
Check if you didn't accidentally delete the script named Game_Picture from your script list.
If it is not there, you will have to add it back, right above the Game_Pictures script.
You can copy it from a new project if you need it.

If it still doesn't work, I am out of ideas. Check for any scripts which modify the Game_Pictures class, maybe it's from another script.
Although changing that method to give that error must be a pretty obvious mistake for any scripter, so I doubt that you will find any custom scripts messing this up.

Ohh, and just to make a note:
It is a script issue, meaning it's not the image(s) you try to display, neither a missing file issue.
 

Klaykrow

masochistfox
Veteran
Joined
Apr 7, 2017
Messages
31
Reaction score
1
First Language
English
Primarily Uses
RMVXA
We can only help if you answer our questions.
In this case it will probably require a screenshot of the backtracer output and to see the file of the picture that you try to display, both of which I already requested above.
If you don't understand how to get that from the directions I gave you, simply ask.
sorry my response took so long OTL

heres the backtrace

also it does this with every picture i try, even ones i got of overlays from DLC that apparently just work for people



The error line you get should look like this:
Code:
@data[number] ||= Game_Picture.new(number)
Just copy the above line and change the error line in your script to that one to be sure.

If it still doesn't work, you have a bigger problem.
Check if you didn't accidentally delete the script named Game_Picture from your script list.
If it is not there, you will have to add it back, right above the Game_Pictures script.
You can copy it from a new project if you need it.

If it still doesn't work, I am out of ideas. Check for any scripts which modify the Game_Pictures class, maybe it's from another script.
Although changing that method to give that error must be a pretty obvious mistake for any scripter, so I doubt that you will find any custom scripts messing this up.

Ohh, and just to make a note:
It is a script issue, meaning it's not the image(s) you try to display, neither a missing file issue.

this is my game picture script, i havent touched anything in here and it does this error with new projects as well

 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
this is my game picture script, i havent touched anything in here and it does this error with new projects as well
wrong, this is your game_pictures script and not your game_picture script.
See the difference in the name (s at the end) and that both are lines in your script editor?

Please check the other one as well, compare it to the same script in a new project.
 

Klaykrow

masochistfox
Veteran
Joined
Apr 7, 2017
Messages
31
Reaction score
1
First Language
English
Primarily Uses
RMVXA
wrong, this is your game_pictures script and not your game_picture script.
See the difference in the name (s at the end) and that both are lines in your script editor?

Please check the other one as well, compare it to the same script in a new project.

X.X boy do i feel dumb, youre right, that was the problem OTL

thank you for the help, i have no idea how the script in my game got all messed up in the first place, but im glad its fixed now so if it happens again i can fix it.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top