Author Topic: Server/Client file consistency  (Read 210 times)

Jared

  • *
  • Posts: 1
    • View Profile
Server/Client file consistency
« on: June 06, 2018, 10:06:06 am »
I subscribed to several addons from the workshop (most of them change the look of survivors and weapons/items), I then copied the “addons” folder across to my dedicated server.

When a client connects to the server, the addons don’t appear. Is there anyway to force the client to use the servers addons?

Server log:
Code: [Select]
Connection to Steam servers successful.
   VAC secure mode is activated.
Client "Jared" connected (192.168.1.71:27005).
Server waking up from hibernation
Invalid counterterrorist spawnpoint at (1735.1,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1698.3,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1750.6,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1762.1,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1699.3,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1742.4,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1693.5,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (2608.0,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (2539.3,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (2560.1,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (2514.1,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (2440.0,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1859.7,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1797.5,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (1772.1,1184.0,1184.0)
Invalid counterterrorist spawnpoint at (2144.0,2656.0,2656.0)
Invalid counterterrorist spawnpoint at (2072.0,2656.0,2656.0)
Invalid counterterrorist spawnpoint at (908.8,2817.0,2817.0)
Invalid counterterrorist spawnpoint at (2303.4,2816.0,2816.0)
String Table dictionary for downloadables should be rebuilt, only found 74 of 86 strings in dictionary
String Table dictionary for soundprecache should be rebuilt, only found 9758 of 16563 strings in dictionary
String Table dictionary for Scenes should be rebuilt, only found 6774 of 13408 strings in dictionary
ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVar
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 18.700622ms
NextBot tickrate changed from 0 (0.000ms) to 3 (0.100ms)
Initiating Reserved Wanderers
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 4.093186ms
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 34.502221ms
SCRIPT PERF WARNING --- "<lambda or free run script>" ran long at 19.902088ms

I attached a copy of the server log, the root of the problem may lie in the line "String Table dictionary for downloadables should be rebuilt, only found 74 of 86 strings in dictionary". i think it means when the client connects, they are not downloading all of the necessary files on the server (e.g. the addons). Any idea how to fix this?

Sir

  • *
  • Posts: 902
    • View Profile
Re: Server/Client file consistency
« Reply #1 on: June 06, 2018, 10:34:09 am »
The client will not download the files from the Server, this simply doesn't work in L4D2.
Heck, can you imagine how annoying that'd be with certain addons?
Randomly ending up with anime/nude mods for your characters because some random Server host made you use them would not be very fun.

You can only enforce consistency on them if you really need them to download the addons, which would result into clients just being kicked for not having the files with an uncustomizable warning.
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

dustin

  • *
  • Posts: 43
    • View Profile
Re: Server/Client file consistency
« Reply #2 on: June 07, 2018, 11:14:23 pm »
For the record, some servers are able to force clients to download addon files. I thought custom file downloads where disabled in L4D2 but then I remembered joining a !build server linked to the Sourcemod Steam group, which still works to this day:
https://youtu.be/eWrRiMiQWzE

Best place to ask about this wis Alliedmodders. If you do find out how to do this please repost your findings here, as I'm curious as well.

Also personally I think a lot of people wouldn't like this, but if you cater to a casual community people probably wouldn't care. Like those Counter-Strike Source servers that have a lot of custom sounds and map files you have to DL to join. If someone wanted to do something mischievous they could probably do something like force a client to DL an addon which forces the sv_consistency, then later they join a SMAC protected server and get banned and not know why (tested this myself and it worked), which is partly why people don't want custom crap downloaded to their game.

Midi

  • **
  • Posts: 56
    • View Profile
Re: Server/Client file consistency
« Reply #3 on: June 08, 2018, 07:48:45 am »
For the record, some servers are able to force clients to download addon files. I thought custom file downloads where disabled in L4D2 but then I remembered joining a !build server linked to the Sourcemod Steam group, which still works to this day:
https://youtu.be/eWrRiMiQWzE

Best place to ask about this wis Alliedmodders. If you do find out how to do this please repost your findings here, as I'm curious as well.

Also personally I think a lot of people wouldn't like this, but if you cater to a casual community people probably wouldn't care. Like those Counter-Strike Source servers that have a lot of custom sounds and map files you have to DL to join. If someone wanted to do something mischievous they could probably do something like force a client to DL an addon which forces the sv_consistency, then later they join a SMAC protected server and get banned and not know why (tested this myself and it worked), which is partly why people don't want custom crap downloaded to their game.

I think this may have been patched by valve last year when some russian servers were forcing players to download .vpk that was rebinding their keys. lol

dustin

  • *
  • Posts: 43
    • View Profile
Re: Server/Client file consistency
« Reply #4 on: June 08, 2018, 02:11:23 pm »
I think this may have been patched by valve last year when some russian servers were forcing players to download .vpk that was rebinding their keys. lol

That was taken just yesterday and as you see at the end of the video, the vpk files where added into the addons folder. From 0:39 - 1:15 it looks like the files are being DL'ed from an external website.

 

A dedicated community website to competitive L4D and L4D2, ran by the community, for the community. L4DNation supports all continents of play and focuses on bringing together the community as a whole to a central hub of information.