Posts: 11,214
Threads: 648
Joined: May 2009
That would be appreciated.
It is always easier to get to the bottom of these things when we see the problem firsthand rather than being told of the error. Nothing so grandious as a full demo, but a working demo of just the systems at hand and whatever 'necessary' resources for it to function.
You'd be surprised how many times someone sent me a demo that needed a TON of graphics that were never there. Always run into 'file not found' errors.
Posts: 11,214
Threads: 648
Joined: May 2009
I got your demo, and I belive I found the problem.
In MultiSlots, you configured the switched weapons/armors as such:
Code:
# * Switched Equipment
# * - First number indicates the fake displayed equipment
# * - Second number indicates the replacement actual equipment
#
SWITCHED_WEAPONS = [[nil]] # Ids of switched weapons
SWITCHED_ARMOR = [[nil]] # Ids of switched armors
Instead, remove the 'nil' value and have it look like this:
Code:
# * Switched Equipment
# * - First number indicates the fake displayed equipment
# * - Second number indicates the replacement actual equipment
#
SWITCHED_WEAPONS = [[]] # Ids of switched weapons
SWITCHED_ARMOR = [[]] # Ids of switched armors
That fixed it in the demo you sent me. No more 'nil' problem.
Posts: 66
Threads: 5
Joined: May 2009
Hey sorry its been sometime since I had a chance to test it out. I changed the [[nil]] to just [[]] and I still get the error. Even on my demo. I don't know what to say. You got it to work but for some reason it just is hating on me. I'll keep trying around but for right now I still get that dumb error.
Posts: 11,214
Threads: 648
Joined: May 2009
Found it.
It was an unexpected and overlooked scenario in the Dual-Wielding/Sword&Shield system in the equip method. It tried to compare your armors that went up to a good 120 items to the names of matching weapons. And you didn't have 120 weapons but only 80. It could not find (for example) weapon #111 when trying to match it with armor #111 (your bracelet).
The glitch is fixed and now the system is updated to version 1.6... with your name in the credits section.
Posts: 66
Threads: 5
Joined: May 2009
Hey, I don't know how I can thank you enough. You have done some great things for me. Thanks again, I appreciate everything and keep up the good work! I love your scripts!