SRD Super Tools opening extra window??

Discussion in 'Javascript/Plugin Support' started by Okralord, Nov 23, 2018.

Thread Status:
Not open for further replies.
  1. Okralord

    Okralord Veteran Veteran

    Messages:
    35
    Likes Received:
    2
    First Language:
    English
    For some reason SRD Super Tools has started opening a second blank window when I hit F12. I can close the regular Super Tools window with F12 like normal, but the second, blank window just stays open and won't close if I "x" it out. The only way to close it is to end the task in Task Manager. Also, if I leave the blank window and hit F12 to open Super Tools again, it opens another blank window with the regular one. So unless I close the blank window each time with Task Manager, they will start piling up. Please help, and thanks in advance my dudes.
     

    Attached Files:

    #1
  2. biud436

    biud436 Veteran Veteran

    Messages:
    151
    Likes Received:
    142
    Location:
    South Korea
    First Language:
    Korean
    Primarily Uses:
    RMMV
    In the RPG Maker MV v1.6.1,

    We need to add a piece of code called 'event.preventDefault()' below 387 line, as follows in the plugin file.

    PHP:
    _.SceneManager_onKeyDown SceneManager.onKeyDown;
    SceneManager.onKeyDown = function(event) {
        
    _.SceneManager_onKeyDown.apply(thisarguments);
        if(
    event.keyCode === 123) {
            
    this.openMaker();
            
    event.preventDefault(); // add this piece of code.
        
    }
    };
    I solved it by using this way.
     
    #2
  3. Okralord

    Okralord Veteran Veteran

    Messages:
    35
    Likes Received:
    2
    First Language:
    English
    I appreciate your reply but it doesn't seem to have helped the problem. Any other ideas?
     
    #3
  4. biud436

    biud436 Veteran Veteran

    Messages:
    151
    Likes Received:
    142
    Location:
    South Korea
    First Language:
    Korean
    Primarily Uses:
    RMMV
    In case of using RPG Maker MV v1.5.2, there was no problem.
    So you may find it helpful to be downgraded as the RPG Maker MV v1.5.2.

    RPG Maker MV v1.6.1 uses a new Node Webkit.
    However, It didn't work in my PC, therefore I couldn't test it.

    So I'm using a new NW.js v0.33.4 instead of the default NW.js v0.29.4.
    and SRD_SuperToolsEngine worked fine in a new NW.js
     
    Last edited: Nov 24, 2018
    #4
Thread Status:
Not open for further replies.

Share This Page