Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Tricksters rxdata (and SephirothSpawn)

Hi, thanks for your decision to try helping me =D
I already read that Trickster isnt active here but, well, maybe some others can help me.
In 5 of his Scripts (Actor and Class Stat Growth, Advanced Battle Commands, Bag of Battle Commands, Stats Generator, Support Abilities) he loads data from an rxdata, which is new for this script. I would call me a scripter but this is too hard for me. I saw those special-rxdatas also in SephirothSpawns Test Bed...
So, my question is, how can I change these?
 

e

Sponsor

If they're there, my guess is they're important/needed. You shouldn't have to changed them. Did you read whatever documentation or explanation was provided with the script? It probably explains what these are.
 
rmvxpuniverse, where i found the scripts is down now and the instructions I already saved link to a 404-rmxp.org-thread.
They have to be changed, because the data is not defined anywhere in the scripts. Its loaded from the file, just as the full database.
 
Probably he used the Marshal module.
With it you can write variables or objects into a rxdata file

Code:
@a=1
File.open("test.rxdata","wb"){|file|
Marshal.dump(@a,file)} #write
File.open("test.rxdata","rb"){|file|
@a=10255
p @a = Marshal.load(file)} #read

to change these files, you've to load each values (@a), and rewrite them with the #dump method

regards,
berka
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top