DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
287
Reaction score
319
First Language
Russian
Primarily Uses
RMMV
Title: Globals

Version: 1.3

Author: DK

Site: DK Plugins

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.


Requirements and dependencies:
  1. Availability of working plugin DKTools version 2.0.1 or above
  2. Version of RPG Maker 1.5+

Supported languages:
Russian, English

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

DK

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

biud436

Veteran
Veteran
Joined
Sep 28, 2014
Messages
175
Reaction score
189
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
287
Reaction score
319
First Language
Russian
Primarily Uses
RMMV
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
287
Reaction score
319
First Language
Russian
Primarily Uses
RMMV
Version 1.3:
Added support for Web
 

Latest Threads

Latest Posts

Latest Profile Posts

finished the second chapter of deltarune today, I gotta say that the 3 years wait was worth it lol
Happy Friday, y'all! I just got home from work and am sitting down with a nice cider, and I'm ready to chill and enjoy myself. Not sure if I'm gonna dive into any of my game-related projects or not tonight.... we'll see how I feel after unwinding for a bit I guess!
Just found out that mint tea made from chocolate mint tastes a bit like hot cocoa with candy cane stirred in. As I'm allergic to chocolate this makes me very happy.
It's special day for me tomorrow so time to vanish for 24 hours lol.

Forum statistics

Threads
115,143
Messages
1,087,601
Members
149,664
Latest member
roeigold123
Top