MV SOLVED Equipment ID for "Equip battle command" issue

I added a plugin that let's me change equipment during a battle, I want to be able to just change one piece of equipment
and the plugin does have a feature to restrict which equipment slots the player is able to change. The problem is that it asks me for the ID of the equipment, but I have no idea of what to write there



I know it may be an extremely easy issue to resolve but I honestly don't know what to do so any help is appreciated

Here's the link for the plugin also



Alright, I found a plugin that works exactly how I want, so everything is ok
You haven't linked to the plugin in question so I can only make educated guesses, but since it doesn't seem to have any way of differentiating between weapons and armour, I'm assuming what it's asking for is a slot ID of the equipment type you want to lock. So if you had these equipment types and wanted to prevent changing shield and body armour, you'd put "2, 4"

1702775001276.png
You haven't linked to the plugin in question so I can only make educated guesses, but since it doesn't seem to have any way of differentiating between weapons and armour, I'm assuming what it's asking for is a slot ID of the equipment type you want to lock. So if you had these equipment types and wanted to prevent changing shield and body armour, you'd put "2, 4"

View attachment 288273
Oh right, I'm sorry, here's the link of the plugin


And sadly, I had tried what you said and it just doesn't work
I mean, the version history in the first post of that thread says:
1702779380345.png


So it's clearly supposed to be what @Trihan said.

Are you entering just the number, not the 0 in front? Although, just to note, the plugin parameter says to separate the IDs by spaces, and Trihan included a comma. If the person who coded the plugin was kind of on the low end, that could break the expected formatting of the plugin parameter.

Make sure you're trying it like 2 4

If that doesn't work, I would just look for another plugin that does what you want. That poster hasn't been on the forum in 8 years.

There may even be something in the code that's not compatible with the latest version of MV - 1.6 came out in 2018, and many plugins required new versions to be compatible.
I mean, the version history in the first post of that thread says:
View attachment 288277

So it's clearly supposed to be what @Trihan said.

Are you entering just the number, not the 0 in front? Although, just to note, the plugin parameter says to separate the IDs by spaces, and Trihan included a comma. If the person who coded the plugin was kind of on the low end, that could break the expected formatting of the plugin parameter.

Make sure you're trying it like 2 4

If that doesn't work, I would just look for another plugin that does what you want. That poster hasn't been on the forum in 8 years.

There may even be something in the code that's not compatible with the latest version of MV - 1.6 came out in 2018, and many plugins required new versions to be compatible.
I've tried "02 04" "2 4" "#02 #04" "#2 #4" but nothing nothing works

I guess I'll have to find another plugin, or just live with the players being able to change their whole set of equipment during battle
I've tried "02 04" "2 4" "#02 #04" "#2 #4" but nothing nothing works
The only of those that matches the plugin instructions is "2 4". It says to separate by space, and you never use leading zeros when you're referring to IDs (it causes JavaScript to interpret them as octal values).

You would also never insert unspecified symbols, like #.

From a quick look at the code, I think it should work.

When you're running a playtest, press F8, go to the Console tab, and paste this in:
Code:
$gameParty.members()[0].equipSlots()

Post a screenshot of the resulting window.
The only of those that matches the plugin instructions is "2 4". It says to separate by space, and you never use leading zeros when you're referring to IDs (it causes JavaScript to interpret them as octal values).

You would also never insert unspecified symbols, like #.

From a quick look at the code, I think it should work.

When you're running a playtest, press F8, go to the Console tab, and paste this in:
Code:
$gameParty.members()[0].equipSlots()

Post a screenshot of the resulting window.
It's ok now, I found a way better plugin that works perfectly

Screenshot_911.png


Screenshot_912.png


Although still thanks a lot for the help 😀
It's ok now, I found a way better plugin that works perfectly
what was your alternative solution?
what was your alternative solution?

This one, it works 100% right
Oh, sorry, I misread spaces as commas in that first one.

Just to troubleshoot the original, were you including the quotes? They weren't meant to be part of the input.
Oh, sorry, I misread spaces as commas in that first one.

Just to troubleshoot the original, were you including the quotes? They weren't meant to be part of the input.
Nah, I first tried without, then with commas, literally nothing worked

Original thread: https://forums.rpgmakerweb.com/threads/solved-equipment-id-for-equip-battle-command-issue.163908/