And also, yes, I am using roproxy.com, and I know the problems with using a public proxy. It shows roblox.com in the console, not too sure why, maybe because roproxy.com redirects to roblox.com when you try go to it online.
This is not only happening with avatars, its happening with catalog stuff and pretty much anything http related in my game.
was just about to reply about the fact i just found a new error about the thumbnail thing where now its a http 503 service unavailable. so thumbnails.roblox.com is gone too?
well its very complicated since it has alot of invokes and other stuff involved, but here it is:
local Event = game.ReplicatedStorage.Http
local HttpService = game:GetService(“HttpService”)
Event.OnServerInvoke = function(player, Type,Path,a,b,c,d,e,f,g)
Path = string.gsub(Path, “roblox.com”,“roproxy.com”)
print(Path)
if Type == “Post” then
local success, result = pcall(function()
return HttpService:PostAsync(Path,a,b,c,d,e,f,g)
end)
return {success, result}
elseif Type == “Get” then
local success, result = pcall(function()
return HttpService:GetAsync(Path)
end)
return {success, result}
end
end
local Event = game.ReplicatedStorage.Http
local HttpService = game:GetService(“HttpService”)
Event.OnServerInvoke = function(player, Type,Path,a,b,c,d,e,f,g)
–Path = Path:gsub(“[roblox.com](http://roblox.com)”,“[roproxy.com](http://roproxy.com)”)
Path = string.gsub(Path, “[roblox.com](http://roblox.com)”,“[roproxy.com](http://roproxy.com)”)
print(Path)
if Type == “Post” then
local success, result = pcall(function()
return HttpService:PostAsync(Path,a,b,c,d,e,f,g)
end)
return {success, result}
elseif Type == “Get” then
local success, result = pcall(function()
return HttpService:GetAsync(Path)
end)
return {success, result}
end
end
Can I see the script that Invokes the server as well
function Http.GetAssetAvatarFinalAsync(userId, width, height, format)
local result = rbxGetAsync(ThumbnailsUrl…‘v1/users/avatar?userIds=’…tostring(userId)…‘&size=30x30&format=Png&isCircular=false’)
return result
end
the rbxgetasync() function:
local function rbxGetAsync(path, returnRaw)
local result = FakeHttpService:InvokeServer(“Get”,path)
if not result[1] then
print(path, “rbxGetAsync() failed because”, result[2])
return nil
end
if returnRaw then
return result[2]
end
return decodeJSON(result[2])
end