Main Menu
  • Welcome to The RPG Maker Resource Kit.

(vx) Equip Ext+Item Cap error

Started by Mushu, August 28, 2011, 08:06:54 PM

0 Members and 1 Guest are viewing this topic.

Mushu


cozziekuns

Replace line 125 with:

unless $scene.is_a?(Scene_Equip) or item.nil?

for a temporary fix, though I have no idea why Equip Extension would be calling a nil item. It's probably a logic error in either Pacman's or KGC's script.

Mushu

That patch worked, but now I found out KGC_ExtendedEquipScene is being interfered with by the Adv. Description Script and the Oecs Slot System script specifically.
All the adv. description did bad was move part of the menu around and the slots system is freezing the menu.

This is what it looks like


This is how it's supposed to look(disregarding everything but the spots :P)

http://dl.dropbox.com/u/33252047/Project3.zip

pacdiggity

Quote from: cozziekuns on August 28, 2011, 09:09:36 PM
Replace line 125 with:

unless $scene.is_a?(Scene_Equip) or item.nil?

for a temporary fix, though I have no idea why Equip Extension would be calling a nil item. It's probably a logic error in either Pacman's or KGC's script.
I'm quite sure it was my script. I got an error in the gain_item method when the scene was Scene_Equip; for some reason the item wasn't retaining it's RPG class when it swapped, so I cunningly made sure it didn't happen in the equip scene. It didn't occur to me to put a .nil? there, that would've worked much better.
I still don't know why that would return nil, but that's my problem.
it's like a metaphor or something i don't know

Mushu

Well I'm glad that patch atleast works but with the slot system that might take a ginormous modification xD