Sangband 1.0.1's new thread

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hitchi
    Rookie
    • Oct 2010
    • 24

    I posted without seeing your last post, but disabling all subwindows didn't make a difference for me.

    Comment

    • Derakon
      Prophet
      • Dec 2009
      • 9022

      Perhaps your up key is also bound to something else that your computer is doing? Or the keyboard event is being caught by multiple programs? I can't imagine why this would be the case, but you should be able to test by hitting the key when Sangband isn't running.

      What do you see if you run top in a console while running up? Is Sangband the consumer of those CPU cycles?

      Comment

      • hitchi
        Rookie
        • Oct 2010
        • 24

        Oh well, i'm an idiot; now that my sangband folder has reached 26GB i found the issue...I have the bad habit of using directional keys(arrows); apparently the UP arrow not only walks but also takes a screenshot, i was only aware of that when sangband told me it was unable to save the snapshot(for lack of space).Of course the cpu usage was high, taking a snapshot allmost every time i walked up.

        Comment

        • camlost
          Sangband 1.x Maintainer
          • Apr 2007
          • 523

          Originally posted by hitchi
          Oh well, i'm an idiot; now that my sangband folder has reached 26GB i found the issue...I have the bad habit of using directional keys(arrows); apparently the UP arrow not only walks but also takes a screenshot, i was only aware of that when sangband told me it was unable to save the snapshot(for lack of space).Of course the cpu usage was high, taking a snapshot allmost every time i walked up.
          A Sangband screenshot (normally accessed by '(' or ')')? Or something system done?

          The S screenshot prompts the user, though I suppose a macro could be used to handle that part.
          a chunk of Bronze {These look tastier than they are. !E}
          3 blank Parchments (Vellum) {No french novels please.}

          Comment

          • hitchi
            Rookie
            • Oct 2010
            • 24

            A Sangband screenshot, and whithout any key configuration from my part.
            ")" prompts the user while UP arrow walks and silently saves a screenshot.I mentioned a few posts ago that NUMKEY 8 was also provoking slow down problems but i must have been mistaken, because i no longer can reproduce it.

            Comment

            • camlost
              Sangband 1.x Maintainer
              • Apr 2007
              • 523

              Originally posted by hitchi
              A Sangband screenshot, and whithout any key configuration from my part.
              ")" prompts the user while UP arrow walks and silently saves a screenshot.I mentioned a few posts ago that NUMKEY 8 was also provoking slow down problems but i must have been mistaken, because i no longer can reproduce it.
              I can't reproduce this. My only thoughts are as follows:
              1) Something wierd in the user prefs. Try clearing out all the .prf files and see if you can reproduce it.
              2) Strange keyboard setup, resulting in a macro-esque behavior.

              If you can program, you could put in some debug code in the process, and see what commands are being executed. The only path I see to text_screenshot or html_screernshot is through do_cmd_screenshot, though I'm not sure if it clears the input buffer. The only way into do_cmd_screenshot is by pressing ')', or having a macro or preference keymap that does so.
              a chunk of Bronze {These look tastier than they are. !E}
              3 blank Parchments (Vellum) {No french novels please.}

              Comment

              • hitchi
                Rookie
                • Oct 2010
                • 24

                It must be your second point.I remembered to try it on the framebuffer and it runs fine, maybe it was the latest xorg update or something related, it was
                recent, else i would have noted the lack of disk space(because i play a lot).Sorry for the bogus report.

                Comment

                • tg122
                  Apprentice
                  • Dec 2007
                  • 93

                  Is there a way to center the map continuously on the player (I can't seem to find this in the options, unless I overlooked it)? If not, are there any plans to include this feature in the future? Playing with David Gervais tiles, I often get into situations where I enter a room, and I can't see what's in the room only a few tiles away because the map hasn't centered yet. In my opinion, this is an extremely useful feature. It might not be as important if playing in ASCI mode because more of the screen is displayed in ASCI mode, however in tile mode, I think this feature is essential.

                  Comment

                  • Magnate
                    Angband Devteam member
                    • May 2007
                    • 5110

                    Originally posted by tg122
                    Is there a way to center the map continuously on the player (I can't seem to find this in the options, unless I overlooked it)? If not, are there any plans to include this feature in the future? Playing with David Gervais tiles, I often get into situations where I enter a room, and I can't see what's in the room only a few tiles away because the map hasn't centered yet. In my opinion, this is an extremely useful feature. It might not be as important if playing in ASCI mode because more of the screen is displayed in ASCI mode, however in tile mode, I think this feature is essential.
                    This is handled differently in S. Instead of a binary option, you can set the distance from the edge that recentering triggers. So if you choose big numbers (larger than half the dimension of the main window), you will effectively have the map centred on the player. I don't have Sangband on my laptop so I can't tell you exactly how to find the settings, but they're in the display options somewhere.
                    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                    Comment

                    • camlost
                      Sangband 1.x Maintainer
                      • Apr 2007
                      • 523

                      Originally posted by Magnate
                      This is handled differently in S. Instead of a binary option, you can set the distance from the edge that recentering triggers. So if you choose big numbers (larger than half the dimension of the main window), you will effectively have the map centred on the player. I don't have Sangband on my laptop so I can't tell you exactly how to find the settings, but they're in the display options somewhere.
                      I thought there was something along these lines, but had forgotten where. Go into the options '=' and select 'Screen Display'. Then use the '<' or '>' to get to the subwindow "Layout". Set clear_x and clear_y to their maximum to get the character centered every turn. Or something somewhat less if you just want to stay near the center of the screen. I just tried out 7 and 7, and they work pretty well for keeping me near the center of the screen without moving the whole dungeon every move.
                      a chunk of Bronze {These look tastier than they are. !E}
                      3 blank Parchments (Vellum) {No french novels please.}

                      Comment

                      • tg122
                        Apprentice
                        • Dec 2007
                        • 93

                        Originally posted by camlost
                        I thought there was something along these lines, but had forgotten where. Go into the options '=' and select 'Screen Display'. Then use the '<' or '>' to get to the subwindow "Layout". Set clear_x and clear_y to their maximum to get the character centered every turn. Or something somewhat less if you just want to stay near the center of the screen. I just tried out 7 and 7, and they work pretty well for keeping me near the center of the screen without moving the whole dungeon every move.

                        Thanks! I didn't realize that you could access more options by hitting >.

                        Comment

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