Смердокрыл Posted August 21, 2016 Share Posted August 21, 2016 Hey! I wonder if there is an easy way to distribute new .mpq files among the players of a private server. Preferably, without them having to do anything manually. The only way I came up with is using the Dropbox client, and storing WoW inside, but that's really weird and probably won't work. Any ideas? or not Link to comment Share on other sites More sharing options...
barncastle Posted August 21, 2016 Share Posted August 21, 2016 Custom launcher is a possible way to go. You could check if the files are present and stream them if they're not, you could even go as far as to do hash checks etc so they've not tampered the archive/it is up to date, the same way retail works. Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 21, 2016 Author Share Posted August 21, 2016 1 hour ago, barncastle said: Custom launcher is a possible way to go. You could check if the files are present and stream them if they're not, you could even go as far as to do hash checks etc so they've not tampered the archive/it is up to date, the same way retail works. I found this one It says it's compatible with <=WotLK, but do you think it'll work with Cata too? Because my server is Cata and I don't see any big differences in terms of placing mpqs in the client or not Link to comment Share on other sites More sharing options...
barncastle Posted August 21, 2016 Share Posted August 21, 2016 I think they're all a much of muchness to be honest. I found this one, with full source on ac-web and is designed with Cata graphics. Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 21, 2016 Author Share Posted August 21, 2016 6 minutes ago, barncastle said: I think they're all a much of muchness to be honest. I found this one, with full source on ac-web and is designed with Cata graphics. It looks great! Thank you very much! Could you suggest a file hosting that would work with that launcher? or not Link to comment Share on other sites More sharing options...
barncastle Posted August 21, 2016 Share Posted August 21, 2016 Having a flick through the source it appears you can use anything with direct file access so you could potentially use Dropbox like your original plan. Just get the share like and make sure the "dl" parameter is set to 1 (https://www.dropbox.com/en/help/201). Alternatively, if you're hosting a site for your server you could just put them on the web server. Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 21, 2016 Author Share Posted August 21, 2016 20 minutes ago, barncastle said: Having a flick through the source it appears you can use anything with direct file access so you could potentially use Dropbox like your original plan. Just get the share like and make sure the "dl" parameter is set to 1 (https://www.dropbox.com/en/help/201). Will GoogleDrive work? or not Link to comment Share on other sites More sharing options...
barncastle Posted August 21, 2016 Share Posted August 21, 2016 It looks that way, seems some people have figured out the URL structure http://www.labnol.org/internet/direct-links-for-google-drive/28356/. I don't use Google Drive so can't test if this still works still... Link to comment Share on other sites More sharing options...
Kaev Posted August 22, 2016 Share Posted August 22, 2016 Afaik you can even deliver your patches via the client, but that probably needs some changes in your core. Iirc stoneharry had a post about this on Modcraft. Link to comment Share on other sites More sharing options...
Skarn Posted August 22, 2016 Share Posted August 22, 2016 3 hours ago, Kaev1695989297 said: Afaik you can even deliver your patches via the client, but that probably needs some changes in your core. Iirc stoneharry had a post about this on Modcraft. Launcher is a safer way though. Link to comment Share on other sites More sharing options...
Kaev Posted August 23, 2016 Share Posted August 23, 2016 18 hours ago, Skarn said: Launcher is a safer way though. Why should that be safer? Just don't accept every client without the correct version/patch. Link to comment Share on other sites More sharing options...
Skarn Posted August 23, 2016 Share Posted August 23, 2016 Because you can write it for example in C++ and the majority of people won't be able to see your code, at least. Also with launcher while WoW.exe is off, you can manage MPQs the way you want; Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 27, 2016 Author Share Posted August 27, 2016 I don't understand what they mean by patchDownloadURL. Why is it a .txt file? or not Link to comment Share on other sites More sharing options...
Skarn Posted August 27, 2016 Share Posted August 27, 2016 3 minutes ago, Смердокрыл said: I don't understand what they mean by patchDownloadURL. Why is it a .txt file? It must be a .txt file uploaded somewhere that contains patch list along with hashes. It allows launcher to check if you are up to date or not. Link to comment Share on other sites More sharing options...
barncastle Posted August 27, 2016 Share Posted August 27, 2016 Exactly what Skarn said - it points to a file that tells the launcher what files to download, where to download them from and provides the checksums so the launcher can see if anyone has tampered with your files. The second download link on the page is a tool that generates this file for you; you just need to host it somewhere and point your launcher to that location. Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 27, 2016 Author Share Posted August 27, 2016 Ah, ok, thanks. If anyone is interested: the way to get direct links from google drive works perfectly. On 21.08.2016 at 7:25 PM, barncastle said: It looks that way, seems some people have figured out the URL structure http://www.labnol.org/internet/direct-links-for-google-drive/28356/. I don't use Google Drive so can't test if this still works still... or not Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 27, 2016 Author Share Posted August 27, 2016 Hey, I'm wondering: would it be possible to host a server that way? Place the mysql database in some online storage and somehow give the direct links to the server iself. or not Link to comment Share on other sites More sharing options...
barncastle Posted August 27, 2016 Share Posted August 27, 2016 That would be neigh impossible to do unfortunately, you're better off either hosting a cloud database (Azure, AWS...) or running a MySQL server on your own infrastructure. Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 29, 2016 Author Share Posted August 29, 2016 I have a problem: I uploaded all the patches and patch.txt to my google drive, done all the linking stuff, but whenever my launcher downloads a patch, the patch is always 36 kb and can't be opened by MPQ editor. or not Link to comment Share on other sites More sharing options...
barncastle Posted August 29, 2016 Share Posted August 29, 2016 I'll take a look if you want to send me the URL of the patch.txt file Link to comment Share on other sites More sharing options...
Смердокрыл Posted August 29, 2016 Author Share Posted August 29, 2016 39 minutes ago, barncastle said: I'll take a look if you want to send me the URL of the patch.txt file PM'ed it to you or not Link to comment Share on other sites More sharing options...
Sending patches to players
By Смердокрылin Miscellaneous
Recommended Posts