Hey there! I'm trying to use this plugin together with VisuMZ's core engine, but no matter the placement I get a "Cannot convert a Symbol value to a string" error. Any help?
Viewing post in Solarflare Base Plugin comments
I’d need to see the stack trace to be able to help. The best way to get that is to open the developer console (F12), switch to the Console tab, and copy-paste the red text. VisuStella might also show this directly on the game screen, but as that’s not selectable, it’s easier to get it from the developer console.
I’ll also need to know what plugins of mine you’re using. There’s nothing in Utils that directly works with Symbols, so this must be coming from somewhere else.
If it’s something very simple I may fix it, but in general I’m not open to making my plugins compatible with VisuStella.
Right, the plugin I'm using is SFG_ExpandedTP, aand here's the stack trace
DKTools.js:17547 TypeError: Cannot convert a Symbol value to a string at Object.VEYOr (VisuMZ_0_CoreEngine.js:9363) at Game_Actor.Game_BattlerBase.<computed> [as param] (VisuMZ_0_CoreEngine.js:9363) at Game_Actor.get (SFG_ExpandedTP.js:371) at Game_Actor.Game_BattlerBase.maxTp (SFG_ExpandedTP.js:655) at Game_Actor.Game_BattlerBase.refresh (rmmz_objects.js:3050) at Game_Actor.Game_BattlerBase.<computed> [as refresh] (VisuMZ_0_CoreEngine.js:9363) at Game_Actor.Game_Battler.refresh (rmmz_objects.js:3627) at Game_Actor.refresh (rmmz_objects.js:4386) at Game_Actor.initEquips (rmmz_objects.js:4218) at Game_Actor.setup (rmmz_objects.js:4074)
Dunno how much this will help but here's the source it gives in the console as well:
Game_BattlerBase['prototype'][_0x3a6da1(0xa58)] = function(_0x232237) { const _0x414c56 = _0x3a6da1 , _0x361c75 = { 'VEYOr': function(_0x54838d, _0x6db9c5) { return _0x54838d + _0x6db9c5; }, 'FuSKW': _0x414c56(0xa58), 'RUKDt': 'Total' }; let _0x29cef6 = _0x361c75['VEYOr'](_0x361c75[_0x414c56(0x5d6)](_0x361c75[_0x414c56(0x53a)], _0x232237), _0x361c75[_0x414c56(0x94d)]); if (this[_0x414c56(0x6fd) + _0x414c56(0x834)](_0x29cef6)) return this[_0x414c56(0xe43)][_0x29cef6]; return this['_cache'][_0x29cef6] = Math['round'](VisuMZ[_0x414c56(0xc9f)][_0x414c56(0x316)]['Param']['BasicParam' + _0x414c56(0x9c1) + 'a'][_0x414c56(0xedc)](this, _0x232237)), this[_0x414c56(0xe43)][_0x29cef6]; }
Okay, that was a little bit odd. The SFG_ExpandedTP line numbers in your stack trace didn’t seem to match, so I downloaded the plugin and discovered it was version 1.4, not the latest 1.5. I must’ve forgotten to upload the new version or something. I’ve now uploaded it (both ExpandedTP and Utils were updated).
The changes here may or may not fix your issue – I didn’t make any new changes, all of this was done a few months ago. If you still have the issue with version 1.5, please post the new stack trace.
As for the obfuscated VisuStella code, I can’t do anything with it, sorry. No point in posting it again.