1. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    Тестируйте awp limit на reapi :D
    Код:
    #define MIN_AWP         1   
        // Минимальное количество awp на команду
        // Если лимит PERCENT_BY_ONLINE выдаст значение меньше чем в этом макросе, то лимит будет по нему
    #define PERCENT_BY_ONLINE    20
        // Процент awp на команду от общего числа игроков в ней. 
        // Например в тиме 16 тел, в макросе 20
        // На команду будет разрешено 3 авп
    
    ---

    Советую запастись попкорном и огнетушителем :D
     

    Вложения:

    Последнее редактирование: 03.12.16
    ExtraSens, HannibaL и umic нравится это.
  2. stop4ik Пользователь

    Регистрация:
    02.03.15
    Сообщения:
    129
    Симпатии:
    25
    Пол:
    Мужской
    Ща на ботах через 5 опробую, иммунка от лимита будет?
     
  3. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
  4. Punisher Пользователь

    Регистрация:
    08.02.16
    Сообщения:
    1.577
    Симпатии:
    201
    Пол:
    Мужской
    VKcom:
    wkolopunisher
    Telegram:
    punproject
    Skype:
    punproject
    воу ) ща затестим)
     
  5. Punisher Пользователь

    Регистрация:
    08.02.16
    Сообщения:
    1.577
    Симпатии:
    201
    Пол:
    Мужской
    VKcom:
    wkolopunisher
    Telegram:
    punproject
    Skype:
    punproject
    Проверяю на живом сервере. В общем карта выпала awp_india2 ну и ты понимаешь что там произошло :D было больше 10 игроков, но сколько с авп я не успел посмотреть ибо пиздетс начался. В общем добавь блок карт awp_ и тому подобных.
     
  6. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    @Punisher, это как бы логично, что там блок будет.
    так как я не учитывал это...
    на нормальной карте тести
     
  7. stop4ik Пользователь

    Регистрация:
    02.03.15
    Сообщения:
    129
    Симпатии:
    25
    Пол:
    Мужской
    @neygomon, или из-за ботов или я дурак, но если онлайн упадет меньше 10, а потом увеличиться, то купить апв нельзя
     
  8. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    @stop4ik,
    get_member_game(m_iNumTerrorist);
    и
    get_member_game(m_iNumCT);

    обновляются не в рантайме
     
  9. stop4ik Пользователь

    Регистрация:
    02.03.15
    Сообщения:
    129
    Симпатии:
    25
    Пол:
    Мужской
    @neygomon, чет вообще не понимаю, в начале я видел авп у тера в другой команде, а сам купить не мог(это было в 1 раунде) . А сейчас 17 чел, ни у кого нету апв и я купить тоже не могу. (боты могут покупать только авп если че)
     
  10. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    @stop4ik, побегай, потыкай покупку и тд...
    ну и через пару тройку раундов скинь лог amxmodx/logs/awp_limit.log
     

    Вложения:

  11. stop4ik Пользователь

    Регистрация:
    02.03.15
    Сообщения:
    129
    Симпатии:
    25
    Пол:
    Мужской
    @neygomon, я крч понял в чем прикол был, в рестартах, после него нельзя было покупать.
    --- добавлено 31.07.16 ---
    Там крч он после рестарта неправильно кол-во игроков определяет из-за этого блокировалось покупка
    07/31/2016 - 14:18:50: [Round Start]
    L 07/31/2016 - 14:18:12: [Round Start] TT 1 - CT 1
    L 07/31/2016 - 14:18:12: [CT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [TT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:12: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:13: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:22: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:40: [CT] remove awp | in team 2
    L 07/31/2016 - 14:18:43: [CT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:18:44: [CT] remove awp | in team 2
    L 07/31/2016 - 14:18:45: [TT] remove awp | in team 2
    L 07/31/2016 - 14:18:50: [Round Start] TT 1 - CT 2
    L 07/31/2016 - 14:18:51: [TT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:51: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:18:53: [CT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:05: [TT] remove awp | in team 2
    L 07/31/2016 - 14:19:05: [TT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:19:06: [TT] remove awp | in team 2
    L 07/31/2016 - 14:19:14: [Round Start] TT 1 - CT 3
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:16: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:14: [TT] remove awp | in team 2
    L 07/31/2016 - 14:21:14: [CT] remove awp | in team 3
    L 07/31/2016 - 14:21:19: [Round Start] TT 3 - CT 4
    L 07/31/2016 - 14:21:19: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:19: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:19: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:19: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:19: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:19: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:19: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:19: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:19: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:19: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:20: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:20: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:20: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:20: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:20: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:20: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:20: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:20: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:20: [TT] Players num 10 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:21:20: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:21:52: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:03: [TT] remove awp | in team 3
    L 07/31/2016 - 14:22:48: [CT] remove awp | in team 4
    L 07/31/2016 - 14:22:48: [CT] remove awp | in team 3
    L 07/31/2016 - 14:22:53: [Round Start] TT 5 - CT 4
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:54: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:22:56: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 5 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:23:11: [Round Start] TT 14 - CT 12
    L 07/31/2016 - 14:23:11: [TT] remove awp | in team 14
    L 07/31/2016 - 14:23:11: [CT] remove awp | in team 12
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:11: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:11: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:12: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [TT] Players num 10 | low 10 # awp in team 13 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:12: [CT] Players num 10 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:24: [CT] Players num 11 | low 10 # awp in team 11 | limit 2
    L 07/31/2016 - 14:23:28: [Round Start] TT 17 - CT 16
    L 07/31/2016 - 14:23:28: [TT] remove awp | in team 17
    L 07/31/2016 - 14:23:28: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:28: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:28: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:28: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:28: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:29: [TT] Players num 10 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:30: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:35: [CT] Players num 11 | low 10 # awp in team 16 | limit 2
    L 07/31/2016 - 14:23:45: [Round Start] TT 25 - CT 25
    L 07/31/2016 - 14:23:45: [TT] remove awp | in team 25
    L 07/31/2016 - 14:23:45: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:45: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:45: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:45: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:46: [TT] Players num 10 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:23:46: [CT] Players num 10 | low 10 # awp in team 25 | limit 2
    L 07/31/2016 - 14:23:53: [CT] remove awp | in team 25
    L 07/31/2016 - 14:23:56: [CT] Players num 11 | low 10 # awp in team 24 | limit 2
    L 07/31/2016 - 14:24:02: [Round Start] TT 33 - CT 34
    L 07/31/2016 - 14:24:02: [TT] remove awp | in team 33
    L 07/31/2016 - 14:24:02: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:02: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:02: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [TT] Players num 10 | low 10 # awp in team 32 | limit 2
    L 07/31/2016 - 14:24:03: [CT] Players num 10 | low 10 # awp in team 34 | limit 2
    L 07/31/2016 - 14:24:19: [Round Start] TT 42 - CT 44
    L 07/31/2016 - 14:24:19: [TT] remove awp | in team 42
    L 07/31/2016 - 14:24:19: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:19: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:19: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:19: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
    L 07/31/2016 - 14:24:20: [TT] Players num 10 | low 10 # awp in team 41 | limit 2
    L 07/31/2016 - 14:24:20: [CT] Players num 10 | low 10 # awp in team 44 | limit 2
     
    Последнее редактирование: 31.07.16
  12. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    @stop4ik, вся проблема тут:
    Код:
    L 07/31/2016 - 14:19:14: [Round Start] TT 1 - CT 3
    L 07/31/2016 - 14:19:14: [CT] Players num 11 | low 10 # awp in team 3 | limit 2
    L 07/31/2016 - 14:19:14: [TT] Add awp | in team 2 | limit 2
    какой то неебической магией было 2 авп в тиме, а стало 3 :D
     
  13. stop4ik Пользователь

    Регистрация:
    02.03.15
    Сообщения:
    129
    Симпатии:
    25
    Пол:
    Мужской
    @neygomon, я обновил логи. Ботов 20 чел и ни у одного апв нету
     
  14. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    @stop4ik, стопни сервер, удали файл awp_limit.log, перезалей плагин и го еще раз тест:)
     

    Вложения:

  15. stop4ik Пользователь

    Регистрация:
    02.03.15
    Сообщения:
    129
    Симпатии:
    25
    Пол:
    Мужской
    @neygomon,
    L 07/31/2016 - 14:32:09: Log file started (file "cstrike\addons\amxmodx\logs\awp_limit.log") (game "cstrike") (amx "1.8.3-dev+5067")
    L 07/31/2016 - 14:32:09: [CT] Add awp | in team 1 | limit 1
    L 07/31/2016 - 14:32:09: [TT] Add awp | in team 1 | limit 1
    L 07/31/2016 - 14:32:10: [TT] Players num 2 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:10: [CT] Players num 2 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:10: [TT] Players num 3 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:11: [CT] Players num 3 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:11: [Round Start] TT 0 - CT 1
    L 07/31/2016 - 14:32:12: [CT] Players num 4 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:12: [CT] Players num 4 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:12: [TT] Add awp | in team 1 | limit 1
    L 07/31/2016 - 14:32:12: [TT] Players num 5 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:12: [CT] Players num 4 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:12: [CT] Players num 4 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:12: [TT] Players num 5 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:12: [TT] Players num 5 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:13: [TT] Players num 5 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:13: [CT] Players num 6 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:14: [TT] Players num 6 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:14: [CT] Players num 7 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:15: [TT] Players num 7 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:15: [CT] Players num 8 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:16: [TT] Players num 9 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:16: [TT] Players num 9 | low 10 # awp in team 1 | limit 1
    L 07/31/2016 - 14:32:17: [CT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:32:17: [CT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:18: [TT] Add awp | in team 2 | limit 2
    L 07/31/2016 - 14:32:19: [TT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:19: [CT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:42: [CT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:42: [CT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:42: [CT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:42: [TT] Players num 11 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:42: [CT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:42: [CT] Players num 10 | low 10 # awp in team 2 | limit 2
    L 07/31/2016 - 14:32:42: [Round Start] TT 8 - CT 8
    L 07/31/2016 - 14:32:42: [CT] remove awp | in team 8
    L 07/31/2016 - 14:32:42: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:43: [CT] Players num 9 | low 10 # awp in team 7 | limit 1
    L 07/31/2016 - 14:32:43: [TT] Players num 11 | low 10 # awp in team 8 | limit 2
    L 07/31/2016 - 14:32:51: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:32:59: [Round Start] TT 5 - CT 7
    L 07/31/2016 - 14:32:59: [TT] remove awp | in team 5
    L 07/31/2016 - 14:32:59: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [TT] Players num 11 | low 10 # awp in team 4 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:00: [CT] Players num 10 | low 10 # awp in team 7 | limit 2
    L 07/31/2016 - 14:33:16: [Round Start] TT 9 - CT 9
    L 07/31/2016 - 14:33:16: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [CT] Players num 10 | low 10 # awp in team 9 | limit 2
    L 07/31/2016 - 14:33:17: [TT] Players num 11 | low 10 # awp in team 9 | limit 2
     
  16. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    @stop4ik, wtf? откуда у них столько awp? :D
    --- добавлено 31.07.16 ---
    На локалке погоняю сначала)
     
    HannibaL нравится это.
  17. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    го тестить!!!!
     
  18. Slowpoked Пользователь

    Регистрация:
    08.11.15
    Сообщения:
    241
    Симпатии:
    45
    Пол:
    Мужской
    @neygomon, может быть прозвучит глупо, НО неплохо бы сделать натив ...

    Допустим использовать его во всяких ViP плагинах итд итп.
     
  19. neygomon Его Темнейшество :j Команда форума

    Регистрация:
    26.02.15
    Сообщения:
    7.600
    Симпатии:
    4.173
    Пол:
    Мужской
    @Slowpoked, сначала бы оттестить "это"
     
  20. pm-04 Пользователь

    Регистрация:
    02.02.16
    Сообщения:
    603
    Симпатии:
    79
    Пол:
    Мужской
    Если в команде VIP-игрок, авп не покупается вообще (пробовал поставить на паузу випку-также), взял авп из випки, бросил другому игроку, чтобы проверить, и оп никто уже не может его поднять, включая меня