View Single Post
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 03-16-2021 , 00:14   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1885

Quote:
Originally Posted by nuclear silo View Post
I rewrite the plugin to be able to compilable with current stable SM 1.10 and added preview and steam ID support.
Check my github for all the source code if some one interested.
https://github.com/nuclearsilo583/zephyrus-store

P/s: You can just ignore any warning about Array-based enum structs since it will be remove in SM 1.11. I only rewrite it with 1.10 so dont ask me for 1.11
PHP Code:
//// store.sp
//
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\include\store.inc(80) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\include\store.inc(81) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\include\store.inc(84) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\include\zephstocks.inc(45) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(116) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(117) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(118) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(119) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(120) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(121) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/hats.sp(29) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/grenskins.sp(21) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/gifts.sp(105) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/gifts.sp(106) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/gifts.sp(134) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/gifts.sp(168) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/gifts.sp(169) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/sounds.sp(18) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/attributes.sp(30) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// store/admin.sp(17) : warning 241: Array-based enum structs will be removed in 1.11. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(2487) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(3241) : warning 204: symbol is assigned a value that is never used: "SilentChatTrigger"
// C:\Users\Administrator\Desktop\CSGO SERVER\Zombie Mod\csgo\addons\sourcemod\scripting\store.sp(278) : warning 204: symbol is assigned a value that is never used: "g_cvarCredits"
// Code size:           183932 bytes
// Data size:         41966084 bytes
// Stack/heap size:      16384 bytes
// Total requirements:42166400 bytes
//
// 23 Warnings.
//
// Compilation Time: 1.39 sec
// ----------------------------------------

Press enter to exit ... 
It does not work in SM 1.10.

PHP Code:
Errors:
store_item_playerskins.smx (Store Player Skin module): Native "ZR_IsClientZombie" was not found
store
.smx (Store The Resurrection with preview rewritten compilable with SM 1.10): Error detected in plugin startup (see error logs)
store_item_pet.smx (Store Pet item module): Native "Store_RegisterHandler" was not found
store_item_mvpsound
.smx (Store MVP sound item module): Native "Store_RegisterHandler" was not found
store_gamble_roulette
.smx (Store Roulette gamble module): Native "Store_GetClientCredits" was not found
store_gamble_jackpot
.smx (Store Jackpot gamble module): Native "Store_GetClientCredits" was not found
store_gamble_crowns
.smx (Store Crowns gamble module): Native "Store_GetClientCredits" was not found
store_item_link
.smx (Store Link item module): Native "Store_RegisterHandler" was not found
store_item_zrclass
.smx (Store Zombie:Reloaded Player Classes Module): Native "Store_RegisterHandler" was not found 
PHP Code:
L 03/16/2021 01:10:11: [SMUnable to load plugin "store_item_playerskins.smx"Native "ZR_IsClientZombie" was not found
L 03
/16/2021 01:10:11: [SMError parsing gameconfig file "/home/clientes/OGP_User_Files/whmcs/4274/csgo/addons/sourcemod/gamedata/store.gamedata.txt":
L 03/16/2021 01:10:11: [SMError 1 on line 0col 0Stream failed to open
L 03
/16/2021 01:10:11: [SMException reportedUnable to open store.gamedataFile could not be openedNo such file or directory
L 03
/16/2021 01:10:11: [SMBlamingstore.smx
L 03
/16/2021 01:10:11: [SMCall stack trace:
L 03/16/2021 01:10:11: [SM]   [0LoadGameConfigFile
L 03
/16/2021 01:10:11: [SM]   [1Line 65store/hats.sp::Hats_OnPluginStart
L 03
/16/2021 01:10:11: [SM]   [2Line 303C:\Users\Administrator\Downloads\New folder (7)\addons\sourcemod\scripting\store.sp::OnPluginStart
L 03
/16/2021 01:10:11: [SMUnable to load plugin "store.smx"Error detected in plugin startup (see error logs)
L 03/16/2021 01:10:11: [SMUnable to load plugin "store_item_pet.smx"Native "Store_RegisterHandler" was not found
L 03
/16/2021 01:10:11: [SMUnable to load plugin "store_item_mvpsound.smx"Native "Store_RegisterHandler" was not found
L 03
/16/2021 01:10:11: [SMUnable to load plugin "store_gamble_roulette.smx"Native "Store_GetClientCredits" was not found
L 03
/16/2021 01:10:11: [SMUnable to load plugin "store_gamble_jackpot.smx"Native "Store_GetClientCredits" was not found
L 03
/16/2021 01:10:11: [SMUnable to load plugin "store_gamble_crowns.smx"Native "Store_GetClientCredits" was not found
L 03
/16/2021 01:10:11: [SMUnable to load plugin "store_item_link.smx"Native "Store_RegisterHandler" was not found
L 03
/16/2021 01:10:19Error log file session closed.
L 03/16/2021 01:10:20SourceMod error session started
L 03
/16/2021 01:10:20Info (map "workshop/1440818854/cs_noffice") (file "/home/clientes/OGP_User_Files/whmcs/4274/csgo/addons/sourcemod/logs/errors_20210316.log")
L 03/16/2021 01:10:20: [SMUnable to load plugin "store_item_zrclass.smx"Native "Store_RegisterHandler" was not found 
PHP Code:
SourceMod Version Information:
    
SourceMod Version1.10.0.6502
    SourcePawn Engine
1.10.0.6502jit-x86 (build 1.10.0.6502)
    
SourcePawn APIv1 5v2 12
    Compiled on
Dec 18 2020 04:15:26
    Built from
https://github.com/alliedmodders/sourcemod/commit/617fb77
    
Build ID6502:617fb77
    http
://www.sourcemod.net/ 
[EDIT]
Fix - The store's gamedata was missing.

Last edited by paulo_crash; 03-16-2021 at 00:20.
paulo_crash is offline