Raised This Month: $67 Target: $400
 16% 

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 04-11-2021 , 22:52   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #571

I cant figure out why I keep getting a 301 error returned from my GET. All I'm wanting to do is run a PHP script that I pass a few parameters to.

I've tried:
  • Adjusting paths/URLs various ways
  • Using HTTP/1.1 vs HTTP/1.0
  • Removing the connection: close
    Various other edits

My source code (password removed) and the output are attached.

Is this related to that I have .htaccess redirect with 301 any http addresses to https? I tried it with that removed and didnt see a difference.

Any ideas on what else could cause this?

EDIT: I switched to using SteamWorks instead and that worked fine. Guess I'm done with socket extension...
Attached Files
File Type: sp Get Plugin or Get Source (togcreatewebfolder.sp - 28 views - 7.0 KB)
File Type: log test.log (1.3 KB, 19 views)
__________________

Last edited by ThatOneGuy; 04-17-2021 at 21:56.
ThatOneGuy is offline
canadianjeff
Senior Member
Join Date: Sep 2016
Old 05-14-2021 , 04:22   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #572

git link in the OP is 404'ing

# curl -I "http://player.to/gitweb/index.cgi?p=sm-ext-socket.git"
HTTP/1.1 404 Not Found
Server: nginx
Date: Fri, 14 May 2021 08:23:08 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive

Last edited by canadianjeff; 05-14-2021 at 04:23.
canadianjeff is offline
canadianjeff
Senior Member
Join Date: Sep 2016
Old 05-14-2021 , 05:56   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #573

Socket.inc is actually using old and depricated code

U:\programs\windows\SPCode.Portable\sourcepaw n\configs\sm_1_10_0_6478\include\socket.inc(2 03) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePa...yntax#Typedefs


gonna test this version https://raw.githubusercontent.com/Jo...ude/socket.inc

Last edited by canadianjeff; 05-14-2021 at 06:06.
canadianjeff 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 01:54.


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