From 69def07e0286a3f8cab633c2a8095f1f4ec0e5fe Mon Sep 17 00:00:00 2001 From: nolanwhy <69528856+nolanwhy@users.noreply.github.com> Date: Sat, 6 May 2023 09:58:32 +0200 Subject: [PATCH] n --- assets/renders/user/fullbody.php | 9 +++++---- core/config.php | 2 +- download.php | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/assets/renders/user/fullbody.php b/assets/renders/user/fullbody.php index 21435f2..5dc804a 100644 --- a/assets/renders/user/fullbody.php +++ b/assets/renders/user/fullbody.php @@ -1,7 +1,7 @@ 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 diff --git a/core/config.php b/core/config.php index 2fa6122..2debd75 100644 --- a/core/config.php +++ b/core/config.php @@ -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 diff --git a/download.php b/download.php index f9d6e5c..fe76a0a 100644 --- a/download.php +++ b/download.php @@ -1,5 +1,6 @@