place api stuff

dog pee fetuses
This commit is contained in:
XlXi 2021-01-04 09:40:09 -05:00
parent ed3f71dd06
commit f45878173f
6 changed files with 89 additions and 1 deletions

View File

@ -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"=>["9509c1c066d97a320a0d778c6781105a"]));
$page->RespondJSON(array("data"=>["c43f39212fe84e75836bfb9fa28c42a1"]));
}else{
$page->InvokeError(403, "Unauthorized");
}

View File

@ -1 +1,3 @@
RewriteEngine on
RewriteRule ^Login/Negotiate.ashx?$ /negotiatecookie.php [NC,L]
ErrorDocument 404 /index.php

View File

@ -0,0 +1,21 @@
<?php
/*
Platinus Login Negotiation
*/
require $_SERVER["DOCUMENT_ROOT"] . "/../../../WebAssemblies/loader.php";
$page = new Platinus\API();
$domain = "HTTP_RBXAUTHENTICATIONNEGOTIATION";
if(isset($_SERVER[$domain]) && $_SERVER[$domain] == "www.platinus.local" && isset($_GET["suggest"])){
}else{
$page->InvokeError(403, "Unauthorized");
}
//EOF

View File

@ -0,0 +1,3 @@
RewriteEngine on
RewriteRule ^Game/PlaceLauncher.ashx?$ /requestplacelauncher.php [NC,L]
ErrorDocument 404 /index.php

View File

@ -0,0 +1,15 @@
<?php
/*
Platinus Assetgame Api
*/
require $_SERVER["DOCUMENT_ROOT"] . "/../../WebAssemblies/loader.php";
$page = new Platinus\API();
$page->InvokeError(403, "Unauthorized");
//EOF

View File

@ -0,0 +1,47 @@
<?php
/*
Platinus PlaceLauncher
*/
/*
PlaceLauncher Status Key
0: "" (Retry for client, no string for MadStatus)
1: "A server is loading the game..." (Retry for client)
2: "The server is ready. Joining the game..."
3: "Joining games is temporarily disabled while we upgrade. Please try again soon." (Displayed by MadStatus but results in an error for the client)
4: "An error occurred. Please try again later." (Displayed by MadStatus but results in an error for the client)
5: "The game you requested has ended." (Displayed by MadStatus but results in an error for the client)
6: "The game you requested is currently full. Waiting for an opening..."
7: "Roblox is updating. Please wait..." (Used by MadStatus)
8: "Requesting a server" (Displayed before a request is sent to PlaceLauncher.ashx)
// Place join status results
// Waiting = 0,
// Loading = 1,
// Joining = 2,
// Disabled = 3,
// Error = 4,
// GameEnded = 5,
// GameFull = 6
// UserLeft = 10
// Restricted = 11
*/
/*
Login/Negotiate.ashx
RBXAuthenticationNegotiation: baseurl
?suggest=TICKETHERE
return set-cookie: .ROBLOSECURITY
*/
require $_SERVER["DOCUMENT_ROOT"] . "/../../WebAssemblies/loader.php";
$page = new Platinus\API();
$page->RespondJSON(array("status"=>1, "joinScriptUrl"=>"", "authenticationUrl"=>"", "authenticationTicket"=>""));
//EOF