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

I tried turning everything off but Eli Book, Dynamic Parameters and Custom Parameters and still got the error, though other parts of the log changed. Is there a minimum engine version number for the plugins to function?

Itch isn't letting me send a screenshot for some reason (I had this problem initially when I tried to send screenshots in the original comment and I don't remember what I did to fix it), so I copied the text from the log instead.

rmmz_managers.js:2036 TypeError: Cannot read property 'param' of undefined

    at Object.setMetaDynamicParams (EliMZ_DynamicParameters.js:494)

    at Object.setBaseDynamicParams (EliMZ_DynamicParameters.js:486)

    at Scene_Boot.processDataStates (EliMZ_DynamicParameters.js:529)

    at Scene_Boot.processDatabaseNotesAndMetas (EliMZ_Book.js:1982)

    at Scene_Boot.onDatabaseLoaded (EliMZ_Book.js:1953)

    at Scene_Boot.isReady (rmmz_scenes.js:280)

    at Function.SceneManager.updateScene (rmmz_managers.js:2105)

    at Function.SceneManager.updateMain (rmmz_managers.js:2063)

    at Function.SceneManager.update (rmmz_managers.js:1942)

    at Function.Graphics._onTick (rmmz_core.js:811)

On MZ if the plugin order is wrong, a warning should pop up on the bottom of the plugin manager. Take a look at that. Dynamic Parameter must be after Class Curves and after Cap Parameter Control.

Otherwise, may be something related to the plugin parameters. Make sure all the custom parameters you created are also present on the class curves. If you created 4 new custom parameters, you must add 4 new custom parameters on the class curves plugin parameters.

If none of that works, then send me a sample project so I can take a look.

(Itch io does not seem to accept copy-and-paste images. You need to save the images as a file and then upload it on the itch io post.)

(2 edits)

I fixed the plugin order, then noticed that in Class Curves, the case was different in param short names listed in templates. It said they don't affect the code, but I changed them to match anyway. I then noticed that some of the templates' custom parameter values were below the minimum set in the plugin parameters and fixed that. None of these things worked, but I may have realized the problem while working on them: all custom params but two have growth chance, minimum and maximum increase on level up set to zero, and every template is like this, since I want to only change them through plugin commands. Another possibility is that the max value for some custom params in some templates is 1000, and I'm not sure if your plugins limit parameters to 999 or not.

I deleted the original post typed above because I hadn't actually verified yet. I tested on a blank project with only Eli Book, Custom Parameters, Class Curves and Dynamic Parameters. It was neither of those things, it seems.

(1 edit)

I figured it out. It's the states they're attached to. Are there restrictions on what characters can be used in template names (and is there a character limit)? Because mine have numbers in them and have long names. The longest one has 27 characters.

Everything's working now. The problem with the states was that several of them were referencing templates that didn't exist due to prior data loss from a PC crash a few days ago. Remade the lost templates and the error disappeared.

Glad you figured things out! Because I was reading your previous comments and that stuff you said can't make that kind of error. But hey,, what is important is that you figured it out and now everything is working!

If you have any other issues, I'm here :)