Current master post 4.2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adam
    Adept
    • Feb 2016
    • 194

    #16
    Originally posted by mrfy
    I'm playing with full monster memory, so it shouldn't need to write to lore.txt much? Turning sound on seems to trigger the bug.
    I would expect lore.txt being updated with the kill counts on each save.

    Comment

    • wobbly
      Prophet
      • May 2012
      • 2633

      #17
      I've suggested elsewhere that Morgul weapons should be usable for necromancers which doesn't solve the light issue but may give them some alternatives.

      Comment

      • mrfy
        Swordsman
        • Jul 2015
        • 328

        #18
        Originally posted by Adam
        I would expect lore.txt being updated with the kill counts on each save.
        Curiously, that doesn't trigger the bug.

        Comment

        • Ingwe Ingweron
          Veteran
          • Jan 2009
          • 2129

          #19
          Originally posted by Nick
          [*]Ent draughts now nourish the player up to 60% like honey cakes
          May I suggest that Ent draughts make @ just a wee bit taller. But not referenced in the description. Just a little Easter Egg for those who notice the change on their character information screens.
          “We're more of the love, blood, and rhetoric school. Well, we can do you blood and love without the rhetoric, and we can do you blood and rhetoric without the love, and we can do you all three concurrent or consecutive. But we can't give you love and rhetoric without the blood. Blood is compulsory. They're all blood, you see.”
          ― Tom Stoppard, Rosencrantz and Guildenstern are Dead

          Comment

          • DavidMedley
            Veteran
            • Oct 2019
            • 1004

            #20
            Originally posted by ingwe ingweron
            may i suggest that ent draughts make @ just a wee bit taller. But not referenced in the description. Just a little easter egg for those who notice the change on their character information screens. :d
            I love it! :-D
            Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

            Comment

            • backwardsEric
              Knight
              • Aug 2019
              • 531

              #21
              Originally posted by mrfy
              I thought so, but it's still crashing on quit. Spinning cursor and then I get the Angband quit unexpectedly message. And now when I start again, open my save file, save, get the failure trying to create window.prf.new and lore.txt.new

              Starting a new character though, I was able to turn randarts on and that part seems to be working. I'm playing with full monster memory, so it shouldn't need to write to lore.txt much? Turning sound on seems to trigger the bug.
              From what I see, the file descriptor, used internally by Apple's initWithContentsOfFile() for NSSound, isn't being closed in 10.15. Because of that, there isn't an available file descriptor when trying to create window.prf.new and lore.txt.new. As a quick fix, deleting one of the redundant calls to load_sounds() in main-cocoa.m (I got rid of the one in beginGame()) works for me: that leaves enough available file descriptors for saving the preferences and lore. I'll try to work up some simple sample code to see if this is Apple's bug or if something in main-cocoa.m is to blame.

              Comment

              • Nick
                Vanilla maintainer
                • Apr 2007
                • 9647

                #22
                Originally posted by backwardsEric
                From what I see, the file descriptor, used internally by Apple's initWithContentsOfFile() for NSSound, isn't being closed in 10.15. Because of that, there isn't an available file descriptor when trying to create window.prf.new and lore.txt.new. As a quick fix, deleting one of the redundant calls to load_sounds() in main-cocoa.m (I got rid of the one in beginGame()) works for me: that leaves enough available file descriptors for saving the preferences and lore. I'll try to work up some simple sample code to see if this is Apple's bug or if something in main-cocoa.m is to blame.
                Thanks for following this up
                One for the Dark Lord on his dark throne
                In the Land of Mordor where the Shadows lie.

                Comment

                • Nick
                  Vanilla maintainer
                  • Apr 2007
                  • 9647

                  #23
                  New builds are up on the nightlies page and angband.live (source here) with the following changes:
                  • Updated Gervais tiles included, kindly provided by Bill Peterson
                  • A raft of memory leaks fixed (thanks backwardsEric)
                  • Also due to backwardsEric: improved macOS rendering, and another attempt at fixing the Catalina lore-writing bug
                  • Nerfs to magic devices, mainly for mages and rogues:
                    • Device damage boost removed
                    • Tap Magical Energy now stuns the player for 1 or 2 turns, and being stunned cancels FastCast
                    • Recharge spells are much more likely to destroy devices (more in line with the scroll)
                  • Buffs (mostly) to necromancers:
                    • The magic light modifier on objects is now reduced by 1 for necros, which means they can wield LIGHT[1] objects without getting an increased spell failure rate
                    • Necros now get the EVIL player flag, which gives innate RNether, but vulnerability to orb of draining
                    • Some monsters now cast orbs of draining
                  Again, getting rebalance changes out early in the journey to 4.2.1. Voicing of opinions encouraged.
                  One for the Dark Lord on his dark throne
                  In the Land of Mordor where the Shadows lie.

                  Comment

                  • mrfy
                    Swordsman
                    • Jul 2015
                    • 328

                    #24
                    Originally posted by Nick
                    New builds are up on the nightlies page and angband.live (source here) with the following changes:
                    • Also due to backwardsEric: improved macOS rendering, and another attempt at fixing the Catalina lore-writing bug
                    Font seemed to change. There's extra space between characters, making it hard to read in the windows...I had been using fixed width Menlo size 14, but now to make it fit in the inventory window i have to set it to 12 point but there's still extra space between the characters.

                    But the save bug seems to be fixed. I successfully turned on sound and have saved progress, even started a new game with randarts and it appeared to be working. Thanks.

                    Comment

                    • backwardsEric
                      Knight
                      • Aug 2019
                      • 531

                      #25
                      Agreeing with mrfy, with that nightly build running on MacOS 10.15.2 beta in a virtual machine and sound enabled, I don't see the problem saving lore.txt and window.prf. I filed a report with Apple about NSSound's initWithContentsOfFile leaving a fie descriptor open: that is still present in Mac OS 10.15.2 beta. With that underlying bug present, adding more sounds to sound.cfg has the potential to cause calls to open a file to fail because of the limit on the number of open files for a single process.

                      The rendering change for the Mac dd increase the size of the rectangle used to render each character and aligned those rectangles on pixel boundaries. Changing line 800 of main-cocoa.m to

                      Code:
                      tileSize.width = ceil(medianAdvance);
                      would get the horizontal spacing closer to what it was, though you'll still need wider and taller windows to render the same amount of content with the same font as you used with Angband 4.2.0.

                      Comment

                      • DavidMedley
                        Veteran
                        • Oct 2019
                        • 1004

                        #26
                        Originally posted by Nick
                        [*]Nerfs to magic devices, mainly for mages and rogues:
                        • Device damage boost removed
                        Is this the boost from your devices skill?
                        Originally posted by Nick
                        • Tap Magical Energy now stuns the player for 1 or 2 turns, and being stunned cancels FastCast
                        • Recharge spells are much more likely to destroy devices (more in line with the scroll)
                        All sound good to me
                        Originally posted by Nick
                        [*]Buffs (mostly) to necromancers:
                        • The magic light modifier on objects is now reduced by 1 for necros, which means they can wield LIGHT[1] objects without getting an increased spell failure rate
                        • Necros now get the EVIL player flag, which gives innate RNether, but vulnerability to orb of draining
                        • Some monsters now cast orbs of draining
                        Whoa, that all sounds pretty awesome! Has any suggested changing "Nether" to "Wither"? Seems like a more apt title these days, though "Wither Worms" doesn't really please my ear.
                        Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                        Comment

                        • archolewa
                          Swordsman
                          • Feb 2019
                          • 400

                          #27
                          Originally posted by Nick
                          New builds are up on the nightlies page and angband.live (source here) with the following changes:
                          • Necros now get the EVIL player flag, which gives innate RNether, but vulnerability to orb of draining
                          Should blackguards also get this flag, since they cast from the same book?

                          Comment

                          • Nick
                            Vanilla maintainer
                            • Apr 2007
                            • 9647

                            #28
                            Originally posted by DavidMedley
                            Is this the boost from your devices skill?
                            Yes - it's a percentage bonus to damage from when your device skill is greater than the object level. It can be up to 138%.

                            Originally posted by archolewa
                            Should blackguards also get this flag, since they cast from the same book?
                            Maybe, but I'm inclined not to for now - they seem more like casual users of dark arts
                            One for the Dark Lord on his dark throne
                            In the Land of Mordor where the Shadows lie.

                            Comment

                            • mrfy
                              Swordsman
                              • Jul 2015
                              • 328

                              #29
                              There's still a bug where you hit an invisible trap, set it off, move past, and it's still invisible. Shouldn't it be visible after you trip it?

                              Comment

                              • DavidMedley
                                Veteran
                                • Oct 2019
                                • 1004

                                #30
                                Originally posted by Nick
                                Yes - it's a percentage bonus to damage from when your device skill is greater than the object level. It can be up to 138%.
                                My $0.02 I think this is cool and would like to see it kept.
                                Please like my indie game company on Facebook! https://www.facebook.com/RatherFunGames

                                Comment

                                Working...
                                😀
                                😂
                                🥰
                                😘
                                🤢
                                😎
                                😞
                                😡
                                👍
                                👎