Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fix a server 404 error when loading a custom character?

Asked by 7 years ago
Edited 7 years ago

In a game that I've been developing,it morphs players into a model when they leave the main menu and enter the map.

The client fires a remote event,which lets the server know that the client's character is ready to be morphed.

Yet when the server goes to morph the player/client's character,I simply get this in the output:

HTTP 400(HTTP/1.1 400 BadRequest) Script 'ServerScriptService.Main.NetworkService',Line 40

Here is the code that morphs the character,at line 40 of the NetworkService script:

--Client is the Player object passed to the server when the remote event is fired.
--I just name it Client for my own purposes.
Client.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=7" 
wait()              
Client:LoadCharacter()

--All the morph code is here,not needed since it modifies the character AFTER it has been loaded.

This issue hasn't happened before with this code.

Let it also be known that I do have the game configured properly,I checked the "Custom Character" box in the place settings page.

Any idea what is causing this?

Answer this question