DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
403
Reaction score
378
First Language
Russian
Primarily Uses
RMMZ
Title: Globals
Version: 2.0.0
Author: DKPlugins
Description:
Saves variables and switches regardless of the player’s saving. Allows you to have variables and switches that are not tied to saving, but are global for all new games.

"Help" languages: English, Russian

Terms of use
You can:
-To use the plugin for your non-commercial projects
-Change code of the plugin

You cannot:
-Delete or change any information about the plugin
-Distribute the plugin and its modifications

Details on obtaining a commercial license on my website

Download:
https://dk-plugins.ru/globals/
 
Last edited:

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
403
Reaction score
378
First Language
Russian
Primarily Uses
RMMZ
Version 1.1: Compatibility with the new file manager in DKTools version 0.992
 

biud436

Veteran
Veteran
Joined
Sep 28, 2014
Messages
179
Reaction score
203
First Language
Korean
Primarily Uses
RMMV
Hi. I found that there is one problem when loaded the save file.

PHP:
DataManager.loadGameWithoutRescue = function(savefileId) {
    var globalInfo = this.loadGlobalInfo();
    if (this.isThisGameFile(savefileId)) {
        var json = StorageManager.load(savefileId);
      
        // The global variable and switches values will be loaded correctly.
        this.createGameObjects();
    
        // But, they are restored as a preceding JSON data at this line, so it is not ideal.
        this.extractSaveContents(JsonEx.parse(json));
      
        this._lastAccessedId = savefileId;
        return true;
    } else {
        return false;
    }
};

This plugin is pretty popular in Korea, so I've decided to inform the bug.
 
  • Like
Reactions: DK

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
403
Reaction score
378
First Language
Russian
Primarily Uses
RMMZ
Version 1.2:
Compatibility with DKTools 2.0.0
Fixed bug where data could not be loaded when the game was loaded
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
403
Reaction score
378
First Language
Russian
Primarily Uses
RMMZ
Version 1.3:
Added support for Web
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
403
Reaction score
378
First Language
Russian
Primarily Uses
RMMZ
Version 2.0.0
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm now free to do the game make! (sees diablo 4) Hmmmmmmm...... I'm not free!

3d Yandere RPG maker game by labylin
With this map, I tried to emulate a Gameboy Color/Advance style.
Hacknet's a hypocritical game.
It's a game about hacking... that's been made in Net framework and the code was left unobfuscated.
So it's a game about hacking that's vulnerable to hacking.
The irony. :p

Forum statistics

Threads
131,768
Messages
1,223,178
Members
173,535
Latest member
Hoangvu0601
Top