Bobstah's Equipment Socketing & Upgrade System v1.3.1 - Yanfly Integration & More!

@Roguedeus: You need to specify how many sockets the weapon has. So in this case, <sockets: 1>. I didn't see that in your screenshot, so I believe it is causing the problem. I will look at using either <sockets> or <SocketInfo> to define sockets in a future update.

I'll also make a demo today.
That was it. 😉 lol

Thanks for answering! (Normally I'm not up this late)
Hey there. Loving all the changes (especially the faces showing in the socket menu), but I have run into a pretty ugly little bug. This is how you reproduce it:

  1. Equip a gem/rune/whatever you call it into a piece of armor or weapon.
  2. Save game.
  3. Exit game.
  4. Load saved game.
  5. Remove gem/rune/whatever you call it from piece of armor or weapon.
What happens is that the "save" file must not be registering the gem inside the piece of equipment, and when you go to remove or swap out the gem in the socket, instead of it being returned to your inventory, it's being completely deleted instead.
@Fernyfer775: I'm looking into a fix for this. Thank you for providing a step-by-step method to reproduce this issue.

I have a big update coming tomorrow or Friday. It will add compatibility with a lot of other plugins (hopefully) and fix a few bugs.
Version 1.3 is now available! Download

The following happened in version 1.3:

  • Fixed an issue where multiple types on one socketable would be ignored. Thanks for the report, Roguedeus!
  • Fixed an issue where socketables wouldn't be returned to the party after loading a save. Thanks for the report, Fernyfer775!
  • Fixed an issue where the Sockets menu item would display twice if using Yanfly's Main Menu Manager.
  • Added support for Yanfly's Skill Cooldowns and Warmups.
  • Added support for Yanfly's Element Absorb.
  • Added Support for Yanfly's Element Reflect.

Next, I am working on a plugin to expand the number of skill, weapon, armor, and equipment types past 99 since that seems to be an issue that a few people are having. That plugin should integrate with this one without any special code as well.
A demo please 😀
Pardon me if I'm overlooking a way to do this, still learning:

If I wanted to increment sockets (to items instanced by Yanfly ItemCore) mid-game, from 1 -> 2 or something, there's no command I can pop, or a way to bake in an item's number of slots as a variable and manipulate that instead, is there?

I personally don't mind changes to Socket: X applying globally to all instances of an item, but I can also see where that wouldn't be desired.
@AlexanderWii: Soon, I promise 🙁

@Sazabot: Correct. I will put a plugin command in the works for the next release.
Ohhhh, a way to increase the sockets on an item would be f-ing amazing! I like Sazabot's idea very much! 😀
Bobstah.

After the latest update I've started getting this error:

TypeError: Cannot read property 'elementId' of undefined at Game_Actor.calcElementReflectRate (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_ElementReflect.js:98:32) at Game_Actor.calcElementReflectRate (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/BOB_SocketsEx.js:1582:65) at Game_Action.itemMrf (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_ElementReflect.js:140:20) at Function.BattleManager.invokeAction (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:1565:45) at Function.<anonymous> (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:2137:14) at Array.forEach (native) at Function.BattleManager.actionActionEffect (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:2134:13) at Function.BattleManager.processActionSequence (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:1759:19) at Function.BattleManager.processActionSequence (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_X_ActSeqPack1.js:858:58) at Function.BattleManager.processActionSequence (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_X_ActSeqPack2.js:552:58)When an action has an assigned element for damage.

I had to move Yanfly's Element Reflect below your plugin to stop the error... Not sure yet if doing so has broken anything in sockets, but the error stops.
Bobstah.

After the latest update I've started getting this error:

TypeError: Cannot read property 'elementId' of undefined at Game_Actor.calcElementReflectRate (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_ElementReflect.js:98:32) at Game_Actor.calcElementReflectRate (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/BOB_SocketsEx.js:1582:65) at Game_Action.itemMrf (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_ElementReflect.js:140:20) at Function.BattleManager.invokeAction (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:1565:45) at Function.<anonymous> (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:2137:14) at Array.forEach (native) at Function.BattleManager.actionActionEffect (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:2134:13) at Function.BattleManager.processActionSequence (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_BattleEngineCore.js:1759:19) at Function.BattleManager.processActionSequence (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_X_ActSeqPack1.js:858:58) at Function.BattleManager.processActionSequence (file:///X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/YEP_X_ActSeqPack2.js:552:58)When an action has an assigned element for damage.

I had to move Yanfly's Element Reflect below your plugin to stop the error... Not sure yet if doing so has broken anything in sockets, but the error stops.
Me too 🙁
Version 1.3.1 is now available! Fixes a crash bug when trying to use Yanfly's Element Reflect. Download

@Roguedeus, AlexanderWii: Try this version. It fixed the problem on my end.
hey there, i just updated this plugin from 1.2.1 to the now 1.3.1 and I just started getting an error now.

here's what the console says.

Checking SaveEngine Preloaded Content:/D:/RPGMV/Games/Darkness%20Rising/js/plugins/ArkDG_SaveScreen.js:1222 Array[0]/D:/RPGMV/Games/Darkness%20Rising/js/plugins/ArkDG_SaveScreen.js:1223 Array[6]/D:/RPGMV/Games/Darkness%20Rising/js/plugins/ArkDG_SaveScreen.js:1224 Done.rpg_managers.js:1618 TypeError: Cannot read property 'socketsEx' of undefined at Game_Actor.passiveStatesRaw (/D:/RPGMV/Games/Darkness%20Rising/js/plugins/BOB_SocketsEx.js:1562) at Game_Actor.Game_BattlerBase.passiveStates (/D:/RPGMV/Games/Darkness%20Rising/js/plugins/YEP_AutoPassiveStates.js:285) at Game_Actor.Game_BattlerBase.states (/D:/RPGMV/Games/Darkness%20Rising/js/plugins/YEP_AutoPassiveStates.js:271) at Game_Actor.Game_BattlerBase.traitObjects (rpg_objects.js:2359) at Game_Actor.traitObjects (rpg_objects.js:3794) at Game_Actor.traitObjects (/D:/RPGMV/Games/Darkness%20Rising/js/plugins/GALV_MagicShards.js:702) at Game_Actor.Game_BattlerBase.allTraits (rpg_objects.js:2363) at Game_Actor.Game_BattlerBase.traits (rpg_objects.js:2369) at Game_Actor.Game_BattlerBase.traitsSet (rpg_objects.js:2399) at Game_Actor.Game_BattlerBase.slotType (rpg_objects.js:2527)rpg_managers.js:1618 SceneManager.catchExceptionI dont understand too much of this, just that the sockets plugin is having an issue on line 1562 that has to do with yanfly passive state plugin support.

I have that plugin above the sockets plugin, but I havent even made any ppassive states in my game yet, so I dont know what could be causing this error.

EDIT*** I just tried turning off the Passive States plugin and the game works without an error, although I no longer have the sockets option on my menu anymore either.
@Aidensmercy: I'll get a fix for this out ASAP. If you are using Yanfly's Main Menu Manager, review the original post for information on how to add it to the menu. If you aren't and it isn't showing up, let me know what plugins you are using so I can figure out what is going on.
@Aidensmercy: I'll get a fix for this out ASAP. If you are using Yanfly's Main Menu Manager, review the original post for information on how to add it to the menu. If you aren't and it isn't showing up, let me know what plugins you are using so I can figure out what is going on.
Thank you, I never had to add it to the main menu plugin before.
@Aidensmercy: Yeah, because I was originally doing it wrong, lol. If people actually followed the documentation for using Yanfly's Main Menu Manager, they were getting two instances of "sockets" in the main menu. 🙂
Version 1.3.1 is now available! Fixes a crash bug when trying to use Yanfly's Element Reflect. Download

@Roguedeus, AlexanderWii: Try this version. It fixed the problem on my end.
I try!!! It has not solved the problem, it remains as such 🙁
@AlexanderWii: You're still getting a crash?
2 errors 🙁

1°: TypeError: Cannot read property 'elementId' of undefined

    at Game_Actor.calcElementReflectRate (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_ElementReflect.js:98:32)

    at Game_Actor.calcElementReflectRate (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/BOB_SocketsEx.js:1583:65)

    at Game_Action.itemMrf (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_ElementReflect.js:140:20)

    at Function.BattleManager.invokeAction (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_BattleEngineCore.js:1560:45)

    at Function.<anonymous> (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_BattleEngineCore.js:2132:14)

    at Array.forEach (native)

    at Function.BattleManager.actionActionEffect (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_BattleEngineCore.js:2129:13)

    at Function.BattleManager.processActionSequence (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_BattleEngineCore.js:1754:19)

    at Function.BattleManager.processActionSequence (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_X_ActSeqPack1.js:858:58)

    at Function.BattleManager.processActionSequence (file:///C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_X_ActSeqPack2.js:545:58)

 

2°: TypeError: Cannot read property 'socketsEx' of undefined

    at Game_Actor.passiveStatesRaw (/C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/BOB_SocketsEx.js:1562)

    at Game_Actor.Game_BattlerBase.passiveStates (/C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_AutoPassiveStates.js:285)

    at Game_Actor.Game_BattlerBase.states (/C:/Users/AleXander/Desktop/MOG_Master_MV/js/plugins/YEP_AutoPassiveStates.js:271)

    at Game_Actor.Game_BattlerBase.traitObjects (rpg_objects.js:2359)

    at Game_Actor.traitObjects (rpg_objects.js:3794)

    at Game_Actor.Game_BattlerBase.allTraits (rpg_objects.js:2363)

    at Game_Actor.Game_BattlerBase.traits (rpg_objects.js:2369)

    at Game_Actor.Game_BattlerBase.traitsSet (rpg_objects.js:2399)

    at Game_Actor.Game_BattlerBase.slotType (rpg_objects.js:2527)

    at Game_Actor.Game_BattlerBase.isDualWield (rpg_objects.js:2532)
This is my first post ever, so hello everyone.

Thank you for this plugin, it's exactly what I needed for my game. But if I could make a request, would it be possible to open up the Socketing menu through an event command, and remove it from the main-menu entirely? I want to have a hub area the player can do to reinforce their weapons instead of doing at any time.

Original thread: https://forums.rpgmakerweb.com/threads/bobstahs-equipment-socketing-upgrade-system-v1-3-1-yanfly-integration-more.50179/