Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Server crashes on changelevel after map vote (0.8.6) #241

Open
aronmgv opened this issue Oct 24, 2024 · 10 comments
Open

BUG: Server crashes on changelevel after map vote (0.8.6) #241

aronmgv opened this issue Oct 24, 2024 · 10 comments

Comments

@aronmgv
Copy link

aronmgv commented Oct 24, 2024

Since nobody replied to me in the first thread for this bug creating new issue. The problem is still the same as before. Still happening on 0.8.6. I just updated everything to the latest version. If the map is changed before match, it will successfully change. However if it happens right after the match it will crash the server! Disabling HLTV (tv_enable 0) overcomes it for now, but having HLTV is nice, so please have a look at it. Thanks!

Here are the logs:

[Tick 7545]['MacGyver' depth=5 (6923..6927) ping=0ms] CQ bloat: removed 2, max: 4, 1 ticks this frame

[Tick 7747]['MacGyver' empty starved x1=15.6ms ping=0ms] LATE Recv usercmd 7124.  Margin:  2.9ms net +-1 queue =-12.7 total

CHostStateMgr::QueueNewRequest( Changelevel (de_zoo), 4 )

SV:  CNetworkServerService::StartChangeLevel( (no landmark) )

Client 3 'MacGyver' signon state SIGNONSTATE_FULL -> SIGNONSTATE_CHANGELEVEL

Client 4 'Martin' signon state SIGNONSTATE_FULL -> SIGNONSTATE_CHANGELEVEL

HostStateRequest::Start(HSR_GAME):  loop(levelload) id(4) addons(3101352333) desc(Changelevel (de_zoo))

SwitchToLoop levelload requested:  id [4] addons [3101352333]

SV:  IGameSystem::LoopDeactivateAllSystems {
HO:  IGameSystem::LoopDeactivateAllSystems {
HO:  } IGameSystem::LoopDeactivateAllSystems done
SV:  } IGameSystem::LoopDeactivateAllSystems done
SourceTV[0] shutting down (non-relay) due to server disconnecting game.
CHLTVServer::Shutdown

[#1753661085 UDP steamid:[email protected]:55213 'MacGyver'] closed by peer (2055): NETWORK_DISCONNECT_LOOPDEACTIVATE

[#3252562966 UDP steamid:[email protected]:25150 'Martin'] closed by peer (2055): NETWORK_DISCONNECT_LOOPDEACTIVATE
Completed SourceTV demo "MatchZy/2024-10-23_23-26-37_120_de_nuke_team_MacGyver_vs_team_Martin.dem":Recording time 122.3,Size 4302564 (549 per tick).Animation data size 730476 (93 per tick).

CNetworkGameServerBase::SetServerState (ss_active -> ss_dead)

SV:  Server shutting down: NETWORK_DISCONNECT_LOOPDEACTIVATE (55)

CNetworkGameServerBase::SetServerState (ss_active -> ss_dead)

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()

CPlayerVoiceListener::PostSpawnGroupUnload()
[exited]

[  OK  ] Access console cs2_cw1: Closing console
gamer@caradhras:/srv/cs2$
@shobhit-pathak
Copy link
Owner

Hey!

Apologies for not replying earlier. As far as I know, the crash is not because of MatchZy, hence nothing can be done from the plugin side. Maybe you can try setting tv delay as 0 rather than disabling CSTV, as there were some findings that tv_delay can cause crashes on map change.

Thanks!

@milkywayfarer
Copy link
Contributor

We tried setting tv_delay to 0 but it didn't help. Same setup as you all, latest versions of CSS and MatchZy.

This issue was created in CSS repo: roflmuffin/CounterStrikeSharp#646

Seems like the crash on changing the map while recording a demo returned.

@milkywayfarer
Copy link
Contributor

This issue has been fixed with the latest update for CounterStrikeSharp.

@aronmgv
Copy link
Author

aronmgv commented Nov 18, 2024

Will test, thanks!

@batmacumba
Copy link

I'm having this problem. Updating CSS to v291 did not help. Can anyone help?

@milkywayfarer
Copy link
Contributor

I'm having this problem. Updating CSS to v291 did not help. Can anyone help?

We are having a game on Wednesday. Will test again and post the result here. Maybe the latest CS2 update broke some signatures again.

@batmacumba
Copy link

Disabling auto record with tv_autorecord 0 was a workaround here, if anyone's interested.

@milkywayfarer
Copy link
Contributor

Disabling auto record with tv_autorecord 0 was a workaround here, if anyone's interested.

Does the plugin still record parseable demos with this cvar?

@batmacumba
Copy link

I don't think so.

@milkywayfarer
Copy link
Contributor

@batmacumba We played a full BO3 today using previous version of MatchZy and the current version of CS#. No crashes, demos recorded correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants