RMMV Save variable to .txt file in folder of game.

Symbol_

Veteran
Veteran
Joined
Nov 28, 2017
Messages
127
Reaction score
20
First Language
English
Primarily Uses
RMMV
Hey there!

I'm going to have a casino in the game, and in an effort to stop people reloading saves and spinning and trying the games for free I want to have a variable / switch called that's saved to a outer file that will remember if the player tries to close the game and reload to cheese the games.

The method obviously isn't impossible to get around but it'd make it harder. Things that've been looked at already by me are:

Both don't work for what I need, one of which because it doesn't play friendly with YEP plugins I currently have.

Any help appreciated and thanks in advance community!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,802
Reaction score
1,444
First Language
Dutch
Primarily Uses
RMMV
best way is to use metaControl from olivia, I believe that has a persistent
variable as well.

use <local> or <local meta> variable name (this saves on the saveslot.
if they save on a different slot, it also counts as local as well :)

if they start a new game, new file, it uses a different local =)
this can come in handy for things like those ^^

if you have 1 savefile, use global (counts for all saves) if you have multiple
and they can save on different slots, use <local>.
 

Symbol_

Veteran
Veteran
Joined
Nov 28, 2017
Messages
127
Reaction score
20
First Language
English
Primarily Uses
RMMV
best way is to use metaControl from olivia, I believe that has a persistent
variable as well.

use <local> or <local meta> variable name (this saves on the saveslot.
if they save on a different slot, it also counts as local as well :)

if they start a new game, new file, it uses a different local =)
this can come in handy for things like those ^^

if you have 1 savefile, use global (counts for all saves) if you have multiple
and they can save on different slots, use <local>.

This looks useful thank you!
 

Latest Threads

Latest Posts

Latest Profile Posts

Just finished my first Slip into Ruby since last July! It'll be up and added to the main post tomorrow, along with a new Jump into Javascript.
to pass the time.pngTesting out making boxes and packs of items. These things are always fun to do.
Rural Japan Tiles, Giant Dragon Sprite, Paint Icons? & Game Spicy Pixel Fonts | RPG Maker News #31

just hopped into project recruitment... hoping to maybe find some artists to help with parallax maps and whatnot. I could do them myself, but I'm not really good at it so I'd prefer to stick to my strengths which is character art and SOME UI elements.
PRODUCTIVE DAY! I think I FINALLY completed all the items for part 1 of Fallen Feather, that includes the animations, the stats, the pricing, etc. for weapons, armors, key and consumables! all i need to be 100% done is write a few more descriptions (only 10 left out of the 40+ items) and to find some nice pants icons (dont ask lol).

Forum statistics

Threads
111,099
Messages
1,058,278
Members
144,304
Latest member
Wolfspace
Top