Error with a Critical Damage modifying script
RGSSx Script Supportdid you load a savegame after installing the script?
Most scripts (all that use initialization functions) need a new game after being installed, and the error message says that some data was not initialized - the usual result of loading a savegame after installing new scripts...
Most scripts (all that use initialization functions) need a new game after being installed, and the error message says that some data was not initialized - the usual result of loading a savegame after installing new scripts...
Nope. I currently have no save file and any time I test my game, I start a new game. Plus this shows up when I battle test. I set a class to have 100% CRI so that I can recreate this when I want. Anytime there's a successful hit, I get the error.
sidenote: I'm running a couple yanfly, fomar, and few scripts in case this information is helps identify any outside cause.
sidenote: I'm running a couple yanfly, fomar, and few scripts in case this information is helps identify any outside cause.
Link for the script, please.
Do you get this error ONLY in battle test, or in battles when you're actually playing as well?
Do you get this error ONLY in battle test, or in battles when you're actually playing as well?
Both. Same error box.
Edit.
Edit.
Nope, link to the script please. Don't post it here.
Many authors don't like their scripts being posted all over the place, and the script itself is not the ONLY thing I want to see. I want the thread where the script was introduced, or the blog post.
Many authors don't like their scripts being posted all over the place, and the script itself is not the ONLY thing I want to see. I want the thread where the script was introduced, or the blog post.
the script only shows up in the August 2013 ReStaff. It doesn't show up anywhere else.
http://forums.rpgmakerweb.com/index.php?/files/file/90-restaff-august-2013-release/
http://forums.rpgmakerweb.com/index.php?/files/file/90-restaff-august-2013-release/
Did you edit the script? The line I THINK is generating the error is line 47, not 48.
It currently says this:
Change it to this:
and see if it works.
It currently says this:
Code:
damage * [@crit_user.crit_multiplier, MAX_MULT].min
Code:
damage * [@crit_user.crit_multiplier, Fomar::MAX_MULT].min
Yes the problem has been solved but I never touched the script. I even deleted and recopied it from the ReStaff folder (re-extracted the zip and opened up the file).
Edit: you can close this thread if you want.
Edit: you can close this thread if you want.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/error-with-a-critical-damage-modifying-script.21856/
