Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Variants (http://angband.oook.cz/forum/forumdisplay.php?f=4)
-   -   RePosBand: play as a monster in Angbad 3.2 (http://angband.oook.cz/forum/showthread.php?t=3986)

buzzkill January 26, 2011 00:49

Crash bug
 
1 Attachment(s)
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.

pampl January 26, 2011 00:55

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.

thapper January 27, 2011 17:05

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?

Derakon January 27, 2011 17:41

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.

buzzkill January 28, 2011 01:28

Quote:

Originally Posted by pampl (Post 47567)
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.

GF_ARROW January 28, 2011 14:08

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

GF_ARROW January 28, 2011 14:24

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


thapper January 28, 2011 15:46

Quote:

Originally Posted by Derakon (Post 47636)
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.

buzzkill January 28, 2011 15:53

Quote:

Originally Posted by thapper (Post 47687)
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.

bulian January 28, 2011 16:34

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.


All times are GMT +1. The time now is 16:04.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.