ENSL consistency check

YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
edited December 2012 in Server Discussion
<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-->

Comments

  • JektJekt Join Date: 2012-02-05 Member: 143714Members, Squad Five Blue, Reinforced - Shadow
    Had this too, it's a problem with some descent files. If you check console you can see what files are causing the error.

    <!--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.
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    edited December 2012
    Added those 2 exceptions to the config and can now join server on those maps but it has also enabled minimal alien vision mod so I think the whole config is basically not working (I did not put "shaders/DarkVision.fx" in the ignore list).

    Edit: This was because the ENSL config did not include checking .fx files, derp!
  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    I copied config files - deleted NS2 folder and redownloaded 4920 and it was fine afterwards.
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    edited December 2012
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    <!--quoteo(post=0:date=Dec 1 2012, 10:12 AM:name=CoTTon)--><div class='quotetop'>QUOTE (CoTTon @ Dec 1 2012, 10:12 AM)</div><div class='quotemain'><!--quotec-->I copied config files - deleted NS2 folder and redownloaded 4920 and it was fine afterwards.<!--QuoteEnd--></div><!--QuoteEEnd-->

    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.
  • YoungTrotskyYoungTrotsky Join Date: 2007-03-09 Member: 60307Members
    I tried doing everything again and trying a few new things and now it seems to all make sense, guess I was just making some mistake somewhere before. The ENSL consistency check does not include checking for "*.fx" so the 'Minimal Alien Vision' mod on workshop was working with that enabled, I'll check with ENSL if they intended for people to be able to use that, seems odd.

    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.
Sign In or Register to comment.