Re: HTTP:X
I guess you could emulate a datapack with a cellarray then, that should work.
|
Re: HTTP:X
Quote:
|
Re: HTTP:X
JustGo,
PHP Code:
|
Re: HTTP:X
Quote:
|
Re: HTTP:X
Quote:
Edit: It's done. HTTPX_SetCustom(DownloadID, any:val) any:HTTPX_GetCustom(DownloadID) HTTP:X will update automatically, you don't need to download it manually. I also tested the time it took to completely download a different number of files at the same time. Don't run this yourself as I got banned doing it. Allthough I ran it using 1s delay between each run. Code:
Code:
1 download : 261ms (261ms/download)When reaching the end of the maximum number of downloads (10) the que is activated for the 11th entry and the time per download gets a small bump but then settles down and passes the previous results. It will probably continue to get more effective throughout. Theoretically the only bump should be at 10 downloads. After that the que will keep active at all times and shouldn't affect the time in a negative way anymore. Without following the pattern too much, assuming it will stagnate at 50ms/download you're looking at 1.6s for 32 players. Edit: I ran a second test using my own HTTP server (about 2m away on a gigabit LAN) and the result was interesting. For every download added ~10ms was added to the time. And after every tenth an extra 100ms was added. Most likely due to the que work. This is more or less the time of the internal works of the plugin. The other factor being response time and connection speed to the server. Code:
1 download : 209ms(~210) (209 ms/download) +~210 |
Re: HTTP:X
Hi.
I tried to use it but I get this error: L 04/22/2018 - 21:51:14: [AMXX] Plugin "test.amxx" failed to load: Plugin uses an unknown function (name "HTTPX_Download") - check your modules.ini. |
Re: HTTP:X
It seems like you're not running the core plugin.
Double-check that...
|
Re: HTTP:X
Hi!
I have been using this for a long time already, but it seems that your website has gone offline and I get this message in logs: Quote:
|
Re: HTTP:X
Quote:
|
Re: HTTP:X
i also tryed this plugin some days ago and got the same error...guys go with curl :)
|
| All times are GMT -4. The time now is 20:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.