Raised This Month: $ Target: $400
 0% 

Two questions about sv_downloadurl


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Eggman
Senior Member
Join Date: Jan 2010
Old 02-06-2010 , 02:37   Two questions about sv_downloadurl
Reply With Quote #1

1)Why condition if(FileExist(filename)) always return false, but file realy exist on sv_downloadurl-site? And how fix it.
2)How use configs from sv_downloadurl-site? When I do it usualy, I have 2 problems:
--1: Previous question (about FileExist)
--2: OpenFile don't open file (it do make error on ReadFileLine and crash plugin)

I hope for you'll help me.
P.S.sorry my for my bad eng

Last edited by Eggman; 02-06-2010 at 05:15.
Eggman is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-06-2010 , 08:48   Re: Two questions about sv_downloadurl
Reply With Quote #2

I'm pretty sure the file operations in SourceMod are strictly on the local file system, IE... not on a fast download server.

There are other ways of doing that, I assume. However, I don't know how.

Probably using the sockets extension.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 02-06-2010 , 09:30   Re: Two questions about sv_downloadurl
Reply With Quote #3

Maybe if config will be download from URL to server, SM will can read it? But...how download it to server...
Eggman is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode