$D13x Unique Equipment

# ☆ Introduction
# This script is what makes every item unique, without this the Equipment
# part of the $D13x system would be FULL of errors, faults and glitches !!
# This script has 0 customisation options.
# NOTE :
# I HIGHLY Reccommend you to NOT have any actor wearing any equipment at
# the beggining of the game, if needbe, create all items after starting the game
# and add them to the actor via script calls.
# This will likley avoid glitches with multiple save files and potential errors.
Script Link


20 responses

  1. Joseph jack

    Script error ” script ‘dx13-unique equipment ‘ line 163 :type error occurred can’t convert NilClass into Color.

    April 26, 2014 at 05:26

    • what additional scripts are you using ?
      this error would only pop up if you where using some kind of script to give color to equipment in some way – maybe the text names or icon or something.
      If you arent using any other scripts, please give me a step by step guide to how this happened and I will look into it further 🙂

      April 26, 2014 at 13:43

  2. Nyne

    Error on line 166, can’t clone symbol

    April 26, 2014 at 19:48

  3. joseph jack

    only your scripts +yanfly equip script to have more item slots. 🙂

    April 27, 2014 at 18:12

  4. Ok, in order for me to fix these issues, I will need a detailed description of how the error has occurred.
    Please tell me how this happened, when and anything else you feel will help and I will look into it asap 🙂

    Unfortunately, the current information is no where near enough to isolate the issue. :/

    April 28, 2014 at 15:30

  5. joseph jack

    okay with just yours and yanflys have nothing equipped on the toon., than i make 500 weapons and 750 armors i put weapon id 12 which is a iron sword . armor id 10 which is a Bronze shield. Armor id 40 which is iron platemail. Armor id 60 which is iron bracers. Armor id 95 which is Leather boots. games goes fine till you open the box and wola error line 163 the funny thing is even if i delete yanflys script for extra gear the error will still show up every play thru :-). just make another armor and weapon and u to will see the error depending on how it goes on any treasure box using basic event treasure add of item. 🙂

    April 30, 2014 at 01:30

    • So you are saying there is a fault with the normal ‘add item’ / ‘add weapon’ and ‘add armor’ event tabs? That makes it error when you gain [x] amount of items ?

      Why not use the script calls within the script to add your weapons and armors ?

      April 30, 2014 at 12:08

  6. Nyne

    Error on line 166, can’t clone symbol
    Appears when ever equipment is added to the inventory by an npc or from a chest.
    Also, equipment does drop from enemies but it is stacked and not unique.

    May 3, 2014 at 16:32

    • Ahh ok, I see the issue now. I will get a fix done for that asap 🙂

      May 9, 2014 at 13:12

  7. Hi, i’m having the Script error ” script ‘dx13-unique equipment ‘ line 163 :type error occurred can’t convert NilClass into Color.” Aswell and did nothing but to download your master demo. Is there anything I need to know about it that I’m missing?

    May 11, 2014 at 20:55

    • Did you copy the core script along with any other stat related scripts that the equip script requires?

      July 15, 2014 at 16:32

  8. Nyne

    Hi again, I’m using Falcao Pearl ABS Liquid V3 for my game. When I try to equip a unique equip from the quick equip menu in the ABS it doesn’t work but it does from the regular equip menu. Is there a way to fix this?

    July 15, 2014 at 16:17

    • Sorry I’m not familiar with falcaos equipment scene. Also not really prone to making compatibility between other scripters scripts :/

      What exactly happens when you try to equip a unique equip from the falcao equip scene?

      July 15, 2014 at 16:33

  9. Nyne

    The issue was that the weapon didn’t equip but it’s okay because I’ve found a replacement script for this.

    July 17, 2014 at 17:16

  10. Ashyra moonwolf

    Hi, i try to use your script, but always that shitting error 163! I disable able, all my other script, and othing, i try to see something directly on your one, and the problem is: Even without change anything, just go on script, click ok, and changing the starting emplacement, error 163 occure! But when i launch your demo directly without edit her, she works….. That likely the weirdest issues i have ever seen….

    September 13, 2014 at 12:41

    • error 163? You mean you are getting an error at line 163?
      Line 163 should be this…

      vi[id].instance_variable_get(var) == nil ? nil :

      and that shouldnt throw any errors :/

      You do have the $D13x core script installed yea?
      Also – a screenshot of the error would help greatly 🙂

      September 14, 2014 at 01:13

  11. Ashyra moonwolf

    that’s this! i use your core for the stat system! and i (now for kill to! thx about it by the way^^)! the more strangee is: the bug canbe made with your demo! i change the start point of team (to avoid the first video) and i open the script window, don’t change anything (always with your demo, not my game) press ok, launch demo… and then error line 163 before i can enter in the game…..

    September 16, 2014 at 00:34

  12. Hmm, that is a strange bug. Try adding these two lines…

    vi[id].instance_variable_get(var).is_a?(Color) ?
    vi[id].instance_variable_get(var).clone :

    So that the code at line 163 looks like this…

    val = vi[id].instance_variable_get(var).is_a?(Numeric) ?
    vi[id].instance_variable_get(var) :
    vi[id].instance_variable_get(var).is_a?(Color) ?
    vi[id].instance_variable_get(var).clone :
    vi[id].instance_variable_get(var) == nil ? nil :
    vi[id].instance_variable_get(var) == true ? true :
    vi[id].instance_variable_get(var) == false ? false :
    new.instance_variable_set(var, val)

    I quickly tested and that seemed to stop the error. Let me know if you run into any other issues 🙂

    September 16, 2014 at 12:46

  13. Ashyra moonwolf

    That work for me! thx^^ Should be ok, i’ll tell you if i found other issues^^

    September 20, 2014 at 11:22

  14. Hisuma

    Hello Dekita 🙂 i have a “little” problem with this script. im useing your CORE script, EQ lvling and this one. and a few more from you.
    my Problem is i cannot remove Weopen/armor from a Actor.
    with the default seting change weopen/armor -X its only removes from invetory. but impossible to remove if its on the actor.
    i tryed with the script call in put inside. change_eqp_to_this(actor_id, slot_id, item_id)
    —> change_eqp_to_this(1, 0, 2) tryed to go around it. change item and remove it than. but if i script call it. i get an error :

    undefined method ‘change_equip_by_id_and_teir’ for #

    do im something wrong ? is there other ways to remore EQ from an Actor ?
    with this its impossible to force the player to lose Weopen X and armor Y :p
    hope you can help 😀

    June 12, 2015 at 19:55

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s