Both of my servers crashed couple hours after 1.22 update.
Attaching all needed logs.
Thank you for your time!
2 server
Both of my servers crashed couple hours after 1.22 update.
Attaching all needed logs.
Thank you for your time!
2 server
Hello.
This seems to be related to car cutting tree script that has been described bellow:
Hello, in the experimental version of the game (1.28), one of the vehicle-based tree-cutting scripts has started causing server crashes. It works fine in version 1.27.
override void OnContact( string zoneName, vector localPos, IEntity other, Contact data )
{if ( EngineIsOn() && (data.Impulse > 2000 || GetSpeedometer() > 10)) { Object tree = Object.Cast( other );
if (tree.IsTree()) { if ( tree.IsCuttable() /* || tree.IsBush() */ ) { Class treeType = NULL; if ( tree.IsInherited(TreeHard) ) { treeType = TreeHard.Cast( tree ); } else if ( tree.IsInherited(TreeSoft) ) { treeType = TreeSoft.Cast( tree ); } if ( treeType ) { tree.DecreaseHealth("", "", 100, true); tree.OnTreeCutDown( this ); //RPC Send dBodyDestroy(tree); } data.Impulse = data.Impulse * 0.01; } } } super.OnContact(zoneName, localPos, other, data);}
If I remove these lines: tree.DecreaseHealth("", "", 100, true); and dBodyDestroy(tree);, the script works, but the tree does not fall, as expected.
Regards,
This is not a vanilla behaviour but we are looking into it.
Geez