View Single Post
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 12-01-2023 , 04:38   Re: [AMX] Auto Updater
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
I'm not talking about URLs, I'm talking about the cURL module and its corresponding include file. It would be nice to know which version you've tested with and a quick way to download it.
Got it. Added.

Quote:
Originally Posted by fysiks View Post
I'm not sure I'd want 20 identical servers though . . . Not sure who would need that many identical servers. If, instead, you set up a system that would allow the server to identify itself and then grab a list of plugins specifically configured for that server, maybe it makes more sense. Something like a JSON file per server; I guess you could just change the JSON file URL (and maybe the others) into a cvar and that would actually implement that feature.
No... when I said 'lets say you have 20 servers', I wanted to say lets say you have 20 servers using your Kill Display plugin and you keep updating it. By giving them this Auto Updater, you can make all 20 download the plugin when you update then on your website instead of having to install the edited plugin in 20 different FTP connections, see now? The 20 servers does not need to be mine, thats why the 'License-like' thing in case I want to block the download for some servers.



Quote:
Originally Posted by fysiks View Post
By file organization, I was referring to having to organize the files on your web server since not all plugins are downloaded as fully completed packages ready for copying directly into a server. For example, I was thinking of a file tree like this on the web server:

Code:
.
├── plugin1
│   ├── addons
│   │   └── amxmodx
│   │       ├── data
│   │       │   └── lang
│   │       │       └── plugin1.txt
│   │       └── plugins
│   │           └── plugin1.amxx
│   └── models
│       └── plugin1_specific_model.mdl
├── plugin2
│   ├── addons
│   │   └── amxmodx
│   │       └── plugins
│   │           └── plugin1.amxx
│   └── sound
│       └── plugin2_specific_sound.wav
Then, you would only need to configure for that plugin (and not all the files individually) and it would grab all files for that plugin. I didn't expect that you would need to list each individual file.
I thought about it, but as big as the file is, it takes more time to download (obviously). And as I mentioned, there is no version or file size check that can be done BEFORE the download starts.

But you gave a valid point... maybe a file to each and individual servers, I could create something like
PHP Code:
"shouldDownload"true 
status on the json file so it can be downloaded once and not keep repeating... I may implement that.


Quote:
Originally Posted by fysiks View Post
Overall, FYI, I was just trying to understand how this was supposed to be used (and for the sake of others), I'm not criticizing it.
I understand that for most people, even creating a menu makes them struggle still. But the way this plugin works, it is not recommended to newbies because I see no other people using it but guys that have multiple servers using their plugins, which is old members and has more experience I assume. But yeah... you are right.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline