Having a major problem with call shop when i sell weapons.

kieferd20

Villager
Member
Joined
Aug 28, 2016
Messages
19
Reaction score
1
First Language
english
Primarily Uses
Im having a problem with a shop call only the when i have the shopkeeper sell a weapon it crashes i put an image of the error messege if someone could help me it would be a blessing.


all my call shops work if i don't include weapons.


thank you much!2016-09-03_20-42-01.png
 

Maidlyn

Veteran
Veteran
Joined
Jun 9, 2016
Messages
354
Reaction score
115
First Language
English
Primarily Uses
RMMV
There's something going wrong with the Yanfly script that you're using. Could you provide any script calls that you may be using on the weapons?
 

kieferd20

Villager
Member
Joined
Aug 28, 2016
Messages
19
Reaction score
1
First Language
english
Primarily Uses
i was using a weapon script but i deleted it because it was not working. i just deleted yanfly messge script and tried the weapon shop and this is the messege i get now.


2016-09-03_22-01-30.png
 

kieferd20

Villager
Member
Joined
Aug 28, 2016
Messages
19
Reaction score
1
First Language
english
Primarily Uses
here is a list of scripts im using....im getting a bit nerves because ive been working on this game for 6 months. im afraid it might be messed up.2016-09-03_22-09-21.png
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
The error got nothing to do with the shop scene, it is from a wrong message code you use in a message box.


I guess, you show something in a message box before opening the shop scene, and that's when the error happens.


It is most probably a non-existent weapon icon/name that you wanted to show in the message box or another incorrectly formatted message code.


Or it can be a message code used in the description for one of your weapons. That text is the only one which uses the draw_text_ex method for drawing the text, and the error comes from that method.


If you edited the shop scene or got a custom one from a custom script, we will need to see these edits/script to know what causes the error (if none of the above did).
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA
I get that error when I accidentally do a \ then right after it is an illegal character that the engine has no idea to process. For example, \[ will *always* crash Yanfly's message system 100% of the time. So check your show text commands and see if you have a \ followed by an illegal character, as that is what that error message usually means.
 

kieferd20

Villager
Member
Joined
Aug 28, 2016
Messages
19
Reaction score
1
First Language
english
Primarily Uses
thank you i had in the discription for an axe speed -5 \ +5 critical that was the problem thanks for all your help guys.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
i just deleted yanfly messge script and tried the weapon shop and this is the messege i get now.


View attachment 46631


That is the same error, it points to the same method and to the same line.


Ohh, too late. :D


Glad you found the culprit! 


Although, I think, you can still display that in the description by using a double \ sign instead of a single one, so the text should look like this:


-5 \\ +5
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top