File Download Error - txd dff files not downloading to client cache
Describe the bug The game server is unable to serve custom character models (such as .dff and .txd files) to clients, resulting in the error: "File download error - HTTP response code said error." Despite the server being configured correctly, clients are unable to download the models to their cache.
To Reproduce Steps to reproduce the behavior:
- Start the Open:MP server with a custom model on GameModeInit: AddCharModel(305, 20001, "file.dff", "file.txd");.
- Ensure the artwork.enable configuration is set to true and the correct path is specified for models in the config.json.
- Clients attempt to connect to the server and should automatically download the models.
- The error message "File download error - HTTP response code said error" appears when the client tries to download the models. Additional Info: The server recognizes that the model files are present because when the /skin 20001 command is executed.
Expected behavior The expected behavior is that the custom models (such as .dff and .txd files) should be automatically downloaded by the client to the cache and the character models should be loaded correctly in the game.
Screenshots and/or logs https://cdn.discordapp.com/attachments/966398440051445790/1342494938067111936/image.png?ex=67b9d757&is=67b885d7&hm=1e6b16aa6aa0dec1c62a4dc59570206a9fee29fa3b31e301409f930cb3001755&
https://cdn.discordapp.com/attachments/966398440051445790/1342494938067111936/image.png?ex=67b9d757&is=67b885d7&hm=1e6b16aa6aa0dec1c62a4dc59570206a9fee29fa3b31e301409f930cb3001755&
https://cdn.discordapp.com/attachments/966398440051445790/1342495154631868467/image.png?ex=67b9d78b&is=67b8860b&hm=a78db049325e55d284a2e96e9877e15d7a8bb75adc53cd39bf7efeedc86f8e7b&
Are you sure your tcp port for webserver is open?
I'm sorry, I didn't know that I needed to add "bind": "0.0.0.0" and "public_addr" to the config.json. Apologies for my lack of understanding. My issue has been resolved.
@sangtran2512 close it