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

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
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?
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
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
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).
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.
thank you i had in the discription for an axe speed -5 \ +5 critical that was the problem thanks for all your help guys.
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. 😀


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
thank you

Original thread: https://forums.rpgmakerweb.com/threads/having-a-major-problem-with-call-shop-when-i-sell-weapons.67812/