Skip to content

Commit

Permalink
More IP Configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Aug 14, 2022
1 parent fc44e32 commit af441d0
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions functions/message-function.php
Original file line number Diff line number Diff line change
Expand Up @@ -3837,7 +3837,7 @@ function ($error) use ($new_message) {
case 'status': //;status
if($GLOBALS['debug_echo']) echo "[STATUS] $author_check" . PHP_EOL;
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/serverstate.txt"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/serverstate.txt"); // set url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //return the transfer as a string
return $message->reply(curl_exec($ch));
break;
Expand All @@ -3849,7 +3849,7 @@ function ($error) use ($new_message) {
if($GLOBALS['debug_echo']) echo "[RESUME] $author_check" . PHP_EOL;
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/resume.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/resume.php"); // set url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //return the transfer as a string
curl_setopt($ch, CURLOPT_POST, true);
$message->reply(curl_exec($ch));
Expand All @@ -3871,7 +3871,7 @@ function ($error) use ($new_message) {
$message->react("⏰")->done(function ($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/savemanual1.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/savemanual1.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -3914,7 +3914,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/savemanual2.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/savemanual2.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -3956,7 +3956,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/savemanual3.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/savemanual3.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -3994,7 +3994,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/deletemanual1.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/deletemanual1.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4030,7 +4030,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/loadmanual1.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/loadmanual1.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4062,7 +4062,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/loadmanual2.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/loadmanual2.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4094,7 +4094,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/loadmanual3.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/loadmanual3.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4126,7 +4126,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/load1h.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/load1h.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4158,7 +4158,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/load2h.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/load2h.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4188,7 +4188,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/host.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/host.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4223,7 +4223,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/kill.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/kill.php"); // set url
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4258,7 +4258,7 @@ function ($error) use ($new_message) {
//$message->react("⏰")->done(function($author_channel) use ($message) { //Promise
//Trigger the php script remotely
//$ch = curl_init(); //create curl resource
//curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/update.php"); // set url
//curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/update.php"); // set url
//curl_setopt($ch, CURLOPT_POST, true);
//curl_setopt($ch, CURLOPT_USERAGENT, 'Palace Bot');
Expand Down Expand Up @@ -4305,7 +4305,7 @@ function ($error) use ($new_message) {
case 'pause': //;pause
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/pause.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/pause.php"); // set url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //return the transfer as a string
curl_setopt($ch, CURLOPT_POST, true);
$message->reply(curl_exec($ch));
Expand All @@ -4314,7 +4314,7 @@ function ($error) use ($new_message) {
case 'loadnew': //;loadnew
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/loadnew.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/loadnew.php"); // set url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //return the transfer as a string
curl_setopt($ch, CURLOPT_POST, true);
$message->reply(curl_exec($ch));
Expand All @@ -4327,7 +4327,7 @@ function ($error) use ($new_message) {
}
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.18:81/civ13/VM_restart.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.23:81/civ13/VM_restart.php"); // set url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //return the transfer as a string
curl_setopt($ch, CURLOPT_POST, true);
$message->reply(curl_exec($ch));
Expand All @@ -4343,7 +4343,7 @@ function ($error) use ($new_message) {
if($GLOBALS['debug_echo']) echo "[START] $author_check" . PHP_EOL;
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.97/magmacreeper/start.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.97/magmacreeper/start.php"); // set url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //return the transfer as a string
curl_setopt($ch, CURLOPT_POST, true);
$message->reply(curl_exec($ch));
Expand All @@ -4353,7 +4353,7 @@ function ($error) use ($new_message) {
if($GLOBALS['debug_echo']) echo "[START] $author_check" . PHP_EOL;
//Trigger the php script remotely
$ch = curl_init(); //create curl resource
curl_setopt($ch, CURLOPT_URL, "http://10.0.0.97/magmacreeper/pull.php"); // set url
curl_setopt($ch, CURLOPT_URL, "http://192.168.1.97/magmacreeper/pull.php"); // set url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //return the transfer as a string
curl_setopt($ch, CURLOPT_POST, true);
$message->reply(curl_exec($ch));
Expand Down

0 comments on commit af441d0

Please sign in to comment.