Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 20, 2017, 21:08   #491
t4nk
Adept
 
Join Date: May 2016
Posts: 201
t4nk is on a distinguished road
Looks like monster_flag_table[] (mon-util.c) misses {RF_MAX, 0, NULL} at the end? That causes buffer overrun in mon-util.c:83 ("rf->index < RF_MAX", but there is no such index).
t4nk is offline   Reply With Quote
Old March 21, 2017, 20:32   #492
StMicah
Adept
 
Join Date: Feb 2015
Posts: 105
StMicah is on a distinguished road
I'm getting some odd behavior...playing with randarts on the second march 19 nightly and when starting up a savefile, my artifact knowledge is empty (though) I still have the randart equipped. Has anyone else noticed this?

I've attached a savefile that I have debug on to create artifacts. In a normal game, I noticed this because a repeat randart was generated!
Attached Files
File Type: zip PLAYER.zip (5.7 KB, 2 views)
StMicah is offline   Reply With Quote
Old March 22, 2017, 08:10   #493
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 1,742
PowerWyrm is on a distinguished road
After implementing some randart changes in PWMAngband, I ended up with weightless randart lights and jewelry. I started the latest Angband build, generated all artifacts from debug mode, and also ended up with weightless randart light sources (jewelry is fine).

This is because now all randarts take their base properties from their chosen kind... and all INSTA_ARTs have no weight defined in write_dummy_object_record(). No idea why this works for rings and amulets, probably their weight is hardcoded somewhere...
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant!

Last edited by PowerWyrm; March 22, 2017 at 08:33.
PowerWyrm is offline   Reply With Quote
Old March 22, 2017, 09:02   #494
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 1,742
PowerWyrm is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
After implementing some randart changes in PWMAngband, I ended up with weightless randart lights and jewelry. I started the latest Angband build, generated all artifacts from debug mode, and also ended up with weightless randart light sources (jewelry is fine).

This is because now all randarts take their base properties from their chosen kind... and all INSTA_ARTs have no weight defined in write_dummy_object_record(). No idea why this works for rings and amulets, probably their weight is hardcoded somewhere...
Looking more closely at the problem, there seems that another INSTA_ART field is missing in write_dummy_object_record(): kind->level. This field is used to enforce minimum object level in make_artifact_special(). And since it's currently zero, no check is made. So expect randart Rings of Firmament at 50'!
__________________
PWMAngband variant maintainer - check http://www.mangband.org/forum/viewforum.php?f=9 to learn more about this new variant!

Last edited by PowerWyrm; March 22, 2017 at 09:07.
PowerWyrm is offline   Reply With Quote
Old March 25, 2017, 03:01   #495
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 877
Nomad is on a distinguished road
Got a crash descending a staircase in version a016a4c.

Code:
Assertion failed!

File:cave-square.c, Line 464

Expression: square_in_bounds(c, y, x)
Nomad is offline   Reply With Quote
Old March 25, 2017, 14:50   #496
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 877
Nomad is on a distinguished road
Quote:
Originally Posted by StMicah View Post
I'm getting some odd behavior...playing with randarts on the second march 19 nightly and when starting up a savefile, my artifact knowledge is empty (though) I still have the randart equipped. Has anyone else noticed this?

I've attached a savefile that I have debug on to create artifacts. In a normal game, I noticed this because a repeat randart was generated!
Yes, I'm encountering this too - I've had multiple duplicate randarts show up in a016a4c after saving and reopening, and the ones that I found in earlier game sessions aren't shown in the artefact list.
Nomad is offline   Reply With Quote
Old March 25, 2017, 17:24   #497
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 877
Nomad is on a distinguished road
Can't seem to ID the rune for the slowness curse by use even though it's self-evident the item is reducing my speed. (Possibly because I already learned the rune for speed earlier?)
Nomad is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sil 1.1.1 no-artefacts, polearm master bron AAR 21 August 27, 2013 23:42
3x Breaking and Entering by Anaxe the Master Thief Thraalbee AAR 0 August 26, 2011 21:42
Artifacts in 3.2 (Master List) Tregonsee Vanilla 8 March 6, 2011 11:33
State of Angband master branch d_m Development 80 November 26, 2010 14:14
squelch comments/complaints ChodTheWacko Vanilla 2 July 28, 2007 17:50


All times are GMT +1. The time now is 01:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.