Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(5 edits)

You must have gotten frustrated writing that...
It is very weird, but everything shows correctly as you explained. However... It is still doing it.

You mention version CS_Core (1.11)?
The one in the itch download is 1.10. (I just checked). I mean... that should not be the problem, right? The rest is up to date.
(Found out I had to put my picture in paint to be able to send it.)
I tried moving your plugins around, like at the bottom of all yanfly plugins but that did not fix it. This is how I have it now.

Anyway, I got the code for giving exp, if I do find the problem later, I'll let you know what the issue was.
Meanwhile could you give me the code for current exp. The one I use currently is now giving me this error:

Edit: I found the code: $gameParty.getCraftExperience("alchemy");

Thank you very much for your time and help. <3

I wish that were the problem.

I'm not sure what's going on here now, tbh. The version I have on my PC is 1.11, and I ran it through diffchecker with the version up for download and they're exactly the same except my version has notes in the patchnotes section that says it fixed an issue with that function. The actual function is exactly the same in both versions though.

It's like I'd started to fix a problem with that function, and wrote the patch notes first (which I honestly never do), and then... stopped making the fix and forgot about it? I don't know what crash problem I allegedly fixed with the function if the function is exactly the same between versions, either.

In any case, your load order is correct. It works for me in a completely clean test project, and my own test project. The only thing I could think of that might be causing problems if if you changed the experience curve, and the changeCraftExperience function can't get a usable value out of it to check against, but if that were the case, none of your crafts would ever level up, not just this one you're gaining experience with using the function. And also if that were the case, I think it'd probably cause a crash rather than just not work, since I used 'eval' instead of 'try', if there was some unforeseen problem with the formula the function would end up comparing a number to NaN, and not like that.