• Verifiy client files and overriding it
    9 replies, posted
So I got custom content in my server (sounds, models, materials) and say I change them a little bit and want people to redownload them, it won't do that until they go to their Garry's Mod folder and remove it manually is there a way to do it so players files are verified on entry and redownloaded if the file in the server is different? I've tried serval methods non of which seemed effective.
When you change models or materials you have to rename the modified ones if you want to ensure everyone gets the newer versions of the files, sorry
There are ways without renaming, but honestly, just rename it.
[QUOTE=AnonTakesOver;45395006]There are ways without renaming, but honestly, just rename it.[/QUOTE] Out of curiosity, what other ways are there to force the client to download them?
[QUOTE=jackwilsdon;45395132]Out of curiosity, what other ways are there to force the client to download them?[/QUOTE] A few, store a text document on the client with the name of the sound (so you can do something like file.Read( soundname .. ".txt"), inside the txt document store the version number, check clients version number with servers, others would be reading the file size of their sound and comparing. If different then delete their version and run "connect *your server ip*" on the client to force them to rejoin and re download updated sound. Second method would be allot better and easier. I'm just listing some things you can do.
If you use workshop addons it automatically overrides.
[QUOTE=Donkie;45395317]If you use workshop addons it automatically overrides.[/QUOTE] Yea thought of doing that sadly my content is roughly 1.5GB
[QUOTE=KokoNum;45395689]Yea thought of doing that sadly my content is roughly 1.5GB[/QUOTE]Looks like somebody is going to have create a multi-pack upload ;) But honestly, use workshop; some people do bash it, but it works perfectly and does make managing your custom content a hell of a lot easier! :)
[QUOTE=Braden1996;45395703]Looks like somebody is going to have create a multi-pack upload ;) But honestly, use workshop; some people do bash it, but it works perfectly and does make managing your custom content a hell of a lot easier! :)[/QUOTE] Workshop sucks
[QUOTE=AnonTakesOver;45395705]Workshop sucks[/QUOTE] The idea is great and from what i can gather it works for the most part, but like everything it is prone to a lot of errors. Don't forget that the workshop is still in it's infancy.
Sorry, you need to Log In to post a reply to this thread.