Transfer Player Error

Whenever I use the transport player on the current map I am using, it crashes my game. It's the most basic of features, so I do not know why it has any problems. Everything else is working smoothly. I set up a staircase, and when the player walks on the graphic, it attempts to take them to the other map, but instead in ends up just crashing the test gameplay feature.

Originally, I had it all on one giant map, so that I would just re-locate them from one spot of the map to the other, but I ended up making sub-maps to see if that would fix the problem and it didn't.

The only code I have for the transfer player event is Play SE, and then transfer player. It has no graphic, but it is placed overtop of a staircase tile. It is activated by player touch, and priority is 'below character'. All it does is attempt to fade out, not fully, and then crashes.

Another thing that is happening is that, when I place the character in another part of the building or outdoors leading into the building, using the same transfer player event, with the same exact specs minus the co-ordinates, Sometimes the tiles from the previous map carry over with the character, making the screen look glitched, yet still functional.

I do have a lot of scripts, but they have not yet been an issue and I've already made a far more elaborate scene before this scene that required far more analysis and hammering out little errors here and there. So, how a basic transfer player is causing so much problems is making me want to throw my computer, yet I am surprised I could not yet find a forum post or google'd related issue that actually aims towards fixing this particular seemingly simplistic faf of an error.

Please help and thanks!! 🙂

I've attached a screenshot of the scripts I have installed, that have not been an issue for my far more advanced scene, as well as a screenshot of the transfer event.

error1.png

scripts.png
Quick test: please make a new transfer event by using the quick event system (rightclick) to a new spot on the target map.

The only thing I can currently think off (unless one of your scripts does break the engine) is that when reorganising maps, you somehow deleted or moved the original target point so that it now doesn't exist any longer.

That is because event commands are only checked for integrity when they are created, not every time. So if you make a transfer to a map that later gets deleted or moved or resized, the old transfer commands will still point out to the no longer existing point.

If that does not help, please give us screenshots of the error message and the console when the game crashes.
To add to what Andar said:

Have you tried starting up a new project, to see if transfer player doesn't work there either? Have you taken out any scripts prior to this error; if so, what were they?
I have been aware of the co-ordinates and map selection needing re-adjustments for when there are certain changes within the map or when dividing a map into several sub maps. Even so, I did as you suggested and re-create the quick event for transfer player and I still have the same error.

I even turned off all other events to make sure that they were not interfering with the process. Again, my scripts have not interfered with my previous map that has integrated far more advanced parallel process and auto-run events, etc etc..

I can say that my computer that I initiated this game with, died several months ago, but I had saved the full package including RTP via Google Drive. The demo still functions perfectly for that which I had previously created. This is such beginner level stuff for me, so I am totally lost as to why there would be an issue now for something so basic. 

I have not deleted any scripts prior to this error. I did start a new project, and tested the transfer player event, and it worked on that project.

I have attached a screenshot of the error.

error2.png
Looks like some data was damaged. try replacing the game.exe in your project with the game.exe from a new project.

If that doesn't help, bughunting will be time consuming as you have to check everything for the problem...
If what Andar suggests doesn't help, you can see if a scripter will take a look at your game data for you.
Are you certain the map it's trying to transfer to still exists? Does the map use any tilesets that have been removed or renamed, or do any of the events contain sprites that have been removed or renamed? Can you create a new blank map, then change your Transfer Player command to go to that map instead?
None of the tiles have been changed in any way. And I have a transfer player event in another part of the same map that doesnt give me this problem.

Original thread: https://forums.rpgmakerweb.com/threads/transfer-player-error.41394/