Advertisement
matheusmarum

Untitled

Oct 4th, 2017
795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. <?php
  2. /*
  3. Ceres Control Panel
  4.  
  5. This is a control pannel program for Athena and Freya
  6. Copyright (C) 2005 by Beowulf and Nightroad
  7.  
  8. This program is free software; you can redistribute it and/or
  9. modify it under the terms of the GNU General Public License
  10. as published by the Free Software Foundation; either version 2
  11. of the License, or (at your option) any later version.
  12.  
  13. This program is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with this program; if not, write to the Free Software
  20. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  21.  
  22. To contact any of the authors about special permissions send
  23. a mail to cerescp@gmail.com
  24.  
  25. This file was generated using install.php
  26. */
  27.  
  28. //sql connections
  29. $CONFIG['rag_serv'] = 'localhost'; // SQL Ragnarok Host
  30. $CONFIG['rag_user'] = 'root'; // SQL Ragnarok User
  31. $CONFIG['rag_pass'] = ''; // SQL Ragnarok Password
  32. $CONFIG['rag_db'] = 'ragnarok'; // SQL Ragnarok Database name
  33. $CONFIG['log_db'] = 'ragnarok'; // SQL Ragnarok Log Database name
  34.  
  35. $CONFIG['cp_serv'] = 'localhost'; // SQL CP Host
  36. $CONFIG['cp_user'] = 'root'; // SQL CP User
  37. $CONFIG['cp_pass'] = ''; // SQL CP Password
  38. $CONFIG['cp_db'] = 'cerescp'; // SQL CP Database name
  39.  
  40. $CONFIG['md5_pass'] = '0'; // Use MD5 password (enable = 1, disable = 0)
  41. $CONFIG['safe_pass'] = '1'; // Force the use of a safer password with size 6 and at least 2 letter and 2 numbers (enable = 1, disable = 0)
  42.  
  43. //Admin Area
  44. $CONFIG['cp_admin'] = '99'; // CP admin functions
  45. $CONFIG['gm_level'] = '70'; // CP GM funtions
  46. $CONFIG['gm_hide'] = '40'; // GMs this level and above will be hidden from whoisonline.php
  47.  
  48. //WOE
  49. // sun = sunday, mon = monday, tue = tuesday, wed = wednesday, thu = thursday, fri = friday, sun = sunday
  50. // place week_day(start_time, end_time) and a ';' between the times the freya default woe times is set as an example
  51. // there is no limit you can place as many as you want, no spaces are needed, but using it you can understand.
  52. $CONFIG['woe_time'] = 'tue(2100, 2300); sat(1600, 1800); ';
  53. $CONFIG['agit_check'] = '0'; // This WILL NOT WORK unless you installed the npc script AND you updated your ragsrvinfo table, read the installation notes for more info.
  54.  
  55. //server name, rates
  56. $CONFIG['name'] = 'Ceres Control Panel'; // name of the server
  57. $CONFIG['rate'] = '1/1/1'; // rates of the server
  58. date_default_timezone_set('America/Sao_Paulo'); // game server Timezone (useful if your webserver's timezone is different than game server).
  59. $CONFIG['dynamic_info'] = '0'; // Use info (rates) from the server itself?
  60. $CONFIG['dynamic_name'] = 'Ceres Control Panel'; // The name of the server in ragsrvinfo's server name column (Used for dynamic info)
  61. $CONFIG['show_rates'] = '0'; // Show rates below server status?
  62.  
  63. //map,char,login servers settings
  64. $CONFIG['accip'] = '127.0.0.1'; // Account/Login Server IP
  65. $CONFIG['accport'] = '6900'; // Account/Login Server Port
  66. $CONFIG['charip'] = '127.0.0.1'; // Char Server IP
  67. $CONFIG['charport'] = '6121'; // Char Server Port
  68. $CONFIG['mapip'] = '127.0.0.1'; // Zone/Map Server IP
  69. $CONFIG['mapport'] = '5121'; // Zone/Map Server Port
  70.  
  71. //default language
  72. $CONFIG['language'] = 'Portugues'; // default language (remember to check if the translation exist before set)
  73.  
  74. //cp features
  75. $CONFIG['disable_account'] = '0'; // disable the account creation disable = 1, enable = 0
  76. $CONFIG['auth_image'] = '0'; // enable the verification code image, to check if it's a real person using the cp, instead of a bot (brute-force atack) - Recommended, but requires gd library (enable = 1 disable = 0)
  77. $CONFIG['max_accounts'] = '0'; // Max accounts allowed to be in the DB (0 = disabled)
  78. $CONFIG['password_recover'] = '0'; // password recover enable = 1, disable = 0
  79. $CONFIG['reset_enable'] = '1'; // reset position enable = 1, disable = 0
  80. $CONFIG['reset_cost'] = '300'; // reset position cost, disable cost = 0
  81. $CONFIG['money_transfer'] = '0'; // money transfer enable = 1, disable = 0
  82. $CONFIG['money_cost'] = '0'; // money transfer cost (100 = 1%), disable cost = 0
  83. $CONFIG['set_slot'] = '1'; // change char slot enable = 1, disable = 0
  84. $CONFIG['max_chars'] = '9'; // Max amount of chars (set this to what's set for MAX_CHARS in your emulators src/common/mmo.h)
  85. $CONFIG['reset_look'] = '1'; // reset char equips and colors with error enable = 1, disable = 0
  86. $CONFIG['marry_enable'] = '1'; // enable marriage view and divorce
  87. $CONFIG['prison_map'] = 'sec_pri'; // Name of the map that is used as your jail (mapname.gat)
  88. $config['servermode'] = '0'; // For use the right query with rA or eA
  89.  
  90. //About Information
  91. $CONFIG['classlist_show'] = '1'; // Show the class list on about.php? (disable = 0, enable = 1)
  92. $CONFIG['classlist_hide_zero'] = '0'; // Hide class entries with zero amount? (disable = 1, enable = 0)
  93.  
  94. //Mail
  95. $CONFIG['smtp_server'] = 'localhost'; // the smtp server, the cp will use to send mails
  96. $CONFIG['smtp_port'] = '25'; // the smtp server port
  97. $CONFIG['smtp_mail'] = 'gamemaster@youremail.com'; // the email of the admin
  98. $CONFIG['smtp_username'] = ''; // the username of the smtp server
  99. $CONFIG['smtp_password'] = ''; // the password of the smtp server
  100.  
  101.  
  102.  
  103. //DO NOT MESS WITH THIS
  104. extract($CONFIG, EXTR_PREFIX_ALL, "CONFIG");
  105. extract($_GET, EXTR_PREFIX_ALL, "GET");
  106. extract($_POST, EXTR_PREFIX_ALL, "POST");
  107. extract($_SERVER, EXTR_PREFIX_ALL, "SERVER");
  108. error_reporting(0);
  109. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement