[OS] Gift Round End

[OS] Gift Round End 1.0

KiKiEEKi

🏆 🥇
Сообщения
653
Реакции
513
  • Автор ресурса
  • #1

KiKiEEKi

🏆 🥇
Сообщения
653
Реакции
513
  • Автор ресурса
  • #3
@Atmosfera, Вот проверь, потом отпишись обновлю ресурс.
 

Вложения

  • [OS]GiftRoundEnd.zip
    9.9 КБ · Просмотры: 6
Последнее редактирование:

Atmosfera

-4CB.Party
Сообщения
167
Реакции
39
@Atmosfera, Вот проверь, потом отпишись обновлю ресурс.
Только сейчас заметил что изменили, извиняюсь.

Закинул плагин, вот такая ошибка в консоле, настоятельно требует LevelRanks
C-подобный:
[OS]GiftRoundEnd.smx ([OS] Gift Round End): Could not find required plugin "levelsranks"
 

KiKiEEKi

🏆 🥇
Сообщения
653
Реакции
513
  • Автор ресурса
  • #5
@Atmosfera, Удалите старый cfg, добавлены новые квары а старые изменены.
Обновил пост выше, скачайте снова архив.
 

Atmosfera

-4CB.Party
Сообщения
167
Реакции
39
@Atmosfera, Удалите старый cfg, добавлены новые квары а старые изменены.
Обновил пост выше, скачайте снова архив.
Всё работает, но в чате ошибка, пишет что выдалось дофига опыта, в Конфиге прописал 100, в итоге выдалось 100 опыта как надо, но чат думает другое)

1644251827316.png
 

KiKiEEKi

🏆 🥇
Сообщения
653
Реакции
513
  • Автор ресурса
  • #7

Вложения

  • [OS]GiftRoundEnd.zip
    9.9 КБ · Просмотры: 4

Atmosfera

-4CB.Party
Сообщения
167
Реакции
39
Такая же фигня + в чате выдаёт еще и БОТам зачем-то
 

PCH3LK1N

Участник
Сообщения
82
Реакции
14
Не каждый раунд выдаёт случайный подарок, а если выдаёт, то почему-то одному игроку больше, чем другим.

L 02/25/2022 - 11:49:45: [SM] Exception reported: Client index 0 is invalid
L 02/25/2022 - 11:49:45: [SM] Blaming: shop.smx
L 02/25/2022 - 11:49:45: [SM] Call stack trace:
L 02/25/2022 - 11:49:45: [SM] [0] ThrowNativeError
L 02/25/2022 - 11:49:45: [SM] [1] Line 105, addons/sourcemod/scripting/shop/player_manager.sp::PlayerManager_GiveClientCredits
L 02/25/2022 - 11:49:45: [SM] [3] Shop_GiveClientCredits
L 02/25/2022 - 11:49:45: [SM] [4] Line 87, D:\ђ\[OS]GiftRoundEnd.sp::GetRandomClient
L 02/25/2022 - 11:49:45: [SM] [5] Line 65, D:\ђ\[OS]GiftRoundEnd.sp::Event_RoundEnd
 

PCH3LK1N

Участник
Сообщения
82
Реакции
14
Я так понимаю фикса плагина не будет?
 

Nekro

Терра инкогнита
Сообщения
4,023
Реакции
2,260
Работает хорошо, но на сервере в чат все равно пишет большие числа, вместо 50.0 (как в конфиге) :(

мб что-то у меня на сервере конфликтует🧐
Учитываются только целые числа 50,а не дроби 50.0
 

Grey83

не пишу плагины с весны 2022
Сообщения
8,517
Реакции
4,979
Почистил чуток, упростил код и исправил косяк с выбором случайного игрока (массив игроков неправильно заполнялся).
 

Вложения

  • [OS]GiftRoundEnd 1.0.1.sp
    4.2 КБ · Просмотры: 18

Туник

Участник
Сообщения
1,281
Реакции
263
Ещё бы прикрутить к плагину красивую выдачу что-то типо картинки в конце раунда, показ игроку по центру экрана.
 

PCH3LK1N

Участник
Сообщения
82
Реакции
14
Почему пишет, что выдаёт по 4 кредитов? Прописано 1000
// Сколько кредитов получит игрок
// -
// Default: "1000"
sm_gre_credits "1000"
 

Вложения

  • 1D-uknneH9c.jpg
    1D-uknneH9c.jpg
    165.8 КБ · Просмотры: 43

babka68

Участник
Сообщения
2,124
Реакции
956
@KiKiEEKi Здравствуйте, поправите?)

- Игра CS GO
- SourceMod Version: 1.11.0.6926
- "[OS] Gift Round End" (1.0) by KiKiEEKi (vk.com/kikieeki)

C-подобный:
L 01/18/2023 - 17:25:53: [SM] Exception reported: Client index 0 is invalid
L 01/18/2023 - 17:25:53: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:25:53: [SM] Call stack trace:
L 01/18/2023 - 17:25:53: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:25:53: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:25:53: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:25:53: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:25:53: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:25:53: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:27:27: [SM] Exception reported: Client index 13 is not in game
L 01/18/2023 - 17:27:27: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:27:27: [SM] Call stack trace:
L 01/18/2023 - 17:27:27: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:27:27: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:27:27: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:27:27: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:27:27: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:27:27: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:28:44: [SM] Exception reported: Client index 13 is not in game
L 01/18/2023 - 17:28:44: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:28:44: [SM] Call stack trace:
L 01/18/2023 - 17:28:44: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:28:44: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:28:44: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:28:44: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:28:44: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:28:44: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:29:37: [SM] Exception reported: Client index 0 is invalid
L 01/18/2023 - 17:29:37: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:29:37: [SM] Call stack trace:
L 01/18/2023 - 17:29:37: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:29:37: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:29:37: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:29:37: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:29:37: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:29:37: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:30:30: [SM] Exception reported: Client index 7 is not in game
L 01/18/2023 - 17:30:30: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:30:30: [SM] Call stack trace:
L 01/18/2023 - 17:30:30: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:30:30: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:30:30: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:30:30: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:30:30: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:30:30: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
 

KiKiEEKi

🏆 🥇
Сообщения
653
Реакции
513
  • Автор ресурса
  • #18
@KiKiEEKi Здравствуйте, поправите?)

- Игра CS GO
- SourceMod Version: 1.11.0.6926
- "[OS] Gift Round End" (1.0) by KiKiEEKi (vk.com/kikieeki)

C-подобный:
L 01/18/2023 - 17:25:53: [SM] Exception reported: Client index 0 is invalid
L 01/18/2023 - 17:25:53: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:25:53: [SM] Call stack trace:
L 01/18/2023 - 17:25:53: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:25:53: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:25:53: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:25:53: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:25:53: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:25:53: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:27:27: [SM] Exception reported: Client index 13 is not in game
L 01/18/2023 - 17:27:27: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:27:27: [SM] Call stack trace:
L 01/18/2023 - 17:27:27: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:27:27: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:27:27: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:27:27: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:27:27: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:27:27: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:28:44: [SM] Exception reported: Client index 13 is not in game
L 01/18/2023 - 17:28:44: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:28:44: [SM] Call stack trace:
L 01/18/2023 - 17:28:44: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:28:44: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:28:44: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:28:44: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:28:44: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:28:44: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:29:37: [SM] Exception reported: Client index 0 is invalid
L 01/18/2023 - 17:29:37: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:29:37: [SM] Call stack trace:
L 01/18/2023 - 17:29:37: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:29:37: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:29:37: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:29:37: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:29:37: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:29:37: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
L 01/18/2023 - 17:30:30: [SM] Exception reported: Client index 7 is not in game
L 01/18/2023 - 17:30:30: [SM] Blaming: shop/shop.smx
L 01/18/2023 - 17:30:30: [SM] Call stack trace:
L 01/18/2023 - 17:30:30: [SM]   [0] ThrowNativeError
L 01/18/2023 - 17:30:30: [SM]   [1] Line 119, shop/player_manager.sp::PlayerManager_GiveClientCredits
L 01/18/2023 - 17:30:30: [SM]   [3] Shop_GiveClientCredits
L 01/18/2023 - 17:30:30: [SM]   [4] Line 87, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClient
L 01/18/2023 - 17:30:30: [SM]   [5] Line 104, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::GetRandomClientSeveral
L 01/18/2023 - 17:30:30: [SM]   [6] Line 68, D:\Server\cstrike\addons\sourcemod\scripting\[OS]GiftRoundEnd.sp::Event_RoundEnd
Попробуй
 

Вложения

  • [OS]GiftRoundEnd.sp
    5.2 КБ · Просмотры: 9
Сверху Снизу