Map Patching

I'm using http://forums.rpgmakerweb.com/index.php?/topic/56-yse-patch-system/

My friend and I are beta testing my game. He'll find bugs, I patch them, repeat. Now, he saved in a map that I accidentally did not put an exit in. Usually to fix a map after I patch it, you have to leave and come back. This has always been fine, except that he saved in this map with no exit. So now I could update this map to be a fifth-dimensional time travelling cure for cancer, and he can't leave and come back to see it. The obvious answers here is "you should've made backup saves," "you knew this could happen, it's still in early development," and "you idiot, start the game over." I agree with all of those 100%

We're already a few hours in, and making shortcuts, although it is an option, wouldn't be as smooth as playing the game through again.

So, clinging to the 1% chance that I'm missing some obvious way to force the map to refresh without leaving it, I ask the masters here for help.

...

...

...

Help
Normally, if the game detects that the internal version in the save file is different than the internal version of the current build (this seems to change after every time you hit the save button in the editor), it calls the map refresh function upon loading to ensure that the map is up to date... If that doesn't happen, then it might be some script of yours which is blocking that default behavior.


So you should find that script and possibly disable the line which disabled the auto map refresh function for now. Then send him that new version. Assuming your patch system supports script patching, if not then just send him the full version and make him copy his save file into that full version.
Alternatively you could change an item he already has into a teleport item in the database (call a common event with transfer commands), just remember to change it back later.


And for continued testing, you might want to add such an item with shortcuts and cheats for bughunting purposes...
Not sure if this will be considered substantive, but...

I was thinking about this exact thing yesterday. I was watching a video about a no script slot machine and in it the individual put a chest with the currency used on the slot machine, and text saying that this currency was for test purposes. That spawned the idea of a debug stick, used for teleporting, turning on switches, adding to or decreasing variables. A single item might not be the most viable option to serve these functions, but it seems like an item that would benefit everyone with testers for their game.
Alternatively you could change an item he already has into a teleport item in the database (call a common event with transfer commands), just remember to change it back later.

And for continued testing, you might want to add such an item with shortcuts and cheats for bughunting purposes...
This worked beautifully. I made the healing item that he already had teleport you to a working map, then returned it back to normal. Now there is an item that brings up a cheat code menu where you can enter a number, and some numbers I've chosen do different things, like warps and such. I highly recommend everyone do this while they are testing their game, and even after. It's a cool easter egg

Thanks, you saved me and my friend hours of work

Original thread: https://forums.rpgmakerweb.com/threads/map-patching.41478/