Hi SourceMod Cummunity !
I use the store plugin and when I want install a module, there is this error :
Code:
[SM] Plugin store-skins.smx failed to reload: Could not find required plugin "store-loadout".
So, I have tried to check the plugin loadout.
When I do the commands !loadout our /loadout
There is theses errors on the loadout plugin :
Code:
L 01/06/2017 - 09:27:40: [Store] SQL Error on SQLCall_GetClientLoadouts: Table 'database.store_users_loadouts' doesn't exist
L 01/06/2017 - 09:27:40: [Store] SQL Error on SQLCall_GetClientLoadouts: Table 'database.store_users_loadouts' doesn't exist
So, I need to create a table store_users_loadouts but I don't know what fields I need to create too :/
If someone can help me ;)
Thanks a lot for the amazing community
Gaby !
EDIT :
It's WTF !
In the sourcecode of store-core.sp, there are theses lines :
PHP Code:
char sQuery_GetClientLoadouts[] = "SELECT loadout_id FROM %s_users_loadouts WHERE user_id = '%d';";
PHP Code:
char sQuery_QueryEquippedLoadout[] = "SELECT eqp_loadout_id FROM %s_users WHERE auth = '%d';";
For the first line,
the table store_users_loadouts don't exist because the plugin don't create this table.
For the second line,
the field eqp_loadout_id doesn't exist.
If someone who participates in the development of the store is there, it would be cool to fix this