Raised This Month: $535 Target: $400
 133% 

[EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system natives


Post New Thread Reply   
 
Thread Tools Display Modes
dordnung
Veteran Member
Join Date: Apr 2010
Old 04-16-2021 , 18:12   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #121

You're absolutely right, it was a bit thoughtless to make that change. I have reverted it and published a new version.
Thanks for the hint!
__________________
dordnung is offline
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 05-04-2021 , 14:48   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #122

One little question. I have a php request like https://domain.com/index.php?content=somethinghere.
Then, the page will be blank with a simple number: 0 or 1.

I just didn't understand how to use this extension to get the body content and store it in a string...

Can somebody explain that or provide any base source?

Best Regards.
__________________
SpirT is offline
dordnung
Veteran Member
Join Date: Apr 2010
Old 05-04-2021 , 16:21   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #123

I've already answered your previous question on this...:

https://forums.alliedmods.net/showpo...&postcount=119
__________________
dordnung is offline
Ryan2
Senior Member
Join Date: Jul 2020
Old 06-19-2021 , 12:36   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #124

Excuse my ignorance but this script will allow any file on the game server to be uploaded to an external FTP?
Ryan2 is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 12-01-2021 , 07:22   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #125

could you maybe add an example on doing https? for GET/POST etc?

oh also seems to require a version of GLIBC that I dont have

meta load addons/sourcemod/extensions/system2.ext.so
Failed to load plugin addons/sourcemod/extensions/system2.ext.so (bin/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/steam/L4D2_LAST_STAND/left4dead2/addons/sourcemod/extensions/system2.ext.so)).

Last edited by canadianjeff; 12-01-2021 at 07:34.
canadianjeff is offline
LionCrest
AlliedModders Donor
Join Date: Apr 2018
Old 12-19-2021 , 20:50   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #126

Quote:
Originally Posted by canadianjeff View Post
could you maybe add an example on doing https? for GET/POST etc?

oh also seems to require a version of GLIBC that I dont have

meta load addons/sourcemod/extensions/system2.ext.so
Failed to load plugin addons/sourcemod/extensions/system2.ext.so (bin/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/steam/L4D2_LAST_STAND/left4dead2/addons/sourcemod/extensions/system2.ext.so)).

Though, very inconvenient, this can be fixed manually:

PHP Code:
# Install lib32stdc++6, if your system doesn't have it:
# $ apt-get update && apt-get install lib32stdc++6
mv /<path_to_l4d2_server>/bin/libstdc++.so.6 /<path_to_l4d2server>/bin/libstdc++_old.so.6
mv /<path_to_l4d2_server>/bin/dedicated/libstdc++.so.6 /<path_to_l4d2_server>/bin/dedicated/libstdc++_old.so.6
ln -/usr/lib32/libstdc++.so.6 /<path_to_l4d2server>/bin/libstdc++.so.6
ln -/usr/lib32/libstdc++.so.6 /<path_to_l4d2server>/bin/dedicated/libstdc++.so.6 
I've been running my servers with this for more than a year on Debian 8 and never experienced an issue.

Whenever you validate your server files with SteamCMD (app_update 222860 validate) it will re-download the original bin/lib32stdc++.so.6 and bin/dedicated/lib32stdc++.so.6 files, so you will have to symlink the system version again.

You may try setting file's permissions as read-only (chmod 0444), but i didn't do that, because I don't think that's a very good idea.
LionCrest is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-18-2023 , 12:50   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #127

Has anyone had or is having problems downloading and being blocked by both the browser and antivirus?

https://github.com/dordnung/System2/issues/20

It is being blocked because it says it has malware.
paulo_crash is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 01-24-2023 , 11:26   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #128

Quote:
Originally Posted by paulo_crash View Post
Has anyone had or is having problems downloading and being blocked by both the browser and antivirus?

https://github.com/dordnung/System2/issues/20

It is being blocked because it says it has malware.
Hey and not really, i can share the file via discord for you if you need it
freak.exe_uLow is offline
Zeky
Member
Join Date: Jul 2019
Old 01-27-2023 , 09:21   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #129

Quote:
Originally Posted by paulo_crash View Post
Has anyone had or is having problems downloading and being blocked by both the browser and antivirus?

https://github.com/dordnung/System2/issues/20

It is being blocked because it says it has malware.
I belive ita becuase you download direct .dll thats being automatic deleted / not allowed... Try to download it from releases (.zip file)
Zeky 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 06:48.


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