Save-Point
YEM Equipment Error Message - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: YEM Equipment Error Message (/thread-3552.html)



YEM Equipment Error Message - Samven - 06-11-2011


I posted this on RMVX, but after about a week I've yet to get any kind of help, so I figured I'd ask around here.

Basically, I was testing out a battle in my game, to see how some skill animations I'd done looked when used in an actual battle, and when the Enemy killed one of my Actors, the test battle crashed and I got the following error message. Then, just today, I got the same error message again when I tried using a Defence + Potion on an Actor.

[Image: YEM_Equipment1.png]

So, I looked up the problem in the YEM Equipment Overhaul script, but it honestly didn't make a lot of sense to me. I hadn't fiddled with the script, so I wasn't sure why it would crash in such a way; let alone what "<RPG::State:0x2adb118>" meant.

[Image: YEM_Equipment2.png]

Since I haven't been able to figure out the answer, I thought I'd come here for support. It's possible that since I'm not using the entire engine - I only took the YEM Equipment Overhaul because I needed the extra accessory slots - that this happens, but I'm honestly not sure. So, I decided to come here for assistance.

The scripts I've been using are, in order of their placement, are as follows:

Content Hidden

Further information pertaining to the problems:

The first time around, I was using four battlers, each at Lv.99 with their Initialised equipment. The YEM Equipment Overhaul is set up so that weapons cannot be unequipped (ie: everyone who equips a weapon cannot remove it: they can only exchange it with another weapon). I believe two characters were without weapons, so that may have caused it, but any clear light that can be shed on this problem would be very much appreciated.

The second time around, I had four characters at Lv.15 with Initialised equipment.

Any help that you can give me would be very much appreciated. Thanks in advance. : )


RE: YEM Equipment Error Message - Charlie Fleed - 06-11-2011

The fact that you're using just a piece of an engine is likely to be the cause, as well as compatibility between the engine itself and the rest of the scripts you have.
That error message is telling you that State objects don't have a property named traits, I guess the part of code where that property is defined is missing.


RE: YEM Equipment Error Message - DerVVulfman - 06-12-2011

It may be possible that another script is conflicting with it as well. Yes, I did craft a pair of those scripts, but in truth I am not into VX.

Try making a copy of your demo and begin narrowing it down by eliminating one script after another, each time testing your battles. If you still have the problem when one script is deleted, and then 'don't' have a problem after deleting a second... that second one would likely be your problem script.


RE: YEM Equipment Error Message - Samven - 06-12-2011

Thank you very much, guys. I'll get right on it and report back when I know. : )