Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old August 21, 2008, 20:51   #1
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
d_m is on a distinguished road
crazy 3.1 bug!

Check this out, folks:

...
(Inventory) Burden 121.8lb (72% capacity). Command:
a) 81 adamantite pieces worth of gold 0.0 lb
b) 5 Rations of Food 4.0 lb
c) 7 Flasks of oil 7.0 lb
...

Somehow 81 gp ended up in my inventory! I can't drop, destroy, or do anything else with these things! At least they don't weigh anything

I'm probably going to try to keep playing this character... sucks to lose an inventory slot though. Any creative ideas how to get rid of it? I will probably try a remove curse for the hell of it even though it's clearly a bug.
d_m is offline   Reply With Quote
Old August 21, 2008, 21:22   #2
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 39
Posts: 918
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis
Yeah, and what the heck is "adamantite pieces worth of gold"? Shouldn't it be the other way around? I recall seeing THAT reported ages ago
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old August 21, 2008, 22:06   #3
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,755
PowerDiver is on a distinguished road
The problem is probably in object1.c.
I'm looking at 309, hopefully the same.

You could comment out the ignore gold part, recompile,
drop the item, uncomment, recompile and go on.

I don't think it is safe to comment it out long term since that might lead to future problems.

bool item_tester_okay(const object_type *o_ptr)
{
/* Hack -- allow listing empty slots */
if (item_tester_full) return (TRUE);

/* Require an item */
if (!o_ptr->k_idx) return (FALSE);

/* Hack -- ignore "gold" */
if (o_ptr->tval == TV_GOLD) return (FALSE);
PowerDiver is offline   Reply With Quote
Old August 21, 2008, 23:15   #4
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
d_m is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
The problem is probably in object1.c.
I'm looking at 309, hopefully the same.

You could comment out the ignore gold part, recompile,
drop the item, uncomment, recompile and go on.

I don't think it is safe to comment it out long term since that might lead to future problems.
Thanks! I did this, and it worked! The only difference is that in 3.1, the file is named obj-util.c.

At this point the coins are on the floor and look like regular coins. I am definitely not going near them!

Thanks again.
d_m is offline   Reply With Quote
Old August 30, 2008, 18:12   #5
Irashtar
Scout
 
Join Date: Oct 2007
Location: Estonia
Posts: 37
Irashtar is on a distinguished road
Yeah, this bug has been on the tracker for more than three months, still not fixed in the official build.
Irashtar 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
Feature or bug? rawuest Vanilla 3 March 8, 2008 18:43
phial bug in 3.0.9 will_asher Vanilla 0 December 10, 2007 09:43
Bug with 'of earthquakes'? ShinX3 Vanilla 1 November 5, 2007 05:19
YA stacking bug will_asher Vanilla 0 October 27, 2007 18:18
Is this a bug? Ian Vanilla 17 October 24, 2007 10:11


All times are GMT +1. The time now is 17:47.


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