[3.3.0] Bugs and Stuff

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Quester
    Rookie
    • Aug 2011
    • 2

    [3.3.0] Bugs and Stuff

    Guys, thank you for maintaining this wonderful game for such a long time!

    As for me, I'm playing it since, well, I even cant remember when. It was a long time ago really, and it was amareur (but pretty good, i have to admit) russian localization of this amazing game. (yep russian is my native language). Maybe it was somewhere around 1998-1999. Ok, enough of this sweet memories, let's do some work.

    BUGS

    First. About bugs I found in version 3.3.0. It's pretty easy to reproduce them so you can easily see what i meant.

    Bug 1. When i'm dumping objects into file
    ("=" + "v" + "c" + "[Enter]")
    and then trying to load a user pref file
    ("=" + "v" + "a" + "[Enter]")
    i see this message flashing
    Parse error in D:\games\Angband-3.3.0-win\User\Tia.prf line [insert line num here] column 5: -more-
    unrecognized sval -more-
    Failed to load 'Tia.prf'
    In the pref file i found that information on this line keeping information about this
    K:light:Palantнr~:11:126
    Maybe High Forces giving me a clue about evil plans of this cruel stone?

    Or maybe something wrong with interaction between game and my computer's locale.

    And this problem, drugs another one by it's tail. If you have being tinkering with your pref file before, you cant load your preferences unless you kill all lines in you pref file, considering objects.

    Bug 2. Something about dumping game screen.
    When i dump simple text
    (")" + "t")
    nothing happens. Ok? Ok...

    Second experiment. When I'm doing this (HTML Dump)
    (")" + "h")
    it resets all my visual preferences to defaults though after loading prefs from a file everything went to normal state.

    Third experiment is almost the same as the second one (Forum Dump)
    (")" + "f")
    This thing resets all visuals.

    I like tinkering with visuals, walls coloration, and such. I'll provide my walls, veins and treasures color and appearance data in P.S.

    Bug 3. If you dumping your data into pref file to often you might encounter something like this inside it after a while
    #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# end Dump feature attr/chars
    #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# end Dump feature attr/chars
    #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# end Dump feature attr/chars
    #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# end Dump keymaps
    #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# end Dump keymaps
    #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# end Dump keymaps
    I don't mind about this trash lines in my prefs, i clean them manually but... well... i suspect something is wrong with dumping mechanism. I really do!Honestly! ^_^

    Bug 4. I can't look at the stuff i wear by pressing "/" like it worked before
    ("I" + "/"+"[something]")
    Now i forced to press this instead
    ("I" + "[Control]/"+"[something]")
    It was made intentionally or it is just some sort of backfire from killing macros mechanism?

    Bug 5. Something like the fourth bug. When i rest and pressing "*" to rest completely symbol "*" doubles like this "**"
    When i press "[Control]*" everything works ok.

    For today that's all about unpleasant things.

    and stuff

    Now you might want to run away screaming with headache from your melting brain. The time of sincere gratitude has come... (hellish laughter on the background )

    Thanks again to all maintainers. You are really great. To do such work for free... Ok-ok... Just joking. ^_^

    New dungeon generator works great. Neat thing. Labyrinth and maze dungeons were something like a cultural shock to my eyes, after years of playing in this good old environment a was so accustomed to.

    Idea about ridding of potions "Of restore something" is pretty controversial, but after finding rings of "soul" and "body" keeping everything went to normal. Thinking about in lately, i cant stop myself from inventing methods of crafting such potions from different items from the dungeon (from mushrooms, potions, and so on) but i don't think that crafting system is a good idea for this game. It's to tempting to use it for cheating.

    About everything else. Well, everything else is working just fine so thank you all again.

    P.S.
    Like i promised, this is data about my walls, veins and treasures. To see how it looks just copy this lines into your *.prf file, after dumping there your own visuals
    ("=" + "v" + "d" + "[Enter]")
    # Terrain: magma vein
    F:50:bright:2:174
    F:50:lit:9:174
    F:50:dark:2:174
    # Terrain: quartz vein
    F:51:bright:2:173
    F:51:lit:1:173
    F:51:dark:2:173
    # Terrain: magma vein with treasure
    F:54:bright:10:12
    F:54:lit:10:12
    F:54:dark:10:12
    # Terrain: quartz vein with treasure
    F:55:bright:27:12
    F:55:lit:27:12
    F:55:dark:27:12
    # Terrain: granite wall
    F:56:bright:1:127
    F:56:lit:1:2
    F:56:dark:1:127
    # Terrain: permanent wall
    F:60:bright:7:127
    F:60:lit:15:2
    F:60:dark:7:127
    P.P.S. Yes, yes, I know. There are many holes in my english for now. But i'm trying hard so don't judge to strictly, ok?

    P.P.P.S. My first post here! Damn it! Can't stop making this annoying 'P.S.'s...
  • fizzix
    Prophet
    • Aug 2009
    • 3025

    #2
    Originally posted by Quester
    K:light:Palantнr~:11:126
    I'm guessing this is explainable because the Palantir no longer exists. Yeah, I know, it was a shock to me too.

    Comment

    • Magnate
      Angband Devteam member
      • May 2007
      • 5110

      #3
      Originally posted by fizzix
      I'm guessing this is explainable because the Palantir no longer exists. Yeah, I know, it was a shock to me too.
      Yes, it is.

      @Quester: many thanks for your feedback. We have a lot of work to do on pref files and user config generally, and your observations will come in really handy.
      "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

      Comment

      • Timo Pietilä
        Prophet
        • Apr 2007
        • 4096

        #4
        Originally posted by Quester
        Bug 1. When i'm dumping objects into file
        ("=" + "v" + "c" + "[Enter]")
        and then trying to load a user pref file
        ("=" + "v" + "a" + "[Enter]")
        i see this message flashing
        Parse error in D:\games\Angband-3.3.0-win\User\Tia.prf line [insert line num here] column 5: -more-
        unrecognized sval -more-
        Failed to load 'Tia.prf'
        In the pref file i found that information on this line keeping information about this

        K:light:Palantнr~:11:126
        What bugs me is that I don't know what kind of pref-file contains info about artifacts? When I make "dump options" or something like that it never contains information about artifacts, just options.

        Edit-files do contain info about artifacts, but those have .txt extension, not .prf.

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #5
          Originally posted by Timo Pietilä
          What bugs me is that I don't know what kind of pref-file contains info about artifacts? When I make "dump options" or something like that it never contains information about artifacts, just options.
          What info about artifacts would you want to see in a pref file??
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • Timo Pietilä
            Prophet
            • Apr 2007
            • 4096

            #6
            Originally posted by Magnate
            What info about artifacts would you want to see in a pref file??
            The same as OP is seeing, obviously. I can't try to fix his/her problem unless I understand what it is.

            Comment

            • Quester
              Rookie
              • Aug 2011
              • 2

              #7
              Originally posted by Magnate
              @Quester: many thanks for your feedback. We have a lot of work to do on pref files and user config generally, and your observations will come in really handy.
              Something i forgot to mention yesterday.

              Bug/feature occurs when i save game by ("Control" + "X").

              If anything was squelched on the floor of the dungeon before save-exitiing then everything becomes visible again, when i open my save again. And i unable to hide this squelched items again by pressing ("K").

              Nothing relevant, really, but annoying.

              And another one. in help files (Commands.txt) i found mentioning of "^D" command, allowing to destroy items from the floor completely. This combination doesn't work.

              Comment

              • Magnate
                Angband Devteam member
                • May 2007
                • 5110

                #8
                Originally posted by Timo Pietilä
                The same as OP is seeing, obviously. I can't try to fix his/her problem unless I understand what it is.
                Er, I don't think the OP has any info about artifacts in his/her pref files. The reference to the Palantir was to its base object kind (presumably setting either the colour or the tile for it).
                "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                Comment

                • Timo Pietilä
                  Prophet
                  • Apr 2007
                  • 4096

                  #9
                  Originally posted by Magnate
                  Er, I don't think the OP has any info about artifacts in his/her pref files. The reference to the Palantir was to its base object kind (presumably setting either the colour or the tile for it).
                  ...In a file named tia.prf. That's how I read his message.

                  Parse error in D:\games\Angband-3.3.0-win\User\Tia.prf line [insert line num here] column 5: -more-
                  unrecognized sval -more-
                  Failed to load 'Tia.prf'
                  BTW, I can duplicate that now that I'm a bit more awake. That's loading object dump after making that from interact with visuals. It is a visual, IE object symbol and color dump of artifacts. I have never done that, so I didn't know what it was.

                  I find a bit odd that it gives error about sval loading a file that doesn't have sval anywhere in it.

                  Lines look like this:

                  Code:
                  K:light:Arkenstone~:11:126
                  ...
                  K:light:Palantír~:11:126
                  and palantir does have valid sval (7).

                  I noticed that Palantir does not read "Palantir" but "Palantír" and is only name in object.txt to contain those accent marks. Could that cause that error?

                  testing... yes, that is causing it. It doesn't understand 'í'. If I change those to normal i in both object.txt and wanderer.prf then it loads just fine (exit game in between so that it loads object.txt again).

                  setting option to accept accents in output files didn't change anything and changing 'í' to '['i]' in wanderer.prf didn't help. Apparently that file doesn't understand accents while loading them.

                  Comment

                  • Magnate
                    Angband Devteam member
                    • May 2007
                    • 5110

                    #10
                    Originally posted by Timo Pietilä
                    I noticed that Palantir does not read "Palantir" but "Palantír" and is only name in object.txt to contain those accent marks. Could that cause that error?

                    testing... yes, that is causing it. It doesn't understand 'í'. If I change those to normal i in both object.txt and wanderer.prf then it loads just fine (exit game in between so that it loads object.txt again).

                    setting option to accept accents in output files didn't change anything and changing 'í' to '['i]' in wanderer.prf didn't help. Apparently that file doesn't understand accents while loading them.
                    Thanks again for your testing - that it's an xchar problem makes perfect sense. 3.4.0 should see us move to UTF-8, so it should be fixed then. Yes, the Palantir is the only base object with an xchar in its name, IIRC.
                    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                    Comment

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