Плагин botnames переименовывает перерподключившихся игроков

Тема в разделе "Counter-Strike: Source", создана пользователем MaEStro71, 30 апр 2016.

  1. MaEStro71

    MaEStro71

    Сообщения:
    165
    Симпатии:
    5
    Собственно проблема вот в чём. Плагин botnames переименовывает ники переподключившихся игроков, на те которые прописаны в botnames.txt
    На SM 1.4.2 такой проблемы не наблюдал. Проблема возникла после перехода на SM 1.6.3.

    L 04/30/2016 - 10:12:52: [SM] Native "GetClientName" reported: Client 2 is not connected
    L 04/30/2016 - 10:12:52: [SM] Displaying call stack trace for plugin "botnames.smx":
    L 04/30/2016 - 10:12:52: [SM] [0] Line 327, C:\Users\Alexey\Desktop\compilator\addons\sourcemod\scripting\botnames.sp::DoBotName()
    L 04/30/2016 - 10:12:52: [SM] [1] Line 513, C:\Users\Alexey\Desktop\compilator\addons\sourcemod\scripting\botnames.sp::Timer_BotSetup()


    01 "Admin Help" (1.6.3) by AlliedModders LLC
    02 "TeamSwitch" (1.3) by MistaGee
    03 "Map Nominations" (1.3.7) by AlliedModders LLC
    04 "Basic Votes" (1.6.3) by AlliedModders LLC
    05 "[Shop] Aura" (1.2) by R1KO
    06 "Round time extender" (1.0) by Richard Helgeby
    07 "SM WeaponGiver" (1.0) by LightningZLaser
    08 "Zombie e Human Parachute" (by Nano) by Amauri Bueno dos santos
    09 "Basic Commands" (1.6.3) by AlliedModders LLC
    10 "Basic Info Triggers" (1.6.3) by AlliedModders LLC
    11 "[Shop] Long Jump" (1.3) by R1KO
    12 "[ Say Sound ]" (1.0) by Regent
    13 "Players Votes fix rus" (1.5.2) by Sniper
    14 "Grenade Effects" (1.7) by FrozDark (HLModders.ru LLC)
    15 "precache_hinttext_sound.smx"
    16 "[Shop] Money Distributor" (1.4.3) by FrozDark (HLModders LLC)
    17 "RealisticBulletSound" (1.3.12.23) by javalia
    18 "Thirdperson" (1.5) by shavit
    19 "Advertisements" (0.5.5) by Tsunami
    20 "Player Commands" (1.6.3) by AlliedModders LLC
    21 "No armor for zombies" (1.0) by REZOR (css-pro.ru)
    22 "Auto !zspawn" (1.0.1) by Darkthrone, Otstrel Team, TigerOx, TechKnow, AlliedModders LLC
    23 "Server Uptime" (1.0.0) by AlmazON
    24 "[CS] Custom Weapons" (1.1.27) by FrozDark
    25 "Weapon Menu" (01.02) by Natalya[AF] edit WeSTMan
    26 "NoBlock" (1.4.2) by Otstrel.ru Team
    27 "Extra Cash" (0.2) by Peoples Army
    28 "Status Protect" (1.0.0) by GoDtm666
    29 "RankMe" (2.8.3) by lok1
    30 "Botsplugin" (2.0) by act!0n
    31 "Fun Commands" (1.6.3) by AlliedModders LLC
    32 "Zombie:Reloaded" (3.0.0-b2) by Greyscale | Richard Helgeby
    33 "Rock The Vote" (1.3.7) by AlliedModders LLC
    34 "Steam Protect" (1.1) by wS / World-Source.Ru
    35 "ZProp" (1.3) by Darkthrone, Greyscale
    36 "[Shop] Trails" (2.2.3) by FrozDark (HLModders LLC)
    37 "Basic Chat" (1.6.3) by AlliedModders LLC
    38 "Round and Map End Sound" (2.4.5) by FrozDark (HLModders.ru LLC)
    39 "Show Damage" (1.0.7) by exvel
    40 "RestartGame" (0.1) by InCognIto
    41 "[Shop] Paintball" (2.1.1) by FrozDark (HLModders LLC)
    42 "[VIP] Auto Silencer" (1.0.0) by R1KO
    43 "[VIP] Skins (for v34)" (1.0.5 (for v34)) by R1KO (skype: vova.andrienko1)
    44 "[VIP] Vips Online" (1.0.1) by R1KO (skype: vova.andrienko1)
    45 "[VIP] Chat" (1.0.0) by R1KO (skype: vova.andrienko1)
    46 "[VIP] Damage Change" (1.0.0) by R1KO
    47 "[VIP] Tracers" (1.0.1) by R1KO
    48 "[VIP] Shop Discounts" (1.0.3) by R1KO (skype: vova.andrienko1)
    49 "[VIP] Electro Effects" (1.0.2) by R1KO & acik
    50 "[VIP] Grenades (CS:S)" (1.0.0) by R1KO
    51 "[VIP] Core" (2.0.1 DEV (build 220314-1)) by R1KO (skype: vova.andrienko1)
    52 "[VIP] No Fall Damage" (1.0.0) by R1KO (skype: vova.andrienko1)
    53 "[VIP] Speed" (1.0.0) by R1KO (skype: vova.andrienko1)
    54 "Delay Round End" (1.0.0) by GoDtm666
    55 "Client Preferences" (1.6.3) by AlliedModders LLC
    56 "PermaMute" (0.1) by Ryan "Rusification Punkk"
    57 "MapChooser" (1.3.7) by AlliedModders LLC
    58 "Reserved Slots" (1.6.3) by AlliedModders LLC
    59 "Anti-Flood" (1.6.3) by AlliedModders LLC
    60 "Ban disconnected players" (1.04) by mad_hamster
    61 "IP Range Ban" (0.0.1) by Seather
    62 "[Shop] Core" (2.0.22) by FrozDark
    63 "Enter server sound" (1.6) by Kemsan
    64 "[Shop] Nades" (2.0.0) by FrozDark (HLModders LLC)
    65 "Tripmines" (4.0) by L. Duke and Naris
    66 "Nextmap" (1.6.3) by AlliedModders LLC
    67 "FireWaLL Super Admin" (1.03e) by LightningZLaser
    68 "Kigen's Anti-Cheat" (1.2.2.9.9.3) by Kigen, GoD-Tony, psychonic and GoDtm666.
    69 "Connect Announce" (1.6) by Arg!
    70 "Ammo Script for Zombie:Reloaded" (2.1) by [SG-10]Cpt.Moore, Richard Helgeby, Kyle Sanderson
    71 "Bot Names ZM" (1.2.2) by Rakeri
    72 "Fun Votes" (1.6.3) by AlliedModders LLC
    73 "Basic Comm Control" (1.6.3) by AlliedModders LLC
    74 "Admin Menu" (1.6.3) by AlliedModders LLC
    75 "SourceBans" (1.4.9) by SourceBans Development Team
    76 "Sound Commands" (1.6.3) by AlliedModders LLC
    77 "Admin File Reader" (1.6.3) by AlliedModders LLC
     
  2. AlmazON

    AlmazON деревянный © yand3xmail

    Сообщения:
    4.512
    Симпатии:
    1.963
    В ошибке. Исправить и наверняка баг прекратится. Для этого нужен исходник плагина или ссылка на него, если не было изменений кода.
     
  3. MaEStro71

    MaEStro71

    Сообщения:
    165
    Симпатии:
    5
     

    Вложения:

    • botnames.sp
      Размер файла:
      18,1 КБ
      Просмотров:
      14
  4. AlmazON

    AlmazON деревянный © yand3xmail

    Сообщения:
    4.512
    Симпатии:
    1.963
    Особо разбираться неохота, поменяй 513 строку:
    Код:
    DoBotName(client, false);
    На:
    PHP:
    if (IsClientInGame(client)) DoBotName(clientfalse);
     
    MaEStro71 нравится это.
  5. MaEStro71

    MaEStro71

    Сообщения:
    165
    Симпатии:
    5
    Спасибо! Ошибка пропала. А с игроками, посмотрим. Время покажет :ab:
    --- Добавлено позже ---
    Всё равно переименовывает :ac:

    P.S : уже нет
     
    Последнее редактирование: 24 июн 2016