>> Maybe I need to use setmaster* cmds in the running l4d2's to see which >> masters they are talking to and try modifying srcupdatecheck to one or >> more of those masters instead. It's just a guess but maybe L4D2 servers >> need to talk to different masters to do version checking queries. >> >> Any ideas, Nephyrin? > > OK, just for shi*ts & giggles I tried running srcupdatecheck manually from > the command line. Rather interesting.... > > (cwd = /home/l4d2-1/left4dead2, where nemrun and srcupdatecheck scripts > are) > > $ ./srcupdatecheck left4dead2/steam.inf > Invalid steam.inf file. > > $ ./srcupdatecheck /home/l4d2-1/left4dead2/left4dead2/steam.inf > Invalid steam.inf file. > > $ cat left4dead2/steam.inf > > // NetworkVersion is the version in the wire protcol between > client<->server, > // its not used for matchmaking, PatchVersion is used for that to ensure > // we don't get cross connecting to different releases. Only bump this if > // you know an incompatible change has happened to the network protocol in > // game and old demos will not work. > NetworkVersion=2.0.4.2 > PatchVersion=2.0.5.3 > ProductName=left4dead2 > appID=550 > > ----- > > compared to a tf2 steam.inf file (much simpler): > > PatchVersion=1.1.2.0 > ProductName=tf > appID=440 > > > I *might* be able to fix this myself, if the problem is parsing...
So, I tried manually editing steam.inf a bit after reading the srcupdatecheck code. It looks like it expects to find the PatchVersion as the first line of steam.inf, and may also expect to find ProductName as 2nd line, and appID as third line. Once I changed the "test" steam.inf to read this way: --- PatchVersion=2.0.5.3 ProductName=left4dead2 appID=550 NetworkVersion=2.0.4.2 --- srcupdatecheck runs successfully! Output below: $ ./srcupdatecheck left4dead2/steam.inf ProductName=left4dead2 appID=550 PatchVersion=2.0.5.3 [1] Requesting challenge [1] Got challenge, sending registration [1] - No response [2] Requesting challenge [2] - Timed out contacting server [3] Requesting challenge [3] Got challenge, sending registration [3] - No response [4] Requesting challenge [4] - Timed out contacting server [5] Requesting challenge [5] Got challenge, sending registration [5] - No response Got three non-rejected queries, UP TO DATE! So, time to brush the dust off my 2 brain cells and figure out how to modify srcupdatecheck's python code to parse an L4D2-style steam.inf file (since it seems unlikely that Valve is going to modify it to suit us... :) If anybody cares to assist/suggest, feel free. If I come up with something that works I'll post it. PharaohsPaw _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

