hi, could someone help me with the error "cannot read property clamp ..."? I get it when I go to save the game, I create a new one and it happens again in the same place. can you help me?
Error rpg maker mv
RPG Maker MV Supportthe full error message (and preferably as screenshot) would really help, but at a guess of the most common cause you try to save with a filepath that does not follow networking rules.
MV creates HTML5-based games, and that requires browsers who themselves require all adresses to follow networking rules: only latin letters, NO SPACES, limited number of special signs and so on.
If you load or save from a path that breaks those rules, the browser and engine will fail.
The other possibilityis missing data - that place on the game requires an data entry that has been deleted, or is not present in the last savefile. And if that is the case we really need the full error message.
MV creates HTML5-based games, and that requires browsers who themselves require all adresses to follow networking rules: only latin letters, NO SPACES, limited number of special signs and so on.
If you load or save from a path that breaks those rules, the browser and engine will fail.
The other possibilityis missing data - that place on the game requires an data entry that has been deleted, or is not present in the last savefile. And if that is the case we really need the full error message.
Provide the people here with as much information as possible my dude.
Which version?
Which plugins?
Tried to disable the plugins and then save?
Which version?
Which plugins?
Tried to disable the plugins and then save?
Sorry for the lack of information, I am very new to rpg and I do not know very well how the forum works, or what I have to send. I use the rpg maker mv, from 2005. The error occurs when doing an event within the game, I have deleted it and redo it from scratch and the error persists, I send you more photos than what I get
what does the event do, if it always give the same error when you try to recreate it?
Please give a screenshot of the entire event window
and please use the windows functions for screenshots - mobile photos are extremely difficult to handle for such.
use [alt[-[prtscrn] to limit the screenshot to the active window, then open paint and crtl-v for pasting it.
Because it is the second case I mentioned, some data has been deleted and the event tries to get that data.
Please give a screenshot of the entire event window
and please use the windows functions for screenshots - mobile photos are extremely difficult to handle for such.
use [alt[-[prtscrn] to limit the screenshot to the active window, then open paint and crtl-v for pasting it.
Because it is the second case I mentioned, some data has been deleted and the event tries to get that data.
This is the event. In image number 3, the top part is just convesation.
I asked you to use alt-prtscrn instead of prtscrn to limit the screenshots to the active window - we don't need to see the rest of the editor, and that makes them better readable.
at what moment in that event does the error occur? Most likely it is in the first parts of page three which you didn't screenshot (only the last part), because nothing in the screenshots you have given can cause that error.
So please describe what in detail happens before you get the error, and give a screenshot of that part of the commands that happens then.
EDIT:
I just read that it is only conversation and checked again.
the only way that could happen is if one of the events you set move routes for at the end of that page doesn't exist anymore or is damaged, so what about them?
at what moment in that event does the error occur? Most likely it is in the first parts of page three which you didn't screenshot (only the last part), because nothing in the screenshots you have given can cause that error.
So please describe what in detail happens before you get the error, and give a screenshot of that part of the commands that happens then.
EDIT:
I just read that it is only conversation and checked again.
the only way that could happen is if one of the events you set move routes for at the end of that page doesn't exist anymore or is damaged, so what about them?
At the end of the movement path, the character disappears because he "travels to another map" after that a local switch is activated, so that there is no image and the event does not start again, maybe that is the error?
then that event has nothing to do with the error.
please state and describe exactly what you're doing to get the error and what the last thing is you see before the error message.
most specifically, does that error happen if you start a new game on that map or only after you loaded a savefile on that map?
please state and describe exactly what you're doing to get the error and what the last thing is you see before the error message.
most specifically, does that error happen if you start a new game on that map or only after you loaded a savefile on that map?
The game starts on the next map. In that same map you can save the game perfectly. By entering the map where the event is located, you can save the game without starting the event. When you activate the event, a battle with two monsters occurs. The characters level up (I think that may be what causes the error) and when the battle ends, a character speaks and begins the movement path and after that, disappears. After that you try to save, to any map and the error occurs.
no, the problem is somewhere in the event with the battle - read the error messages in your screenshots, the very top error message is about "retrybattle".
so please give a screenshot of the event that controls and starts the battle.
so please give a screenshot of the event that controls and starts the battle.
This is all there is to the battle
These are the plugings that I have active
does that troop exist? can you battle it in the database?
If that troop exists and works correctly, then we need to remove the parallel processes from your event.
It is a very bad idea to split a single cutscene between different event pages as that can introduce timing problems and other errors.
Each cutscene should have a single controlling event page.
So please move the commands onto a single event page, and remotely control a different event to go and leave the map. Remote controlled events should have nothing as content or movement route, they get their entire movement and any changes by command from the main controlling event.
If that troop exists and works correctly, then we need to remove the parallel processes from your event.
It is a very bad idea to split a single cutscene between different event pages as that can introduce timing problems and other errors.
Each cutscene should have a single controlling event page.
So please move the commands onto a single event page, and remotely control a different event to go and leave the map. Remote controlled events should have nothing as content or movement route, they get their entire movement and any changes by command from the main controlling event.
I don't quite understand what you want me to do a screenshot of. When the battle starts, do I take a screenshot? when the monsters come out? sorry, it's because of the language
No, I wanted to know if you can go to the database to the troop, then click on the button "Battle test" there and play it through. Does that work, yes or no?
And the second part is where I suspect the error truely is, because of the way you made your event.
You need to change it in a way that removes all extra pages, all parallel processes and all autoruns from it.
It needs to be a single page event with everything triggered by the action button. That is possible if you do it right and should remove the problem if I'm correct in where it is. But that is not easy to change, so you should check the troop option first.
And the second part is where I suspect the error truely is, because of the way you made your event.
You need to change it in a way that removes all extra pages, all parallel processes and all autoruns from it.
It needs to be a single page event with everything triggered by the action button. That is possible if you do it right and should remove the problem if I'm correct in where it is. But that is not easy to change, so you should check the troop option first.
I have used the battle in the battle test and it works perfectly. In the event I have removed all the pages and just left the battle, I tried to save and it keeps giving me the error. I have started a new game and nothing.
I just put monsters on the map to randomly pop out as you walk. Characters have leveled up, I've tried to save and the same error occurs
I just deactivated 3 plugins that I had about the battles, and it already lets me save and everything works correctly. Thank you very much for your patience and for helping me, I don't know how to thank you
Original thread: https://forums.rpgmakerweb.com/threads/error-rpg-maker-mv.130003/