Slowing to a crawl

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NeoWizard
    Adept
    • Dec 2008
    • 102

    Slowing to a crawl

    Why is it that every time a start a new char, it goes will in the beginning and once I get to around DL11 the starts to get annoyingly slow. When you rest you can count along as you see your hp going up.

    And dont ask me to go check my base delay or movement delay cause I never changed those settings. ANd it has always been doing this since I play the 310 beta. I currently have r1376.

    Is there some king of log file being generated at every move for debugging purposes or something like that?

    Thanks
    NeoWizard
    -. . --- .-- .. --.. .- .-. -..

    aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can. mtat
  • pampl
    RePosBand maintainer
    • Sep 2008
    • 225

    #2
    Do you have a window set to list viewable objects? I had the same problem and had to turn off that list to fix it.

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #3
      Originally posted by pampl
      Do you have a window set to list viewable objects? I had the same problem and had to turn off that list to fix it.
      Try updating to r1478 or later and tell me if it's as bad.
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • Zikke
        Veteran
        • Jun 2008
        • 1069

        #4
        I had this problem when I had the term window open showing viewable objects. Quite annoying; I had to turn that feature off.
        A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
        A/FA W H- D c-- !f PV+++ s? d P++ M+
        C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #5
          Originally posted by Zikke
          I had this problem when I had the term window open showing viewable objects. Quite annoying; I had to turn that feature off.
          What version? I made a change in r1477 which should have eased this problem, but I don't know by how much.
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • NeoWizard
            Adept
            • Dec 2008
            • 102

            #6
            Yes I have a term windows for visible monsters and the other for visible objects but I did not have this problem in 309.

            I'll update and test it out, thanks.
            NeoWizard
            -. . --- .-- .. --.. .- .-. -..

            aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can. mtat

            Comment

            • NeoWizard
              Adept
              • Dec 2008
              • 102

              #7
              Why doesn't it keep my macros?
              NeoWizard
              -. . --- .-- .. --.. .- .-. -..

              aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can. mtat

              Comment

              • Zikke
                Veteran
                • Jun 2008
                • 1069

                #8
                Originally posted by Magnate
                What version? I made a change in r1477 which should have eased this problem, but I don't know by how much.
                I was using r1487. If there are a few items on the list it's fine, but when you get to a low level with a lot of things, it's excruciating.
                A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
                A/FA W H- D c-- !f PV+++ s? d P++ M+
                C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

                Comment

                • Magnate
                  Angband Devteam member
                  • May 2007
                  • 5110

                  #9
                  Originally posted by Zikke
                  I was using r1487. If there are a few items on the list it's fine, but when you get to a low level with a lot of things, it's excruciating.
                  This is interesting. AFAIK there hasn't been any (other) change since 3.0.6, and those reporting this issue claim it didn't happen then. So it means that it's not the logging which is doing most of the slowing down (because that's what I switched off in r1477), it's the power calculation itself (which is now called from object_value_real).

                  I'll have a think about how to order item lists without evaluating power. This will solve the slowdown but might end up with some changes to long-established inventory order ...

                  ... no, I've got it. We can still order by k_ptr->cost (or e_ptr->cost), which will be much quicker than calling the power calc.

                  Hey! I just had an epiphany - that's why staves and wands keep changing places as you use charges. The inventory order is based on value, and as you use a charge, the value decreases slightly, which means it can change places with an item of similar value. I've always hated that behaviour, and using k_ptr->cost instead of object_value will stop it.

                  Yippee!!
                  "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                  Comment

                  • Magnate
                    Angband Devteam member
                    • May 2007
                    • 5110

                    #10
                    Originally posted by NeoWizard
                    Why doesn't it keep my macros?
                    Did you save them? They're not stored in your savefile, you have to save them separately from the macro menu ("append macros to file", which means to a pref file).
                    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                    Comment

                    • NeoWizard
                      Adept
                      • Dec 2008
                      • 102

                      #11
                      Ya, they were stored on my charname.prf but it seems the format for the file changed. Even when recreating them and saving again did not work, so move the file elsewhere and created a new one. I then copied them back in the file using notepad and saved.

                      BTW there is no option anymore for changing visuals? All we now have is a dump ... attr/chars. I like to have my permanent walls a different color. I had to change it directly in the prf file.
                      NeoWizard
                      -. . --- .-- .. --.. .- .-. -..

                      aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can. mtat

                      Comment

                      • Magnate
                        Angband Devteam member
                        • May 2007
                        • 5110

                        #12
                        Originally posted by NeoWizard
                        Ya, they were stored on my charname.prf but it seems the format for the file changed. Even when recreating them and saving again did not work, so move the file elsewhere and created a new one. I then copied them back in the file using notepad and saved.
                        Pref files are a bit broken. I have this on my to-do list for 3.1.2, but unforch they will not be fixed for 3.1.1 (it's quite a big job, and Takkaria wants 3.1.1 out ASAP).
                        BTW there is no option anymore for changing visuals? All we now have is a dump ... attr/chars. I like to have my permanent walls a different color. I had to change it directly in the prf file.
                        You now do this from the knowledge menu (~).
                        "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                        Comment

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