Raised This Month: $ Target: $400
 0% 

Download map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hyphen
Senior Member
Join Date: Aug 2011
Old 06-30-2012 , 00:45   Download map
Reply With Quote #1

Is it possible to download a map to server via amx plugin.

something like:

Code:
register_clcmd(amx_dl_map_link, "dl_link")

public dl_link()
{
   server_cmd("some commands")
   // or similar
   // ???
}
hyphen is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-30-2012 , 00:49   Re: Download map
Reply With Quote #2

Yes it is posible, you will need engine and sockets modules active.

I can't find the original URL here but i'll attack the include
Attached Files
File Type: inc http.inc (5.4 KB, 65 views)
DjOptimuS is offline
hyphen
Senior Member
Join Date: Aug 2011
Old 06-30-2012 , 00:54   Re: Download map
Reply With Quote #3

Oh nice, and this require server port 80 open right ?
hyphen is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-30-2012 , 00:55   Re: Download map
Reply With Quote #4

no, it is client download, it connects passive to the target.
DjOptimuS is offline
hyphen
Senior Member
Join Date: Aug 2011
Old 06-30-2012 , 00:56   Re: Download map
Reply With Quote #5

Didn't get you. I need to upload maps to server instead of using any ssh or ftp.
hyphen is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-30-2012 , 00:58   Re: Download map
Reply With Quote #6

This include works only to download something, for example auto-update a plugin or some server files with a command from an admin on the server.

For your situation, this include won't work.
DjOptimuS is offline
hyphen
Senior Member
Join Date: Aug 2011
Old 06-30-2012 , 01:00   Re: Download map
Reply With Quote #7

auto-update a plugin - in this case also you need to communicate with some http server
hyphen is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 06-30-2012 , 01:10   Re: Download map
Reply With Quote #8

Quote:
Originally Posted by hyphen View Post
auto-update a plugin - in this case also you need to communicate with some http server
Yes, it is true, but can be achieved.
DjOptimuS is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-30-2012 , 13:21   Re: Download map
Reply With Quote #9

There is a plugin that downloads plugins IIRC. Something like "plugins managers" or something.
__________________
fysiks is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 06-30-2012 , 20:50   Re: Download map
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post
There is a plugin that downloads plugins IIRC. Something like "plugins managers" or something.
Are you talking about this?
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
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 15:21.


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