[SMA]AS Plugins Downloader 4 Sven Coop
1 Attachment(s)
https://github.com/AlucardNosferatu/...tree/AMX_Mod_X
Use by input commands below in console: Code:
dick "install_auto PluginName" This sma is my first attempt to write AMXX script, I use the json and the curl lib given by @Levenus Supremus (PolarHigh from GitHub?) @Exolent[jNr] https://forums.alliedmods.net/showth...highlight=curl https://forums.alliedmods.net/showth...highlight=json Tested on Sven Coop 5.23 both on Client and Dedicated Server Mechanism: Use curl to download AS plugin from website with Remote Git Repo Service via RAW url access Issue: :!::!::!:Due to some network issue, single AS download (or should I call it manual download) only supports Gitee, as raw.githubusercontent is blocked by my ISP, which make it hard for me to test on GitHub.:oops::( But if a plugin is on GitHub, it can still be downloaded via configure asp_urls.json. some assets (spr/wav) cannot be loaded inside scripts/plugins will be install use key-value to represent repo path and install path respectively, which will be introduced in next version. An example of ASP Info Json: Code:
"Sekiro": |
Re: [SMA]AS Plugins Downloader 4 Sven Coop
Quote:
|
Re: [SMA]AS Plugins Downloader 4 Sven Coop
Update:
New functions allow client players upload their local AS plugin file to the server. 1.Execute Python script to convert AS codes into CFG files. 2.exec CFG file in client console, receivers on servers will handle the rest. Receiver [SMA]: https://github.com/AlucardNosferatu/...ojects/asd.sma Converter[PY]: https://github.com/AlucardNosferatu/...ents/AS2CFG.py Sample CFG: https://github.com/AlucardNosferatu/...upload_asp.cfg |
All times are GMT -4. The time now is 02:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.