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

Release Sourcemod Store (Includes Download - Patch 1.2.7)


Post New Thread Reply   
 
Thread Tools Display Modes
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 06-19-2016 , 15:06   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #381

Is it possible to create shop items that won't go into the inventory and would be used immediately after buying them?
I am trying to create an item shop, and those items are to be used the instant they are purchased, for example, invisibility for 10 seconds, etc.
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
Uyuzgamer
Junior Member
Join Date: Jul 2015
Old 06-22-2016 , 12:51   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #382

store.sql's tables are different from the plugin's tables and gives these errors;

[Store] SQL Error on SQLCall_GetEquippedItemsByType: Table 'xxxxxxxxx.store_items_loadouts' doesn't exist
[Store] SQL Error on SQLCall_GetClientLoadouts: Table 'xxxxxxxx.store_users_loadouts' doesn't exist

Last edited by Uyuzgamer; 06-22-2016 at 12:52. Reason: Edit
Uyuzgamer is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-01-2016 , 06:45   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #383

Is the plugin still maintained? Tried updating Store in my servers from a quite old version to the 1.2-Final version because of some error with heap(?) after adding 12 titles, got myself endless error logs that while I tried fixing I overwrote the old .sp files on my PC (I should do backups ) and the only "working" Store I have is compiled .smx files on my servers.
Is this the point where I just give up and make my own Store that works with the old database or should I just wait for an update? Remaking such a big plugin sounds very time consuming :/

I'm talking about those errors btw:
Code:
L 07/01/2016 - 13:55:54: [SM] Exception reported: Heap leak detected: hp:306432 should be 306396!
L 07/01/2016 - 13:55:54: [SM] Blaming: store-backend.smx()
L 07/01/2016 - 13:55:54: [SM] Call stack trace:
L 07/01/2016 - 13:55:54: [SM]   [0] Call_Finish
L 07/01/2016 - 13:55:54: [SM]   [1] Line 1389, G:\scripting\store-backend.sp::SQLCall_GetEquippedItemsByType()
L 07/01/2016 - 13:55:54: [SM] Exception reported: Invalid plugin address
L 07/01/2016 - 13:55:54: [SM] Blaming: store-backend.smx()
L 07/01/2016 - 13:55:54: [SM] Call stack trace:
L 07/01/2016 - 13:55:54: [SM]   [0] Call_Finish
L 07/01/2016 - 13:55:54: [SM]   [1] Line 1389, G:\scripting\store-backend.sp::SQLCall_GetEquippedItemsByType()
really not sure about what to do, the error logs in my servers are spammed to hell with this and updating doesn't work

edit: ok apparently this one is the store-backend version i use in my servers, and i cannot update it
__________________
retired

Last edited by shavit; 07-01-2016 at 07:16.
shavit is offline
toxiic5760
Member
Join Date: Aug 2015
Location: Omelette du fromage
Old 07-10-2016 , 15:32   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #384

It's say only for SM 1.7, but this should work on 1.9 no ?
toxiic5760 is offline
extr1m725
Member
Join Date: Oct 2014
Old 07-21-2016 , 13:58   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #385

Hello. In what may be the problem of Shop plugin? A lot of different types of errors


Quote:
L 07/20/2016 - 15:05:53: [Store] SQL Error on SQLCall_GetCategoryRestrictions: Table 'strikearena_ru_sourcemod.store_servers_categ ories' doesn't exist
L 07/20/2016 - 15:05:53: [Store] SQL Error on SQLCall_GetItemRestrictions: Table 'strikearena_ru_sourcemod.store_servers_items ' doesn't exist
L 07/20/2016 - 15:14:05: [Store] SQL Error on GetCategories: Unknown column 'enable_server_restriction' in 'field list'
L 07/20/2016 - 15:19:14: [Store] SQL Error on GetItems: Unknown column 'enable_server_restriction' in 'field list'
extr1m725 is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 08-19-2016 , 12:31   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #386

does it support item by server choise yet? not sure what to call it.
or is it still the same where all servers has the same items regardless?
Robin955 is offline
Rampantz
New Member
Join Date: Aug 2016
Old 08-22-2016 , 03:06   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #387

spammed throughout log file each time I try !store on server

L 08/22/2016 - 0140: [Store] Connection to SQL database has failed! Error: [1045]: Access denied for user 'c1250139_admin'@'xxx.xxx.xxx.xx' (using password: YES)

here is my database.cfg

"store"
{
"driver" "mysql"
"host" "xxxx.xxxx.xxxx.xxxx"
"database" "c1250139_store"
"user" "c1250139_admin"
"pass" "xxxxxxxx"
}

what am I doing wrong
Rampantz is offline
Cooky
Veteran Member
Join Date: Jun 2010
Location: 127.0.0.1
Old 08-22-2016 , 05:41   Re: Store Release [1.2.6] [Sourcemod 1.7/1.8] (Last updated: 05/06/2016)
Reply With Quote #388

Quote:
Originally Posted by Rampantz View Post
spammed throughout log file each time I try !store on server

L 08/22/2016 - 0140: [Store] Connection to SQL database has failed! Error: [1045]: Access denied for user 'c1250139_admin'@'xxx.xxx.xxx.xx' (using password: YES)

here is my database.cfg

"store"
{
"driver" "mysql"
"host" "xxxx.xxxx.xxxx.xxxx"
"database" "c1250139_store"
"user" "c1250139_admin"
"pass" "xxxxxxxx"
}

what am I doing wrong
Wrong username or password or IP not whitelisted to access the SQL server remotely.
Cooky is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 11-25-2016 , 01:54   Re: Sourcemod Store (Includes Download)
Reply With Quote #389

1.3.0.0 Dev Update:
  • Removed some useless files
  • Fixed some bugs with the core module
  • Changed the database entry from 'store_ext' to 'store'
  • Added automatic table creation
  • Updated table schematics to have timestamps
  • Updated users table by changing column positions
  • Added transactional support to the api
  • Slight tweaks to error logs
Drixevel is offline
TheSupremePatriot
Junior Member
Join Date: Oct 2016
Old 12-04-2016 , 13:45   Re: Sourcemod Store (Includes Download)
Reply With Quote #390

I know I installed this correctly, I don’t know why it keeps throwing this error.

Code:
L 12/04/2016 - 13:29:29: [Store] Store Config 'Core' Loaded: configs/store/core.cfg
L 12/04/2016 - 13:29:29: [SM] Exception reported: No config entry found for 'store_ext' in databases.cfg.
L 12/04/2016 - 13:29:29: [SM] Blaming: store-core.smx
L 12/04/2016 - 13:29:29: [SM] Call stack trace:
L 12/04/2016 - 13:29:29: [SM] [0] SetFailState
L 12/04/2016 - 13:29:29: [SM] [1] Line 2471, F:\Files\Google Drive\SourcePawn\projects\Sourcemod-Store\scripting\store-core.sp::ConnectSQL
L 12/04/2016 - 13:29:29: [SM] [2] Line 402, F:\Files\Google Drive\SourcePawn\projects\Sourcemod-Store\scripting\store-core.sp::LoadConfig
L 12/04/2016 - 13:29:29: [SM] [3] Line 319, F:\Files\Google Drive\SourcePawn\projects\Sourcemod-Store\scripting\store-core.sp::OnPluginStart
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-core.smx": Error detected in plugin startup (see error logs)
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-distributor.smx": Could not find required plugin "store-core"
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-gifting.smx": Could not find required plugin "store-core"
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-inventory.smx": Could not find required plugin "store-core"
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-loadouts.smx": Could not find required plugin "store-core"
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-logging.smx": Could not find required plugin "store-core"
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-refunds.smx": Could not find required plugin "store-core"
L 12/04/2016 - 13:29:29: [SM] Unable to load plugin "store-shop.smx": Could not find required plugin "store-core"
[SM] The plugin list has been refreshed and reloaded.
If I can’t get this to work, Ill have a bunch of scattered useless files laying around because I don’t know if they are overwrites or appended -_-


I set up the databases.cfg correctly.

Can someone please tell me what I did wrong; and what I should do? Thanks
TheSupremePatriot 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 04:16.


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