Giter Site home page Giter Site logo

atmohydropower's People

Contributors

3x3y3z3t avatar

Watchers

 avatar

atmohydropower's Issues

Crashes when pasting grid onto powered grid

Description

Crashes when pasting grid with Atmo Hydro Thruster onto powered grid.

Expected behavior

To Reproduce

Steps to reproduce the behavior (not always reproducible):

  1. Create a grid with thruster.
  2. Copy and Paste that grid onto an existing powered grid.
  3. Game crash.

Additional context

SE Log:

2022-08-09 04:17:59.134 - Thread:   1 ->  Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
   at AtmoHydroPower.AtmoHydroPower_GameLogic.UpdateOnceBeforeFrame()
   at VRage.Game.Components.MyGameLogicComponent.VRage.Game.Entity.EntityComponents.Interfaces.IMyGameLogicComponent.UpdateOnceBeforeFrame(Boolean entityUpdate)
   at VRage.Game.Entity.MyGameLogic.UpdateOnceBeforeFrame()
   at VRage.Game.Entity.MyGameLogic.UpdateBeforeSimulation()
   at Sandbox.Game.World.MySector.UpdateBeforeSimulation()
   at Sandbox.Game.World.MySession.UpdateComponents()
   at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
   at Sandbox.MySandboxGame.Update()
   at Sandbox.Engine.Platform.Game.UpdateInternal()
   at Sandbox.Engine.Platform.Game.RunSingleFrame()
   at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
   at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
   at Sandbox.Engine.Platform.Game.RunLoop()
   at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
   at SpaceEngineers.MyProgram.Main(String[] args)

Thruster block spins up from cold normally even when power is briefly supplied

Description

Thruster block only start up from cold when both electrical power and hydrogen gas is supplied. Both are required constantly for the spinning up duration of 1s.
However, currently thruster still start up fully even when electrical power is briefly supplied.

Expected behavior

Thruster should stop the spin up sequence right after electrical power is cut of, because its internal generator is not up and running yet.

To Reproduce

Steps to reproduce the behavior:

  1. Create a grid with hydrogen-supplied thruster and a battery.
  2. Turn off the battery and make sure thruster is completely stopped (wait more than 5s).
  3. Turn on the battery and turn if off immidiately (double click on Enable button in terminal).
  4. See the thruster turns on normally. It should turns on briefly, then turns off.

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.