Git Product home page Git Product logo

Comments (3)

copperwater avatar copperwater commented on July 18, 2024

This happens reliably when a maze tries to generate below Medusa's level. As such, the only way to complete the game without crashing it is happening to only generate regular dungeon levels between Medusa and the Castle or having Medusa generate adjacent to the castle. Since this makes it practically unwinnable for anyone downloading the windows binary, I am going to withdraw the release and move 8.0 back to beta status.

In the meantime, I'm not planning to fix the actual bug at fault here - instead I will take the opportunity to eradicate mazes that generate by default (i.e. not with des.mazewalk specifically requested in a lua file like the Catacombs). Levels below Medusa will always be room-and-corridor, and a level that fails to load will instead use an empty expanse as its default case.

from xnethack.

tux3 avatar tux3 commented on July 18, 2024

Thank you, that was enough to recover my save!
I respawned in a blank void, but conjuring a fake staircase up in memory seems to have worked!

snap-1214

Then I commented out maze generation below mesuda like you suggested, erased the broken Dlvl 24, and mklev did let me continue with a room-and-corridor without problems

src/mklev.c
@@ -1246,8 +1246,8 @@ makelevel(void)
                 (u.uz.dlevel < loc_lev->dlevel.dlevel) ? "a" : "b");
         makemaz(fillname);
     } else if (In_hell(&u.uz)
-                || (rn2(5) && u.uz.dnum == medusa_level.dnum
-                    && depth(&u.uz) > depth(&medusa_level))) {
+                /*|| (rn2(5) && u.uz.dnum == medusa_level.dnum
+                    && depth(&u.uz) > depth(&medusa_level))*/) {

Now to ruin the rest of this save on my own, here we go.. =)

from xnethack.

copperwater avatar copperwater commented on July 18, 2024

As of now, random mazes have been removed from the game, so this error should no longer occur.

from xnethack.

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.