Raised This Month: $32 Target: $400
 8% 

[TF2] backpack.tf Price Check


Post New Thread Reply   
 
Thread Tools Display Modes
ygor.almeida
Member
Join Date: Jul 2010
Old 04-04-2018 , 02:46   Re: [TF2] backpack.tf Price Check
Reply With Quote #581

I have a dedicated server to trade, so this plugin is essential for me, it has to make it work, nor does it have to download the file once a day manually?
I need a light on how to fix it, I'll take help! ! ! Thank you
ygor.almeida is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 04-04-2018 , 03:04   Re: [TF2] backpack.tf Price Check
Reply With Quote #582

use this version https://forums.alliedmods.net/showpo...&postcount=561 this plugin work fine stop to ask about the PRICECHECK PART the API ARE DEAD !!!!! if you are so lazy to type !bp name_seller to check the item you want know the price.
__________________
TonyBaretta is offline
Coin0p
Member
Join Date: Dec 2013
Old 04-10-2018 , 12:34   Re: [TF2] backpack.tf Price Check
Reply With Quote #583

Quote:
Originally Posted by fiskers View Post
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.
Has anyone done this already? Can anyone provide instructions on how to go about this?

Best,

coin0p
Coin0p is offline
TheXeon
Member
Join Date: May 2016
Old 04-21-2018 , 14:27   Re: [TF2] backpack.tf Price Check
Reply With Quote #584

Got a version coming soon that will use the new version of the API (v4 with australium wep prices, etc) and bypass the restrictions.

Check progress here [STATUS: DONE! Get it below!]

EDIT: Done!

Requires the wonderful System2 extension and generates its own config file so as to not interfere with the backpacktf config (see the comments at the top of source for info on exact location). Also requires an elevated key for bptf, you'll need to apply for it on the website.

DOWNLOAD
SOURCE

Added:
Quote:
  • Added the ability to change useragent, thus allowing us to use bptf's api properly. Use the new ConVar backpack_tf_user_agent to change to a different useragent (recommended that you change from the default to something from here or elsewhere).
  • Added unusual effects till current date 2018-04-21.
  • Added support for Unusualifier and Strangifer (somewhat futureproof, I'd like to use TF2IDB for some cases).
  • Added more info everywhere (compile with #define DEBUG to get the debug messages)!
Changed:
Quote:
  • Changed to V4 of the Prices API (may be buggy)!

Last edited by TheXeon; 04-30-2018 at 03:40. Reason: Config and new version!
TheXeon is offline
Gumiland
Member
Join Date: Jun 2016
Old 04-23-2018 , 11:56   Re: [TF2] backpack.tf Price Check
Reply With Quote #585

Quote:
Originally Posted by TheXeon View Post
Got a version coming soon that will use the new version of the API (v4 with australium wep prices, etc) and bypass the restrictions.

Check progress here [STATUS: DONE! Get it below!]

EDIT: Done!

Requires the wonderful System2 extension and generates its own config file so as to not interfere with the backpacktf config.

DOWNLOAD
SOURCE

Added:


Changed:
What's the name of the config file? Also, where is it stored?


EDIT
I've installed it, however nothing seems to happen aside from getting 2 "the price list has not been loaded yet" messages
__________________

Last edited by Gumiland; 04-23-2018 at 15:23.
Gumiland is offline
TheXeon
Member
Join Date: May 2016
Old 04-24-2018 , 05:40   Re: [TF2] backpack.tf Price Check
Reply With Quote #586

Quote:
Originally Posted by Gumiland View Post
What's the name of the config file? Also, where is it stored?


EDIT
I've installed it, however nothing seems to happen aside from getting 2 "the price list has not been loaded yet" messages
All info can be found on the top of the source file, (for now the config is in plugin.ngs_backpacktf.cfg, subject to change as the future sees it). Have you tried the sm_updateprices command to kickstart it? I found I wasn't starting a timer to do an initial bump, fixed that. Make sure to check error logs to see that backpack.tf isn't being stubborn.

EDIT: Optionally you can uncomment the #define DEBUG at the top in order to receive some debug messages that might point out an error.

Last edited by TheXeon; 04-24-2018 at 05:44. Reason: Uncomment and updateprices.
TheXeon is offline
Gumiland
Member
Join Date: Jun 2016
Old 04-25-2018 , 01:28   Re: [TF2] backpack.tf Price Check
Reply With Quote #587

Quote:
Originally Posted by TheXeon View Post
All info can be found on the top of the source file, (for now the config is in plugin.ngs_backpacktf.cfg, subject to change as the future sees it). Have you tried the sm_updateprices command to kickstart it? I found I wasn't starting a timer to do an initial bump, fixed that. Make sure to check error logs to see that backpack.tf isn't being stubborn.

EDIT: Optionally you can uncomment the #define DEBUG at the top in order to receive some debug messages that might point out an error.
I'm getting this in the error logs.
Code:
L 04/25/2018 - 00:24:37: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
L 04/25/2018 - 00:24:38: [SM] Exception reported: HTTPRequestHandle invalid, not yet sent or invalid buffer size
L 04/25/2018 - 00:24:38: [SM] Blaming: backpack-tf.smx
L 04/25/2018 - 00:24:38: [SM] Call stack trace:
L 04/25/2018 - 00:24:38: [SM]   [0] Steam_WriteHTTPResponseBody
L 04/25/2018 - 00:24:38: [SM]   [1] Line 322, D:\Libraries\Documents\Repos\Public Plugins\scripting\backpack-tf.sp::OnBackpackTFComplete
L 04/25/2018 - 00:25:38: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
L 04/25/2018 - 00:26:20: [SM] Exception reported: HTTPRequestHandle invalid, not yet sent or invalid buffer size
L 04/25/2018 - 00:26:20: [SM] Blaming: backpack-tf.smx
L 04/25/2018 - 00:26:20: [SM] Call stack trace:
L 04/25/2018 - 00:26:20: [SM]   [0] Steam_WriteHTTPResponseBody
L 04/25/2018 - 00:26:20: [SM]   [1] Line 322, D:\Libraries\Documents\Repos\Public Plugins\scripting\backpack-tf.sp::OnBackpackTFComplete
L 04/25/2018 - 00:26:20: [ngs_backpacktf.smx] backpack.tf API failed: Unknown error (status code 401)
L 04/25/2018 - 00:26:38: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
__________________
Gumiland is offline
TheXeon
Member
Join Date: May 2016
Old 04-25-2018 , 02:50   Re: [TF2] backpack.tf Price Check
Reply With Quote #588

Quote:
Originally Posted by Gumiland View Post
I'm getting this in the error logs.
Code:
L 04/25/2018 - 00:24:37: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
L 04/25/2018 - 00:24:38: [SM] Exception reported: HTTPRequestHandle invalid, not yet sent or invalid buffer size
L 04/25/2018 - 00:24:38: [SM] Blaming: backpack-tf.smx
L 04/25/2018 - 00:24:38: [SM] Call stack trace:
L 04/25/2018 - 00:24:38: [SM]   [0] Steam_WriteHTTPResponseBody
L 04/25/2018 - 00:24:38: [SM]   [1] Line 322, D:\Libraries\Documents\Repos\Public Plugins\scripting\backpack-tf.sp::OnBackpackTFComplete
L 04/25/2018 - 00:25:38: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
L 04/25/2018 - 00:26:20: [SM] Exception reported: HTTPRequestHandle invalid, not yet sent or invalid buffer size
L 04/25/2018 - 00:26:20: [SM] Blaming: backpack-tf.smx
L 04/25/2018 - 00:26:20: [SM] Call stack trace:
L 04/25/2018 - 00:26:20: [SM]   [0] Steam_WriteHTTPResponseBody
L 04/25/2018 - 00:26:20: [SM]   [1] Line 322, D:\Libraries\Documents\Repos\Public Plugins\scripting\backpack-tf.sp::OnBackpackTFComplete
L 04/25/2018 - 00:26:20: [ngs_backpacktf.smx] backpack.tf API failed: Unknown error (status code 401)
L 04/25/2018 - 00:26:38: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
*snip*

Actually that looks like the proper version. Make sure you uninstall the old plugin as well, sometimes bptf's servers like to kick us around. The internal server error is being replicated on our test servers, I think that's literally bp.tf doing us dirty.

Last edited by TheXeon; 04-25-2018 at 03:02. Reason: Edit for recompile
TheXeon is offline
Gumiland
Member
Join Date: Jun 2016
Old 04-25-2018 , 08:26   Re: [TF2] backpack.tf Price Check
Reply With Quote #589

Quote:
Originally Posted by TheXeon View Post
*snip*

Actually that looks like the proper version. Make sure you uninstall the old plugin as well, sometimes bptf's servers like to kick us around. The internal server error is being replicated on our test servers, I think that's literally bp.tf doing us dirty.
After realisin that i didn't have steamtools on the testing server and installing it, this is the only thing i get in the error logs now
Main bptf plugins was removed as well.
Code:
L 04/25/2018 - 07:28:41: [ngs_backpacktf.smx] backpack.tf API failed: Unknown error (status code 401)
L 04/25/2018 - 07:29:07: [ngs_backpacktf.smx] backpack.tf API failed: Unknown error (status code 401)
L 04/25/2018 - 07:29:29: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
L 04/25/2018 - 07:29:42: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
L 04/25/2018 - 07:30:08: [ngs_backpacktf.smx] backpack.tf API failed: An internal server error occurred
__________________

Last edited by Gumiland; 04-25-2018 at 08:31. Reason: missed line
Gumiland is offline
TheXeon
Member
Join Date: May 2016
Old 12-13-2018 , 07:04   Re: [TF2] backpack.tf Price Check
Reply With Quote #590

Been a few months, if anyone else faces the same issue as ^^, please let me know!
TheXeon 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 07:09.


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