Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

The passive is that if you aren't in a fight, the actors heal their resources over time. However, when I enable the plugin, it crashes. Because I haven't set a min value and a max value... but the state doesn't have one- why could that be? and if so where would I put it?

So, yeah I need help on how to fix this? is there something I'm missing? 

Hi there!

Let me ask/talk about some things:

  1. You need to tell me what plugin you are using, that uses those note tags.
  2. That crash has nothing to do with a minimum and max value from a state. I guess this also does not exist ^^''
  3. Send me the full screenshot of the console error.
  4. Send me a screenshot of your plugin list, from the plugin manager.
  5. From what I can see on the error, the problem seems to me that the code is unable to get the default/current value of the parameter from the actor class. So, I believe you have either a plugin conflicting or you didn't set up my Class Curve plugin right. Open the plugin parameters, and make sure you created the class parameters correctly.
  6. Make sure you are using my core plugin, Eli Book.
  7. Try changing the plugin order, put my class curve plugin below Yanfly(it seems to me you are using them because of the note tag).
  8. If you did everything above and it did not work, send me a sample project so I can take a look.

1.The plugin I am using that uses those notetags is http://www.yanfly.moe/wiki/Skills_and_States_Core_VisuStella_MZ

2. I assumed, therefore I do not know thank you for clarification.

3.https://gyazo.com/5c4b923ed2646ec0485b16d0682e25be 'this is the full screenshot'

5.

https://gyazo.com/fae76a1c3797a5e97e0c59cd65a9bfd4

orry I'm on a dopamine rush, I believe I created the class correctly(since it's been working fine until now).

7. I tried placing directly above, under and switched the orders multiple times, no result.

8. I'm kind of stupid so Idk how to send u :(

Hi there!

Please, next time, try to put everything in just one answer.

I don't believe it is plugin compatibility, I have already seen other people using my plugin with the Visustella ones.

But I can see, on your Class Curves plugin, that you created Custom parameter curves and you set my Custom Parameter plugin to off. That might be an issue.

The custom parameter setup only works, if you are using my Custom Parameter plugin.

If removing that does not work, upload your project somewhere: Google drive, One drive, Dropbox, Media fire, etc. Choose one of them, upload the project, and send the link to me.

(1 edit)

https://mega.nz/file/PJxGFZBa#__bJvA3LPbbs8Py8LHoOX-a_g99r0zGSO9Asn7qSxvE
Hello. Sorry I couldn't answer to you earlier.
I tried doing what you said, and it didn't work.
I also tried to reply to everything in one go for one concise and comprehensible gibberish.

Ahem. Instead, I'll send you the zip file of the game itself so you can see for yourself.

In Class there is a passive 36. for the Renkai character if I disable the curve plugin everything works as regularly. However, once I turn it on, and I get into a fight, the clamp happens.

Hi there!

The problem is being flagged here, on my Class Curve Plugin:


The alias is supposed to return a number, but it is returning undefined. So I try to track down most info I could, to understand why the alias is returning undefined.

Basically, the Game_Actor.prototype.param is that  code below, by default, inherited from Game Battler Base:


So I assumed, some of this code above is returning undefined. So on the Game_Actor.prototype.param I tried to print all these values into the console to see their values. The result is below:


As you can see above, All values returned a valid number, just fine. Only the alias returned undefined. It means, that some other plugin is doing something with that function, that is causing the undefined. And it is specifically with the Parameter ID 6.

I removed the JS code from your state 36, and everything worked fine. I guess that your State Id 36 is doing something on your game, that is affecting whatever is inside the .prototype.param function, specifically with parameter ID 6.

I can't understand what it is. You have an enormous amount of plugin, and a lot of them is Visustella. I believe I could find a hint as to what is causing the problem, by tracking the start of it, which is on the last lines of the console error, VisuMZ plugins. Unfortunately, as you know, they have their code obfuscated, so there is no way I could understand what is happening there(the same way you did with my plugin) .

I tried to disable those plugins, but the error keeps showing other Visu plugins.

POSSIBLE SOLUTION

On my plugin, on line 1187, replace that line with the below:

const value = (alias ?? this.paramBase(paramId) + (this.paramBasePlus(paramId) * this.paramRate(paramId) * this.paramBuffRate(paramId)) ).clamp(minValue, maxValue)

That prevents the error from happening, but it can make something not work properly, I don't know what because I don't know the cause of the problem. That at least will prevent the error from happening.

CONCLUSION

Don't know what it is, and will not try to find the problem. 

You should either discover why the parameter ID 6 is returning undefined. Don't know if State 36 is doing some work on another part of your game that is affecting this, if it does, then the problem could be much bigger to find out. Or could be a compatibility issue. Don't know.

You either try to reach them out to see if they can fix it, do not use the passive state the way you are doing with State 36, or remove my plugin.

Good luck!

(+1)

Okay first things first, I need your plugin it's pretty much a pillar in my game so I can't remove it. When I saw your plugin it was love at first sight, so I cannot. Everything goes about JUST fine without the state.

These are the things that can be tried... I turned off all plugins and only left Skill_State Core ON and your eli curve ON. And those are the only plugins that return with the bug/value to isolate the problem. I hope that helps in some way.


From what I understand i have an actor in the 6th Slot using the same class(maybe casuing the problem). I deleted it, I'm assuming that parameter ID 6 is looking for an actor with names and stats for some odd reason and it would load it into battle( I think). I appreciate the help and how much you've done!