Jump to content

Download error: HTTP response code said error.


XFawkes

Recommended Posts

There is my problem ;/

I created a race [DM/DD] map with moving objects. Everything work in 'Map Editor Test Mode', but when i try to open map in 'Host Mode' there is that error: Download error: HTTP response code said error.

I have 2 scripts SERVER and CLIENT, and that CLIENT script don't work, because when i remove it [client side script], everything is ok.

That is my meta file

<?xml version="1.0" encoding="utf-16" ?>
<meta>
   <script src="1.lua" type="server"/>
   <script src="2.lua" type="client"/>
   <info gamemodes="race" type="map" name="xxx" author="xxx" version="1.0.3" />
   <map src="xxx.map" dimension="0" />
   <settings>
       <setting name="#skins" value='[ "cj" ]' />
       <setting name="#maxplayers" value="[ 32 ]" />
       <setting name="#gamespeed" value="[ 1 ]" />
       <setting name="#ghostmode" value='[ "false" ]' />
       <setting name="#time" value="18:0" />
       <setting name="#vehicleweapons" value='[ "true" ]' />
       <setting name="#minplayers" value="[ 0 ]" />
       <setting name="#weather" value="[ 0 ]" />
       <setting name="#gravity" value="[ 0.008000 ]" />
       <setting name="#waveheight" value="[ 0 ]" />
       <setting name="#respawntime" value="[ 0 ]" />
       <setting name="#locked_time" value="[ false ]" />
       <setting name="#duration" value="[ 1500 ]" />
       <setting name="#respawn" value='[ "none" ]' />
   </settings>
</meta>

and there is my "2.lua" file [clientside]

function resource_says_hai_client () 
setWaterColor( 255 , 0 , 0 )
setWaveHeight ( 0.5 )
rampa = createObject ( 1655 , 3047.9677734375 , 4709.7055664063 , 3.8377332687378 )
setElementCollisionsEnabled ( rampa , false )
end 
 
addEventHandler( "onClientResourceStart", resourceRoot, resource_says_hai_client )

Help me please

Link to comment

The script is fine. I've never seen such error message before. This errors has got something to do with downloading your client-side script file. Unfortunately, "response code said error" doesn't say much... Join our IRC channel and speak to someone who's up-to-date with the source code and ask them where does this message come up and what could be a reason.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...