[XP] Tankentai & UMS

I need some help.  I have a project I am working on that utilizes Atoa's version of the sideview Tankentai, and recently added in the UMS script (by copying & pasting the script into my other project above Main).  But now, when I try to playtest my game, it goes to the UMS demo game instead of the one I am working on.  I don't know how to fix it. 
Are you sure it's your game you've got open, and not the UMS demo? I can't think of ANY reason why it would do that otherwise, unless you copied the WHOLE data folder from the UMS demo over your own.


Are you using the Steam version of the engine?
Looking back, it seems part of the problem was probably in where I extracted the files to.  The UMS game code ended up an order higher than the other game projects (due to my not wanting to overwrite the data folders.  But this seemed to cause it to default to the higher-order game info, rather than the lower. 

I made a new folder in the normal place, & moved the files there, and it will now at least let me get to the right TITLE screen, but now the game is crashing when I try to actually open the game.  It's giving me a "nil can't be coerced into fixnum" error.  From what I can tell the error is on a line for caculating the positioning of the window when it is centered, and it is the window width value ([SIZE=11pt]$game_system.window_width) [/SIZE]that is returning as nil.

Script Error.jpg

Script Error 2.jpg
I would get rid of the UMS and reinstall it in a COMPLETELY different location. See if you can get YOUR game back to where it was. Then copy just the necessary scripts from the UMS project into your own.


If you're still getting errors, then you haven't "undone" whatever you did properly. No point continuing to mess with it, because there's no way of knowing how much damage has been done. Best to start over with a fresh copy of your project's latest version and a fresh copy of the UMS, with files/folders that don't interfere with one another.

Original thread: https://forums.rpgmakerweb.com/threads/xp-tankentai-ums.40138/