ENSL consistency check
YoungTrotsky
Join Date: 2007-03-09 Member: 60307Members
<div class="IPBDescription">seems to break docking and refinery</div>Hi all, having a strange problem and wondered if anyone else has had/solved this. I updated my server's ConsistencyConfig.json to comply with the rules for ENSL so it now looks like this:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->{
"check": [ "game_setup.xml", "*.lua", "*.screenfx", "*.surface_shader", "*.fxh", "*.render_setup", "*.shader_template", "*.fsb", "*.dds", "*.material", "*.level", "*.cinematic" ]
"ignore": [ "crosshairs.dds", "crosshairs-hit.dds", "exosuit_HUD1.dds", "exosuit_HUD4.dds", "*.tga" ]}<!--c2--></div><!--ec2-->
And now it seems that whenever my server changes to ns2_docking or ns2_refinery all clients get dropped with "client and server differ", the other 4 official maps are fine. If i revert the ConsistencyConfig.json to default, delete the config.vdf.tmp and reboot the server, all 6 maps run fine again. Has anyone else noticed this? Is there a way to get these 2 maps working with this consistency setup? Seems strange that official maps are failing the consistency check!
Thanks.
Edit: This is resolved by adding the 2 files "materials/descent/descent_wall_02_a.material" and "materials/descent/descent_floor_01_a.material" to the ignore list or by deleting those 2 files from your server, as they do not exist in the client folder.
<!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo-->changed the [ codebox ] to [ code ], which doesn't break the forum layout - Kouji San<!--sizec--></span><!--/sizec-->
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->{
"check": [ "game_setup.xml", "*.lua", "*.screenfx", "*.surface_shader", "*.fxh", "*.render_setup", "*.shader_template", "*.fsb", "*.dds", "*.material", "*.level", "*.cinematic" ]
"ignore": [ "crosshairs.dds", "crosshairs-hit.dds", "exosuit_HUD1.dds", "exosuit_HUD4.dds", "*.tga" ]}<!--c2--></div><!--ec2-->
And now it seems that whenever my server changes to ns2_docking or ns2_refinery all clients get dropped with "client and server differ", the other 4 official maps are fine. If i revert the ConsistencyConfig.json to default, delete the config.vdf.tmp and reboot the server, all 6 maps run fine again. Has anyone else noticed this? Is there a way to get these 2 maps working with this consistency setup? Seems strange that official maps are failing the consistency check!
Thanks.
Edit: This is resolved by adding the 2 files "materials/descent/descent_wall_02_a.material" and "materials/descent/descent_floor_01_a.material" to the ignore list or by deleting those 2 files from your server, as they do not exist in the client folder.
<!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo-->changed the [ codebox ] to [ code ], which doesn't break the forum layout - Kouji San<!--sizec--></span><!--/sizec-->
Comments
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->{
"check": [ "*.lua", "*.fx", "*.screenfx", "*.surface_shader", "*.fxh", "*.render_setup", "*.shader_template", "*.dds", "*.fsb", "*.model", "*.material", "*.level", "*.cinematic" ]
"ignore": [ "shaders/DarkVision.fx", "ui/crosshairs.dds", "ui/crosshairs-hit.dds", "materials/descent/descent_floor_01_a.material", "shaders/Celerity.screenfx", "shaders/Blur.fx", "materials/descent/descent_wall_02_a.material", "lua/GUIMinimap.lua" ]
}<!--c2--></div><!--ec2-->
descent_wall_02_a and floor_01_a is the problem, need to ignore checking for those files.
Edit: This was because the ENSL config did not include checking .fx files, derp!
So you mean you have a client install instead of a dedicated server install for your server? Not sure if I'm following you. I didn't set my server up I'm just renting it and have FTP access.
Deleting the files "materials/descent/descent_wall_02_a.material" and "materials/descent/descent_floor_01_a.material" (or adding them as files to be ignored in the ConsistencyConfig.json file) will make the server work fine on refinery and docking, respectively, the problem seems to have been that these files were not present in the client folder on my machine but the server was trying to check against them. Presumably the mapper removed those files from the release versions of those maps but they didn't get removed from the server downloads.
Problem(s) solved, would be good if UWE could remove those 2 files from the server or add them to the client so that this does not happen by default.