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

Issue !shop doesn't work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ShinyRazu
Member
Join Date: Feb 2014
Old 12-15-2014 , 10:54   !shop doesn't work
Reply With Quote #1

Had this issue for ages, cannot figure it out... pls help?


I have no logs, !shop menu closes but !store etc works.
ShinyRazu is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 12-20-2014 , 07:37   Re: !shop doesn't work
Reply With Quote #2

Anyone? :/
ShinyRazu is offline
corymkg
Member
Join Date: Jan 2012
Old 12-22-2014 , 02:57   Re: !shop doesn't work
Reply With Quote #3

You sure there are no logs in the: /cstrike/addons/sourcemod/logs area? It would be under the regular error log. If there isn't navigate to: /cstrike/addons/sourcemod/configs/store

Open logging.cfg and make it look like this:

Code:
"Logging" 
{
	// Toggles logging to sourcemod/logs/store <date>.log
	// "0" = no logging
	// "1" = errors only
	// "2" = errors and warnings
	// "3" = errors, warnings and info
	// "4" = errors, warnings, info and debug
	// "5" = errors, warnings, info, debug and trace
	// Default: "2"
	"log_level"         "5"

	// Toggles what types of logs are flushed immediately to disk (same types as defined in
	// "log_level" above). In case of a server crash, the last few log lines that weren't flushed
	// will be lost. On the other hand, flushing every single line under heavy load may impact I/O
	// performance. This should only become an issue when running 20+ servers with full trace logs
	// (level 5).
	// Default: "2" (errors and warnings)
	"log_flush_level"   "2"

	// Toggles whether errors are logged to Sourcemod's error log in addition to the Store's log file,
	// assuming "log_level" (above) is set to "1" or more.
	// Default: "1"
	"log_errors_to_SM"  "1"
}
Then, restart your server and check the logs, and post the logs here.
corymkg is offline
Send a message via Skype™ to corymkg
ShinyRazu
Member
Join Date: Feb 2014
Old 12-23-2014 , 13:16   Re: !shop doesn't work
Reply With Quote #4

Hey thanks for your reply and sorry I forgot to mention, but it is not cstrike it is Team Fortress. However I did what you said (the only difference from the logging.cfg before was it had log_level to 2 not 5 (which doesn't make a lot of difference but I tried it.)

Code:
2014-12-23 00:00:00 [store/store-logging.smx]         INFO  | Logging started
2014-12-23 02:27:26 [store/store-logging.smx]         INFO  | Logging started
That is all that comes up in my logs =/

Last edited by ShinyRazu; 12-23-2014 at 13:17.
ShinyRazu is offline
ShinyRazu
Member
Join Date: Feb 2014
Old 12-31-2014 , 12:34   Re: !shop doesn't work
Reply With Quote #5

OK so I realised after lots of experimenting that Store doesn't work with Sourcemod 1.6.3, so I used 1.6.4 and there is progress it appears. My only issue now is I buy things, it takes the credits but in inventory it doesn't show up.

SQL Error on GiveItem: Unknown column 'aquire_method' in 'field list'
2014-12-31 182:13 [store/store-backend.smx] ERROR | SQL Error on GiveItem: Unknown column 'aquire_method' in 'field list'
2014-12-31 182:29 [store/store-backend.smx] ERROR | SQL Error on GiveItem: Unknown column 'aquire_method' in 'field list'
2014-12-31 18:42:56 [store/store-backend.smx] ERROR | SQL Error on GiveItem: Unknown column 'aquire_method' in 'field list'

Last edited by ShinyRazu; 12-31-2014 at 12:45.
ShinyRazu 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 05:22.


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