Coder Social home page Coder Social logo

Comments (3)

klei1984 avatar klei1984 commented on September 27, 2024

Thanks for reporting.

Did you build the game in Release mode?

In Debug mode builds assertion tests are active and I get the following assertion which hints at the problem.
image

The same happens in original dosmax, which even gives more info on the error.
image

You probably found an original dosmax defect. I will do a root cause analysis later. For the time being, here is a saved game file which is made after I worked around the error in a debug session. You can continue to play with it (until the next crash).

SAVE6.ZIP

from max.

lockheed avatar lockheed commented on September 27, 2024

Excellent. Thanks.
Yes, I regularly do get those error windows but 19 times out of 20 clicking Ignore just progresses the game.

from max.

klei1984 avatar klei1984 commented on September 27, 2024

The cause for this assertion failure is defect 12.
kÊp

The engineer or constructor leaves the building site while it is effectively still constructing a building. Root cause is not known for defect 12 yet. The parent unit of the construction slab is the constructor to the right, therefore mouse click on the 2x2 tile big slab selects the constructor at the other location.

The constructor's remaining build_time parameter is 1 meaning it is not finished building. Its build_list has one planned job, to create an eco-sphere. The unit plays its working on a building sprites instead of the idle sprites. The unit has a target location that is not the actual location, and both the current and previous unit order is await order in init state. This means that the unit will get a find path task on game reload to be able to reach target location. This means that when the building manager task searches for a close vicinity constructor to build a new depot, our faulty unit will be selected for the job. Starting at the next turn the build_time parameter counts down to zero and the game crashes as under the constructor there is no slab or cone or tape "unit" to be found that could be destroyed signalling the completion of the construction.

Unfortunately the saved game file contains the corrupted state of the unit, it is not possible to diagnose the issue further using debugging the saved file. I will try to provoke a computer player in another game to commit the corruption.

from max.

Related Issues (20)

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.