Help with Yanfly's Ace Equip Engine!

Seijiro Mafuné

A Random.
Veteran
Joined
Aug 22, 2014
Messages
52
Reaction score
2
First Language
English
Primarily Uses
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
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
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.
 

Seijiro Mafuné

A Random.
Veteran
Joined
Aug 22, 2014
Messages
52
Reaction score
2
First Language
English
Primarily Uses
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.
 

captainproton

Dangerously Nifty
Veteran
Joined
Dec 20, 2013
Messages
1,276
Reaction score
570
First Language
english
Primarily Uses
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.
 

Seijiro Mafuné

A Random.
Veteran
Joined
Aug 22, 2014
Messages
52
Reaction score
2
First Language
English
Primarily Uses
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...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
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.
 

Seijiro Mafuné

A Random.
Veteran
Joined
Aug 22, 2014
Messages
52
Reaction score
2
First Language
English
Primarily Uses
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
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Problem found: you used the wrong notetags

<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.
 
Last edited by a moderator:

Seijiro Mafuné

A Random.
Veteran
Joined
Aug 22, 2014
Messages
52
Reaction score
2
First Language
English
Primarily Uses
Fair enough.

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

In-Game 2.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
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)
 

Seijiro Mafuné

A Random.
Veteran
Joined
Aug 22, 2014
Messages
52
Reaction score
2
First Language
English
Primarily Uses
It's the former.

I'll try updating everything and seeing what comes out.
 

Seijiro Mafuné

A Random.
Veteran
Joined
Aug 22, 2014
Messages
52
Reaction score
2
First Language
English
Primarily Uses
...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.
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,061
Members
137,575
Latest member
akekaphol101
Top