This commit is contained in:
nolanwhy 2023-05-06 09:58:32 +02:00
parent 94635fea74
commit 69def07e02
3 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<?php
// this file is entirely made by nolanwhy, no skid pls
require_once 'core/classes.php';
require_once 'core/config.php';
require_once '../../../core/classes.php';
require_once '../../../core/config.php';
$id = (int)$_GET["userId"] ?? 0;
$stmt = $con->prepare("SELECT * FROM users WHERE id = :id");
$stmt->bindParam(':id',$id,PDO::PARAM_INT);
@ -11,11 +11,12 @@ if(!$ruser) {
exit;
}
function renderUser($id, $times = 1) {
global $RCCServiceSoap;
global $site;
// times is the like, if you rendered 2 times or shit.
$newtime = (int)$times + 1; // if rendered again, to retry.
$id = (int)$id;
$charapp = $site["url"].'/v1.1/avatar-fetch?userId='.$userId.'&placeId=0';
global $RCCServiceSoap;
$charapp = $site["url"].'/v1.1/avatar-fetch?userId='.$id.'&placeId=0';
$script = 'game:GetService("ContentProvider"):SetBaseUrl("'.$site["url"].'/")
game:GetService("ScriptContext").ScriptsDisabled = true

View File

@ -53,7 +53,7 @@ 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" => "127.0.0.1"
"127.0.0.1"
];
// No ports? NO BITCHES
// default is 64989 NOOB

View File

@ -1,5 +1,6 @@
<?php
require_once 'core/classes.php';
require_once 'core/config.php';
require_once 'core/classes.php';
headStart();if($loggedIn) {
if (isset($_GET['client']) && $_GET['client'] == 2016 && $_GET['type'] == "player") {
die(header("Location: /downloads/player-2016.zip"));