Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 8.36 KB | None | 0 0
  1. <?php
  2. $version ="2.00";
  3. //set up the names of the database and table for the WEB SERVER
  4. ////////////MODIFY THIS SECTION //////////////////
  5. $db_name ="db_302213131_2";
  6. $table_name ="authorize";  // don't touch table name
  7. //connect to the server and select the database
  8. $server = "mysql.lima-city.de";    //DO NOT ADD A PORT HERE, IT IS ASSUMED 3306
  9. $dbusername = "USER303131";  
  10. $dbpassword = "6FEjjaGFYVR";
  11. ////////////MODIFY THIS SECTION //////////////////
  12. //setup the names and tables for the GAME SERVER database
  13. ////////////MODIFY THIS SECTION //////////////////
  14. $hostname = "129.270.299.21";
  15. $username = "dayz_epoch";
  16. $password = "d7dyrasFUPwkLB26r363nL4";
  17. $databasename = "dayz_epoch";
  18. ////////////MODIFY THIS SECTION //////////////////
  19. $chartablename = "character_data"; //Allows for case sensitive database names
  20. $playerdata= "player_data"; //Player names and PID table Allows for case sensitive database names
  21. $objecttable= "object_data"; //Object Data Table allows for case sensitive database names
  22. $tradersdata= "traders_data"; //Traders item Data Table allows for case sensitive database names
  23. $allowdonation = 1; //Donation for token option - free tokens are ALWAYS active.
  24. $allowrevive = 1; //allow revive option 0 off 1 on
  25. $allowstartergear = 0; //allow starter gear option 0 off 1 on
  26. $allowbuildloot = 0; //allow builder loot option 0 off 1 on
  27. $allowbugfix = 1; //allow bug fix/heal option 0 off 1 on
  28. $wipeinventory = 1; //Clear inventory on revive 0 off 1 on
  29. $multicharactersupport = 0; //Support for mutli-character mod, allows up to 5 characters
  30. $allowstats = 1; //Allow players to view their stats
  31. $allowbuildobase = 0; // allow Build-o-Base option 0 off 1 on
  32. $allowvaultchange = 1; // allow changing vault code option 0 off 1 on
  33. $allowbuddysys = 1; // allow buddy system teleport option 0 off 1 on
  34. $instance = 11; // Must match your instance set in the init.sqf
  35. $logging = 1; //enable logging
  36. $humanityf = 6000; //Humanity above this number is subject to humanityf1, below this number is f2
  37. $humanityf2 = 250; //Cost in humanity to do business with the bank token system when you are below 6000 humanity. This is not 150 humanity, it is 150x(token value)
  38. $humanityf1 = 550; //Cost in humanity to do business with the bank token system when you are above 6000 humanity.. This is not 350 humanity, it is 350x(token value)
  39. $headshotbonus = .02; //Headshots are worth
  40. $zombieweight = .04; //How much for each zombie kill
  41. $banditweight = .05; //how much for each bandit kill
  42. $humanweight = .10; // This is token punishment for killing human players set to 0 to disable
  43. ////////////////////////////////stats setup/////////////////////////////
  44. //Site logo
  45. $hostlogo = "logo.png";
  46. //Background table color for the user list
  47. $t1= "#000000";
  48. //Text color for user list
  49. $t1a ="#ffffff";
  50. //background table color for the main page stats
  51. $t2= "#ffffff";
  52. //background table color for detailed player information
  53. $t3= "#E8E8E8";
  54. //side and top panel color for the detailed player info
  55. $t4="#87CEFA";
  56. //Highlighted Text (default is yellow)
  57. $t5="#A00000";
  58. //Banner Text color user list
  59. $t6="#F4A460";
  60. ////////////////////////////////////end of stats setup///////////////////////////////////
  61.  
  62.  
  63.  
  64.  
  65. $coinsgiventonewbies = 5; // new registered players get tokens, this sets how many
  66.  
  67. $coinsforrevive = ".50";  // number of tokens for revive
  68.  
  69. $coinsforvault = "1"; // Number of tokens for changing a vault code
  70.  
  71. $coinsforbuddy = "1"; // tokens to use the buddy system
  72.  
  73. $coinsforbugfix = ".25"; //Wake up a character that's stuck in the hour glass bu
  74.  
  75.  
  76.  
  77. ////////////////FOR USE WITH MULTIPLE GAME SERVERS ONLY/////////////////////////////
  78. $mutliserversetup = 0; // 1 for multi-server, zero for a single server setup
  79. $howmanyservers = 2; // How many servers are you setting up? 2-10 are valid
  80. //If multi-server setup 1, continue below, if not, setup complete
  81. $servername1 = "DayZ Epoch Cherno";
  82. $s1instance = 11; // Must match your instance set in the init.sqf
  83. $servername2 = "DayZ Epoch Taviana";
  84. $s2instance = 13; // Must match your instance set in the init.sqf
  85. $servername3 = "DayZ Epoch Panthera";
  86. $s3instance = 16; // Must match your instance set in the init.sqf
  87. $servername4 = "DayZ Epoch NAPF";
  88. $s4instance = 24; // Must match your instance set in the init.sqf
  89. $servername5 = "DayZ Epoch NAPF";
  90. $s5instance = 24; // Must match your instance set in the init.sqf
  91. $servername6 = "DayZ Epoch NAPF";
  92. $s6instance = 24; // Must match your instance set in the init.sqf
  93. $servername7 = "DayZ Epoch NAPF";
  94. $s7instance = 24; // Must match your instance set in the init.sqf
  95. $servername8 = "DayZ Epoch NAPF";
  96. $s8instance = 24; // Must match your instance set in the init.sqf
  97. $servername9 = "DayZ Epoch NAPF";
  98. $s9instance = 24; // Must match your instance set in the init.sqf
  99. $servername10 = "DayZ Epoch NAPF";
  100. $s10instance = 24; // Must match your instance set in the init.sqf
  101.  
  102. //setup the names and tables for the GAME SERVER 1 database
  103. ////////////SERVER NUMBER ONE //////////////////
  104. $hostnames1 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  105. $usernames1 = "DATABASE USERNAME";
  106. $passwords1 = "DATABASE PASSWORD";
  107. $databasenames1 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  108. ////////////MODIFY THIS SECTION //////////////////
  109.  
  110. //setup the names and tables for the GAME SERVER 2 database
  111. ////////////SERVER NUMBER TWO //////////////////
  112. $hostnames2 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  113. $usernames2 = "DATABASE USERNAME";
  114. $passwords2 = "DATABASE PASSWORD";
  115. $databasenames2 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  116. ////////////MODIFY THIS SECTION //////////////////
  117.  
  118. //setup the names and tables for the GAME SERVER 3 database
  119. ////////////SERVER NUMBER THREE //////////////////
  120. $hostnames3 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  121. $usernames3 = "DATABASE USERNAME";
  122. $passwords3 = "DATABASE PASSWORD";
  123. $databasenames3 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  124. ////////////MODIFY THIS SECTION //////////////////
  125.  
  126. //setup the names and tables for the GAME SERVER 4 database
  127. ////////////SERVER NUMBER FOUR //////////////////
  128. $hostnames4 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  129. $usernames4 = "DATABASE USERNAME";
  130. $passwords4 = "DATABASE PASSWORD";
  131. $databasenames4 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  132. ////////////MODIFY THIS SECTION //////////////////
  133.  
  134. ////////////SERVER NUMBER Five //////////////////
  135. $hostnames5 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  136. $usernames5 = "DATABASE USERNAME";
  137. $passwords5 = "DATABASE PASSWORD";
  138. $databasenames5 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  139. ////////////MODIFY THIS SECTION //////////////////
  140. ////////////SERVER NUMBER six //////////////////
  141. $hostnames6 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  142. $usernames6 = "DATABASE USERNAME";
  143. $passwords6 = "DATABASE PASSWORD";
  144. $databasenames6 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  145. ////////////MODIFY THIS SECTION //////////////////
  146. ////////////SERVER NUMBER seven //////////////////
  147. $hostnames7 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  148. $usernames7 = "DATABASE USERNAME";
  149. $passwords7 = "DATABASE PASSWORD";
  150. $databasenames7 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  151. ////////////MODIFY THIS SECTION //////////////////
  152. ////////////SERVER NUMBER eight //////////////////
  153. $hostnames8 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  154. $usernames8 = "DATABASE USERNAME";
  155. $passwords8 = "DATABASE PASSWORD";
  156. $databasenames8 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  157. ////////////MODIFY THIS SECTION //////////////////
  158. ////////////SERVER NUMBER nine //////////////////
  159. $hostnames9 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  160. $usernames9 = "DATABASE USERNAME";
  161. $passwords9 = "DATABASE PASSWORD";
  162. $databasenames9 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  163. ////////////MODIFY THIS SECTION //////////////////
  164. ////////////SERVER NUMBER ten //////////////////
  165. $hostnames10 = "hive.hfbservers.com:3306";  // OR DAYZ.ST:3306
  166. $usernames10 = "DATABASE USERNAME";
  167. $passwords10 = "DATABASE PASSWORD";
  168. $databasenames10 = "NAME OF THE DATABASE";  // FOR HFB SERVERS IT'S THE SAME AS THE USER NAME
  169. ////////////MODIFY THIS SECTION //////////////////
  170.  
  171. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement