Download file to client
Hello,
how can i do that i wrote /dl and some file from web download not to server but to client. http://forums.alliedmods.net/showthread.php?t=63120 This download for server but i need to download file to client, for example: cstrike/txt/txt.txt I need something like the precache but precache is called at connecting to server but and i need to call it at disconnecting. Help Please! :( |
Re: Download file to client
serverside - possible
clientside - not anymore since motdfile, motd_write is blocked. |
Re: Download file to client
Well, there's a way but I wonder if it's considered slowhack.
You can send a file to client (only if the file doesn't exists on client) using precache_generic (search on forum, there's so many threads). Also you can send a dynamic motd with an A link inside (haven't tested what's happens on client side when A link is used). |
Re: Download file to client
Can it precache a .txt file and transfer it to clients game files? I am curious to know that :D (won't do anything wrong)
EDIT: I know I can do that but can I edit that file later? or cache it on a specific event so it transfer that file in a special event or when required? |
Re: Download file to client
No, you can't make download nor edit hud.txt on the client.
|
Re: Download file to client
No, I meant that. When a client connects, precache a something.txt, will this transfer that file?
|
Re: Download file to client
With precache_generic(), and if the file doesn't already exist on the client, this includes files in steam cache.
|
| All times are GMT -4. The time now is 15:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.