Item menu Issues...

Status
Not open for further replies.

ShiningBlade

Villager
Member
Joined
Jan 2, 2013
Messages
8
Reaction score
0
First Language
English
Primarily Uses
Okay. First off, I'm making a horror adventure game and as such have tinkered around with the menu scripts, cutting out a lot of commands and the gold window. This is what my menu normally looks like:

menu.png

However, when I go into my item menu after obtaining an item (and properly adding it through an event), I get this problem:

Itemmenuissue.png

The problem's that weird little symbol or whatever where the number should be. I've looked through my script and nothing looks off, but maybe I accidentally deleted a line of code? If you have any ideas as to how to fix it, give me a buzz. I don't think it's a font error, since the "30" on the main status screen display fine, but I'm open to suggestion.

(And if I put this in the wrong spot again, I'm sorry! I'm new to the forum concept and it's difficult to get things right. Please bear with me!)
 

Tai_MT

Veteran
Veteran
Joined
May 1, 2013
Messages
5,472
Reaction score
4,859
First Language
English
Primarily Uses
RMMV
It looks like it's saying "01" as your number.  As in, you have one of them.  I suggest maybe looking into your font?  Maybe that's the issue?
 

ShiningBlade

Villager
Member
Joined
Jan 2, 2013
Messages
8
Reaction score
0
First Language
English
Primarily Uses
I tried that, but it doesn't seem to work...still comes up. Any other ideas?

It looks like it's saying "01" as your number.  As in, you have one of them.  I suggest maybe looking into your font?  Maybe that's the issue?
It might look like that, but if you look at the first picture, you'll see that the 0 in "30" under HP looks different.
 

ShiningBlade

Villager
Member
Joined
Jan 2, 2013
Messages
8
Reaction score
0
First Language
English
Primarily Uses
Upon closer inspection, the junk symbol appears to be replacing an "x" as in "x1". Anyone have any ideas to clear it out?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
ShiningBlade, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Ah, it's not an x. What SHOULD go there is a colon : and it appears that your font doesn't have the glyph for it.


In your scripts, go to Window_ItemList, and line 101 (assuming you are using the default script), and change this:

Code:
draw_text(rect, sprintf(":%2d", $game_party.item_number(item)), 2)
to this:
Code:
draw_text(rect, sprintf(" %2d", $game_party.item_number(item)), 2)
Or you could replace the : with any other character you want it to use instead. Maybe -
 

ShiningBlade

Villager
Member
Joined
Jan 2, 2013
Messages
8
Reaction score
0
First Language
English
Primarily Uses
ShiningBlade, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

Ah, it's not an x. What SHOULD go there is a colon : and it appears that your font doesn't have the glyph for it.

In your scripts, go to Window_ItemList, and line 101 (assuming you are using the default script), and change this:

draw_text(rect, sprintf(":%2d", $game_party.item_number(item)), 2)to this:
Code:
draw_text(rect, sprintf(" %2d", $game_party.item_number(item)), 2)
Or you could replace the : with any other character you want it to use instead. Maybe -
It didn't work...ugh this is so frustrating. I even tried to take out the part in the "" and it still came up with the weird box. Should I just try using a different font?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Try it and see.

Are you using any custom menu scripts?  Do a search for $game_party.item_number throughout your scripts (Ctrl+Shift+F) and see if another script uses it somewhere in a draw_text.

Also, you don't need to quote my entire post when you post immediately after :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
If you're using a different font than the original, switch back and check which letter appears in the place of the strange symbol. That letter is missing in your new font, and you'll need a font that contains it or using a font editor to add it.


If the strange symbol is there on the default font, then try the fix linked in post #2.


If that also doesn't work, then you need to find the script that replaces the custom message/text display and look for the bug in there.
 

Xypher

Veteran
Veteran
Joined
Apr 1, 2012
Messages
148
Reaction score
26
Primarily Uses
i believe yanfly's uses a custom symbol to show the number of items if you're using yanfly's core script
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
ARE you using custom scripts? If so, that would have been useful information to include in your first post (along with links to said scripts).
 

ShiningBlade

Villager
Member
Joined
Jan 2, 2013
Messages
8
Reaction score
0
First Language
English
Primarily Uses
ARE you using custom scripts? If so, that would have been useful information to include in your first post (along with links to said scripts).
Aah! Sorry! I have been using Yanfly's message system, but I've been using it for so long I forgot to mention it.  :o

i believe yanfly's uses a custom symbol to show the number of items if you're using yanfly's core script
If you're using a different font than the original, switch back and check which letter appears in the place of the strange symbol. That letter is missing in your new font, and you'll need a font that contains it or using a font editor to add it.

If the strange symbol is there on the default font, then try the fix linked in post #2.

If that also doesn't work, then you need to find the script that replaces the custom message/text display and look for the bug in there.
Thanks everyone! That fixed it!

P.S. -- Shaz, sorry again. I'm still new at this and you've been very helpful and very patient. A-ri-ga-tou!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

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,081
Members
137,582
Latest member
Spartacraft
Top