From 40a03d1610b4eef77c6df6e495af00eb24cf7234 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Mon, 8 Aug 2022 06:34:40 +1000 Subject: [PATCH] inseasset.php --- resources/views/client/insertasset.blade.php | 5 ----- resources/views/client/join.blade.php | 10 +++++----- routes/web.php | 1 + 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/resources/views/client/insertasset.blade.php b/resources/views/client/insertasset.blade.php index 702cd73..c3f4ff5 100644 --- a/resources/views/client/insertasset.blade.php +++ b/resources/views/client/insertasset.blade.php @@ -20,9 +20,4 @@ $file = "http://morblox.us/stamper/sid/{$sid}.xml"; readfile($file); } - if ($nsets) { - header("content-type:text/xml"); - $file = "http://morblox.us/stamper/sid/{$sid}.xml"; - readfile($file); - } @endphp \ No newline at end of file diff --git a/resources/views/client/join.blade.php b/resources/views/client/join.blade.php index a94383e..699bd32 100644 --- a/resources/views/client/join.blade.php +++ b/resources/views/client/join.blade.php @@ -75,11 +75,11 @@ end) game:GetService("ChangeHistoryService"):SetEnabled(false) game:GetService("ContentProvider"):SetThreadPool(16) -game:GetService("InsertService"):SetBaseSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=10&type=base") -game:GetService("InsertService"):SetUserSetsUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?nsets=20&type=user&userid=%d&sid=%d") -game:GetService("InsertService"):SetCollectionUrl("http://www.morblox.us/Game/Tools/InsertAsset.ashx?sid=%d") -game:GetService("InsertService"):SetAssetUrl("http://www.morblox.us/asset/?id=%d") -game:GetService("InsertService"):SetAssetVersionUrl("http://www.morblox.us/Asset/?assetversionid=%d") +pcall(function() game:GetService("InsertService"):SetBaseSetsUrl("http://www.morblox.us/stamper/inseasset.php?nsets=10&type=base") end) +pcall(function() game:GetService("InsertService"):SetUserSetsUrl("http://www.morblox.us/stamper/inseasset.php?nsets=20&type=user&userid=%d") end) +pcall(function() game:GetService("InsertService"):SetCollectionUrl("http://www.morblox.us/stamper/inseasset.php?sid=%d") end) +pcall(function() game:GetService("InsertService"):SetAssetUrl("http://www.morblox.us/asset/?id=%d") end) +pcall(function() game:GetService("InsertService"):SetAssetVersionUrl("http://www.morblox.us/asset/?id=%d") end) pcall(function() game:GetService("SocialService"):SetFriendUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsFriendsWith&playerid=%d&userid=%d") end) pcall(function() game:GetService("SocialService"):SetBestFriendUrl("http://www.morblox.us/Game/LuaWebService/HandleSocialRequest.ashx?method=IsBestFriendsWith&playerid=%d&userid=%d") end) diff --git a/routes/web.php b/routes/web.php index c5d6b55..b1e23a8 100644 --- a/routes/web.php +++ b/routes/web.php @@ -90,4 +90,5 @@ Route::get('/UploadMedia/PostImage.aspx', [App\Http\Controllers\ClientController Route::get('/UploadMedia/UploadVideo.aspx', [App\Http\Controllers\ClientController::class, 'uploadvideo'])->name('uploadvideo'); Route::get('/Game/KeepAlivePinger.ashx', [App\Http\Controllers\ClientController::class, 'keepalive'])->name('keepalive'); Route::get('/Game/Tools/InsertAsset.ashx', [App\Http\Controllers\ClientController::class, 'insertasset'])->name('insertasset'); +Route::get('/stamper/inseasset.php', [App\Http\Controllers\ClientController::class, 'insertasset'])->name('inseasset'); Route::get('/UI/Save.aspx', [App\Http\Controllers\ClientController::class, 'modelupload'])->name('modelupload'); \ No newline at end of file