Thread: Updater
View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-25-2015 , 16:58   Re: Updater
Reply With Quote #523

Quote:
Originally Posted by versatile_bfg View Post
are you using an updated curl include file? As this isn't coding in sm1.7+ syntax
SourceMod 1.8 no longer allows you to pass String variables... or arrays at all... to functions expecting an any argument.

Technically, this is a bug in cURL.inc, but since the maintainer for the cURL extension hasn't updated it in 4 years, I doubt this will be fixed.

Edit:

For reference, this is the buggy definition in cURL.inc:

Code:
native bool:curl_easy_setopt_string(Handle:hndl, CURLoption:opt, const any:buffer[]);
Speaking of which, I'm surprised Updater is still supporting socket. Personally, I'd love to toss support for it just so we can use HTTPS urls.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-25-2015 at 17:00.
Powerlord is offline