RePosBand: play as a monster in Angbad 3.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • buzzkill
    Prophet
    • May 2008
    • 2939

    Crash bug

    RePos 6.3, savefile attached.

    A move in any direction will trigger an immediate crash. I have no idea what's causing it. The only odd thing is that all of my destroyed items reappeared on the floor upon reload.

    This is my narrowly surviving comp 98 character, so a (quick) fix would be appreciated.
    Attached Files
    www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
    My banding life on Buzzkill's ladder.

    Comment

    • pampl
      RePosBand maintainer
      • Sep 2008
      • 225

      Not sure what's causing it (yet), but if you can avoid crashing by dropping your quiver contents. Picking them up again and even wielding them doesn't seem to cause it to crash again though, which is confusing.

      Comment

      • thapper
        Adept
        • Aug 2008
        • 168

        Playing competition 98 I noticed that the lich had three or four blows barehanded from the start. Coupled with the inherited ring of ice it is a good offense and much better than any light weapon where I only get 1 blow anyway.

        Is it intended? Can I see somewhere how much damage I do barehanded? Will I get more blows if I get stronger/more dexterous?

        Comment

        • Derakon
          Prophet
          • Dec 2009
          • 9022

          I just asked about that on the previous page. The lich gets his attacks from monster.txt, apparently, with any attacks that have special attributes that don't apply to monsters (e.g. drain-stat or drain-charges) getting a damage bonus. As a bog-standard lich that means two nondamaging blows and two 2d8 blows right from the start, so if you're going to use melee a lot (and with that ring of ice, why wouldn't you?), weapons are a bad idea early on.

          Presumably more STR/DEX will improve his blows with a weapon, but only leveling up and getting a more powerful form will improve his inherent attacks.

          Comment

          • buzzkill
            Prophet
            • May 2008
            • 2939

            Originally posted by pampl
            Not sure what's causing it (yet), but if you can avoid crashing by dropping your quiver contents. Picking them up again and even wielding them doesn't seem to cause it to crash again though, which is confusing.
            I did manage to get it to crash again repeatedly (after drop and wield). It finally stopped happening after pseudo-ID occurred. Maybe pseudo occurring in the quiver was the problem. That's my best guess, and all I have to offer.
            www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
            My banding life on Buzzkill's ladder.

            Comment

            • GF_ARROW
              Rookie
              • Jan 2011
              • 3

              There is a bug in line #490 of attack.c
              Replace the ! with a ~ to allow half-damage of elemental attacks.

              Comment

              • GF_ARROW
                Rookie
                • Jan 2011
                • 3

                I've also fixed a possible bug involving damage multiplier in the block of code in line #414 of attack.c

                The "fixed" code is

                Code:
                if (best_s_ptr != NULL)
                {
                  if (best_s_ptr->mult > mul)
                  {
                    p = best_s_ptr->melee_verb;
                    mul = best_s_ptr->mult;          // CHANGED!
                
                   if (best_s_ptr->resist_flag == RF_IM_ACID)
                     type = GF_ACID;
                   else if (best_s_ptr->resist_flag == RF_IM_ELEC)
                     type = GF_ELEC;
                   else if (best_s_ptr->resist_flag == RF_IM_FIRE)
                     type = GF_FIRE;
                   else if (best_s_ptr->resist_flag == RF_IM_COLD)
                     type = GF_COLD;
                   else if (best_s_ptr->resist_flag == RF_IM_POIS)
                     type = GF_POIS;
                   }
                   // REMOVED "else" BRANCH
                }
                k *= mul; // ALWAYS APPLY MULTIPLIER

                Comment

                • thapper
                  Adept
                  • Aug 2008
                  • 168

                  Originally posted by Derakon
                  I just asked about that on the previous page.
                  Oops, I completely missed that. Thanks for the explanation! I guess seeing what damage you do with barehanded attacks is for future versions then.

                  Comment

                  • buzzkill
                    Prophet
                    • May 2008
                    • 2939

                    Originally posted by thapper
                    Oops, I completely missed that. Thanks for the explanation! I guess seeing what damage you do with barehanded attacks is for future versions then.
                    It could be as simple as putting a) barehanded attack in the equipment list (when no weapon is wielded). Then I)nspecting it could provide info.
                    www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
                    My banding life on Buzzkill's ladder.

                    Comment

                    • bulian
                      Adept
                      • Sep 2010
                      • 163

                      Decided to give RePos and the competition guy a try. He's pretty fun so far though I'm on DL3. The @ gets some pretty sick gear to start with.

                      I've run into a couple issues so far... the quiver issue has already been reported, but not for the throw command. You can throw items by pessing the correct letter but they do not show up when pressing 'v.'

                      Also, it would be great if the list of powers was automatically shown each time. Lastly, the 8x13 font does not display correctly using windows XP.

                      Comment

                      • bulian
                        Adept
                        • Sep 2010
                        • 163

                        Just found a new monster type - water wapor. Should be vapor

                        Comment

                        • pampl
                          RePosBand maintainer
                          • Sep 2008
                          • 225

                          Originally posted by bulian
                          Just found a new monster type - water wapor. Should be vapor
                          Originally posted by buzzkill
                          Maybe pseudo occurring in the quiver was the problem.
                          Originally posted by GF_ARROW
                          I've also fixed a possible bug involving damage multiplier in the block of code in line #414 of attack.c
                          Originally posted by buzzkill
                          It could be as simple as putting a) barehanded attack in the equipment list (when no weapon is wielded). Then I)nspecting it could provide info.
                          Thanks for the bug finding/fixing/solution ideas, you guys Welcome to oook, GF_ARROW!
                          Originally posted by bulian
                          I've run into a couple issues so far... the quiver issue has already been reported, but not for the throw command. You can throw items by pessing the correct letter but they do not show up when pressing 'v.'

                          Also, it would be great if the list of powers was automatically shown each time. Lastly, the 8x13 font does not display correctly using windows XP.
                          Yeah, I don't think the quiver shows up for any command..
                          Showing the list of powers each time should be an easy change.
                          Passing the buck here, but IIRC there are some problems with 8x13 font and Windows XP in Vanilla.. what kind of display problem is it, and have you seen it happen in V?

                          Comment

                          • pampl
                            RePosBand maintainer
                            • Sep 2008
                            • 225

                            Originally posted by GF_ARROW
                            There is a bug in line #490 of attack.c
                            Replace the ! with a ~ to allow half-damage of elemental attacks.
                            Actually, I'm kind of curious about this one.. did this
                            Code:
                            				if (type != GF_ARROW)
                            				{
                            					project(-1, 0, y, x, (k + 1)/2, type, flg);
                            					/* Make the physical portion TOP SECRET -Simon */
                            					flg &= !(PROJECT_AWARE);
                            					project(-1, 0, y, x, k/2, GF_ARROW, flg);
                            				}
                            				else
                            					project(-1, 0, y, x, k, type, flg);
                            turn off all the flags before projecting?

                            Comment

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

                              Originally posted by pampl
                              Actually, I'm kind of curious about this one.. did this
                              Code:
                              				if (type != GF_ARROW)
                              				{
                              					project(-1, 0, y, x, (k + 1)/2, type, flg);
                              					/* Make the physical portion TOP SECRET -Simon */
                              					flg &= !(PROJECT_AWARE);
                              					project(-1, 0, y, x, k/2, GF_ARROW, flg);
                              				}
                              				else
                              					project(-1, 0, y, x, k, type, flg);
                              turn off all the flags before projecting?
                              It looks to me like the code should be fine.

                              !(PROJECT_AWARE) should look something like 111111011111 so &=ing should only remove that one flag like the code seems to indicate it should. Presumably he only wants one bolt to appear even though it actually projects two separate bolts.

                              An alternate approach would be to split out the damage with a new type flag instead.
                              a chunk of Bronze {These look tastier than they are. !E}
                              3 blank Parchments (Vellum) {No french novels please.}

                              Comment

                              • Nick
                                Vanilla maintainer
                                • Apr 2007
                                • 9629

                                Originally posted by bulian
                                Just found a new monster type - water wapor. Should be vapor
                                IIRC the original Pos had these, spelt the same. Doesn't mean it was intentional
                                One for the Dark Lord on his dark throne
                                In the Land of Mordor where the Shadows lie.

                                Comment

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