Raised This Month: $12 Target: $400
 3% 

[EXTENSION] cURL & Hash


Post New Thread Reply   
 
Thread Tools Display Modes
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 08-07-2018 , 04:00   Re: [EXTENSION] cURL & Hash
Reply With Quote #231

inc needs an update for SM1.10.

Can someone convert this to new syntax?
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118

Last edited by rogeraabbccdd; 08-07-2018 at 04:17.
rogeraabbccdd is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 08-07-2018 , 12:28   Re: [EXTENSION] cURL & Hash
Reply With Quote #232

Yep, Already did it a while back here.

Not sure if it needs updating, but I dropped this for SteamWorks
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 08-07-2018 at 12:29.
dubbeh is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 08-07-2018 , 18:06   Re: [EXTENSION] cURL & Hash
Reply With Quote #233

Quote:
Originally Posted by dubbeh View Post
Yep, Already did it a while back here.

Not sure if it needs updating, but I dropped this for SteamWorks
Thanks, I use curl for uploading demo to my.FTP.
Can SteamWorks do this.job?
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-07-2018 , 18:44   Re: [EXTENSION] cURL & Hash
Reply With Quote #234

Quote:
Originally Posted by rogeraabbccdd View Post
Thanks, I use curl for uploading demo to my.FTP.
Can SteamWorks do this.job?
SteamWorks won't to my experience communicate directly with the FTP, however, if your FTP is simply accessing a web server, that you can access via HTTP, e.g. using a link like "https://demos.example.com/server1/auto-20180807-123456.dem", and that the server side has something like PHP, then you some scripts that makes it possible for SteamWorks to upload them using a file upload over HTTP(S).

In technical terms, it would work the same way as when you upload an image to e.g. imgur.com, or upload your .sp or similar files here on alliedmods.net.

It may require some fiddling, but it is definitely possible to do (though it may not in the exact same way, as you do right now).
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 08-08-2018 , 04:03   Re: [EXTENSION] cURL & Hash
Reply With Quote #235

Quote:
Originally Posted by arne1288 View Post
SteamWorks won't to my experience communicate directly with the FTP, however, if your FTP is simply accessing a web server, that you can access via HTTP, e.g. using a link like "https://demos.example.com/server1/auto-20180807-123456.dem", and that the server side has something like PHP, then you some scripts that makes it possible for SteamWorks to upload them using a file upload over HTTP(S).

In technical terms, it would work the same way as when you upload an image to e.g. imgur.com, or upload your .sp or similar files here on alliedmods.net.

It may require some fiddling, but it is definitely possible to do (though it may not in the exact same way, as you do right now).
My host locked PHP max upload size, demo files are too large to upload
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
YaBoiBolt
New Member
Join Date: Jul 2018
Location: New York, USA
Old 08-13-2018 , 02:34   Re: [EXTENSION] cURL & Hash
Reply With Quote #236

Extension fails to load every time. I got the same error with other extensions in the past, but they somehow fixed themselves.

Code:
] rcon sm exts list
[SM] Displaying 19 extensions:
[01] Automatic Updater (1.8.0.6048): Updates SourceMod gamedata files
[02] Webternet (1.8.0.6048): Extension for interacting with URLs
[03] <FAILED> file "curl.ext.dll": error code 0000007e
[04] TF2Items (1.6.4): TF2 Item Modifier
[05] TF2 Tools (1.8.0.6048): TF2 extended functionality
[06] BinTools (1.8.0.6048): Low-level C/C++ Calling API
[07] SDK Hooks (1.8.0.6048): Source SDK Hooks
[08] SDK Tools (1.8.0.6048): Source SDK Tools
[09] Top Menus (1.8.0.6048): Creates sorted nested menus
[10] SteamTools (0.10.0+54fdc51): SteamWorks for SourceMod
[11] Regex (1.8.0.6048): Provides regex natives for plugins
[12] Client Preferences (1.8.0.6048): Saves client preference settings
[13] SQLite (1.8.0.6048): SQLite Driver
[14] MessageBot (2.0): MessageBot Extension
[15] Socket (3.0.1): Socket extension for SourceMod
[16] SteamWorks Extension (1.2.2): Exposes SteamWorks functions to Developers
[17] EntControl (0.0.1.8): Entity-Control Extension
[18] SMJansson (2.6.0/1): JSON parser/writer
[19] MySQL-DBI (1.8.0.6048): MySQL driver implementation for DBI
On Sourcemod 1.8
Anyone know how to stop it from failing?

Last edited by YaBoiBolt; 08-13-2018 at 02:34.
YaBoiBolt is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 08-14-2018 , 20:52   Re: [EXTENSION] cURL & Hash
Reply With Quote #237

Quote:
Originally Posted by YaBoiBolt View Post
Extension fails to load every time. I got the same error with other extensions in the past, but they somehow fixed themselves.
On Sourcemod 1.8
Anyone know how to stop it from failing?
Try

Windows
https://forums.alliedmods.net/showpo...&postcount=193

Linux
https://forums.alliedmods.net/showpo...&postcount=101
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 11-14-2018 , 07:01   Re: [EXTENSION] cURL & Hash
Reply With Quote #238

Code:
native bool:curl_easy_setopt_string(Handle:hndl, CURLoption:opt, const any:buffer[]);
const any:buffer results in an error, should be const String
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 11-14-2018 at 07:01.
eyal282 is offline
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 12-26-2018 , 03:38   Re: [EXTENSION] cURL & Hash
Reply With Quote #239

Hi all,

I get this error in logs

L 12/26/2018 - 19:16:55: [SM] Unable to load extension "curl.ext": error code 000036b1
Sarin is offline
Sarin
Senior Member
Join Date: Nov 2014
Location: Sydney, Australia
Old 12-26-2018 , 17:40   Re: [EXTENSION] cURL & Hash
Reply With Quote #240

Quote:
Originally Posted by Bara View Post
Binary: http://csgottt.com/curl.zip
Source: http://csgottt.com/curl_src.tar

Compiled with MM 1.10, SourceMod 1.6, libcurl/7.26.0, OpenSSL/1.0.1e, zlib/1.2.7, libssh2/1.4.2
MD2 suport was removed
This the lynix version? is there a windows version?
Sarin is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:26.


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