Bugs 1.19 beta

Issues, news, and discussion specific to the PWMangband variant.
Post Reply
Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

Bugs 1.19 beta

Post by Ace » Sat 01.09.2012, 16:39

I will collect all the bugs & crashes I'll find here.

Situation:
Server crash after when trying to drop a want on the ground. The character was standing on top of 24 iron shots at the time. When reconnecting, the server crashes when I login again (no information provided in the server log).

However when logging in again it seems that the character has lost all items (nothing is shown in the inv list) however it is shown in the windows as well that the character is overburdened.

Previous actions were: defeated brodda and walked around with severly drained stats. Inventory was full and last command was to drop the inventory item.

Another character can login fine and also scum through all levels.

First Crash:

Code: Select all

010912 183734 Acenoid: You see an Iron Shot (1d4) (+0,+0).
010912 183736 Acenoid: You combine 2 Iron Shots (1d4) (+0,+0) in your quiver (o).
010912 183737 Acenoid: You see an Iron Shot (1d4) (+0,+0).
010912 183742 Acenoid: You combine 3 Iron Shots (1d4) (+0,+0) in your quiver (o).
010912 183743 Acenoid: You combine 4 Iron Shots (1d4) (+0,+0) in your quiver (o).
010912 183743 Acenoid: You combine 5 Iron Shots (1d4) (+0,+0) in your quiver (o).
010912 183744 Acenoid: You combine 7 Iron Shots (1d4) (+0,+0) in your quiver (o).
010912 183745 Acenoid: You combine 9 Iron Shots (1d4) (+0,+0) in your quiver (o).
010912 183745 Acenoid: You combine 10 Iron Shots (1d4) (+0,+0) in your quiver (o).
010912 183746 Acenoid: You have found 43 gold pieces worth of silver.
010912 184110 Acenoid: You see 26 Iron Shots (1d4).
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184110 Acenoid: There is a wall in the way!
010912 184112 Acenoid: You drop a Wand of Magic Missile (9 charges) {@a1} (o).
010912 184112 server panic info save succeeded!
010912 184112 server panic info save succeeded!
010912 184112 server panic info save succeeded!
010912 184122 Game Restarted
After the crash:

Code: Select all

010912 184216 Player Name is [Acenoid], id is 2
010912 184216 Acenoid: Server is running version 1.1.9 (Beta)
010912 184216 Acenoid:
010912 184216 Acenoid:
010912 184216 Acenoid: ====================
010912 184216 Acenoid:
010912 184216 Acenoid:
010912 184216 Acenoid: You can learn 2 more prayers.
010912 184216 Acenoid: This seems a quiet, peaceful place, and there are only sc
raps of junk here.
010912 184216 server panic info save succeeded!
010912 184216 server panic info save succeeded!
010912 184216 server panic info save succeeded!
--- RESTART ------------------------------------
Last edited by Ace on Sat 01.09.2012, 17:10, edited 1 time in total.

Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

Re: Bugs 1.19 beta

Post by Ace » Sat 01.09.2012, 17:05

On WLev 14 I have found a house that was generated with permanent walls and without any entrance.
Even as dm I cannot enter.

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Bugs 1.19 beta

Post by PowerWyrm » Sat 01.09.2012, 18:30

For the server crash, can you reproduce it?

For the house with permawalls and no entrance, this is not a bug, but a feature from the forthcoming MAngband 1.2: a PvP arena! (http://mangband.org/developer/ticket/741)

Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

Re: Bugs 1.19 beta

Post by Ace » Sat 01.09.2012, 23:39

unfortunately I could not reproduce the crash. I just entered the room hit the wall and did some combining of itmes, but who knows maybe somethingesle happened on this level at that very moment? Otheriwse the server was very stable so far. I still have the saved game data from build 1 if that helps you.


ITEM CREATION
When trying to create some items as DM I'm unable to create a lantern +3 for example. I dont see how to add ego properties to an item, when I cannot specify the exact ego number or name. Maybe no bug and just user error.

The best way so far seems to look through the ego_item "edit" file to see what is possible

PS - I hope you dont midn all these bug / reports & suggestions so far not much was helpful ;)

Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

Re: Bugs 1.19 beta

Post by Ace » Sun 02.09.2012, 07:35

RESTORE STATS (again)
Regarding the restore stats potions again. I started to investigate in the angband forums ( http://angband.oook.cz/forum/showthread ... tore+stats ). In this thread it was explained to let a character drained just enough xp to loose a level, then re-gain it to restore stats.

I think I tried that too, but it didn't work. I attempted to do the following to reproduce:

1. summon undead mass to drain Con
2. drank potions of loose memories down to level 8
3. regained a lost level (now at 9)
-> no stats have been restored

Maybe a bug maybe a feature since no new level was gained. This would also make a potion of loose memories "useful" in these cases.

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Bugs 1.19 beta

Post by PowerWyrm » Mon 03.09.2012, 10:45

Ace wrote:unfortunately I could not reproduce the crash. I just entered the room hit the wall and did some combining of itmes, but who knows maybe somethingesle happened on this level at that very moment? Otheriwse the server was very stable so far. I still have the saved game data from build 1 if that helps you.


ITEM CREATION
When trying to create some items as DM I'm unable to create a lantern +3 for example. I dont see how to add ego properties to an item, when I cannot specify the exact ego number or name. Maybe no bug and just user error.

The best way so far seems to look through the ego_item "edit" file to see what is possible

PS - I hope you dont midn all these bug / reports & suggestions so far not much was helpful ;)
Well looking at the log the problem happens after the drop ("You drop" message), but before the item is actually removed from inventory ("You have no more" message), which leaves only the inven_item_increase() function which does almost nothing. It would have been nice to have both character and server savefiles at that point to reproduce the problem in debug mode...

Considering item creation, you can only create actual items, so a lantern +3 is not possible. For ego properties, use E to select an ego from name (see ego_item.txt).

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Bugs 1.19 beta

Post by PowerWyrm » Mon 03.09.2012, 11:12

Ace wrote:RESTORE STATS (again)
Regarding the restore stats potions again. I started to investigate in the angband forums ( http://angband.oook.cz/forum/showthread ... tore+stats ). In this thread it was explained to let a character drained just enough xp to loose a level, then re-gain it to restore stats.

I think I tried that too, but it didn't work. I attempted to do the following to reproduce:

1. summon undead mass to drain Con
2. drank potions of loose memories down to level 8
3. regained a lost level (now at 9)
-> no stats have been restored

Maybe a bug maybe a feature since no new level was gained. This would also make a potion of loose memories "useful" in these cases.
Feature. You only regain stats when gaining a new level in PWMAngband. Same happens with the "Welcome to level" message.

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Bugs 1.19 beta

Post by PowerWyrm » Tue 04.09.2012, 07:53

Zaxx wrote: Well looking at the log the problem happens after the drop ("You drop" message), but before the item is actually removed from inventory ("You have no more" message), which leaves only the inven_item_increase() function which does almost nothing. It would have been nice to have both character and server savefiles at that point to reproduce the problem in debug mode...
I've been able to reproduce the crash with the provided server/character. It's a stupid division by zero error when describing the dropped wand which at that point is an item with number = 0 ("You have no more wands of magic missile..."). The function which describes the item checks if the {squelch} tag must be added to the description, so it checks the item value which for a wand or a staff depends on its number of charges equal to pval * quantity / number... and boom!

This is now fixed in my build 1 version. I'll update the beta code that I have at home when I come back from work tonight. In the meantime, just use ',' instead of 'g' to pick up wands and staves so it bypasses the squelch settings. Good catch anyway...

Ace
Crystal Ooze
Posts: 368
Joined: Fri 15.02.2008, 12:50

Re: Bugs 1.19 beta

Post by Ace » Thu 13.09.2012, 22:12

Noticed another server crash today:

Log:

Code: Select all

130912 174012 user: You have found 15 gold pieces worth of copper.
130912 174013 user: The Mangy-looking leper begs you for money.
130912 174013 user: The Mangy-looking leper touches you.
130912 174013 user: You feel very sickly.
130912 174013 user: You hit the Mangy-looking leper.
130912 174013 user: You have slain the Mangy-looking leper.
130912 174017 user: Really enter the wilderness? The dungeon entrance is in the town!
130912 174021 user: The Insect swarm bites you.
130912 174021 user: The Insect swarm stings you.
130912 174021 user: The Insect swarm bites you.
130912 174021 user: The Insect swarm stings you.
130912 174021 user: The Insect swarm bites you.
130912 174021 user: The Insect swarm stings you.
130912 174021 user: You miss the Insect swarm.
130912 174021 user: The Insect swarm bites you.
130912 174021 user: The Insect swarm misses you.
130912 174022 user: You hit the Insect swarm.
130912 174022 user: You have slain the Insect swarm.
130912 174046 user: This house costs 2219611 gold.
130912 174110 server panic info save succeeded!

Assertion failed: r_idx > 0, file server\monster\mon-make.c, line 1458

Abnormal program termination
Then the poor player can no longer login:

Code: Select all

130912 174110 Server is running version 1190
130912 174110 Timer delay 13 ms timer resolution is 1 ms
130912 174322 Welcome user=user@user-PC (******) (version 1190)
130912 174329 Invalid account
130912 174329 Goodbye user=user@user-PC ("Invalid account")

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Bugs 1.19 beta

Post by PowerWyrm » Fri 14.09.2012, 11:15

I'll look at that. By the way, I fixed a stupid bug today... panic save when hitting a monster with Grond. So don't use it until build 1 is released ;)

PowerWyrm
Balrog
Posts: 1574
Joined: Sun 27.11.2005, 15:57

Re: Bugs 1.19 beta

Post by PowerWyrm » Mon 17.09.2012, 11:32

Angband 3.4 is now out, and this bug is the only thing left to tackle for PWMAngband 1.1.9, so the final release should be out today or tomorrow!!!

Post Reply