[XP] Animated Cms

Started by Juan, January 07, 2008, 08:00:03 pm

Previous topic - Next topic

Jackolas

i'm glad the problem is not on my side :P

Juan

I should have an update soon.
Dropbox Who need luck when you can make your own.
3ds Friend code: ShowHide
 4468 1422  6617

Juan

Updated
The menu supports unlimited party size now. And draws soul rage bars if its being used.
Dropbox Who need luck when you can make your own.
3ds Friend code: ShowHide
 4468 1422  6617

Jackolas

February 19, 2009, 01:07:17 pm #43 Last Edit: February 19, 2009, 01:32:00 pm by Jackolas
whoo.. great update... love the new option menu... way cleaner..

ran into the first bug :P think its becouse i don't have all fonts installed.
if i go options -> visual -> fonts i get this error:

script'Juan's Custom Menu'line 2447: NoMethodError occurred
undefined method 'fontname'for #<game_system:0x15D10a0>



by removing line 2447 it seems to be fixed

Juan

I knew I forgot to change something. I'll update it right way. And glade you like it.
Dropbox Who need luck when you can make your own.
3ds Friend code: ShowHide
 4468 1422  6617

Jackolas

found the next bug.
if you have more than 2 items that a char can equip.

Spoiler: ShowHide

the items that are on the right side (you can still see the icons) can't be selected
this char has picked up 8 armours he can equip


hope for a quick fix.. don't think its that hard to fix :P

Juan

That should be an easy fix. I'll do it later today.
Dropbox Who need luck when you can make your own.
3ds Friend code: ShowHide
 4468 1422  6617

Calintz


Jackolas

did you find the problem?
tried to fix it myself but failed :S

Juan

Sadly no I haven't had time. This weekend I will fix it  :)
Dropbox Who need luck when you can make your own.
3ds Friend code: ShowHide
 4468 1422  6617

Jackolas

March 22, 2009, 11:57:49 am #50 Last Edit: March 24, 2009, 03:15:23 pm by Jackolas
since juan did not have time yet to fix it. i fixed it myself.
here it is:

Spoiler: ShowHide

change on line 1934 till 1954
Quote#--------------------------------------------------------------------------
  # * Draw Item
  #     index : item number
  #--------------------------------------------------------------------------
  def draw_item(index)
    item = @data[index]
    x = 4 + index % 2 * (288 + 32)
    y = index / 2 * 32
    case item
    when RPG::Weapon
      number = $game_party.weapon_number(item.id)
    when RPG::Armor
      number = $game_party.armor_number(item.id)
    end
    bitmap = RPG::Cache.icon(item.icon_name)
    self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 24, 24))
    self.contents.font.color = normal_color
    self.contents.draw_text(x + 28, y, 212, 32, item.name, 0)
    self.contents.draw_text(x + 240, y, 16, 32, ':', 1)
    self.contents.draw_text(x + 256, y, 24, 32, number.to_s, 2)
  end


and change it to this:
Quote#--------------------------------------------------------------------------
  # * Draw Item
  #     index : item number
  #--------------------------------------------------------------------------
  def draw_item(index)
    item = @data[index]
    x = 4
    y = index * 32
    case item
    when RPG::Weapon
      number = $game_party.weapon_number(item.id)
    when RPG::Armor
      number = $game_party.armor_number(item.id)
    end
    bitmap = RPG::Cache.icon(item.icon_name)
    self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 24, 24))
    self.contents.font.color = normal_color
    self.contents.draw_text(x + 28, y, 212, 32, item.name, 0)
    self.contents.draw_text(x + 240, y, 16, 32, ':', 1)
    self.contents.draw_text(x + 256, y, 24, 32, number.to_s, 2)
  end


this should fix the bug and put all the items in 1 column


this is btw the fix for the demo version of the script

edit:
the new script (version 5.2) has some major bugs,
1) when opening the menu with the fonts, the game crashes
2) when turning faces on there is always a error that he can't find the face (even if u place the face file in the right place with the correct name)
3) if you have more than 2 weapons you can't unequipped any weapon any more
at this point I was getting frustrated and gone back to version 5.1 (the 1 in the demo)