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

[TF2] backpack.tf Price Check


Post New Thread Reply   
 
Thread Tools Display Modes
nosoop
Veteran Member
Join Date: Aug 2014
Old 10-23-2017 , 22:03   Re: [TF2] backpack.tf Price Check
Reply With Quote #571

Here's a fix for the MOTD issue.

Compile and build. If you want to host the static HTML page that is also provided yourself (so you don't have to count on me hosting the page), feel free to do that and change the MOTD_PROXY_URL constant in the plugin.

Note that this uses iframes, so pages that set picky X-FRAME-OPTIONS headers won't work (Google, non-embedded YouTube, Steam Group pages). There's a bypass written specifically for Steam groups, but other than that you're on your own.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 10-24-2017 , 03:35   Re: [TF2] backpack.tf Price Check
Reply With Quote #572

without host nothing like i have done in my version #561
Spoiler

you have only to use a default page like STeamrep (always usefull to know rep of the players) and after load bp profile page. i don't have any problem with this. why i have to host a script on my site for it when this work fine?
__________________

Last edited by TonyBaretta; 10-24-2017 at 03:36.
TonyBaretta is offline
Hornycorn
New Member
Join Date: Nov 2017
Old 11-05-2017 , 15:36   Re: [TF2] backpack.tf Price Check
Reply With Quote #573

i have added my key to the cvar, reloaded the plugin, restared my server and everything, but it wont give me !pc prices
Hornycorn is offline
timtam95
Member
Join Date: Feb 2018
Old 02-14-2018 , 09:30   Re: [TF2] backpack.tf Price Check
Reply With Quote #574

sm_updateprices
?[SM] ?Updating backpack.tf prices...
L 02/14/2018 - 08:17:51: [SM] Exception reported: HTTPRequestHandle invalid, not
yet sent or invalid buffer size
L 02/14/2018 - 08:17:51: [SM] Blaming: backpack-tf.smx
L 02/14/2018 - 08:17:51: [SM] Call stack trace:
L 02/14/2018 - 08:17:51: [SM] [0] Steam_WriteHTTPResponseBody
L 02/14/2018 - 08:17:51: [SM] [1] Line 322, backpack-tf.sp::OnBackpackTFComplete
timtam95 is offline
dedimark
Senior Member
Join Date: Jul 2015
Location: London
Old 02-14-2018 , 10:03   Re: [TF2] backpack.tf Price Check
Reply With Quote #575

Quote:
Originally Posted by timtam95 View Post
sm_updateprices
?[SM] ?Updating backpack.tf prices...
L 02/14/2018 - 08:17:51: [SM] Exception reported: HTTPRequestHandle invalid, not
yet sent or invalid buffer size
L 02/14/2018 - 08:17:51: [SM] Blaming: backpack-tf.smx
L 02/14/2018 - 08:17:51: [SM] Call stack trace:
L 02/14/2018 - 08:17:51: [SM] [0] Steam_WriteHTTPResponseBody
L 02/14/2018 - 08:17:51: [SM] [1] Line 322, backpack-tf.sp::OnBackpackTFComplete
yes same error for me.
dedimark is offline
Gumiland
Member
Join Date: Jun 2016
Old 02-18-2018 , 03:38   Re: [TF2] backpack.tf Price Check
Reply With Quote #576

when running a pricecheck, users are greeted with "[SM] The price list has not loaded yet."
Any known fix for this?
__________________
Gumiland is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 02-22-2018 , 02:37   Re: [TF2] backpack.tf Price Check
Reply With Quote #577

Quote:
Originally Posted by Gumiland View Post
when running a pricecheck, users are greeted with "[SM] The price list has not loaded yet."
Any known fix for this?
Backpack.tf stopped supporting the API that this plugin used, apparently.

This plugin is dead, and it will be missed.
__________________
ddhoward is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 02-22-2018 , 06:15   Re: [TF2] backpack.tf Price Check
Reply With Quote #578

the plugin work fine , only the pricecheck not work
__________________
TonyBaretta is offline
Gumiland
Member
Join Date: Jun 2016
Old 02-27-2018 , 12:52   Re: [TF2] backpack.tf Price Check
Reply With Quote #579

Geel has fixed it. I believe it's back to the old api.
__________________
Gumiland is offline
fiskers
New Member
Join Date: Mar 2018
Old 03-06-2018 , 12:23   Re: [TF2] backpack.tf Price Check
Reply With Quote #580

Hi all,

I'm the developer currently working on backpack.tf. The recent issues with the plugin not working are not related to any API changes, but what has happened is that we have blocked Source engine clients from accessing the website.

It is an unfortunate circumstance, as we believe there is currently a worm in Garry's Mod operating on both clients and servers that is being used to act as a denial of service botnet, with which we have been targeted. The easiest way to mitigate this problem is to block the user agent, so requests do not reach the application. However, this means having to block requests from TF2 clients as well, as both Source games share the same user agent string.

Since we received complaints that the plugin was no longer working, we decided to lift the block temporarily, but as we were hit by yet another denial of service attack on Friday evening, the block has been reinstated indefinitely.

We don't know if Facepunch knows there is an issue, and we can't really report it because we only know a few details. All we do know is that it leverages SourceMod's ability to send HTTP requests, and that it has spread across tens of thousands of Garry's Mod clients.

If you really need to work around this block, you will need to change your DNS settings and send API requests via a proxy that modifies the user agent, but you may have trouble doing this if you are hosting through a dedicated game server provider.

Apologies for the inconvenience,
fisk
fiskers is offline
Reply



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 02:16.


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