DataValidateFix

czp3009

A Torch plugin that fix several data validate issue

Github Link

DataValidateFix

A Torch plugin which fix several data validate issue for SpaceEngineers server.

The SpaceEngineers server NOT validate some important two-way sync variable received from client.

For example, open the file located in SpaceEngineers\Content\Data\CubeBlocks\CubeBlocks_Automation.sbc(XML) and search for text MyObjectBuilder_SensorBlockDefinition.

Modify MaxRange of this BlockDefinition then save it.

Use this modified client to connect to dedicated server, you will find that you can set LeftExtend, RightExtend and other options in SensorBlock UI to very large value.

Those data NOT ONLY display on client, server actually accept them.

Use ProgramBlock to get data from SensorBlock with Sandbox.ModAPI.Ingame.IMySensorBlock.DetectedEntities.

Player can get as many grids' position as he want by increase the MaxRange in XML.

Feature

This plugin add extra validate logic in server to void the problem above.

Current fixed: * MySensorBlock(LeftExtend, RightExtend, BottomExtend, TopExtend, BackExtend, FrontExtend)

  • MyWarhead(Countdown)

  • MyLargeTurretBase(ShootingRange)

  • MyOreDetector(Range)

  • MyMechanicalConnectionBlockBase(SafetyDetach)

  • MyPistonBase(MaxVelocity, MaxLimit, MinLimit, MaxImpulseAxis, MaxImpulseNonAxis)

  • MyMotorStator(Torque, BrakingTorque, TargetVelocity)

  • SafeZone(Box size)(modified client will display the fake border until rejoin to server)

  • MyMotorSuspension(MaxSteerAngle, Power, Strength, Height, Friction, SpeedLimit, PropulsionOverride, SteeringOverride)

  • MyThrust(ThrustOverride)

  • MyJumpDrive(JumpDistanceRatio)

TODO

  • Projector
  • Antenna
  • Beacon
  • Sound
  • Light

Note

The game will automatically correct the wrong data when loading world. If the player created illegal data, Those data will be cleared after the server restarts(to nearest legal value). So no more step need to be done, just install this plugin and restart server.

License

Apache 2.0

Beta? Version Note Date Download DL Count
v1.0.0.1 JumpDrive 4/28/20 2:54:31 PM Download 88
v1.0.0.0 init 4/27/20 3:23:59 PM Download 16