Making client re-download resource

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
iPlayer
Developer
Posts: 590
Joined: Sat Nov 14, 2015 8:37 am
Location: Moscow
Contact:

Making client re-download resource

Postby iPlayer » Fri Sep 16, 2016 4:45 pm

Hey there,

Is there a way to make a client remove downloaded resource or re-download it?

Thanks.
Image /id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam

Hail, Companion. [...] Hands to yourself, sneak thief. Image
User avatar
D3CEPTION
Senior Member
Posts: 129
Joined: Tue Jan 26, 2016 1:24 pm
Location: Switzerland

Re: Making client re-download resource

Postby D3CEPTION » Fri Sep 16, 2016 5:16 pm

i dont think there is a native way, but i have wondered about this before too. ill post a few ideas, although my biggest hope lies within method 2. ( that there might be an addional download-creating-able sidemodule that isnt used by the map, but can be used by the server - map unrelated downloads)

1) steamworkshops sv_broadcast_ugc module supports an overwrite functions for specified maps.(updates) maybe hack into the download function of this module and create artifical downloads? the module supports http requests thus -> method 3
2) is there a side download module, running on the server? (demo file download communication, comes to my mind )
3) is there a way to directly push http-requests from the server to a client? what about sending an external http request? ( maybe even use calls of https://developer.valvesoftware.com/wik ... r_protocol)

the next will definately work,but requires additional work and would be sp unrelated:
4) create your own client, create a pipe, and manage(replace) files/downloads manually.

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 56 guests