Using RPG Maker MV data for different users on a website

Pixii

Villager
Member
Joined
Feb 10, 2016
Messages
20
Reaction score
2
First Language
English
Primarily Uses
I thought there would be some sort of json output (or something) related to individual users.
I went through each of the folders, but I can't seem to find what I'm looking for.

  • audio/fonts/icon/img - not it
  • data - not it, because these are json files that make up the actual database (actors, items, equipment, etc)
  • js - not it, because these files are what make the game run
  • index.html - not it

data/actors has an equips key
Example: "equips":[1,1,2,3,0]
But let's say I go into the game and take off all of the equipment for Actor1: these values do not change


I'm not really sure where the actual save data is going.
Additionally, I'd like to know where the file is that says "this is what is in your party inventory" instead of "this is a list of all possible items in the game"


Am I over looking one of the files in the data or javascript folders?
 
Last edited:

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,684
First Language
English
Primarily Uses
RMMZ
You a server for that. That's not something RPG Maker was designed for, although it is technically possible with a skilled coder(s).
 

Pixii

Villager
Member
Joined
Feb 10, 2016
Messages
20
Reaction score
2
First Language
English
Primarily Uses
You a server for that. That's not something RPG Maker was designed for, although it is technically possible with a skilled coder(s).
I have a server, I am a programmer. I'm trying to find the data I need to integrate into my code. "Where is the save data going?" That's what I'm asking.

Because normally, what I would do is put data into a database or at the very least, a text/json file. But I'm not familiar enough with RPG Maker MV's code to know where everything is.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,729
Reaction score
4,684
First Language
English
Primarily Uses
RMMZ
Well, you'll have to redesign the way the engine manages data. Currently everything is handle on the client side:
  • Game_Player (global variable is $gamePlayer): handles player stuff on the map like position, direction, movement, etc.).
  • Game_Party (global variable is $gameParty): handles everything in the party, including inventory, AND ACTORS (yes that's where the actors data is stored, including their stats, level, skills, and equip). For actors, they are indeed stored in $gameParty, but they are created based on the Game_Actors object. So any chance has to be made in Game_Actors, but the data in-game is saved in $gameParty (I know, confusing).
  • Game_Map (global variable is $gameMap): handles everything for the map data (map id, tileset, passability, events, etc.)
  • Other stuff (too long to type everything).
All the data is stored in those global variables. When you start a game, the game loads all the objects data into those global variables and updates them with the save data from the json files (save folder). Those global variables are refreshed in real time and are what runs the game. The thing is those global variables are huge and have a lot of data in it, so it is not suitable for server-side. I'd suggest breaking them down, like an object for storing only character stats, another for equip, another for skills, etc. That would make it more modular and better suited for servers. However, you'll have to completely change the core engine.
 
Last edited:

Pixii

Villager
Member
Joined
Feb 10, 2016
Messages
20
Reaction score
2
First Language
English
Primarily Uses
Okie, thanks for the info. I will look into it.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,418
Reaction score
7,709
First Language
German
Primarily Uses
RMMV
@Pixii
it would help to tell us why you are looking for that data and what you want to do with it.

as explained above player data is not stored on the website at all but locally for each player - which is why everyone can play on the same website without disturbing any other player, the website only stores the default and the engine data.

That also means that depending on what you want to do you might have to make big changes to the engine, and without hearing your plans we can't even point you to what you want to do.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,193
Members
137,772
Latest member
Kirakirna
Top