Help with Yanfly's Ace Equip Engine!

● ARCHIVED · READ-ONLY
Started by Seijiro Mafuné 14 posts View original ↗
  1. For some reason, I'm getting duplicates. Instead of listing a normal progression, the situation as current is such:

    -Weapon

    -Weapon

    -Shield

    -Shield

    -Hat

    -Head

    -Head

    -Jacket

    -Armor

    -Armor

    -Personal
  2. What other scripts are you using? I have the equip engine and no duplicates. Make sure to post all Yanfly scripts in the exact same order Yanfly has them posted on his blog.
  3. please link the script you're using and post screenshots of the setup you've done.


    Yanfly's scripts are stable and tested hundreds of times, if they do not work as intended it's either a misconfiguration (what notetags did you put where, how did you set the script configuration) or an incomatibility with another script - please also link to all other scripts you've installed.
  4. This is the link.

    Other Yanfly scripts I'm using:

    -Core Engine

    -Adjust Limits

    -Extra Param Formulas

    -Party System

    -Battle Engine

    -Element Popups

    -Equip Engine

    -Steal Item

    -Stop All Movement

    I can't list all of the scripts I've used because I don't have access to the file right now, but they don't have anything to do with equipment, which is the whole reason why I picked this one up. Everything else is also not only under Yanfly, but separate as well.
  5. Check the customization module. You may have something listed twice.

    I actually use this script, and the only time I've ever had issues was when I mistyped a category.
  6. I wish, but no. I seventuple-checked it.

    First situation: I wanted non-custom actors to have only the non-custom equips, so I set a lower amount of equips for them. I messed up on the code for the classes, it seems, which may've been the actual cause of the above issue, so I excised it and got it working, except...

    Second situation: I still can't give the actors custom equips. They have access to all the same equips, even though I used the notetags for everyone the proper way. The characters have all eight equips available to them, even though one of them is only supposed to have six!

    Unfortunately, it's going to take me a while to get back to it...
  7. Please post you part of the configuration of the equip slot (should be lines 190 following) so that we can see what you did there.


    Also, please post screenshots of the actor and the class of one of the combinations with the problem, so that we can compare the configuration.
  8. Okay... first, the script part that matters: 

    module YEA
      module EQUIP
       
        #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        # - General Equip Settings -
        #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        # This adjusts the default equip configuration. While actors can have their
        # own unique equipment configurations, it's recommended to not change too
        # much as things get really hairy when it comes to proper eventing.
        #
        # ID   Equip Type
        # ---  ------------
        #  0   Weapon
        #  1   Shield
        #  2   Headgear
        #  3   Bodygear
        #  4   Accessory
        #
        # Whatever you set the below slots to, the dual wield setup will be exactly
        # identical except that the second slot will be changed to a weapon (0).
        #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
        # Adjust this array to set the default slots used for all of your actors
        # and classes if they do not have a custom equipment slot setup.
        DEFAULT_BASE_SLOTS = [ 0, 1, 2, 6, 5, 3, 4, 7]
       
        # This hash adjusts the new equip types (past 4+). Adjust them to match
        # their names properly. You can choose to allow certain types of equipment
        # be removable or not, or whether or not optimize will affect them.
        TYPES ={
        # TypeID => ["Type Name", Removable?, Optimize?],
               0 => [   "Weapon",       true,      true],
               1 => [   "Shield",       true,      true],
               2 => [ "Headgear",       true,      true],
               3 => [ "Bodygear",       true,      true],
               4 => ["Accessory",       true,     false],
               5 => [   "Jacket",       true,      true],
               6 => [      "Hat",       true,      true],
               7 => [ "Personal",       true,     false],
        } # Do not remove this.
    Example character:

    <equip slots>
     equip type : 0
     equip type : 1
     equip type : 2
     equip type : 5
     equip type : 3
     equip type : 7
    </equip slots>

    <nothing on classes>

    Result:

    Instead of having the slots for Weapon, Shield, Headgear, Jacket, Bodygear, and Personal, in that order, I still have all the other slots.

    The other scripts I'm using: MOG's Anti Animation Lag, Animation +, Aura Effect, Battle Cursor, Battle Cry, Battle Result, Battleback EX, Battler Motion, Boss HP Meter, Kekkai, Transition EX, Menu Cursor and Scene File A, and Yami's Battle Symphony, Enemy Charset and Holders Battler.

    Anything which might be causing this issue?

    Character.png

    Class.png

    In-Game.png
  9. Problem found: you used the wrong notetags

    Seijiro Mafuné said:
    <equip slots> equip type : 0</equip slots>
    (I added the code tags to make your bug better visible, the spacing counts!!!)The correct notetag can have two different formats, either

    <equip slots>equip type: 0</equip slots>or

    Code:
    <equip slots>weapon</equip slots>
    In coding, even missing or excess spaces can result in a bug - and you added spaces in places where the script didn't expect them, so your settings were ignored and the default slots used.Remove the space between type and : and it will work.
  10. Fair enough.

    Too bad that to me, doing that results in this new pic, though.

    In-Game 2.png
  11. OK, that is a different bug - now the first bug (notetags weren't processed) is solved, so you need to look for the cause of the second bug (notetags were processed double).


    Try removing the notetags for the other scripts as first test.


    If the bug remains with only the equip slot tags, then it's a problem with the script commands (needs a compatibility patch with another script).


    If the bug is gone when only the equip slots are there, then it's a problem with the notetag processing (needs a rewrite within yanfly's script)
  12. It's the former.

    I'll try updating everything and seeing what comes out.
  13. ...and it didn't work, guys. I upgraded the scripts, but nothing happened.

    This is the newest Core Engine at v1.09. All of Yanfly's scripts are updated. I'm only a novice at this so I don't have enough experience to tell what's wrong, clearly...

    ETA: I found the problem.

    For some reason, "equip type" is not functional with my system. Using the proper names corrected it.

    Thank you all for your help.
  14. Sounds like you will need a patch then, as it sounds like a conflict between Yanfly's equip engine and another script. At this point it is a good idea to remove one script, see if the error still remains. If not, then that script was not at fault, add it back. Keep this up for all scripts in your list except the equip engine script. This should help you to identify which script is conflicting with Yanfly's.