Closed SmokeyMcGames closed 10 months ago
As with the another issue posted, I think that the reason for the issue somehow connected with the Server.MaxPlayers variable on your server. Could you please confirm the maximum number of players on your server just in case?
And do you have Windows or linux server?
This is a windows server and I've been setting max players to 20 in the start command line batch. There seems to not be any change when changing the amount of players when it comes to the crashing. Also just want to add that I used your recommendation for +game_type 0 +game_mode 0 in the command batch as well when starting the server.
Thanks for putting this mod together, but I also have this same issue. I set the server to limit lower (such as 32, but have tried as low as 2), but this does not seem to fix the problem.
.\cs2 -dedicated +game_type 0 +game_mode 0 +map de_dust2 -maxplayers 2
I am also on Windows and am running your version from today (v1.03)
Thanks again, looking forward to playing this with friends!
Thanks for putting this mod together, but I also have this same issue. I set the server to limit lower (such as 32, but have tried as low as 2), but this does not seem to fix the problem.
.\cs2 -dedicated +game_type 0 +game_mode 0 +map de_dust2 -maxplayers 2
I am also on Windows and am running your version from today (v1.03)
Thanks again, looking forward to playing this with friends!
Error related to the player quantity is another issue: https://github.com/ssypchenko/cs2-gungame/issues/1
This issue is with the problem that the plugin can't remove weapons from players on Windows at the moment when the player joins a team. :(
I raised an issue on CSS Git Hub about it.
Привет. gg_version не работает в 1.0.3 - будет в 1.0.4 Проще всего проверить командой css_plugins list Он будет в списке загруженных плагинов со статусом "LOADED". Если статус другой, то беда. Ну еще должны работать команды в чате !top и !rank В дискорде CounterStrileSharp в ветке поддержки плагина я привёл список необходимых переменных, чтобы сервер работал как надо. Одна из них mp_warmuptime 0 В этом случае штатного разогрева контры не будет, а будет только разогрев, обрабатываемый плагином.
Надеюсь помог.
On Wed, 10 Jan 2024 at 12:44, garik-76 @.***> wrote:
День добрый! Как понять что плагин gg2 загружен? После входа на сервер перед тем как он выдаст ошибку начинается отчет времени разогревочного раунда. Время для разогрева сервер берет из конфигурации gamemode_casual а не из gungame.json. Сервер Windows. meta.jpg (view on web) https://github.com/ssypchenko/cs2-gungame/assets/156197673/7670945b-3f27-4ae1-b0bf-2267dd429de6 load.gg.jpg (view on web) https://github.com/ssypchenko/cs2-gungame/assets/156197673/3010c5a1-75ca-434a-8e42-5893b6024906 gg_version.jpg (view on web) https://github.com/ssypchenko/cs2-gungame/assets/156197673/f2335456-b410-4aaf-b449-2cafa43b9405
— Reply to this email directly, view it on GitHub https://github.com/ssypchenko/cs2-gungame/issues/2#issuecomment-1884782599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJOKNOD2QZOLMHN6OXF2HTYN2EJJAVCNFSM6AAAAABBHJO5PGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUG44DENJZHE . You are receiving this because you commented.Message ID: @.***>
День добрый! Как понять что плагин gg2 загружен?
Would you please ask for support in Discord here: https://discord.com/channels/1160907911501991946/1189008468439474226
css_plugins list Команда работает
css_plugins list Команда работает
Супер. Я удалю твои посты отсюда, т.к. они не по теме топика. Переходи для поддержки в Дискорд, пожалуйста. Ссылка выше. Once again, support is in Discord
Looks like there is a workaround at least. :) Thanks so much @ssypchenko for all your work on this! Looking forward to playing with my friends!
I have also faced this issue on my local Windows server, here's what I've been using in the meantime
// TODO: once this stops crashing on windows use it there too if (Environment.OSVersion.Platform == PlatformID.Unix) { player.RemoveWeapons(); } else { if (player.PlayerPawn.Value == null || player.PlayerPawn.Value.WeaponServices == null) { return; } foreach (var weapon in player.PlayerPawn.Value.WeaponServices.MyWeapons) { if (weapon is not { IsValid: true, Value.IsValid: true }) { continue; } player.PlayerPawn.Value.RemovePlayerItem(weapon.Value); weapon.Value.Remove(); } }
I made a fork and tried to fix it myself. https://github.com/LawrenceWeng/cs2-gungame
The error is gone, but now it just exits without any error messages. I am too new at this to know how to debug any further.
I made a fork and tried to fix it myself. https://github.com/LawrenceWeng/cs2-gungame
This is a good idea about the workaround. Unfortunately, I'm quite busy testing and fixing some small errors so I did not have time to implement your suggestion. I installed the Windows server for tests and I will try to test the workaround. But please understand me, my main server is on linux and I focused to have the working plugin without daily issues on my server. ANyway, I'll check and keep you posted.
With CSS v153 the issue is fixed.
Server crashes when joining and selecting a side. CSSharp log shows InvocationException.
Here's the CSSharp log as well
log-all20231229.txt
Running the server with the plugin removed from the CSSharp plugins folder has the server running without issue.