XS - Menu Delux

There is a setting for that in the database to preserve tp. Other>Special Flag>Preserve TP (Normally tp gets reset after each battle)

You might have already known that though... 🙂
Ah, that makes sense now. I actually did not know it auto-reset after each battle. Yeah, it works now. XD

Much appreciated.
Ah, that makes sense now. I actually did not know it auto-reset after each battle. Yeah, it works now. XD

Much appreciated.
Oh cool, glad I could help out. BD
Aside from that.. what about the decimal problem? I ended up with 53.238793410317312316 TP. -_-

I saw a way to correct it on page 3 but it didn't exactly work.
Aside from that.. what about the decimal problem? I ended up with 53.238793410317312316 TP. -_-

I saw a way to correct it on page 3 but it didn't exactly work.
Changing the method to this did not work or?

# // Draw stats. draw_text(x + 2, y, width, line_height, values[0].to_i, 0) draw_text(x + 1, y, width, line_height, values[1].to_i, 2)"to_i" enables the value to be integer meaning you won't get a floated value like 0.325354324.
Changing the method to this did not work or?

# // Draw stats. draw_text(x + 2, y, width, line_height, values[0].to_i, 0) draw_text(x + 1, y, width, line_height, values[1].to_i, 2)"to_i" enables the value to be integer meaning you won't get a floated value like 0.325354324.
Yep, that's what I did. It didn't work.
Yep, that's what I did. It didn't work.
Get the newest version of the patch I made for you.
Get the newest version of the patch I made for you.
Oh, so it's YOUR fault, huh? =P

Kidding. That kinda skipped my mind though, not sure why I didn't think of that.

Thanks though.
Great menu script however it doesn't seem to be compatible with Falcao's Pearl ABS. If you press the "N" key which opens up the Quick equip screen the game crashes. Now I imagine it might be easier to make a compatibility patch for the a menu system rather than an ABS system right? The error occurs in Falcao's system right here actually in this code block. Now before anyone says you should report this to Falcao perhaps there is a way to stop the menu system from activating when this particular scene is called so that the Falcao system can do its thing?

This is the code block that the error is caused in: (Falcao's System)

Spoiler
class Scene_QuickTool < Scene_MenuBase
  def start
    super
    x, y = Graphics.width / 2 - 460 / 2,  Graphics.height / 2 - 85 / 2
    @top_text = Window_Base.new(x, y - 156, 460, 85)
    @statust = ['Ready', 0]
    refresh_top_info
    @type_select = Window_ItemSelect.new(@top_text.x, @top_text.y + 85)
    @type_select.set_handler🙂weapon,     method🙂refresh_tools))
    @type_select.set_handler🙂armor,      method🙂refresh_tools))
    @type_select.set_handler🙂item,       method🙂refresh_tools))
    @type_select.set_handler🙂skill,      method🙂refresh_tools))
    @type_select.set_handler🙂cancel,     method🙂refresh_cancel))
    @type_index = @type_select.index
    @items_w = Window_ActorQuickTool.new(@type_select.x, @type_select.y + 50)
    @items_w.refresh($game_player.actor, @type_select.current_symbol)
    @description = Window_Base.new(@items_w.x, @items_w.y + 148, 460, 75)
    DisplayTools.create(@description.x + 75, @description.y + 80)
    @background_sprite.color.set(16, 16, 16, 70)
  end
I don't know, I figured it'd be worth a shot to ask becasue this is by far one of the best menu's I have ever seen and it would be a shame to not be able to get it to work.
@HalestormXV: I am using that ABS in my game along with this script and it works for me. Maybe you have something else that would cause that error.
Hmm? Maybe because the Pearl is above the menu? And it doesnt crash for you when you use the N key? Interesting. I will have to check this out when i get home and maybe try switching the order of all my XS scripts to be above Falcaos Pearl ABS system
Yeah I have my scripts above the ABS, or a few of them at least.
Hmm very odd, the error is still occurring with the XS scripts at the top as well. Seems the message is NoMethodError occurred. undefined method 'color' for nil:NilClass

Same spot as well:

Spoiler
[class Scene_QuickTool < Scene_MenuBase

  def start

    super

    x, y = Graphics.width / 2 - 460 / 2,  Graphics.height / 2 - 85 / 2

    @top_text = Window_Base.new(x, y - 156, 460, 85)

    @statust = ['Ready', 0]

    refresh_top_info

    @type_select = Window_ItemSelect.new(@top_text.x, @top_text.y + 85)

    @type_select.set_handler🙂weapon,     method🙂refresh_tools))

    @type_select.set_handler🙂armor,      method🙂refresh_tools))

    @type_select.set_handler🙂item,       method🙂refresh_tools))

    @type_select.set_handler🙂skill,      method🙂refresh_tools))

    @type_select.set_handler🙂cancel,     method🙂refresh_cancel))

    @type_index = @type_select.index

    @items_w = Window_ActorQuickTool.new(@type_select.x, @type_select.y + 50)

    @items_w.refresh($game_player.actor, @type_select.current_symbol)

    @description = Window_Base.new(@items_w.x, @items_w.y + 148, 460, 75)

    DisplayTools.create(@description.x + 75, @description.y + 80)

    @background_sprite.color.set(16, 16, 16, 70)

  end
I know it is the falcao system i just wish i could fix it lol.
@HalestormXV: Remove this line:

@background_sprite.color.set(16, 16, 16, 70)I forgot I did that in my game 😛
Wow lol, that did it. I didn't even think to do that because i thought it would break something. I see all it really did was just draw something. This is great, thanks. Only problem now is none of the commands work? Perhaps they need to be reconfigured?  fixed it, stupid mistake on my part.
Hello Nicke,

  I am using this script of yours for a long time, but now i am also using a font changer (with different font sizes) script from Zalerinian, and i would like to ask if you could add a small tweak to the XS Menu Delux.

line 454:  raw_line_ex(0, y += 26, Color.new(255,255,255,32), Color.new(0,0,0,64))

  Is it hard to change the Y of the lines to accompany the actual font size that might change during the game?
Wait, what? Are you increasing the font size as the game goes on or what? 🙂
That's a good question (I know it's kind of curious hehehe 😀  ). Yeah, i did an option to change the font size and the font style, by using zalerinian font script http://forums.rpgmakerweb.com/index.php?/topic/11196-game-fonts/  and Yanfly Ace system options  http://yanflychannel.wordpress.com/rmvxa/menu-scripts/system-options/

 Here's an example of my commom event that is controlling it:

http://imageshack.us/photo/my-images/404/screenhunter50may072305.png/
Hi,

I was using the script and it was working perfectly, but now whenever I try to open up the abilities menu for characters in game, it crashes. This is the error I receive: Script 'SceneManager' line 60: NoMethodError occurred. undefined method 'new' for nil:Nil:Class. I don't understand why this is happening, all the other options work great! Is there a way to fix this?
Hi,

I was using the script and it was working perfectly, but now whenever I try to open up the abilities menu for characters in game, it crashes. This is the error I receive: Script 'SceneManager' line 60: NoMethodError occurred. undefined method 'new' for nil:Nil:Class. I don't understand why this is happening, all the other options work great! Is there a way to fix this?
Which versions are you using, for the menu delux and core script?
I have a feeling this attractive and streamlined menu would really clash with the default item/equip/skill/status/etc screens.. 

Original thread: https://forums.rpgmakerweb.com/threads/xs-menu-delux.6418/