"system crash!" in server log

ZaggyZaggy NullPointerExceptionThe Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
<div class="IPBDescription">what does it mean?</div>Part from server log:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec--><nickname> connected.
system crash!
system crash!
system crash!
system crash!
system crash!
Error: Exceeded maximum number of snapshots
Client disconnected (<ip>) Quit<!--QuoteEnd--></div><!--QuoteEEnd-->

Comments

  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    Have that on both my servers. Dunno it doesn't affect game play / tickrate
  • VitdomVitdom Join Date: 2012-04-30 Member: 151345Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, WC 2013 - Shadow
    edited January 2013
    Looks very serious! xD

    Did a quick search in the .lua files and found this in \ns2\lua\Skulk.lua:549 (the only occurance) called by Player.lua Player:ComputeForwardVelocity
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->function Skulk:ConstrainMoveVelocity(moveVelocity)

        // allow acceleration in air for skulks  
        if not self:GetIsOnSurface() then
        
            local speedFraction = Clamp(self:GetVelocity():GetLengthXZ() / self:GetMaxSpeed(), 0, 1)
            speedFraction = 1 - (speedFraction * speedFraction)
            moveVelocity:Scale(speedFraction * Skulk.kAirAccelerationFraction)
            
            if self:GetVelocity():GetLengthXZ() > 30 then
                Print("system crash!")
            end
            
        end

    end<!--c2--></div><!--ec2-->
    Apparently someone is either speedhacking or breaking the skulk walljumping speed barrier! :)

    No, but seriously. Something seems wrong since they added this print out. There appears to be an absolute speed limiter of 15 when the skulk is on a surface(including walljump?), but none when it's in the air. But this part is commented out with /* */ so it isn't enabled! So there is no real speed limiter for the skulk and you should in theory be able to wall jump + leap up to insane velocities.
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// quick fix to prevent insane velocity values for skulk
    function Skulk:OnClampSpeed(input, velocity)

        PROFILE("Skulk:OnClampSpeed")
        
        /*
        if self:GetIsOnSurface() then
        
            local moveSpeed = velocity:GetLength()
            if moveSpeed > 15 then
                velocity:Scale(15 / moveSpeed)            
            end
            
        end
        */
        
    end<!--c2--></div><!--ec2-->
    This is confusing, but hey at least it wasn't an actual "crash"... :P
  • CoTTonCoTTon Join Date: 2005-02-28 Member: 42773Members
    Interesting. I'll reread my server logs
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    edited January 2013
    Thanks for finding that!
    What a worthless error message, I'll try changing this to "Velocity exceeded 30 for player xyz!".
    Edit:

    Changed it to:
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Print("WARNING: "+self:GetName()+ " exceeded the skulk speed limit of 30!")<!--c2--></div><!--ec2-->
    Now to get a speedhacker to test this :>
  • FuhrerDarqueSydeFuhrerDarqueSyde Join Date: 2004-10-04 Member: 32076Members, Constellation
    May also be useful to put in parenthesis the steamid in case you're not in server when it happens.
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    I get server/client differs when I use this, oh well..
  • RothgarRothgar Join Date: 2009-11-13 Member: 69372Members
    You'd have to make it a mod or exclude the file in the consistency checker?
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    <!--quoteo(post=2055555:date=Jan 3 2013, 10:59 PM:name=Rothgar)--><div class='quotetop'>QUOTE (Rothgar @ Jan 3 2013, 10:59 PM) <a href="index.php?act=findpost&pid=2055555"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You'd have to make it a mod or exclude the file in the consistency checker?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Derp, forgot about that, thanks.
  • ma$$a$$terma$$a$$ter Join Date: 2012-11-01 Member: 165651Members
    just add some of ob bots - they break the speed limit all the time..
Sign In or Register to comment.