Zardev

Villager
Member
Joined
May 5, 2020
Messages
11
Reaction score
8
First Language
French
Primarily Uses
RMMV
Hello Y'all !

I am looking for a way to access and write on a save file located on a server for web RMMV game.

I use this save file to uptade a top score board so it can't be located in the local storage of a browser but rather on the server on wich the game is hosted.

I am not very proficient in JS and A am a little lost. I use CAE_ScoreTable plugin to save and uptade the score, it works well exept when I want to save score from different players across the web.

Thanks !

Zardev
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
965
Reaction score
470
First Language
PT-BR
Primarily Uses
RM2k3
Hello welcome.
This will vary from your server, if it's a NODE.js server it's one method, if it's a PHP server it's another, etc.

Good luck!
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
965
Reaction score
470
First Language
PT-BR
Primarily Uses
RM2k3
The big problem is security, as the player will be able to open the JS files of their game they will be able to see how the record recording method is.
So anyone can change the score not only for themselves, but for other players.

You can use authentication methods that record points and achievements on systems focused on this purpose, such as Google Games or GameJolt. The problem is that there are hardly any programmers interested in adapting these APIs to Rpg Maker.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,153
Reaction score
15,541
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Requests. Thank you.

 

Latest Threads

Latest Posts

Latest Profile Posts

Reading about metaverses recently. I can totally imagine myself in the future, logging in with VR glasses to a virtual beach villa sitting in a virtual chair, with a virtual laptop facing the sea...coding 16-bit RM.
Mod name: "[Game name] Gameplay Overhaul"
What they actually mean: "Here is a mod that makes the game harder."
I decided to reinstall one of my most favourite game of all times, Gothic 2. Time to get back to Khorinis!
So much game make... I needs to rest. The foods call.
-Casino with bunnysuit green check.png
1638563168795.png

Forum statistics

Threads
117,166
Messages
1,105,096
Members
153,259
Latest member
litespace
Top