rockstarrem Posted January 31, 2009 Share Posted January 31, 2009 Hey guys, I'm getting an error 9 when connecting to my server after configuring the optional HTTP hosting option. I believe I did everything correctly, here is the config: <!-- This parameter specifies whether the builtin http server is going to be used. Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. --> <httpserver>0</httpserver> <!-- This parameter specifies the TCP port on which the server will be accepting incoming http connections. It can be set to the same value as <serverport>. It's a required parameter if <httpserver> is set to 1. --> <httpport>3021</httpport> <!-- This parameter specifies whether connecting players will be able to download needed resources for them from an external site rather than from the server. 0 - disabled , 1 - enabled; default value: 0. --> <httpdownload>1</httpdownload> <!-- If set, this parameter specifies the external URL from which clients will be able to download needed resources ingame. Required parameter if <httpdownload> is set to 1. --> <httpdownloadurl>http://tgtap.rockstarrem.com/mta/server1/resources</httpdownloadurl> Here's the strange part, it downloads the files but they are all empty. Like, there will be all the lua files but they're all empty. I don't get it. Here's the URL of all the resources, they're all default: http://tgtap.rockstarrem.com/mta/server1/resources I believe I did everything correctly, could someone help me please? Link to comment
Gamesnert Posted January 31, 2009 Share Posted January 31, 2009 HERE's a list of error codes. As you can see, 9 means UNABLE_TO_DOWNLOAD_FILE. So there has got to be something wrong. Try adding a / at the back of the link. So like: http://tgtap.rockstarrem.com/mta/server1/resources/ Instead of http://tgtap.rockstarrem.com/mta/server1/resources Link to comment
rockstarrem Posted January 31, 2009 Author Share Posted January 31, 2009 It's definitely not that, it has to do with the admin resource, me and Talidan are trying to debug it now. If I take out the admin resource from the startup everything downloads fine. Link to comment
rockstarrem Posted January 31, 2009 Author Share Posted January 31, 2009 lil_Toady confirmed it's a bug not exactly in MTA's system but it will be fixed in 1.0. topic can be locked. Link to comment
Ghost Dog 13 Posted February 1, 2009 Share Posted February 1, 2009 i had Error #9 when i had a outside link to http with resources.... it was due to server was using some newer resources that the http site didn't have... so it may be confirmed as a bug but rockstarrem may not have uplaoded all resources... or may updated his server's resources after uploading them.... so server wont be able to give out resources which gives the Error #9 Link to comment
Recommended Posts