Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: SereinTear on August 03, 2015, 06:28:42 pm

Title: [RESOLVED] Multi-Slot and Blacksmith 2.0 Malfunction
Post by: SereinTear on August 03, 2015, 06:28:42 pm
I'm using RMXP first off. ^_^

After isolating which of the umpteen-thousand scripts was causing the issue, I figured out GUILLAUME777's Multi-Slot and ForeverZer0's Blacksmith Shop 2.0 don't play well together. Everything works perfectly....

Spoiler: ShowHide
(http://www.mediafire.com/convkey/fc7c/he0kvgzg1a9u1dxzg.jpg?size_id=5)


... until you try to forge one of the armors that go into an extra slot...

Spoiler: ShowHide
(http://www.mediafire.com/convkey/9dc2/43xqostzo4jic82zg.jpg?size_id=5)


... then this happens:

Spoiler: ShowHide
(http://www.mediafire.com/convkey/eab2/piwdb1gkhwliv62zg.jpg?size_id=5)


*shrug* I'm not sure if it's a fixable problem or not. Any help in this is greatly appreciated. Here's hoping I don't have to cut out one of those scripts. There are other multi-slot scripts and blacksmith scripts, but these two have the features I want. And are really easy to configure for a non-scripter.

And here's a quickie demo/game thingy with just the problem scripts.

http://www.mediafire.com/download/hjp8915lrpkc7i6/MessedUP.zip (http://www.mediafire.com/download/hjp8915lrpkc7i6/MessedUP.zip)

Thanks again to anyone who gives this a shot! Or just a thanks for taking the time to read this. lol
Title: Re: Multi-Slot and Blacksmith 2.0 Malfunction
Post by: KK20 on August 03, 2015, 07:43:59 pm
Can you confirm that this does the trick? I didn't test it all that much.

When you run your game and get that error, go into your script editor and it will put the cursor around here:

      else
        armors = [chr.armor1_id, chr.armor2_id, chr.armor3_id, chr.armor4_id]
        eqp = $data_armors[armors[@item.kind]]
      end

Replace that with

      else
        eqp = $data_armors[chr.armor_ids[@item.kind]]
      end

Title: Re: Multi-Slot and Blacksmith 2.0 Malfunction
Post by: SereinTear on August 03, 2015, 08:10:25 pm
Yay! It works! I'm glad it was an easy fix. Thank you so much!