Raised This Month: $68 Target: $400
 17% 

Issue !Store work but !Shop doesn't work...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Agato
Junior Member
Join Date: Aug 2013
Old 08-11-2015 , 00:50   !Store work but !Shop doesn't work...
Reply With Quote #1

Hi !

I need help ! ^^

I just installed your plugin "Store 1.2.4b" on my server.
I use sourcemod 1.7.x

If i try to use !store, everything works except the n1 Shop ! When i chose it, the window closes...

Also when i write "!shop" nothing happens... Even in log, no error when i write it ! (Sourcemod log and store log).
However i've few error like it :

Sourcemod log :

L 08/11/2015 - 04:27:44: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/11/2015 - 04:27:44: [SM] Native "Store_GetLoadoutGame" reported: Error encountered while processing a dynamic native
L 08/11/2015 - 04:27:44: [SM] Displaying call stack trace for plugin "store-loadouts.smx":
L 08/11/2015 - 04:27:44: [SM] [0] Line 209, D:\SourcePawn\store\scripting\store-loadouts.sp::IsLoadoutAvailableFor()
L 08/11/2015 - 04:27:44: [SM] [1] Line 126, D:\SourcePawn\store\scripting\store-loadouts.sp::Event_PlayerSpawn()
L 08/11/2015 - 04:27:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/11/2015 - 04:27:51: [SM] Displaying call stack trace for plugin "store-backend.smx":
L 08/11/2015 - 04:27:51: [SM] [0] Line 1650, D:\SourcePawn\store\scripting\store-backend.sp::Native_GetLoadoutGame()
L 08/11/2015 - 04:27:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/11/2015 - 04:27:51: [SM] Native "Store_GetLoadoutGame" reported: Error encountered while processing a dynamic native
L 08/11/2015 - 04:27:51: [SM] Displaying call stack trace for plugin "store-loadouts.smx":
L 08/11/2015 - 04:27:51: [SM] [0] Line 209, D:\SourcePawn\store\scripting\store-loadouts.sp::IsLoadoutAvailableFor()
L 08/11/2015 - 04:27:51: [SM] [1] Line 126, D:\SourcePawn\store\scripting\store-loadouts.sp::Event_PlayerSpawn()

Store log :

L 08/11/2015 - 03:42:23: [Store] You must set a unique Server ID (server_id) for this server, please double check your core config.
L 08/11/2015 - 03:425: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 03:425: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 03:42:53: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
L 08/11/2015 - 04:02:07: [Store] You must set a unique Server ID (server_id) for this server, please double check your core config.
L 08/11/2015 - 04:02:14: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 04:020: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
L 08/11/2015 - 04:22:50: [Store] You must set a unique Server ID (server_id) for this server, please double check your core config.
L 08/11/2015 - 04:23:01: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 04:23:27: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
Agato is offline
Bonnis
Senior Member
Join Date: Apr 2013
Old 08-13-2015 , 11:18   Re: !Store work but !Shop doesn't work...
Reply With Quote #2

ive got the same problem.
but some of the players its works for.....

but it does not work for me.

//bonnis
Bonnis is offline
Agato
Junior Member
Join Date: Aug 2013
Old 08-14-2015 , 16:48   Re: !Store work but !Shop doesn't work...
Reply With Quote #3

I don't know how but it's work now...
Agato is offline
supreeda
Senior Member
Join Date: Jul 2015
Old 08-15-2015 , 02:23   Re: !Store work but !Shop doesn't work...
Reply With Quote #4

Quote:
Originally Posted by Agato View Post
Hi !

I need help ! ^^

I just installed your plugin "Store 1.2.4b" on my server.
I use sourcemod 1.7.x

If i try to use !store, everything works except the n1 Shop ! When i chose it, the window closes...

Also when i write "!shop" nothing happens... Even in log, no error when i write it ! (Sourcemod log and store log).
However i've few error like it :

Sourcemod log :

L 08/11/2015 - 04:27:44: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/11/2015 - 04:27:44: [SM] Native "Store_GetLoadoutGame" reported: Error encountered while processing a dynamic native
L 08/11/2015 - 04:27:44: [SM] Displaying call stack trace for plugin "store-loadouts.smx":
L 08/11/2015 - 04:27:44: [SM] [0] Line 209, D:\SourcePawn\store\scripting\store-loadouts.sp::IsLoadoutAvailableFor()
L 08/11/2015 - 04:27:44: [SM] [1] Line 126, D:\SourcePawn\store\scripting\store-loadouts.sp::Event_PlayerSpawn()
L 08/11/2015 - 04:27:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/11/2015 - 04:27:51: [SM] Displaying call stack trace for plugin "store-backend.smx":
L 08/11/2015 - 04:27:51: [SM] [0] Line 1650, D:\SourcePawn\store\scripting\store-backend.sp::Native_GetLoadoutGame()
L 08/11/2015 - 04:27:51: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/11/2015 - 04:27:51: [SM] Native "Store_GetLoadoutGame" reported: Error encountered while processing a dynamic native
L 08/11/2015 - 04:27:51: [SM] Displaying call stack trace for plugin "store-loadouts.smx":
L 08/11/2015 - 04:27:51: [SM] [0] Line 209, D:\SourcePawn\store\scripting\store-loadouts.sp::IsLoadoutAvailableFor()
L 08/11/2015 - 04:27:51: [SM] [1] Line 126, D:\SourcePawn\store\scripting\store-loadouts.sp::Event_PlayerSpawn()

Store log :

L 08/11/2015 - 03:42:23: [Store] You must set a unique Server ID (server_id) for this server, please double check your core config.
L 08/11/2015 - 03:425: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 03:425: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 03:42:53: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
L 08/11/2015 - 04:02:07: [Store] You must set a unique Server ID (server_id) for this server, please double check your core config.
L 08/11/2015 - 04:02:14: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 04:020: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
L 08/11/2015 - 04:22:50: [Store] You must set a unique Server ID (server_id) for this server, please double check your core config.
L 08/11/2015 - 04:23:01: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/11/2015 - 04:23:27: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
...addons\sourcemod\configs\store\core.cfg

edit server id to 1
NOT -1

tell me if it work !
supreeda is offline
Agato
Junior Member
Join Date: Aug 2013
Old 08-15-2015 , 14:45   Re: !Store work but !Shop doesn't work...
Reply With Quote #5

Quote:
/**
* This file is used to set various options that are important to SourceMod's core.
* If this file is missing or an option in this file is missing, then the default values will be used.
*/
"Core"
{
/**
* This option determines if SourceMod logging is enabled.
*
* "on" - Logging is enabled (default)
* "off" - Logging is disabled
*/
"Logging" "on"

/**
* This option determines how SourceMod logging should be handled.
*
* "daily" - New log file is created for each day (default)
* "map" - New log file is created for each map change
* "game" - Use game's log files
*/
"LogMode" "daily"

/**
* Language that multilingual enabled plugins and extensions will use to print messages.
* Only languages listed in languages.cfg are valid.
*
* The default value is "en"
*/
"ServerLang" "en"

/**
* String to use as the public chat trigger. Set an empty string to disable.
*/
"PublicChatTrigger" "!"

/**
* String to use as the silent chat trigger. Set an empty string to disable.
*/
"SilentChatTrigger" "/"

/**
* If a say command is a silent chat trigger, and is used by an admin,
* but it does not evaluate to an actual command, it will be displayed
* publicly. This setting allows you to suppress accidental typings.
*
* The default value is "no". A value of "yes" will supress.
*/
"SilentFailSuppress" "no"

/**
* Password setinfo key that clients must set. You must change this in order for
* passwords to work, for security reasons.
*/
"PassInfoVar" "_password"

/**
* Specifies the sound that gets played when an item is selected from a menu.
*/
"MenuItemSound" "buttons/button14.wav"

/**
* Specifies the sound that gets played when an "Exit" button is selected
* from a menu.
*/
"MenuExitSound" "buttons/combine_button7.wav"

/**
* Specifies the sound that gets played when an "Exit Back" button is selected
* from a menu. This is the special "Back" button that is intended to roll back
* to a previous menu.
*/
"MenuExitBackSound" "buttons/combine_button7.wav"

/**
* Enables or disables whether SourceMod reads a client's cl_language cvar to set
* their language for server-side phrase translation.
*
* "on" - Translate using the client's language (default)
* "off" - Translate using default server's language
*/
"AllowClLanguageVar" "On"

/**
* Enables or Disables SourceMod's automatic gamedata updating.
*
* The default value is "no". A value of "yes" will block the Auto Updater.
*/
"DisableAutoUpdate" "no"

/**
* If set to yes, a successful gamedata update will attempt to restart SourceMod.
* SourceMod is unloaded and reloaded, and the map is changed to the current map.
* Since gamedata updates occur when the server loads, impact should be minimal.
* But to be safe, this option is disabled by default.
*/
"ForceRestartAfterUpdate" "no"

/**
* URL to use for retrieving update information.
* SSL is not yet supported.
*/
"AutoUpdateURL" "http://update.sourcemod.net/update/"

/**
* Whether to show debug spew.
* Currently this will log details about the gamedata updating process.
*/
"DebugSpew" "no"

/**
* If set to yes, SourceMod will validate steamid auth strings with the Steam backend before giving out admin access.
* This can prevent malicious users from impersonating admins with stolen Steam apptickets.
* If Steam is down, admins will not be authenticated until Steam comes back up.
* This option increases the security of your server, but is still experimental.
*/
"SteamAuthstringValidation" "yes"

/**
* Enables or disables whether SourceMod blocks known or potentially malicious plugins from loading.
* It is STRONGLY advised that this is left enabled, there have been cases in the past with plugins that
* allow anyone to delete files on the server, gain full rcon control, etc.
*
* "yes" - Block malware or illegal plugins from loading (default)
* "no" - Warn about malware or illegal plugins loading
*/
"BlockBadPlugins" "yes"

/**
* If a plugin takes too long to execute, hanging or freezing the game server in the process,
* SourceMod will attempt to terminate that plugin after the specified timeout length has
* passed. You can disable this feature by setting the value to "0".
*/
"SlowScriptTimeout" "8"
"server_id" "1"
}
I will try with it.

Edit : It doesn't work, I made ​​a mistake with the "server_id" ?

Quote:
My error of my SM log :
L 08/15/2015 - 21:14:57: [SM] Native "Store_GetServerID" reported: Invalid ServerID currently set, please check core configuration file field 'server_id'.
Quote:
My errors log of store :
L 08/15/2015 - 21:14:57: [Store] Plugin Module '[Store] Backend Module' attempted to get the serverID when It's currently set to 0.
L 08/15/2015 - 21:15:19: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
L 08/15/2015 - 21:15:19: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
L 08/15/2015 - 21:15:19: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
L 08/15/2015 - 21:15:19: [Store] SQL Error on GetItems: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY Priority ASC' at line 1
Ps : I'm sorry for my error it's my first server with "complexe" plugin ! ^^

Last edited by Agato; 08-15-2015 at 15:21.
Agato is offline
Agato
Junior Member
Join Date: Aug 2013
Old 08-15-2015 , 16:03   Re: !Store work but !Shop doesn't work...
Reply With Quote #6

It works ! (again ! ^^) Thanks you for your help and sorry because can't explain how i repair this ! (i just try the option JSON checker on your webpanel)
Agato is offline
Reply


Thread Tools
Display Modes

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 04:05.


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