Giter Club home page Giter Club logo

gotvcrashfix's Introduction

GOTVCrashFix

A Metamod plugin that fixes crashing induced by enabled gotv. This crash happens as a result of mismatched maxplayers between game session config and the rest of the game. The entity system would use the wrong maxplayers to reserve space for player controllers and thus when the last player filling up the server would join, it would kill the first new entity (most often cs_team_manager) and crash the entire server.

Symptoms caused by this bug

  • HandleCommand_JoinTeam( xxxx ) - invalid team index.
  • Random entity being randomly killed (e.g. sky, team manager)
  • strlen crash inside vsnprintf with %s<%i><%s><%s> ChangeTeam() CTMDBG , team %d , req team %d willSwitch format
  • ClientPutInServer removed entity [] that was in player controller entindex

gotvcrashfix's People

Contributors

poggicek avatar

Stargazers

 avatar Bahodir avatar  avatar Pablo Marquínez Ferrándiz avatar skyprah avatar  avatar  avatar CS2ZONE.RO avatar Morten Rode Enghausen avatar Boink avatar Nyano avatar LynchMus avatar Erik Mende avatar crashzk avatar rcon_password avatar Sachin avatar Vidmantas Valskis avatar

Watchers

Morell avatar  avatar Erik Mende avatar StefanX avatar

gotvcrashfix's Issues

GOTV strikes again

Hi. Since the CS2 update on April 25, GOTV has been causing server crashes after the end of each match (disabling GOTV with the -nohltv parameter eliminates the crashes).
Would you be able to implement a fix for this as well?

The only logs I have:

-- Performance report --
Summary of 97735 frames.  (16812 frames excluded from analysis.)

                        All frames         Active frames   
                          Avg    P99        N    Avg    P99
---------------------- ------ ------   ------ ------ ------
            FrameTotal  15.63  15.66    97735  15.63  15.66
              Sleeping  12.70  13.62    97734  12.70  13.62
     Server Simulation   2.80   4.62    97733   2.80   4.62
           Server Game   1.69   2.76    97733   1.69   2.76
Server Send Networking   0.31   0.48    97733   0.31   0.48
  Server CheckTransmit   0.16   0.26    97733   0.16   0.26
        Server Physics   0.12   0.35    97733   0.12   0.35
   Server PackEntities   0.11   0.23    97733   0.11   0.23
                  HLTV   0.07   0.13    97733   0.07   0.13
                  Fire   0.00   0.09     6660   0.05   0.59

VProfLite stopped.
CHANGE LEVEL: de_mirage
Changelevel de_mirage (null)
CHostStateMgr::QueueNewRequest( Changelevel (de_mirage), 3 )
SV:  CNetworkServerService::StartChangeLevel( (no landmark) )
HostStateRequest::Start(HSR_GAME):  loop(levelload) id(3) addons() desc(Changelevel (de_mirage))
SwitchToLoop levelload requested:  id [3] addons []
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
Completed SourceTV demo "replays/auto-20240502-1921-de_mirage-_____FFA____CS2_ONLY_MIRAGE______XXX.dem", recording time 1871.0, size 191727551 (1601 per tick)
SV:  Server shutting down: NETWORK_DISCONNECT_LOOPDEACTIVATE (55)
/home/servers/bin/games/CS2.sh: line 71: 2690873 Segmentation fault      start-stop-daemon --start --chuid $USER:$GROUP -m --pidfile $PID_FILE --chdir $USER_DIR/$BIN_DIR --exec $USER_DIR/$BIN_DIR/$BIN_NAME -- $GAME_PARAMS +sv_hibernate_when_empty 0

I'm using the updated version of this plugin (silent update).

Poggu pls fix

GOTV crashes server on map change if recording (not stopping it manually) since 25th of April's update.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.