diff --git a/core/config.php b/core/config.php index 2465f9c..248f5bc 100644 --- a/core/config.php +++ b/core/config.php @@ -21,8 +21,8 @@ if($devmode) { // if ur gonna use the availablegameservers array please pick a random gameserver from the array or else we would put all stress on 1 gameserver $AvailableGameservers = [ - 1 => "ip goes here", - 2 => "ahh help!!" + "ip goes here", + "ahh help!!" ]; $gameSettings = [ @@ -31,8 +31,10 @@ MIICXQIBAAKBgQDhO7uhMz3jBLoSB/SHWhnE5tVxn7P6BlirPVrZEWVUxjyC5ybhZpyjL/r6KBlvhgyn -----END RSA PRIVATE KEY-----" ]; +$soapIp = $AvailableGameservers[array_rand($AvailableGameservers,1)]; + $soapcfg = [ - "ip" => "127.0.0.1", + "ip" => $soapIp, "port" => 64989, "url" => "sierraf.tk" ];