wabbu
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by wabbu
-
-
I’m Having trouble connecting the FluxCP Server Status (Login, Char, Map). My Ragnarok server is running through a Raspberry Pi, and independently the web server is running the FluxCP.
My ports in the Raspberry Pi are open (6900, 6121, 5121) and working.
Also, I want to add that all the files from FluxCP have 777 permissions.
Here is my server.php configuration:
<?php return array( // Example server configuration. You may have more arrays like this one to // specify multiple server groups (however they should share the same login // server whilst they are allowed to have multiple char/map pairs). array( 'ServerName' => 'NetRO', // Global database configuration (excludes logs database configuration). 'DbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '__Web_HostName__', 'Username' => '__Web_User__', 'Password' => '__Web_Pass__', 'Database' => '__Web_Database__', 'Persistent' => true, 'Timezone' => null // Example: '+0:00' is UTC. // The possible values of 'Timezone' is as documented from the MySQL website: // "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'." // "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!) // **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated." ), // This is kept separate because many people choose to have their logs // database accessible under different credentials, and often on a // different server entirely to ensure the reliability of the log data. 'LogsDbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '__Web_HostName__', 'Username' => '__Web_User__', 'Password' => '__Web_Pass__', 'Database' => '__Web_Database__', 'Persistent' => true, 'Timezone' => null // Possible values is as described in the comment in DbConfig. ), // Login server configuration. 'LoginServer' => array( 'Address' => '__Ragnarok_Server_IP__', 'Port' => 6900, 'UseMD5' => false, 'NoCase' => true, // rA account case-sensitivity; Default: Case-INsensitive (true). 'GroupID' => 0, // Default account group ID during registration. //'Database' => 'ragnarok' ), 'CharMapServers' => array( array( 'ServerName' => 'NetRO', 'Renewal' => true, 'MaxCharSlots' => 9, 'DateTimezone' => null, // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones) //'ResetDenyMaps' => 'sec_pri', // Defaults to 'sec_pri'. This value can be an array of map names. //'Database' => 'ragnarok', // Defaults to DbConfig.Database 'ExpRates' => array( 'Base' => 1800, // Rate at which (base) exp is given 'Job' => 1800, // Rate at which job exp is given 'Mvp' => 300 // MVP bonus exp rate ), 'DropRates' => array( // The rate the common items (in the ETC tab, besides card) are dropped 'Common' => 1000, 'CommonBoss' => 1000, // The rate healing items (that restore HP or SP) are dropped 'Heal' => 1000, 'HealBoss' => 1000, // The rate usable items (in the item tab other then healing items) are dropped 'Useable' => 1000, 'UseableBoss' => 1000, // The rate at which equipment is dropped 'Equip' => 1000, 'EquipBoss' => 1000, // The rate at which cards are dropped 'Card' => 1000, 'CardBoss' => 1000, // The rate adjustment for the MVP items that the MVP gets directly in their inventory 'MvpItem' => 1000 ), 'CharServer' => array( 'Address' => '__Ragnarok_Server_IP__', 'Port' => 6121 ), 'MapServer' => array( 'Address' => '__Ragnarok_Server_IP__', 'Port' => 5121 ), // -- WoE days and times -- // First parameter: Starding day 0=Sunday / 1=Monday / 2=Tuesday / 3=Wednesday / 4=Thursday / 5=Friday / 6=Saturday // Second parameter: Starting hour in 24-hr format. // Third paramter: Ending day (possible value is same as starting day). // Fourth (final) parameter: Ending hour in 24-hr format. // ** (Note, invalid times are ignored silently.) 'WoeDayTimes' => array( //array(0, '12:00', 0, '14:00'), // Example: Starts Sunday 12:00 PM and ends Sunday 2:00 PM //array(3, '14:00', 3, '15:00') // Example: Starts Wednesday 2:00 PM and ends Wednesday 3:00 PM ), // Modules and/or actions to disallow access to during WoE. 'WoeDisallow' => array( array('module' => 'character', 'action' => 'online'), // Disallow access to "Who's Online" page during WoE. array('module' => 'character', 'action' => 'mapstats') // Disallow access to "Map Statistics" page during WoE. ) ) ) ) ); ?>
Here my cache files from ConfigServers.cache.php is as follows:
< ? php exit("Forbidden."); ? > O: 11: "Flux_Config": 3: { s: 22: " Flux_Config configArr";a: 1: { i: 0;a: 5: { s: 10: "ServerName";s: 5: "NetRO";s: 8: "DbConfig";a: 7: { s: 7: "Convert";s: 4: "utf8";s: 8: "Hostname";s: 12: "__Web_HostName__";s: 8: "Username";s: 13: "__Web_User__";s: 8: "Password";s: 10: "__Web_Pass__";s: 8: "Database";s: 13: "__Web_Database__";s: 10: "Persistent";b: 1;s: 8: "Timezone";N; } s: 12: "LogsDbConfig";a: 7: { s: 7: "Convert";s: 4: "utf8";s: 8: "Hostname";s: 12: "__Web_HostName__";s: 8: "Username";s: 13: "__Web_User__";s: 8: "Password";s: 10: "__Web_Pass__";s: 8: "Database";s: 13: "__Web_Database__";s: 10: "Persistent";b: 1;s: 8: "Timezone";N; } s: 11: "LoginServer";a: 5: { s: 7: "Address";s: 13: "__Ragnarok_Server_IP__";s: 4: "Port";i: 6900;s: 6: "UseMD5";b: 0;s: 6: "NoCase";b: 1;s: 7: "GroupID";i: 0; } s: 14: "CharMapServers";a: 1: { i: 0;a: 10: { s: 10: "ServerName";s: 5: "NetRO";s: 7: "Renewal";b: 1;s: 12: "MaxCharSlots";i: 9;s: 12: "DateTimezone";N;s: 8: "ExpRates";a: 3: { s: 4: "Base";i: 100;s: 3: "Job";i: 100;s: 3: "Mvp";i: 100; } s: 9: "DropRates";a: 11: { s: 6: "Common";i: 100;s: 10: "CommonBoss";i: 100;s: 4: "Heal";i: 100;s: 8: "HealBoss";i: 100;s: 7: "Useable";i: 100;s: 11: "UseableBoss";i: 100;s: 5: "Equip";i: 100;s: 9: "EquipBoss";i: 100;s: 4: "Card";i: 100;s: 8: "CardBoss";i: 100;s: 7: "MvpItem";i: 100; } s: 10: "CharServer";a: 2: { s: 7: "Address";s: 13: "__Ragnarok_Server_IP__";s: 4: "Port";i: 6121; } s: 9: "MapServer";a: 2: { s: 7: "Address";s: 13: "__Ragnarok_Server_IP__";s: 4: "Port";i: 5121; } s: 11: "WoeDayTimes";a: 0: {} s: 11: "WoeDisallow";a: 2: { i: 0;a: 2: { s: 6: "module";s: 9: "character";s: 6: "action";s: 6: "online"; } i: 1;a: 2: { s: 6: "module";s: 9: "character";s: 6: "action";s: 8: "mapstats"; } } } } } } s: 30: " Flux_Config defaultSetOptions";a: 2: { s: 9: "overwrite";b: 1;s: 5: "force";b: 1; } s: 27: " Flux_Config exceptionClass";s: 10: "Flux_Error"; }
Here attached you can find a screenshot of my tmp directory:
-
On 5/5/2020 at 4:55 AM, chatterboy said:
Centos 7:
sudo chown apache:apache /var/www/html/data/
sudo chmod -R 777 /var/www/html/data/or if you already did in your HTML folder try to log in WinSCP as ROOT then change the property settings of the folder DATA and the TMP, change from ROOT[0] to APACHE then set to 0777 ^_^
Thank you for the help. I proceeded in writing changing the permissions of the files to 777 and it worked.
-
Once Fluxcp files are uploaded to the server, I get the following errors.
Message: Failed to write data/tmp/ConfigServers.cache.php permission error or data/tmp not exist in Flux::parseConfigFile()
File: /lib/Flux.php:236
QuoteLine Function/Method
277 Flux::raise()
335 Flux::parseConfigFile()
121 Flux::parseServersConfigFile()
67 Flux::initialize()
Exception Trace as String:
Quote#0 ~/lib/Flux.php(277): Flux::raise('Failed to write...')
#1 ~/lib/Flux.php(335): Flux::parseConfigFile('config/servers....')
#2 ~/lib/Flux.php(121): Flux::parseServersConfigFile('config/servers....')
#3 ~/index.php(67): Flux::initialize(Array)
#4 {main}
-
7 hours ago, Emistry said:
Thank you very much for the information, @Emistry.
My bad I didn't meticulously check the monster.conf -
I’m curious to know if it’s possible to change back to the old monster’s health bar.
For example: Poring: (50/50)
FluxCP - Server Status
in Web Support
Posted
Thank you for the fast reply chatterboy.
What firewall are we talking about?