From f8bcb95460e7084c74c17b3c8c938e927dc47b97 Mon Sep 17 00:00:00 2001 From: XlXi Date: Wed, 6 Jan 2021 07:53:15 -0500 Subject: [PATCH] asdasdasd --- WebAssemblies/API.php | 2 +- public/api/clientsettings/.htaccess | 2 +- public/api/versioncompatibility/allowedmd5hash.php | 2 +- public/assetgame/joingame.php | 8 ++++---- public/assetgame/requestplacelauncher.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/WebAssemblies/API.php b/WebAssemblies/API.php index 0227c0e..783911f 100644 --- a/WebAssemblies/API.php +++ b/WebAssemblies/API.php @@ -39,7 +39,7 @@ class API { } function PrettyJSONEncode($array){ - return json_encode($array, JSON_PRETTY_PRINT); + return json_encode($array); } } diff --git a/public/api/clientsettings/.htaccess b/public/api/clientsettings/.htaccess index 8625f59..61217a9 100644 --- a/public/api/clientsettings/.htaccess +++ b/public/api/clientsettings/.htaccess @@ -1,4 +1,4 @@ RewriteEngine on RewriteRule ^Setting/QuietGet/ClientAppSettings/?$ /cappsettings.php [NC,L] -RewriteRule ^Setting/QuietGet/ClientSharedSettings/?$ ../cshared.php [NC,L] +RewriteRule ^Setting/QuietGet/ClientSharedSettings/?$ /cshared.php [NC,L] ErrorDocument 404 /index.php \ No newline at end of file diff --git a/public/api/versioncompatibility/allowedmd5hash.php b/public/api/versioncompatibility/allowedmd5hash.php index c6b6cf5..7e35088 100644 --- a/public/api/versioncompatibility/allowedmd5hash.php +++ b/public/api/versioncompatibility/allowedmd5hash.php @@ -10,7 +10,7 @@ require $_SERVER["DOCUMENT_ROOT"] . "/../../../WebAssemblies/loader.php"; $page = new Platinus\API(); if(isset($_GET["apiKey"]) && $_GET["apiKey"]=="2b4ba7fc-5843-44cf-b107-ba22d3319dcd"){ - $page->RespondJSON(array("data"=>["c43f39212fe84e75836bfb9fa28c42a1"])); + $page->RespondJSON(array("data"=>["b34accf35cbb12309230201c4c3572d3"])); }else{ $page->InvokeError(403, "Unauthorized"); } diff --git a/public/assetgame/joingame.php b/public/assetgame/joingame.php index 1616094..f8a2326 100644 --- a/public/assetgame/joingame.php +++ b/public/assetgame/joingame.php @@ -28,18 +28,18 @@ ob_start(); $page->RespondJSON(array( "ClientPort"=>0, - "MachineAddress"=>"localhost", + "MachineAddress"=>"127.0.0.1", "ServerPort"=>53640, "PingUrl"=>"", "PingInterval"=>120, "UserName"=>"Player", "SeleniumTestMode"=>false, - "UserId"=>0, + "UserId"=>420, "SuperSafeChat"=>true, "CharacterAppearance"=>"https://api.roblox.com/v1.1/avatar-fetch/?placeId=0&userId=0", "ClientTicket"=>"8/16/2020 10:42:46 AM;T6CPtZzvEi0ONNqrt88kiMTZzp+0PB0mMcoDjzRptMGADjMsgiPB3Xq13LwClAoyaagj/ZRqPqWEC+hvxXDCP1qK/9Rkd7cbgrYup1BmR9UUIrmwhByOJmgM63GhsrzANu78yfwraetaz5G8J6EB+XgpSuf5gutLGXnMsWvJML2vX9axrCXSS6TKolB7pmBx2PFFMOWqx1/3enDZEJMfPO2X3lu0mhxoBrCGyD6qtVuIQIKpscJ39YJanJBOdXaX4+BNB2rKa+70BaJtZiV+uytl05HaasYTVw7hQIjvsUxmDaHXT/z/8HfLL8eZ/z1aiRrClHYP1b98CrX4PAp9qA==;AVSMGbLFaspKZ2+g8C+mmae9RjoqeVKOD13BbLY84gHF4fVph9mwcbxMHFO2sXWn0QsEy4JIBQojXyk+g+5bpbnjI6tNaw4sMytv2i+Rmd6osTpAJ500IujCwarjE7qUJY7UkNP10mT0C1kzJMtkzT+juaLTcNs774zB9v6PKYCasmFy9xQrpxpIeIKHB2N/hg4scTuYCuw8uvczq+od4YoAW3JdlfF27OZn/1VOMpXUWR7FQ8f/i6ZOIyqyNgQVowU1B2fQ8UjkeTySq4BTPIqR2zqJzCIT1OfG1jepkTBXNzZAQ+mZenmJyONXiGgZrKfJuHui06GT2JtwVmTNNg==;4", "GameId"=>"00000000-0000-0000-0000-000000000000", - "PlaceId"=>0, + "PlaceId"=>1, "VendorId"=>0, "ScreenShotInfo"=>"", "VideoInfo"=>"GamesPlatinus, 2016, ROBLOX, video, free game, online virtual world", @@ -61,7 +61,7 @@ $page->RespondJSON(array( "FollowUserId"=>0 ), false); -$data = "\n".ob_get_clean(); +$data = "\r\n".ob_get_clean(); $signature; $key = file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/../../key.pem"); diff --git a/public/assetgame/requestplacelauncher.php b/public/assetgame/requestplacelauncher.php index f64e8c2..88aead9 100644 --- a/public/assetgame/requestplacelauncher.php +++ b/public/assetgame/requestplacelauncher.php @@ -45,6 +45,6 @@ require $_SERVER["DOCUMENT_ROOT"] . "/../../WebAssemblies/loader.php"; $page = new Platinus\API(); -$page->RespondJSON(array("jobId"=>"2ea2b52a-1784-4eed-a6f3-7375b13f1a11", "status"=>1, "joinScriptUrl"=>"http://assetgame.platinus.local/Game/Join.ashx?ticketVersion=2&ticket=%7b%22UserId%22%3a-405225060%2c%22UserName%22%3a%22Guest+5060%22%2c%22CharacterFetchUrl%22%3a%22http%3a%2f%2fassetgame.roblox.com%2fAsset%2fCharacterFetch.ashx%3fuserId%3d15560089%26placeId%3d163865146%22%2c%22GameId%22%3a%222ea2b52a-1784-4eed-a6f3-7375b13f1a11%22%2c%22PlaceId%22%3a163865146%2c%22UniverseId%22%3a78260373%2c%22IsTeleport%22%3afalse%2c%22FollowUserId%22%3anull%2c%22TimeStamp%22%3a%228%2f9%2f2016+9%3a20%3a24+PM%22%2c%22CharacterAppearanceId%22%3a15560089%7d&signature=kCFfFOyyXIXMh%2fVxfrZUM5IxiXfGzmo%2bW9zlyM65GsN%2fgjHVXs2xbrx83NpwbAnrtOQcclxlhfJUPZRZJGkOnJE4GzHUKyiGpoz2nznhegR%2f9IzYc9fW4W%2fOVvmg0Ft61IPrFGBqqvhx7WUrGN1lNz%2f5ajn176RGky4zUGuO1WI%3d&connectionInfo=yc2znFjlRjgIpp1jZf1OLN8p7aOGYPvYpTSg%2bj1mHixmx5dy2qrtQ%2bPd0JYfeBU2i5oew%2bvcy7UHWkzxOnbvuEt1ezw%3d&browserTrackerId=0", "authenticationUrl"=>"http://api.platinus.local/Login/Negotiate.ashx", "authenticationTicket"=>"Guest:-405225060")); +$page->RespondJSON(array("jobId"=>"2ea2b52a-1784-4eed-a6f3-7375b13f1a11", "status"=>2, "joinScriptUrl"=>"http://assetgame.platinus.local/Game/Join.ashx", "authenticationUrl"=>"http://api.platinus.local/Login/Negotiate.ashx", "authenticationTicket"=>"Guest:-405225060")); //EOF \ No newline at end of file