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.

SDK 2.3 rsc error when playing encrypted game

Whenever i attempt to play an encrypted game now i keep getting the error:

Script'RSC Require' Line 60: RSCSecurityError occured

potential security breach:
The RMXP Standard Development Kit 2.3.rsc is a real file


I don't understand why this is happening as encrypted projects would work before and i havent changed any or added scripts.

The RSC hidden files that i have are the:
-The Method and Class library 2.1.rsc
-The RMXP Standard Development Kit  2.3.rsc

Any help would be appreciated, thank you.
 
This is not a glitch. This is a feature I purposely put in to prevent a malicious version of an rsc file to inject harmful code into your game.  To rectify this feature, place the rsc files in the Data folder and change the require statements to match.
Code:
require 'Data/The RMXP Standard Development Kit  2.3.rsc'
require 'Data/The Method and Class library 2.1.rsc'
 
holy ****. Thanks, scary stuff though, lol.

So the rsc files present in the rsc hidden folder are perfectly fine, and the rsc hidden files folder isnt needed?
And do i just add those lines to the bottom of the "RMXP Standard Development Kit (SDK) - RSC Require script":

Include_SDK_Parts = [2, 3, 4, 5]

require 'RSC Hidden Files/The RMXP Standard Development Kit 2.3'


(new code goes here?)

I take it i'll need to add another line for every SDK file i place in the data folder from now on?
 
NO! You do NOT use ANYTHING in the "RSC Hidden Files/" folder! ALL rsc files MUST be in the "Data" folder OR ELSE. Just replace all the "RSC Hidden Files" text in your scripts with "Data".
 
oh >_<
I've changed the requirements now, deleted the hidden files folder and i'll redownload the sdk files i was using from here.

I encrypted the game again (its only a test project though) but according to how interpreted it in my reply and when i was about to compress the game (encypt was ticked) i got an error message instead showing my OS stats and application code thing. Is this dangerous as i am scared now. :(

Seems to be working fine now. Just getting an error that the methods and library class rsc file is missing from the data folder, problem is that trickster's link to it seems to be down. :( I have the script for it in the editor so i dont see why i need it.

The error is a load error, pointing to line 49 in the rsc require script.

EDIT:
Found a working link in the methods and library thread here. Ive placed it in now, I hadn't realised i was using the rsc setup for that too XD
But im getting a new error now:

File 'Data/The Method and Class Library 2.1.rsc'script'--Ruby.Higher Classes' line 23: NameError occured

uninitialized constant MACL


EDIT2:
ok, i fixed that problem. It was occuring because of the line:
require 'Data/The Method and Class library 2.1.rsc'
in the rsc require script.

I dont understand why that happens but removing that line makes the game work so thanks for the help. :)
 

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