AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Download map (https://forums.alliedmods.net/showthread.php?t=188748)

hyphen 06-30-2012 00:45

Download map
 
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
  // ???
}


DjOptimuS 06-30-2012 00:49

Re: Download map
 
1 Attachment(s)
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

hyphen 06-30-2012 00:54

Re: Download map
 
Oh nice, and this require server port 80 open right ?

DjOptimuS 06-30-2012 00:55

Re: Download map
 
no, it is client download, it connects passive to the target.

hyphen 06-30-2012 00:56

Re: Download map
 
Didn't get you. I need to upload maps to server instead of using any ssh or ftp.

DjOptimuS 06-30-2012 00:58

Re: Download map
 
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.

hyphen 06-30-2012 01:00

Re: Download map
 
auto-update a plugin - in this case also you need to communicate with some http server

DjOptimuS 06-30-2012 01:10

Re: Download map
 
Quote:

Originally Posted by hyphen (Post 1739463)
auto-update a plugin - in this case also you need to communicate with some http server

Yes, it is true, but can be achieved.

fysiks 06-30-2012 13:21

Re: Download map
 
There is a plugin that downloads plugins IIRC. Something like "plugins managers" or something.

Neeeeeeeeeel.- 06-30-2012 20:50

Re: Download map
 
Quote:

Originally Posted by fysiks (Post 1739799)
There is a plugin that downloads plugins IIRC. Something like "plugins managers" or something.

Are you talking about this?


All times are GMT -4. The time now is 15:21.

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