View Single Post
BlackFart
Junior Member
Join Date: Feb 2021
Old 02-18-2021 , 12:08   Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2021/02/07)
Reply With Quote #98

Quote:
Originally Posted by DJ Tsunami View Post
Which game is your server running, and what Linux distribution and version are you using?
It is running CSGO (through LinuxGSM https://docs.linuxgsm.com/guides/sourcemod-csgo-server) on an Ubuntu 18.04.4 LTS.

Quote:
Originally Posted by DJ Tsunami View Post
I can send a debug version for Linux that prints everything that happens during the HTTP request, but if it never calls AsyncPerformRequests, then I assume the issue is with libuv, and it doesn't even perform the HTTP request.
TBH, as I'm far from beeing a pro in C++, idk if "myself" and everything else is correctly setuped for working in the callback ? (in short, could they be called, but the prints aren't working there ?) I'd be glad to have this version (or if you could explain me how to build it)

Quote:
Originally Posted by DJ Tsunami View Post
As for debugging, I would indeed put a LogMessage before line 180, 196 and 201 in extension.cpp to check if requests are added to the queue, if the queue is processed and if requests are added to the completed queue.
Nothing is printed at the start of FrameHook or AsyncPerformRequests

Thank you for wasting your time on my issue
BlackFart is offline