Globals

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
107
Reaction score
96
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
107
Reaction score
96
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
160
Reaction score
155
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
107
Reaction score
96
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
107
Reaction score
96
First Language
Russian
Primarily Uses
RMMV
Version 1.3:
Added support for Web
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Stream will be live shortly with some pixel art! Feel free to drop by!

Can't believe I forgot to put an image of my drawing pad! It looks kinda like this, maybe I'll get a better pic tomorrow...
Backup tip: If you don't want to back up your whole project every day, at least back up everything *except* your Image and Audio folders, which you can do weekly/as needed/etc.
The final version of our game is already available both in English and Spanish! ^___^
Can't believe this day has finally come... T_T
Im so happy that Dead By Daylight is getting a Silent Hill chapter! Cant wait to play as pyramid head

Forum statistics

Threads
97,814
Messages
947,147
Members
129,035
Latest member
Tauron7
Top