вот
C-подобный:L 03/26/2014 - 14:02:53: [SM] Fatal error encountered parsing translation file "shop_moneydistributor.phases.txt" L 03/26/2014 - 14:02:53: [SM] Error (line 0, column 0): Stream failed to open L 03/26/2014 - 14:02:53: [SM] Unable to load plugin "shop_respawn.smx": Native "Shop_IsConnected" was not found L 03/26/2014 - 14:02:54: [mapchooser_extended.smx] Unable to create a valid map list. L 03/26/2014 - 14:03:03: [SM] Native "KillTimer" reported: Invalid timer handle 88b0448 (error 3) L 03/26/2014 - 14:03:03: [SM] Displaying call stack trace for plugin "shop.smx": L 03/26/2014 - 14:03:03: [SM] [0] Line 534, shop/player_manager.sp::PlayerManager_ToggleClientCategoryOff() L 03/26/2014 - 14:03:03: [SM] Native "Shop_ToggleClientCategoryOff" reported: Error encountered while processing a dynamic native L 03/26/2014 - 14:03:03: [SM] Displaying call stack trace for plugin "shop_aura.smx": L 03/26/2014 - 14:03:03: [SM] [0] Line 86, C:\Documents and Settings\Admin\Рабочий стол\sourcemod\shop\shop_aura.sp::OnEquipItem() L 03/26/2014 - 14:08:19: [SM] Native "KillTimer" reported: Invalid timer handle 88b0448 (error 3) L 03/26/2014 - 14:08:19: [SM] Displaying call stack trace for plugin "shop.smx": L 03/26/2014 - 14:08:19: [SM] [0] Line 1187, shop/player_manager.sp::PlayerManager_OnItemUnregistered() L 03/26/2014 - 14:08:19: [SM] [1] Line 1627, C:\Users\FrozDark\Desktop\scripting\shop\dev\shop.sp::OnItemUnregistered() L 03/26/2014 - 14:08:19: [SM] [2] Line 100, shop/item_manager.sp::ItemManager_UnregisterMe() L 03/26/2014 - 14:08:19: [SM] [3] Line 81, C:\Users\FrozDark\Desktop\scripting\shop\dev\shop.sp::Native_UnregisterMe() L 03/26/2014 - 14:08:19: [SM] Native "Shop_UnregisterMe" reported: Error encountered while processing a dynamic native L 03/26/2014 - 14:08:19: [SM] Displaying call stack trace for plugin "shop_aura.smx": L 03/26/2014 - 14:08:19: [SM] [0] Line 44, C:\Documents and Settings\Admin\Рабочий стол\sourcemod\shop\shop_aura.sp::OnPluginEnd() L 03/26/2014 - 14:08:22: Error log file session closed. L 03/26/2014 - 14:08:22: SourceMod error session started
Добавлено через 8 минут
одни ошибки сыпетC-подобный:L 03/27/2014 - 12:19:24: [SM] Plugin encountered error 1: Unrecognizable file format L 03/27/2014 - 12:19:24: [SM] Native "Shop_SetItemPrice" reported: Item id 0 is invalid L 03/27/2014 - 12:19:24: [SM] Displaying call stack trace for plugin "shop_medkit.smx": L 03/27/2014 - 12:19:24: [SM] [0] Line 103, C:\Users\FrozDark\Desktop\scripting\shop\modules\scripting\shop_medkit.sp::OnConVarChange() L 03/27/2014 - 12:19:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 03/27/2014 - 12:19:24: [SM] Native "GetNativeCell" reported: Invalid parameter number: 3 L 03/27/2014 - 12:19:24: [SM] Displaying call stack trace for plugin "shop.smx": L 03/27/2014 - 12:19:24: [SM] [0] Line 817, shop/item_manager.sp::ItemManager_SetItemSellPrice() L 03/27/2014 - 12:19:24: [SM] Plugin encountered error 1: Unrecognizable file format L 03/27/2014 - 12:19:24: [SM] Native "Shop_SetItemSellPrice" reported: Item id 0 is invalid L 03/27/2014 - 12:19:24: [SM] Displaying call stack trace for plugin "shop_medkit.smx": L 03/27/2014 - 12:19:24: [SM] [0] Line 108, C:\Users\FrozDark\Desktop\scripting\shop\modules\scripting\shop_medkit.sp::OnConVarChange() L 03/27/2014 - 12:19:24: [SM] Plugin encountered error 1: Unrecognizable file format L 03/27/2014 - 12:19:24: [SM] Native "Shop_SetItemValue" reported: Item id 0 is invalid L 03/27/2014 - 12:19:24: [SM] Displaying call stack trace for plugin "shop_paintball.smx": L 03/27/2014 - 12:19:24: [SM] [0] Line 76, C:\Users\FrozDark\Desktop\scripting\shop\modules\scripting\shop_paintball.sp::OnConVarChange() L 03/27/2014 - 12:19:24: [SM] Plugin encountered error 1: Unrecognizable file format L 03/27/2014 - 12:19:24: [SM] Native "Shop_SetItemPrice" reported: Item id 0 is invalid L 03/27/2014 - 12:19:24: [SM] Displaying call stack trace for plugin "shop_paintball.smx": L 03/27/2014 - 12:19:24: [SM] [0] Line 60, C:\Users\FrozDark\Desktop\scripting\shop\modules\scripting\shop_paintball.sp::OnConVarChange() L 03/27/2014 - 12:19:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type L 03/27/2014 - 12:19:24: [SM] Native "GetNativeCell" reported: Invalid parameter number: 3 L 03/27/2014 - 12:19:24: [SM] Displaying call stack trace for plugin "shop.smx": L 03/27/2014 - 12:19:24: [SM] [0] Line 817, shop/item_manager.sp::ItemManager_SetItemSellPrice() L 03/27/2014 - 12:19:24: [SM] Plugin encountered error 1: Unrecognizable file format L 03/27/2014 - 12:19:24: [SM] Native "Shop_SetItemSellPrice" reported: Item id 0 is invalid L 03/27/2014 - 12:19:24: [SM] Displaying call stack trace for plugin "shop_paintball.smx": L 03/27/2014 - 12:19:24: [SM] [0] Line 68, C:\Users\FrozDark\Desktop\scripting\shop\modules\scripting\shop_paintball.sp::OnConVarChange() L 03/27/2014 - 12:19:24: [mapchooser_extended.smx] Unable to create a valid map list.
Добавлено через 24 минуты
Кароче после смены карты пропадает аура и не только
C-подобный:L 03/27/2014 - 12:40:15: Info (map "zm_lila_panic_173_lit") (file "errors_20140327.log") L 03/27/2014 - 12:40:15: [mapchooser_extended.smx] Unable to create a valid map list. L 03/27/2014 - 12:40:20: [SM] Native "KillTimer" reported: Invalid timer handle d6105e2 (error 3) L 03/27/2014 - 12:40:20: [SM] Displaying call stack trace for plugin "shop.smx": L 03/27/2014 - 12:40:20: [SM] [0] Line 534, shop/player_manager.sp::PlayerManager_ToggleClientCategoryOff() L 03/27/2014 - 12:40:20: [SM] Native "Shop_ToggleClientCategoryOff" reported: Error encountered while processing a dynamic native L 03/27/2014 - 12:40:20: [SM] Displaying call stack trace for plugin "shop_aura.smx": L 03/27/2014 - 12:40:20: [SM] [0] Line 86, C:\Documents and Settings\Admin\Рабочий стол\sourcemod\shop\shop_aura.sp::OnEquipItem()
сделайте чтобы противоположная команда не видела ауру другой команды!
Night Fighter, ок.
Я изменю ауру, весь её вид.
Владимир Валентинов, в файле addons/sourcemod/configs/shop/aura_colors.txt
"Aura_Colors"
{
"name" "Аура" // Название в меню
"description" "Цветная аура вокруг вас" // Описание в меню
"red" // Идентефикатор в бд
{
"name" "Красная" // Название
"color" "255 0 0 255" // Цвет ауры
"price" "200" // Цена покупки ауры
"sellprice" "100" // Цена продажи ауры
"duration" "3600" // Длительность ауры
}
"blue"
{
"name" "Синяя"
"color" "0 0 255 255"
"price" "200"
"sellprice" "100"
"duration" "3600"
}
"green"
{
"name" "Зеленая"
"color" "0 255 0 255"
"price" "200"
"sellprice" "100"
"duration" "3600"
}
}
Владимир Валентинов, просто я выложил конфиг не изначальный, а который сам тестировал и цены продажи тогда еще не было.
Вот пример как должно быть:
C-подобный:"Aura_Colors" { "name" "Аура" // Название в меню "description" "Цветная аура вокруг вас" // Описание в меню "red" // Идентефикатор в бд { "name" "Красная" // Название "color" "255 0 0 255" // Цвет ауры "price" "200" // Цена покупки ауры "sellprice" "100" // Цена продажи ауры "duration" "3600" // Длительность ауры } "blue" { "name" "Синяя" "color" "0 0 255 255" "price" "200" "sellprice" "100" "duration" "3600" } "green" { "name" "Зеленая" "color" "0 255 0 255" "price" "200" "sellprice" "100" "duration" "3600" } }
Владимир Валентинов, обновил плагин, скачай заново в первом посте.
Обновлено до 1.2
скинте кто-нибудь конфиг с аурой, где больше цветов