#689 Weight incorrectly calculated when items are dropped

server (359)

version: 1.12-beta-r12190M
server: crossfire.metalforge.net
client: GTK v2 (oroboros.glade layout, cache images _set_, download all images from server _set_)
char: selenil (lvl 21 monk dragon of gaea)
email: harveyfxREMOVEALLCAPSNOSPAM@hotmail.com

At some point when I am dumping inventory, my equipped weight will stop changing. If I unequip and reequip a ring, it gets fixed. I have noticed this problem repeatably when I drop off cauldrons in my apartment. When I unequip and reequip my Cha+2 ring, the displayed weight resyncs to normal.

Running fix_me had no effect.

I noticed this problem after I started using a series of keybindings to rapidly equip different pairs of rings for different situations. The keybinding used apply -u ring to force unequipping, and apply -a to apply the ring in question. Maybe there is a bug with apply using these switches?


  • Kevin Zheng

    Kevin Zheng - 2013-08-11

    I occasionally experience the same "weight issue" when playing with the most recent revisions of both the client and server from the 'trunk' branch.

    It seems that the weight is incorrectly calculated when many heavy items are dropped, making the player seem more burdened than in actuality. The problem can be resolved by applying/unapplying a ring/Glowing Crystal or by going to bed and coming back.

    The problem isn't exactly reproducible yet, but I will add to this ticket once I find a surefire way to make it happen again. Since it's a trivial problem, I never bothered to report it until I saw this ticket. Other people who see this problem happen should report it, too.

  • Kevin Zheng

    Kevin Zheng - 2013-08-30
    • summary: weight issue solved by unapplying / reapplying rings --> Weight incorrectly calculated when items are dropped
    • Group: 1.12 --> 1.x_trunk
  • SilverNexus

    SilverNexus - 2014-01-30

    I know that weight has an odd tendency to increase when applying scrolls (specifically identify, perhaps others) from inventory when near maximum weight. It may have the same effect at lower weights, but it is not nearly as noticeable.
    Unless this has been fixed within the past couple months, I have been able to reproduce this fairly consistently (when using several scrolls).

    This was on the trunk server/client. I need to see if it still occurs, though.

    Last edit: SilverNexus 2014-01-30
  • SilverNexus

    SilverNexus - 2014-05-27

    The issue appears to have been in merging objects.
    The code would double-count the weight for a merged pile (once as part of the new pile, once as an independent pile), thus causing the issues described here.

    Fix committed in r19492. Thank you submitting the bug report, even though it has been a while.

  • SilverNexus

    SilverNexus - 2014-05-27
    • status: open --> closed
    • Group: --> 1.72.0

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks