Jump to content

having trouble setting up RFCP From Gitlab Agony RF Dev


Recommended Posts

https://paste.pics/DR4GK

hi i hope you guys are ok i'm here having trouble setting up RFCP From Gitlab Agony rf dev i started experimenting with the rf giga3 version and have been running the server for a few weeks i'm having the problem " Cannot run script without security_salt set to value!" I use XAMPP, sqlsrv, pdo_sqlsrv I hope I get an answer, and I am very grateful to Agony for the registration site that I used during the experiment. Very simple and clean, THANK YOU

*BTW if you have GIGA3 Clean Client Version, can you tell me?

Edited by Theforceoflove
Link to post
Share on other sites
  • Development Team

Only the bold work on Giga3 files at this point. No one I know is licensing zoneguards for that version. So for anti cheat  you would need to come up with your own solution or not do it. Also for file editing you would have most likely have to come up with your own solution or not do it.  For the gamecp if you can't even set the security up your just asking for trouble. On top of that the gamecp has to be updated to work with that data. You can't tell me your going to run a server just for yourself when your using a gamecp.  If your stuck I'm sure the community would offer advice. @Ron @Alyx  both are generally busy so I wouldn't ask them too many questions because they are preoccupied [they write code for a living]. For non specific to rf online things stack overflow would be a good place to start for code related questions if you decide to try solve errors without just waiting for feedback. 
 

Edited by PC_Bro

I'm PC Bro

Link to post
Share on other sites
52 minutes ago, PC_Bro said:

Only the bold work on Giga3 files at this point. No one I know is licensing zoneguards for that version. So for anti cheat  you would need to come up with your own solution or not do it. Also for file editing you would have most likely have to come up with your own solution or not do it.  For the gamecp if you can't even set the security up your just asking for trouble. On top of that the gamecp has to be updated to work with that data. You can't tell me your going to run a server just for yourself when your using a gamecp.  If your stuck I'm sure the community would offer advice. @Ron @Alyx  both are generally busy so I wouldn't ask them too many questions because they are preoccupied. For non specific to rf online things stack overflow would be a good place to start for code related questions if you decide to try solve errors without just waiting for feedback. 
 

thank you for the input, I'm just an RFOnline player who misses the past, I know I lack resources and I know that the resources to run the old server are few I just want to be different from the others, I just want to provide a different playing experience When I open the Server to the public I ask players to provide input and errors in the game I allow them to use cheats to measure how far the cheat can work in the game, for the server I use Microsoft Azure Free Trial To Start My Experiment, I know I'm just a beginner I just want to give my GIGA3 Playing Experience to the community

Link to post
Share on other sites
  • Administrator

This one may be confusing at first because it is not a normal error from PHP, it is an application level error, or in other words an error unique to the author of the application. Reviewing code would be required to understand what is going on.

I downloaded the code for a quick look. This error comes from the core/common.php file.

if (!isset($config['security_salt']) || empty($config['security_salt']))
{
  exit("Cannot run the script without the security_salt set to a value!");
}

 

This application seems to load configuration values from a database table. The connection logic occurs in core/db.php file. It uses values from config/config.php to connect to your MSSQL database.

Likely you have not setup the database and default data using the included database scripts, or you have a connection problem. Both would prevent the gamecp from receiving a valid value for $config['security_salt'] and this error will be thrown.

First, make sure all connection settings in your config/config.php file are correct. Make sure you have created a RF_GAMECP database table in Server Management Studio with appropriate permissions for your connection user.

Then, be sure to run the query file database scripts\dbo.gamecp_config.Table.sql via Server Management Studio. This will create the initial configuration table this particular gamecp uses to define application configuration values.

Lastly, check the resulting table, and you should see a row with the config_name of security_salt, with a default value of 1f2df4323d. Change this value to a different random string for best security so your salt doesn't match others using this application.

At this point the application should successfully move beyond the security salt error. If you missed anything else you will receive a different error now.

 

Please note I do not have any experience with this application. I learned this much by searching the error you were receiving in the PHP files and back-tracking the code initialization. Since this application has no documentation, you will need to do some code review to understand everything that is going on with it.

 

For anyone wondering, the gamecp he is referring to is from here:

https://gitlab.com/Tamm/RFCP

 

My best tip is to download AstroGrep and use this to search the directory containing your files. This will lead you to the code line which is throwing whatever error you may be encountering. You don't need to know PHP to follow the trace but you do need some programming experience to successfully back trace.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...