Author Topic: Inventory weight bug  (Read 3839 times)

Moocha

  • Traveller
  • *
  • Posts: 18
    • View Profile
Inventory weight bug
« on: January 15, 2006, 03:34:17 am »
My character (Samadin Cerillo) should theoretically be able to carry 195 units. However, currently it can carry only up to 115 - 135 units (the exact amount varies). Any attempt to pick anything at all up (even items weighing 0.2) results in a \"cannot carry any more X\" message.
I first noticed this behavior on or around January 15, 01:20 AM GMT.
No out of the ordinary action was performed with this character, and neither did I notice anything out of the ordinary with either the client or the server (well, besides the post-update to-be-expected yoyo mode :D).
I contacted Jabren about this when I first noticed. Apparently the server was reporting that my inventory was carrying 208 / 210 (or somesuch). After /die, selling everything expendable to the Death Guardian, and logging out then back in, the problem seemed to fix itself, but as soon as Samadin\'s inventory got to 115.5 the problem reappeared.
On a (possibly related) sidenote, the item names for the \"player_name has picked up a XXXXXXX\" appear garbled - mostly as some uppercase A characters (0x41) followed by the dreaded box characters that Windows displays when it\'s got an undisplayable character.
Hope this helped.
Can provide more details on demand, if required.

Edit: s/theoreticalkly/theoretically/g, and yes, I should Preview... :)
Edit 2: Before I forget: Dropping *anything* from the inventory properly causes the corresponding item to appear in the world, but it is from then on impossible to pick any of the items up again, no matter how much gets dropped.
Edit 3: Re the item name display issue: The system\'s LCID is 1048 (ro_RO), not 1033 (en_US), but this issue never arose so far.
Edit 4: Confirmed Bleegoingus\' note - after a re-log the total weight limit gets pushed up so one can pick up previously dropped items again, although not up to the actual maximum weight. Also, please note that the client seems to properly display and/or calculate the item weights (as long as one can pick up stuff, said stuff increases the current total displayed weight properly). Just not up to the correct maximum.
« Last Edit: January 15, 2006, 04:07:20 am by Moocha »

Bleegoingus

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #1 on: January 15, 2006, 04:01:16 am »
I am seeing the same thing. I am well under capacity, but it stops letting me pick items up.

 I made the mistake of grabbing a block of items from my inventory, and tried to move them to another slot. It would not let me and dropped them.

I logged off and back on, and was able to pick them back up.

I am also seeing the garbled names when i pick items up from the ground.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #2 on: January 15, 2006, 04:09:16 am »
The corrupted message is completely unrelated, and is probably a more serious issue.  (symptom of a much larger problem we\'re looking into)

I rewrote, well... pretty much everything inventory related.  It was garbage; everyone knew it was a mess, and parts had been disabled to prevent crashes.  (this caused many weird bugs)  I also revamped the weight/capacity system.  The server is actually capable of handling size restrictions now, but it\'s off pending balancing.  (the capacity thing below the weight)  Anyways, someone else reported this, and there are 3 possibilities:
  • You had a glitched inventory before, and it doesn\'t know what to do with it now.
  • The stats bugs we\'re having are running havoc with this.
  • There is a slight miscalculation in the code that doesn\'t show up for everyone.
  • You used a container in the past and lost items, causing #1
My initial reaction is #1, but it could be any of them.  After I\'m done with what\'s causing the corruption, I\'ll look into this in great detail.  If anyone has more info on this, please post here.  Thanks.

::  PlaneShift Team Programmer  ::

steuben

  • Veteran
  • *
  • Posts: 1834
    • View Profile
    • Myspace
(No subject)
« Reply #3 on: January 15, 2006, 04:18:02 am »
i don\'t know if you guys tied anything like this into the code. or even if it is related. but...

i\'ve noticed that my health has an effect on if i can pick things up or not. if i eat something or cast energy, repeatedly to a certain level i\'m eventually able to pick it up. and it does appear to be proportional to how close i am to my max capacity. ie more health is needed to pick-up something new.
may laanx frighten the shadow from my path.
hardly because the shadow built the lexx.
the shadow will frighten laanx from my path.

Moocha

  • Traveller
  • *
  • Posts: 18
    • View Profile
(No subject)
« Reply #4 on: January 15, 2006, 04:18:50 am »
This is what I can recall about inventory operations on Samadin:
- Samadin had a second, non-equipped Ring of Summon Familiar, which disappeared about the time I noticed the issue.
- At the same time 14 extra Tefusang Skins appeared in the inventory.

I\'m not sure what exactly you mean by using a container...

My gut feeling would be #1 too, but the effective upper capacity (as opposed to the client\'s displayed maximum) varies, so I\'m not sure it\'s a case of undisplayable / non-parsable item still in the inventory, since in that case that effective capacity should be more or less fixed. Currently it seems to constantly decrease.

I\'ve tried shuffling the inventory around using up every single slot that the client displays as empty, but to no avail. None of the slots were unusable.

I\'ll try to train up Strength to see if increasing it influences anything.

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #5 on: January 15, 2006, 04:35:38 am »
Hmm... ok, my hunch is getting somewhere.  Try this:  find a hidden spot in the middle of nowhere, maybe off in the hills or something.  Dump your character\'s entire inventory and equipment on the ground.  (except money)  Log off, then back on again, and see if you have anything new (or rather, old) in your inventory or equipped.  If you do, repeat until you don\'t.  Then take what you want to keep.  Tell me how it goes.

As far as I know, the only containers that are available to the public are the locked mugs near the dungeon exit.  (and I don\'t even know if it\'s possible to train enough lockpicking skill to get in)  In the past, containers in your inventory or hand that were holding items were known glitchers.  I\'ve fixed that, but the items they lost would still be floating around in the database.  If you\'ve never used a container, then this probably isn\'t your problem, though.

::  PlaneShift Team Programmer  ::

Bleegoingus

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #6 on: January 15, 2006, 04:40:32 am »
to my understanding, if you drop certain glyphes you lose them, and cant get them back......

Moocha

  • Traveller
  • *
  • Posts: 18
    • View Profile
(No subject)
« Reply #7 on: January 15, 2006, 04:40:46 am »
I\'ll do that (and look over my shoulder to see whether anyone\'s following me :D).

I *did* (ab)use the mugs 10-ish times to reset stamina regen to what it should have been (found out by accident, checked the bug tracker only after talking to Bereror). I can\'t open them though (never trained Lockpicking) and I doubt they can be opened by players - one of them requires 20 and the other 120 :).

Edit: D\'oh, just re-read DaveG\'s post and managed to actually grok what was meant there... By those terms, nope, never used a container.
« Last Edit: January 15, 2006, 04:43:48 am by Moocha »

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #8 on: January 15, 2006, 04:43:51 am »
Quote
Originally posted by Bleegoingus
to my understanding, if you drop certain glyphes you lose them, and cant get them back......

I\'ve never had that happen, and in fact there are some instances where you have to drop them to prevent them from disappearing.  ;)

By the way, because the item size system is currently off, you can fit an infinite (well, 65535 is the max for any stack) number of glyphs into your inventory without affecting your capacity.  You could probably get away with leaving them in, but you won\'t lose them by dropping them, so I\'d drop them too.
« Last Edit: January 15, 2006, 04:45:23 am by DaveG »

::  PlaneShift Team Programmer  ::

Bleegoingus

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #9 on: January 15, 2006, 05:42:20 am »
hmm, perhaps I am jsut confused about the numbers now...

I used to go by the weight xxx/xxx values.

Now i see below them, a capacity value.

After i unloaded all my stuff, the capacity was zero.

As I added items back in, the weight value went up according to the weight of the items... but the capacity value grew slightly larger.

Right now my weight reads: 29.00/130.50
but a off color capacity value reads 52.00

I dont remember seeing this capacity value before...

Moocha

  • Traveller
  • *
  • Posts: 18
    • View Profile
(No subject)
« Reply #10 on: January 15, 2006, 06:04:57 am »
Dumped out then reloaded inventory and equipment as instructed, with a login cycle inbetween. No unexpected items (re)appeared and everything equipped back properly. Status quo so far.
I don\'t know whether The issue still applies to this character - haven\'t been able to pick up enough items yet (had just died by the ruins when the server yoyo-ed again). I\'ll look into it later - it\'s Sunday, 7 AM here already :).
Thanks for all the help so far!

DaveG

  • Forum Addict
  • *
  • Posts: 2058
    • View Profile
(No subject)
« Reply #11 on: January 15, 2006, 06:12:14 am »
The capacity has been there for a while.  It didn\'t work, and now it does but it\'s disabled.  It will calculate the total size of your inventory items, but it won\'t restrict you to a maximum, yet.  Weight is all that matters right now.

::  PlaneShift Team Programmer  ::

AttilaTheMom

  • Traveller
  • *
  • Posts: 12
    • View Profile
(No subject)
« Reply #12 on: January 15, 2006, 06:15:20 am »
I have a brand new char, had lots of rat stuff in my inventory, killed a rat and tried to loot it but got a message saying i couldn\'t carry any more.  looked down and the rat hide i tried to loot was on the ground.  Opened my inventory, took a tail out and dropped it, my capacity dropped by one, but it still wouldn\'t let me pick up the hide.  Then it wouldn\'t let me pick up the tail i dropped either.  Got the same message about not being able to carry any more.
I am the mother of all things... and all things should wear a sweater.  

Bleegoingus

  • Traveller
  • *
  • Posts: 11
    • View Profile
(No subject)
« Reply #13 on: January 15, 2006, 02:35:22 pm »
This is what happened to me too, as I mentioned in my earlier post, i was able to recover my dropped items by logging off and back on.

I was then able to pick up a few more items than before, but then was told I could not carry anymore... but still well under my weight max.

I did drop all my items /weapons/ armour and relog in, but I was skeptical as I have never carried/used a container as mentioned above.

Choren

  • Hydlaa Resident
  • *
  • Posts: 80
    • View Profile
Picking up
« Reply #14 on: January 15, 2006, 07:54:34 pm »
I can not pickup any items.  The game says that I do not have the coppicty, but I have a coppicty of 111 out of 800.  I have a higher sigth then the game says also.  It says I have a maxtem of 85 wight.  And I am only carrying 55 wight.  

I also have sight of 56.

Last week the wight I could carry up to was around 135
Why should I speak, if no one speaks?  Why should I approach, if no one approaches?  Why should I hear, if no one hears?