From baf037c71f5559a19909c9776765076fc6d64828 Mon Sep 17 00:00:00 2001 From: nolanwhy Date: Sun, 12 Feb 2023 11:12:20 +0100 Subject: [PATCH] Update config.php --- core/config.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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" ];