"system crash!" in server log
Zaggy
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-->
<!--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
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
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 :>
Derp, forgot about that, thanks.