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

[TF2] backpack.tf Price Check


Post New Thread Reply   
 
Thread Tools Display Modes
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 08-31-2014 , 20:38   Re: [TF2] backpack.tf Price Check
Reply With Quote #441

Quote:
Originally Posted by Dr_Knuckles View Post
For a while now this plugin spams my error logs with:

L 08/31/2014 - 00:00:00: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/31/2014 - 00:00:00: [SM] Native "Format" reported: Language phrase "Type !pc for a price check" not found
L 08/31/2014 - 00:00:00: [SM] Displaying call stack trace for plugin "backpack-tf.smx":
L 08/31/2014 - 00:00:00: [SM] [0] Line 556, D:\Libraries\Documents\Repos\Public Plugins\scripting\backpack-tf.sp:erformTranslationTokenReplacement()
L 08/31/2014 - 00:00:00: [SM] [1] Line 544, D:\Libraries\Documents\Repos\Public Plugins\scripting\backpack-tf.sp::Timer_DisplayHudText()

Can anyone tell me what the issue is? It repeats this exact 5 lines over and over my log files are MASSIVE.

Looks like a translation issue to me.
Horsedick is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 08-31-2014 , 20:59   Re: [TF2] backpack.tf Price Check
Reply With Quote #442

I don't see how, the translation file is there.
__________________

Last edited by Dr_Knuckles; 08-31-2014 at 23:50.
Dr_Knuckles is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-31-2014 , 23:27   Re: [TF2] backpack.tf Price Check
Reply With Quote #443

Quote:
Originally Posted by Dr_Knuckles View Post
I don't see how the translation file is there.
Update it.
__________________
Dr. McKay is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 09-01-2014 , 11:43   Re: [TF2] backpack.tf Price Check
Reply With Quote #444

I downloaded the .zip from the original post, uploaded, reloaded the plugin and the errors are the same.

Edit: After updating and then a server reboot the error is gone. Does Updater not update translation files?
__________________

Last edited by Dr_Knuckles; 09-01-2014 at 11:55.
Dr_Knuckles is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-01-2014 , 16:15   Re: [TF2] backpack.tf Price Check
Reply With Quote #445

Quote:
Originally Posted by Dr_Knuckles View Post
I downloaded the .zip from the original post, uploaded, reloaded the plugin and the errors are the same.

Edit: After updating and then a server reboot the error is gone. Does Updater not update translation files?
A map change or server restart is required for SourceMod to reload translation files. On 1.6, you can also use sm_reload_translations.
__________________

Last edited by Dr. McKay; 09-01-2014 at 16:15.
Dr. McKay is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 09-01-2014 , 16:33   Re: [TF2] backpack.tf Price Check
Reply With Quote #446

Quote:
Originally Posted by Dr. McKay View Post
On 1.6, you can also use sm_reload_translations.
Hmm, spicy little tidbit thanks.
__________________
Dr_Knuckles is offline
darkboy245
Senior Member
Join Date: Feb 2014
Old 09-14-2014 , 21:41   Re: [TF2] backpack.tf Price Check
Reply With Quote #447

Hey Dr. McKay I have a problem with your plugin. It works fine for itself, but when i enter my API key into the correct cfg, i get this in game "
Spoiler
I might have been mistaken with my filling to request the api. At the link you gave us (http://backpack.tf/api/register/) i've registered my server's ip as an adress and at the description of the usage i've wrote down "Team Fortress 2 Server". So if this isn't the problem, i don't know what is. It most possibly to be my mistake, because it's the first time i use this plugin, but yet, i really wanna get it fixed. Appreciating every help
darkboy245 is offline
BBG_Theory
Veteran Member
Join Date: Oct 2010
Location: NC USA
Old 09-14-2014 , 21:43   Re: [TF2] backpack.tf Price Check
Reply With Quote #448

ops, sorry misread

Last edited by BBG_Theory; 09-14-2014 at 21:44.
BBG_Theory is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-14-2014 , 23:36   Re: [TF2] backpack.tf Price Check
Reply With Quote #449

Quote:
Originally Posted by darkboy245 View Post
Hey Dr. McKay I have a problem with your plugin. It works fine for itself, but when i enter my API key into the correct cfg, i get this in game "
Spoiler
I might have been mistaken with my filling to request the api. At the link you gave us (http://backpack.tf/api/register/) i've registered my server's ip as an adress and at the description of the usage i've wrote down "Team Fortress 2 Server". So if this isn't the problem, i don't know what is. It most possibly to be my mistake, because it's the first time i use this plugin, but yet, i really wanna get it fixed. Appreciating every help
What file did you put it in?
__________________
Dr. McKay is offline
darkboy245
Senior Member
Join Date: Feb 2014
Old 09-15-2014 , 09:52   Re: [TF2] backpack.tf Price Check
Reply With Quote #450

Quote:
Originally Posted by Dr. McKay View Post
What file did you put it in?
the CVARs are in both server.cfg and backpack-tf.cfg

Last edited by darkboy245; 09-15-2014 at 09:53.
darkboy245 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 06:44.


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