Raised This Month: $ Target: $400
 0% 

[TF2] backpack.tf Price Check


Post New Thread Reply   
 
Thread Tools Display Modes
One Shot
Junior Member
Join Date: Jul 2013
Old 08-01-2013 , 15:53   Re: [TF2] backpack.tf Price Check
Reply With Quote #291

^I said I already tried that.
Quote:
Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name (for example, "CSDM")
* 3)Command Level (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name. Example:
* Examples:
* "@CSDM" "b" // Override the CSDM group to 'b' flag
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important. In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/
}

sm_pc "a"
sm_pricecheck "a"
sm_bp "a"
sm_backpack "a"
sm_jetpack "a"
sm_unusual_body_spawn "a"
sm_selfmade "a"
selfmade "a"
sm_sparkles "a"
sparkles "a"
sm_b_unusual "a"
sm_b_unusuals "a"
sm_ub "a"
sm_unusual_body_delete "a"
unusual_body_delete "a"
sm_ubd "a"
sm_resize "a"
sm_resizeme "a"
sm_resizehead "a"
sm_resizemyhead "a"
sm_gravity "z"
sm_beacon "a"
sm_firebomb "a"
sm_firebomb "a"
sm_glide "a"
backpack_tf_bp_command "a"
It's working fine for all the other commands, but for some reason not these.
One Shot is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-01-2013 , 16:03   Re: [TF2] backpack.tf Price Check
Reply With Quote #292

Code:
Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name	(for example, "CSDM")
* 3)Command Level	 (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name. Example:
* Examples:
*	 "@CSDM"	 "b"	 // Override the CSDM group to 'b' flag
* "csdm_enable"	"bgi"	 // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important. In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/

	"sm_pc"						"a"
	"sm_pricecheck"				"a"
	"sm_bp"						"a"
	"sm_backpack"				"a"
	"sm_jetpack"				"a"
	"sm_unusual_body_spawn"		"a"
	"sm_selfmade"				"a"
	"selfmade"					"a"
	"sm_sparkles"				"a"
	"sparkles"					"a"
	"sm_b_unusual"				"a"
	"sm_b_unusuals"				"a"
	"sm_ub"						"a"
	"sm_unusual_body_delete"	"a"
	"unusual_body_delete"		"a"
	"sm_ubd"					"a"
	"sm_resize"					"a"
	"sm_resizeme"				"a"
	"sm_resizehead"				"a"
	"sm_resizemyhead"			"a"
	"sm_gravity"				"z"
	"sm_beacon"					"a"
	"sm_firebomb"				"a"
	"sm_firebomb"				"a"
	"sm_glide"					"a"

}
__________________
Dr. McKay is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 08-01-2013 , 23:06   Re: [TF2] backpack.tf Price Check
Reply With Quote #293

Quote:
Originally Posted by One Shot View Post
^I said I already tried that.

It's working fine for all the other commands, but for some reason not these.
You had your overrides outside of the Overrides section...

Notice how at the top of the file, the Overrides section begins with the Name of the section ("Overrides") followed by an opening "{" character. Everything within this opening { character and your closing } character is interpreted by Sourcemod to be your Overrides. (Other than the giant section which is commented out.)

Your overrides were OUTSIDE of the Overrides section, just after the }. McKay's corrections should fix all your problems.

Last edited by ddhoward; 08-01-2013 at 23:07.
ddhoward is offline
joggylol
Member
Join Date: Jul 2013
Old 08-10-2013 , 18:05   Re: [TF2] backpack.tf Price Check
Reply With Quote #294

Quote:
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/data/backpack-tf.txt
(*6*), (*0*),
I'm getting this?
joggylol is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 08-26-2013 , 20:40   Re: [TF2] backpack.tf Price Check
Reply With Quote #295

Quote:
Originally Posted by joggylol View Post
I'm getting this?
joggy I was getting that too but I fixed it by deleting the file the message talks about and the plugin will auto remake it(it's the pricelist file)
WildCard65 is offline
RussianTrix
New Member
Join Date: Sep 2013
Old 09-02-2013 , 14:54   Re: [TF2] backpack.tf Price Check
Reply With Quote #296

Hello! I recently installed this backpack.tf mod on our server!

And ran into an issue when someone types !bp by its self. Server crashes.

I'm not really sure what it might be but any help would be appreciated.

!pc command works perfect!
RussianTrix is offline
fiala06
AlliedModders Donor
Join Date: Mar 2009
Location: Eugene, OR
Old 09-02-2013 , 18:35   Re: [TF2] backpack.tf Price Check
Reply With Quote #297

Quote:
Originally Posted by RussianTrix View Post
Hello! I recently installed this backpack.tf mod on our server!

And ran into an issue when someone types !bp by its self. Server crashes.

I'm not really sure what it might be but any help would be appreciated.

!pc command works perfect!
Have you tried disabling your other plugins and enabling 1 by 1 till you find out which one is causing the issue?
fiala06 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-02-2013 , 19:14   Re: [TF2] backpack.tf Price Check
Reply With Quote #298

Quote:
Originally Posted by RussianTrix View Post
Hello! I recently installed this backpack.tf mod on our server!

And ran into an issue when someone types !bp by its self. Server crashes.

I'm not really sure what it might be but any help would be appreciated.

!pc command works perfect!
Make sure your gamedata and SourceMod installation are up to date. Might I ask what version of SM you're running?
__________________
Dr. McKay is offline
MaxOldPanda
SourceMod Donor
Join Date: Sep 2012
Location: Shambhala
Old 09-08-2013 , 21:27   Re: [TF2] backpack.tf Price Check
Reply With Quote #299

Something went wrong with API keys, or something else on backpack.tf side?... http://backpack.tf/servers
__________________
MaxOldPanda is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-08-2013 , 21:29   [TF2] backpack.tf Price Check
Reply With Quote #300

Quote:
Originally Posted by MaxOldPanda View Post
Something went wrong with API keys, or something else on backpack.tf side?... http://backpack.tf/servers
I can't tell you without seeing an error message.

Edit: If you're talking about the blank server list, then it's certainly a problem on their end.
__________________

Last edited by Dr. McKay; 09-08-2013 at 21:30.
Dr. McKay 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 18:22.


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