Не скачивается granade_kill.wav и то время как с knife_kill.wav нет никаких проблем!

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
67
Реакции
1
Помог
1 раз(а)
Ошибка
Error: server failed to transmit file 'sound/awp_kill/granade_kill.wav'
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5249 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jun 19 2019 13:31:53
Built from: https://github.com/alliedmodders/amxmodx/commit/6cecb34
Build ID: 5249:6cecb34
Core mode: JIT+ASM32
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.692-dev
Build date: 18:58:01 Sep 21 2019 (1988)
Build from: https://github.com/dreamstalker/rehlds/commit/e7232be
ReGamedll
ReGameDLL version: 5.9.0.362-dev
Build date: 20:19:32 Jun 21 2019
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/b669a39
Версия Metamod
ReGameDLL version: 5.9.0.362-dev
Build date: 20:19:32 Jun 21 2019
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/b669a39
meta version
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] SafeNameAndChat RUN - SafeNameAndChat.so v1.1 ini ANY ANY
[ 2] Reunion RUN - reunion_mm_i386.so v0.1.0.92c ini Start Never
[ 3] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 4] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 5] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC4 ini ANY ANY
[ 6] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5249 ini Start ANY
[ 7] ReSRDetector RUN - resrdetector_mm_i386.so v0.1.0 ini Chlvl ANY
[ 8] WHBlocker RUN - whblocker_mm_i386.so v1.5.696 ini Chlvl ANY
[ 9] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[10] MySQL RUN - mysql_amxx_i386.so v1.9.0.5249 pl6 ANY ANY
[11] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl6 ANY Never
[12] ReAPI RUN - reapi_amxx_i386.so v5.9.0.171-dev pl6 ANY Never
[13] Engine RUN - engine_amxx_i386.so v1.9.0.5249 pl6 ANY ANY
[14] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5249 pl6 ANY ANY
[15] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5249 pl6 ANY ANY
[16] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5249 pl6 ANY ANY
[17] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5249 pl6 ANY ANY
[18] Fun RUN - fun_amxx_i386.so v1.9.0.5249 pl6 ANY ANY
18 plugins, 18 running
Список плагинов
[ 1] admin_loader 0.5.5 kanagava admin_loader-05 running 
[ 2] WebHS 0.1 kanagava fb_web_online.a running
[ 3] FreshBans 1.4.2b kanagava fresh_bans_142_ running
[ 4] fb_forwards 0.1.4 Kanagava & Realu fb_forwards.amx running
[ 5] Admin Commands 1.9.0.5249 AMXX Dev Team admincmd.amxx running
[ 6] Admin Help 1.9.0.5249 AMXX Dev Team adminhelp.amxx running
[ 7] Slots Reservation 1.9.0.5249 AMXX Dev Team adminslots.amxx running
[ 8] Multi-Lingual System 1.9.0.5249 AMXX Dev Team multilingual.am running
[ 9] Commands Menu 1.9.0.5249 AMXX Dev Team cmdmenu.amxx running
[ 10] Players Menu 1.9.0.5249 AMXX Dev Team plmenu.amxx running
[ 11] Maps Menu 1.9.0.5249 AMXX Dev Team mapsmenu.amxx running
[ 12] Server AMXMODMENU [INI 1.0 Leo_[BH] amxmodmenu.amxx running
[ 13] Weapon Kill No Suicide 1.2 Slove. & AcE weaponkill.amxx running
[ 14] Admin Chat 1.9.0.5249 AMXX Dev Team adminchat.amxx running
[ 15] Anti Flood 1.9.0.5249 AMXX Dev Team antiflood.amxx running
[ 16] Scrolling Message 1.9.0.5249 AMXX Dev Team scrollmsg.amxx running
[ 17] Info. Messages 1.9.0.5249 AMXX Dev Team imessage.amxx running
[ 18] Admin Votes 1.9.0.5249 AMXX Dev Team adminvote.amxx running
[ 19] TimeLeft 1.9.0.5249 AMXX Dev Team timeleft.amxx running
[ 20] Pause Plugins 1.9.0.5249 AMXX Dev Team pausecfg.amxx running
[ 21] Stats Configuration 1.9.0.5249 AMXX Dev Team statscfg.amxx running
[ 22] StatsX 1.9.0.5249 AMXX Dev Team statsx.amxx running
[ 23] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am running
[ 24] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a debug
[ 25] Ultimate Chats Control 5.2(c) neygomon ucc.amxx running
[ 26] unknown unknown unknown ucc_api_example running
[ 27] UCC Addon: VoteGAG 1.2 neygomon ucc_votegag.amx running
[ 28] UCC Addon: Sprite Stat 0.1 medusa ucc_spritestatu running
[ 29] Weapon Skin System 0.7.0-55 Mistrick weapon_skin_sys running
[ 30] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 31] Spectator Bots 2.1 SISA s_b.amxx running
[ 32] Micro Army Rank System 1.29Hz_p1 Ge3eR mars.amxx running
[ 33] unknown unknown unknown ExCLuSiVe_CSDM. running
[ 34] Connect Info 1.0 Hypa_[KZ] connect_info.am running
[ 35] Parachute 1.1 Random1, 93()|29 sub_parachute.a running
[ 36] AFK Control ReNew 1.2(a) neygomon afk_control.amx running
[ 37] Advanced Kill Assists 0.9 Spection next21_kill_ass running
[ 38] Ping Checker 26.0.1 RC1 h1k3 ping_checker.am running
[ 39] Show Damage 1.0 neygomon damager.amxx running
[ 40] Screen Fade [True Flas 1.0 Leo_[BH] screen_fade_fla running
[ 41] AntiFlash FINAL 5.0 Leo_[BH] antiflash5.amxx running
[ 42] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 43] Reset Score and Sound 1.0 FarCher NewResetScore.a running
[ 44] RE Vampire 1.0.7 MakapoH, AcE, RE re_vampire.amxx running
[ 45] Voteban CSR 0.8.5beta Leo_[BH] csr_voteban.amx running
[ 46] Demo Recorder 1.6 Sho0ter demorecorder.am running
[ 47] Time Lights 1.1 Leo_[BH] time_light.amxx running
[ 48] Simple Grenade Trail 1.0 seroff granade_trail.a running
[ 49] PLUGIN VERSION AUTHOR hidetimer.amxx running
[ 50] NoRound Balancer 1.3 neygomon noround_balance running
[ 51] unknown unknown unknown menuSystem.amxx running
[ 52] Spec Switch 0.0.3 many spec_switch_new running
[ 53] Kills Rarity 0.0.1 wopox1337 KillsRarity.amx running
[ 54] InName Combo Kills 0.0.2 wopox1337 InName_Combo_Ki running
[ 55] Grab 3.0 DEPO grab.amxx running
[ 56] Grab+ 1.2.3 Ian Cammarata grabvip.amxx running
[ 57] Bullet Whizz 1.4 Cheap_Suit Bullet_Whizz.am running
[ 58] Lite Admin ESP 1.0 neygomon admin_esp.amxx running
[ 59] Colored Spawn 1.2.2 fezh colored_spawn.a running
[ 60] Ad From Server 1.0 DePO ad_from_server. running
[ 61] Lite Translit 2.8 neygomon lite_translit.a running
[ 62] Map Manager: Core 3.0.5 Mistrick map_manager_cor running
[ 63] Map Manager: Scheduler 0.1.3 Mistrick map_manager_sch running
[ 64] Map Manager: Rtv 0.1.1 Mistrick map_manager_rtv running
[ 65] Map Manager: Nominatio 0.1.2 Mistrick map_manager_nom running
[ 66] Map Manager: BlockList 0.0.3 Mistrick map_manager_blo running
[ 67] Map Manager: Online so 0.0.2 Mistrick map_manager_onl running
[ 68] Map Manager: Effects 0.0.8 Mistrick map_manager_eff running
[ 69] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
69 plugins, 69 running
Автор плагина
Slove. & AcE
Версия плагина
Weapon Kill No Suicide", "1.2
Исходный код
#include <amxmodx>

#if !defined MAX_CLIENTS
const MAX_CLIENTS = 32
#endif
#if !defined MAX_NAME_LENGTH
const MAX_NAME_LENGTH = 32
#endif

#if AMXX_VERSION_NUM < 183
#include <colorchat>
#define client_disconnected client_disconnect
#endif

new bool:is_mp3_sound,
bool:g_bIsSwitch[MAX_CLIENTS +1]

new const sounds_list[2][] =
{
"awp_kill/knife_kill.wav",
"awp_kill/granade_kill.wav"
}

public plugin_precache()
{
for (new i; i < sizeof(sounds_list); i ++)
{
if (equali(sounds_list[i][strlen(sounds_list[i]) -4], ".mp3"))
{
is_mp3_sound = true
precache_generic(sounds_list[i])
}
else
{
is_mp3_sound = false
precache_sound(sounds_list[i])
}
}
}

public plugin_init()
{
register_plugin("Weapon Kill No Suicide", "1.2", "Slove. & AcE")
register_event("DeathMsg", "death_message", "a")
}

public client_putinserver(id) g_bIsSwitch[id] = true
public client_disconnected(id) g_bIsSwitch[id] = false

public death_message()
{
static killer, victim,
kname[MAX_NAME_LENGTH], vname[MAX_NAME_LENGTH]
killer = read_data(1), victim = read_data(2)

if (!g_bIsSwitch[killer]) return
if (!is_user_connected(killer) || victim == killer) return

get_user_name(killer, kname, charsmax(kname))
get_user_name(victim, vname, charsmax(vname))

new weapon[MAX_NAME_LENGTH]
read_data(4, weapon, charsmax(weapon))

if (equal(weapon, "knife"))
{
switch(is_mp3_sound)
{
case true: client_cmd(0, "mp3 play ^"sound/%s^"", sounds_list[0])
case false: client_cmd(0, "spk ^"%s^"", sounds_list[0])
}
if (read_data(3) != HIT_HEAD) client_print_color(0, print_team_red, "^4%s ^1зарезал ^4%s ^1и стал ^3свинорезом", kname,vname)
else client_print_color(0, print_team_red, "^4%s ^1зарезал в голову ^4%s ^1и стал ^3свинорезом с трофеем", kname,vname)
}
else if (equal(weapon, "grenade"))
{
if (victim != killer)
{
switch(is_mp3_sound)
{
case true: client_cmd(0, "mp3 play ^"sound/%s^"", sounds_list[1])
case false: client_cmd(0, "spk ^"%s^"", sounds_list[1])
}
client_print_color(0, print_team_red, "^4%s ^1подорвал ^4%s ^1и стал ^3подрывником.", kname,vname)
}
}
}
Не скачивается granade_kill.wav , в то время как с knife_kill.wav нет никаких проблем! Fastdl проверил, файл скачивается без проблем через браузер.

85.143.216.3/awp/sound/awp_kill/grenade_kill.wav
85.143.216.3/awp/sound/awp_kill/knife_kill.wav

P.S. В плагине изменен только текст
^4%s ^1подорвал ^4%s ^1и стал ^3подрывником.
^4%s ^1зарезал в голову ^4%s ^1и стал ^3свинорезом с трофеем
^4%s ^1зарезал ^4%s ^1и стал ^3свинорезом


В заранее спасибо.
 
В этой теме было размещено решение! Перейти к решению.
Статус
В этой теме нельзя размещать новые ответы.

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу