Kxnrl / Store

Store plugin for Source Engine Games.
https://github.com/Kxnrl/Store
90 stars 44 forks source link

Do i just use the stuff from the release #138

Closed TonyS95 closed 4 years ago

TonyS95 commented 4 years ago

Do i just use the stuff from the release or download it from respitory because i get errors like this when compoiling


// tpmode.sp(62) : error 017: undefined symbol "tPrintToChat"
// tpmode.sp(68) : error 017: undefined symbol "tPrintToChat"
// tpmode.sp(74) : error 017: undefined symbol "tPrintToChat"
// tpmode.sp(92) : error 017: undefined symbol "tPrintToChat"
// tpmode.sp(99) : error 017: undefined symbol "tPrintToChat"
// tpmode.sp(105) : error 017: undefined symbol "tPrintToChat"
// tpmode.sp(111) : error 017: undefined symbol "tPrintToChat"
// tpmode.sp(160) : warning 203: symbol is never used: "TP_OnClientPutInServer"
// tpmode.sp(41) : warning 203: symbol is never used: "TPMode_OnClientConnected"
// tpmode.sp(11) : warning 203: symbol is never used: "TPMode_OnPluginStart"```

//
// sprays.sp(4) : error 017: undefined symbol "STORE_MAX_ITEMS"
// sprays.sp(5) : error 017: undefined symbol "STORE_MAX_ITEMS"
// sprays.sp(6) : error 017: undefined symbol "STORE_MAX_ITEMS"
// sprays.sp(13) : error 017: undefined symbol "Store_RegisterHandler"
// sprays.sp(26) : error 017: undefined symbol "STRING"
// sprays.sp(30) : error 017: undefined symbol "Downloader_AddFileToDownloadsTable"
// sprays.sp(48) : error 017: undefined symbol "tPrintToChat"
// sprays.sp(54) : error 017: undefined symbol "tPrintToChat"
// sprays.sp(70) : error 017: undefined symbol "Store_SetDataIndex"
// sprays.sp(85) : error 017: undefined symbol "Store_GetDataIndex"
// sprays.sp(102) : error 017: undefined symbol "GetClientEyePosition"
// sprays.sp(111) : error 017: undefined symbol "tPrintToChat"
// sprays.sp(117) : error 017: undefined symbol "TE_Start"
// sprays.sp(118) : error 017: undefined symbol "TE_WriteVector"
// sprays.sp(119) : error 017: undefined symbol "TE_WriteNum"
// sprays.sp(120) : error 017: undefined symbol "TE_SendToAll"
// sprays.sp(128) : error 017: undefined symbol "GetClientEyeAngles"
// sprays.sp(129) : error 017: undefined symbol "GetClientEyePosition"
// sprays.sp(131) : error 017: undefined symbol "TR_TraceRayFilter"
// sprays.sp(132) : error 017: undefined symbol "TR_GetEndPosition"
// sprays.sp(145) : warning 203: symbol is never used: "Spray_OnRunCmd"
// sprays.sp(136) : warning 203: symbol is never used: "Spray_IsSpray"
Kxnrl commented 4 years ago

just compile store.sp

TonyS95 commented 4 years ago

Alright got it i imported the sql that got from the build i keep on getting this error L 05/07/2020 - 15:04:51: [SM] Exception reported: Can not retrieve item.parent from database: no result row L 05/07/2020 - 15:04:51: [SM] Blaming: store_mg.smx L 05/07/2020 - 15:04:51: [SM] Call stack trace: L 05/07/2020 - 15:04:51: [SM] [0] SetFailState L 05/07/2020 - 15:04:51: [SM] [1] Line 3450, addons/sourcemod/scripting/store.sp::SQL_LoadParents 051FF66ED406E324D6BD108BEE3E980C

Kxnrl commented 4 years ago

You need to import items before starting server.

TonyS95 commented 4 years ago

How do i import thei tems i only imported the databases.sql

Kxnrl commented 4 years ago

Did you upgrade from zephyrus? Or you read the readme before?

TonyS95 commented 4 years ago

I read your Readme so i need to use the php files to inject the items.txt

TonyS95 commented 4 years ago

I get


Notice: vdf_decode: open parentheses somewhere in /var/www/empire-sourcebans/kvphp.php on line 104

Warning: Invalid argument supplied for foreach() in /var/www/empire-sourcebans/insertParent.php on line 29
Array of Parent: Array ( )