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

Showing results 1 to 25 of 52
Search took 0.00 seconds.
Search: Posts Made By: dordnung
Forum: Extensions 05-04-2021, 15:21
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

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

https://forums.alliedmods.net/showpost.php?p=2743123&postcount=119
Forum: Extensions 04-16-2021, 17:12
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

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!
Forum: Extensions 04-05-2021, 11:01
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

For example like this:
#include <sourcemod>
#include <system2>

public void OnPluginStart() {
System2HTTPRequest httpRequest = new System2HTTPRequest(HttpResponseCallback,...
Forum: Extensions 04-05-2021, 10:50
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

Update to System2 v3.3.1

- Use Debian Strech for compiling as LTS support for jessie ended
- Update OpenSSL to version 1.1.1k and libcurl to 7.76.0
- Fix out-of-memory bug when downloading large...
Forum: Extensions 08-23-2020, 18:33
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

Update to System2 v3.3.0

- Fixes crashing on Sourcemod 11 caused by threads
- Updated to libcurl 7.72.0
Forum: Extensions 05-04-2020, 20:50
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

It uses always passive method, so i think there is another issue
Forum: Extensions 12-06-2018, 12:23
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

No it should not be deleted in the callback, as a copy is used there which will be deleted automatically after the callback. It should be deleted after making a request or when not used anymore.
...
Forum: Extensions 09-21-2018, 06:28
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

Hey,
can you show me the part of your code, as it works fine for me?
Forum: Extensions 07-24-2018, 07:49
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

Oh okay, you really have not much RAM (free) (apropos I think 1GB RAM is not enough for a game server).

I don't know exactly how 7-ZIP is working with the Swap, but i think your RAM is definitly...
Forum: Extensions 07-23-2018, 07:18
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

Hey,

thanks for reporting this.
Can you please tell me what OS you are running on? And is it 32-bit oder 64-bit ?
And can you send me the awp_lego_2.dem file?

Thanks
Forum: Extensions 06-12-2018, 20:19
Replies: 129
Views: 104,576
Posted By dordnung
Forum: Extensions 06-11-2018, 07:33
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ

Hey,

seems that libstdc++ is not installed on your machine. Can you install packages? If yes, try to install libstdc++ with "sudo apt-get install libstdc++6".

If not (or if it still not works),...
Forum: Extensions 05-29-2018, 12:29
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Update to System2 v3.2


- Added ability to use a proxy for requests (Pull Request (https://github.com/dordnung/System2/pull/5) by Kyle (https://github.com/Kxnrl))
See System2Request.SetProxy and...
Forum: Extensions 02-16-2018, 20:48
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Which sourcemod version do you use?

EDIT: I've recompiled the extension with sourcemod 1.7 for backwards compatibility
Forum: Extensions 02-13-2018, 11:00
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Great to hear!

Yes please tell me if you find any bugs^^
Forum: Extensions 02-12-2018, 20:34
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Ok, I found the problem and fixed it.

I forgot to close finished threads, so from a certain amount of threads no new threads could be created.

Thanks for helping to reproduce this error!
Forum: Extensions 02-12-2018, 17:23
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Mh, I'll take a look at it and write if i have new information.

Two remarks which have nothing to do with the crash:

1. Use OnPluginStart for the first poll, otherwise you will increase the...
Forum: Extensions 02-12-2018, 16:20
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

With

new System2HTTPRequest(OnHTTPSRequestEnd, "https://lugui.in/fdlapi/Debug.php");

you always create a new handle, so for each new you need a delete.

You can also add the new to...
Forum: Extensions 02-12-2018, 16:12
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

The only thing i can see is, that you forget to delete the request after using it:

so after

httpRequest.GET();

you have to add:

delete httpRequest;
Forum: Extensions 02-12-2018, 15:10
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Then the question is, how often "periodicaly" is.
I've added a request in OnGameFrame and never got more then 30 threads, which shouldn't be a problem for any OS
Forum: Extensions 02-12-2018, 12:56
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Thanks for this hint. :up:
Do you have any sample code for reproduce this? This would help me.
Forum: Extensions 01-27-2018, 09:14
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Ah sorry, but this is easy, too:


int userId = 2;

System2HTTPRequest request = new System2HTTPRequest(HttpResponseCallback, "http://example.com");
request.Any = userId;...
Forum: Extensions 01-27-2018, 09:06
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

You can just do it like this:


System2HTTPRequest request = new System2HTTPRequest(HttpResponseCallback, "http://example.com");
request.SetData("data=myData");
request.POST();

This will...
Forum: Extensions 01-18-2018, 16:02
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Easy to use HTTP/FTP Request API and useful system natives

Update to System2 v3.0


- Almost all previous natives are now deprecated
- Implemented an enormous HTTP / FTP Request API replacing the old request natives
- Made extension much more stable
-...
Forum: Extensions 09-28-2017, 10:25
Replies: 129
Views: 104,576
Posted By dordnung
Re: [EXTENSION] System2 - Get pages, download/upload files, execute system commands

Thank you very much :)

I've updated the 7z versions, so they now support RAR5
Showing results 1 to 25 of 52

 
Forum Jump

All times are GMT -4. The time now is 00:37.


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