Raised This Month: $ Target: $400
 0% 

[TF2] backpack.tf Price Check


Post New Thread Reply   
 
Thread Tools Display Modes
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 10-11-2014 , 10:19   Re: [TF2] backpack.tf Price Check
Reply With Quote #461

Quote:
Originally Posted by gamegeek02 View Post
I had previously thought of this and I believe that you are only allowed one API key per IP address.

What I'm trying to accomplish is a way to allow the servers to grab the item price list from a specified location, rather than have each server download it. Or I guess, a clearer statement, is to have the servers share the cached data.
Well I guess you could modify the build path for the backpack-tf.txt file in the plugin to target a neutral location. I would assume that would work but I've not tried it.

Line 222: BuildPath(Path_SM, path, sizeof(path), "data/backpack-tf.txt");

I'm not exactly sure if you can target a URL or what....but it would have to have read/write permissions.
Horsedick is offline
markg
Senior Member
Join Date: Jan 2009
Old 10-13-2014 , 01:55   Re: [TF2] backpack.tf Price Check
Reply With Quote #462

We have been using this plugin for a long time, and it has always worked flawlessly - until recently.

What happens: sometimes when you do a price check it says "item not found", no matter what the item. If you don't put an item in, no response. This started a week or so ago. I am seeing no error messages in the logs. And once it starts this, it seems to continue for some time (I assume until the next update.)

I have found that unloading/reloading the plugin fixes it. Also if it has been more than 15 minutes since the last price update, I can run sm_updateprices and that will also fix it (it wont let me update more than every 15 minutes per design).

Any ideas what to look for? im running 2.8.0 of the plugin, metamod 1.10.4 git923 and sourcemod 1.6.3 git4580.

thanks,

mark

[edit] unloading/reloading only works when I can also refresh the data, so it appears that refreshing the data is the key to fixing whatever happens.

Last edited by markg; 10-13-2014 at 18:59.
markg is offline
Nighty
Member
Join Date: Nov 2012
Old 10-18-2014 , 07:47   Re: [TF2] backpack.tf Price Check
Reply With Quote #463

welll the plugin stopped working on all of my servers. it doesnt find any items anymore reloading the plugin doesnt fix it for me neither does sm_updateprices.

SourceMod (1.6.3-dev+4580) by AlliedModders LLC
"[TF2] backpack.tf Price Check" (2.8.0) by Dr. McKay
Nighty is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 10-18-2014 , 09:32   Re: [TF2] backpack.tf Price Check
Reply With Quote #464

Dito

Quote:
Status:Connection established, waiting for welcome message...
Error:Connection timed out
Error:Could not connect to server
__________________
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 10-20-2014 , 23:21   Re: [TF2] backpack.tf Price Check
Reply With Quote #465

Yeah it doesnt pricecheck anything.
__________________
Dr_Knuckles is offline
KeenServers
Junior Member
Join Date: Oct 2014
Location: Philippines
Old 10-25-2014 , 12:02   Re: [TF2] backpack.tf Price Check
Reply With Quote #466

Hi, I'm stuck in this part of the installiation "Get a backpack.tf API key and fill it into the appropriate cvar in the configuration file, then reload it (sm plugins reload backpack-tf). ".

Where do I the configuation file for the appropiate cvar to fill the API key?
KeenServers is offline
Send a message via Skype™ to KeenServers
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-25-2014 , 14:17   Re: [TF2] backpack.tf Price Check
Reply With Quote #467

Quote:
Originally Posted by KeenServers View Post
Hi, I'm stuck in this part of the installiation "Get a backpack.tf API key and fill it into the appropriate cvar in the configuration file, then reload it (sm plugins reload backpack-tf). ".

Where do I the configuation file for the appropiate cvar to fill the API key?
tf/cfg/sourcemod/plugin.backpack-tf.cfg
__________________
Dr. McKay is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-27-2014 , 01:56   Re: [TF2] backpack.tf Price Check
Reply With Quote #468

Can we get an option to only update prices after a map change and not in the middle of gameplay?

I've seen some communities where live updates give everyone lag.
__________________
Chdata is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-27-2014 , 16:16   Re: [TF2] backpack.tf Price Check
Reply With Quote #469

Quote:
Originally Posted by Chdata View Post
Can we get an option to only update prices after a map change and not in the middle of gameplay?

I've seen some communities where live updates give everyone lag.
There's no way that HUD text is causing lag.
__________________
Dr. McKay is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 10-27-2014 , 16:24   Re: [TF2] backpack.tf Price Check
Reply With Quote #470

Perhaps he meant that it is the downloading of the price list that is causing the server-side lag. (which also seems unlikely)
__________________

Last edited by ddhoward; 10-27-2014 at 16:25.
ddhoward 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 21:17.


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