Closed Kremnev closed 5 years ago
Not only on CS1.6, but in all HL1 mods too (Vanilla Half-Life, Sven Co-op, etc)
cl_allowdownload 1 cl_allowupload 1
di57inct no this problem new builds
Kremnev, check whether you have sv_allow_dlfile 1. It is required in order to clients be able to download logos.
Safety1st tnx, but it does not help, is a bug of new builds
Thats because check for "!MD5" was removed from IsSafeToDownload function.
At risk of saying "bump" anyone have any step-by-step instructions as to how to restore this functionality within a mod from the code side? We added some "lore friendly" spray paints for our Half-Life MMO and they were working at the time.
On the other hand, we addded these in 2015: https://www.msremake.com/forums/viewtopic.php?f=34&t=9167&p=149571&hilit=lore+relevant+logos+spray+paints#p149571
And they worked at the time, only more recently has the customization failed.
I notice this bug has been ported to Svencoop's current build as well.
Could we get the source for the spraypaint bits on the engine side, that we may duplicate the function within the SDK? (Why is this 1998 engine still not open source?)
To clarify: We've suddenly lost our ability to choose among logos in the /logos folder. The spray always defaults to the #0 Lambda spray index.
This seems to be fixed in the TFC beta, thanks! :D
Oh, you're right it is! I was a bit surprised when I saw your comment as I had another change staged to fix this that I hadn't added yet but it was actually the fix to #2109 that fixed this issue as well.
IsSafeFileToDownload
had a check in it to ensure that resources downloaded both had a file extension and had an extension that was exactly three characters. That broke downloaded MD5 hash files as @LevShisterov mentions above which broke propagation of custom sprays. I removed that check altogether to let files like .sc through but that had the additional benefit of fixing this issue.
This fix was in the engine, so it should be fixed in the public versions of all GoldSrc games already if someone would like to verify that for me before I close the issue.
It seems to be working now, i'm not getting any errors about customization in the console, and i can see other players' spraypaint. This should be verified by someone with a custom spray as well though (meaning not a monochrome spray).
I think this issue is fixed based on comments I've seen on the Steam forums.
Hi, i testing hlds clear build (6027,6132 and 6153) (windows) And all have problem is custom spray.
server.cfg
Player connecting server, give tempdecal.wad in custom.hpk Server Server don't transmit custom.hpk all players That is don't update custom.hpk on the client side Server custom.hpk have all custom sprays players But why it can not transmit client
And old HLDS (build 5787) no have this problem, even playing with new client