PlaneShift
Support => Technical Help: IN GAME bugs (after loading world) => Topic started by: Moocha 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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
to my understanding, if you drop certain glyphes you lose them, and cant get them back......
-
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.
-
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.
-
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...
-
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!
-
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.
-
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.
-
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.
-
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
-
I\'m having the same weight problem. My character Ayalie can carry up to 81 units but at around 40-44 I can\'t pick up anymore. This just started today. When I tried dropping a few items to pick up another item it didn\'t work, and then wouldn\'t let me pick back up the items I had just droped.
I have never carried or used a container.
-
Ok, because we have a few new characters getting this, I think we have a glitched calculation. I\'ll be looking into this today.
-
mean while...eat an apple...it fixes it.
-
Thanks for being on the ball, DaveG. Your hard work is highly appreciated - trust me on this! :)
-
you can test this bug by going to an npc that sells things, like potions which I use a lot of, and trying to buy a bunch. at some point, well below your weight limit, it will literally tell you \"your inventory is full\" and you can\'t buy anymore. Nor can you pick anything up.
Araye
-
I just finished removing an old weight management function that may have been conflicting with the new stuff. If any weird weight things happen after the time of this post, please post here. (that includes the same thing happening again as well as new junk)
-
.. not sure if it helps, but i did notice after logging off then on, it let you pick up a few more things before it told you you couldn\'t.
Not since this post though, I am looting away to see if it happens. I\'ll let you know.
-- EDIT - It is still happening. I am currently 106/130 weight, and it will not let me pick up a 6 weight item :(
-
Ok, I need to know EXACTLY what you\'re doing to get this.
-
Still happening here too (assuming a non-bugged inventory, since a new character is also affected).
Current inventory: 97.50 / 195.0
Current capacity: 148.00 / 750.00
Items in inventory are Samadin\'s standard spare gear and stuff picked up while sweeping the dungeon, partly from loot, partly cleaning up whatever some litterers left behind).
Killed 1 Clacker, loot: 1 Leg, 1 Meat.
Trying to loot => You looted a Clacker Leg, but can\'t hold anymore; You looted a Clacker Meat, but can\'t hold anymore. The two items get dropped onto the floor.
All stats displayed as 100% (I waited for a few minutes, while writing this).
Trying to pick them up either via UI or via /target and /pickup results in You can\'t carry anymore Clacker leg, etc.
Casted one Life Infusion (remember, the character\'s health had been displayed as 100%, and I waited for approximately 200 seconds, which should have brought it up to 100% no matter what, so the spell should\'ve been a nop).
Result => Items can now be picked up, and killing the Clacker again lets one loot whatever it has. Steuben was right on the first count...
Edit: Please feel free to log into the character / duplicate its data into a new one (just /tell me beforehand in-game so I can log off).
Edit 2: Killing the next clacker spawned in the very same spot results in the no space left warning. Health still at 100%. Life infusion => can pick up.
-
Life Infusion o.O
WTH?... Why would that do anything?...
Ok, now I\'m thinking this is due to stats problems.
Edited to add:
Another possibility is that healing yourself with a spell or food causes RecalculateStats() to be called for your character, which calls CalculateStats() for your inventory, which calls ReassessInventoryDimensions(), which corrects everything. Which would imply that something somewhere didn\'t call SubtractDimensionsFromInventory() or shouldn\'t have called AddDimensionsToInventory(). (or, it could just be the FUBARed stats)
I\'ve added a message to output the reason for the failed attempt to add the item to the inventory. After it starts showing up, please do this again and tell me what it says.
Edited to add yet more:
Does this only happen after looting?
-
Originally posted by DaveG
Edited to add yet more:
Does this only happen after looting?
I\'m currently killing Tefus to fill it up faster, to see if your debug output appears. Araye mentioned it happens on buying too, a few posts back (http://planeshift.oodlz.com/wbboard/thread.php?boardid=33&threadid=21572&page=1#20).
-
No debug output yet (the server wasn\'t restarted - I assume it\'ll need to so the modifications kick in...)
Edit: Was just restarted. Will reproduce as soon as it\'s back up.
I\'m not sure it\'s the stats recalculation that triggers the allowing to pick up behavior, since I did this:
1. Kill Tefusang, loot 1 skin + 1 tooth, both drop to the ground.
2. Yell at morons who try to interfere and keep picking up the dropped items.
3. Wait till another spawns, attack it on Defensive, clear target, let it hit me down to 50-ish % health, then (while it was still hitting me) try to pick up items from the ground. Still denied.
4. Yell at morons some more.
5. Kill Tefu, try to pick up items. Still denied.
6. Cast one Life Infusion, bringing health up a few points. Can now pick up.
7. Kill a few more Tefus, confirm that the character can still pick up loot.
8. Once it denied the pickup again, use one health potion, confirm that one can pick up again.
Lather, rinse, repeat.
-
food works too.
-
After the restart I was able to drop a few items around and pick them up immediately again (normally once the limit kicked in it was impossible to pick up items that had been dropped a few seconds before).
Killed a Tefu.
You looted a Tefusang skin.
The Tefusang Tooth will be too much for you to carry
You looted a Tefusang Tooth, but can\'t hold anymore
You start casting Life Infusion
You transfer healing energy by your touch.
Your wounds were healed a bit (hah, 100% Health)
Samadin Cerillo picked up (garbage, supposed to be the Tooth)
*edit*
Just noticed the following - it\'s not strictly health-related. Instead of casting Life Infusion or eating something, it lets you pick up items even after casting Defensive Wind.
Edit 2: Waiting until the DefWind effect ceases (\"The defensive wind stops blowing\") works too - after that message one can pick up items.
Killing a monster causing loot to be dropped with \"too much to carry\", then waiting for the next spawn and killing it with magic so the mana and mental stamina stats change does not do the trick, no matter how quickly one tries to pick them up after killing the monster.
Edit 3: Note that no matter what you do it does not seem possible to exceed the real maximum weigth. The reason message one gets when trying to pick up excessive weight is the same as above - The (item_name) will be too much for you to carry
Edit 4: Thank you for taking the time to work on this. Hope you will find it! Good luck and tracy debuggers :).
------------------------------
(Reply instead of edit to make sure the thread is flagged as new)
We don\'t do that around here ;) Bumping threads can be done by editing your post as well. Please avoid posting two or more successive posts before others have replied, since it doesn\'t make people read your thread any faster, and serves only to raise your Deleted Posts count. Thanks :) --Karyuu
I was under the impression that an edit doesn\'t perform a bump. Whoops.
-
Well, it seems to just be your carried weight isn\'t calculated right. I\'ll keep digging through the code. Moocha, thanks for your help. Not much else you can do now. I\'ll find it eventually... :/
-
I am also having this same problem:
Weight far below max weight, can\'t pickup item (in this case Iron ore). I can workaround to pickup one more item by casting life infusion on myself or logging off and logging back on (haven\'t tried eating).
Also, if I cast life infusion on some other character who is having the same problem (they can\'t pick up an item they should be able to) they can now pick it up.
*edit*
Update: The life infusion trick doesn\'t work if the spell fails, it has to succeed, even though I am already at 100% health so it doesn\'t add any health.
Please avoid posting two or more successive posts before others have replied. Just edit your last post to add new information :) Thanks! --Karyuu
-
Healing yourself in any way, shape, or form fixes it.
There\'s no need to keep posting here, unless you\'ve got a fix. ;) I know it\'s glitched, and I\'m working on it. The thing is, I can reproduce it on Laanx, but not my server build. Something strange is going on. It will get fixed eventually, just be patient, and carry some apples with you. :D
-
I knew those apples were useful for something!
-
Just want you to know that I a have the same carry prob.
The only solution for me is to log out/in and hope the gold, lot whatever is still there.
Have lost MANY items so a bugg fix should be great!
Player name \"Ehasara\"
-
I know there\'s a glitch. Next person to post here to just report it is deemed a moron.
Pick an apple off my tree, and eat it when this happens. You are not losing any items.
-
Originally posted by DaveG
Pick an apple off my tree...
Oh, does the tree grow apples again? Last time I checked, it did not work anymore (since the ruby rain fell on the land). -- I\'ll have to check again now...
__
No.
Either \"You can\'t pick up this item\", or \"Item out of range\".
And no apples falling down from the tree onto the meadow.
So, the only current sources of apples are some rogues or bandits, and the cook in the tavern.
-
Hmm... I wonder what\'s wrong with my tree?... :/ I\'ll go investigate later.
Well, I finally nailed this damn thing down. :) I was adding the weight of an item to the inventory after stacking, and counting the original part of the stack again. The reason I couldn\'t reproduce this in the CVS version, was I was using unstackables and didn\'t know it was stacking related. (not that many stackables with weight in CVS DB) The fix will be in next server rebuild.
-
(http://www.cosgan.de/images/smilie/froehlich/a080.gif)
THANK YOU!
-
That\'s good to hear, \'cause even the healing fix doesn\'t work for me. Sometime, I pick up as many as two gold ore before getting the \"you can\'t hold anymore\" message. Very frustrating.
-
Way to go DaveG! You da man! :tup: :tup: Thank you.
-
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOO DAVEG!
Who\'s for organizing a DaveG Cheering Squad?
-
Originally posted by BlackAcre
That\'s good to hear, \'cause even the healing fix doesn\'t work for me. Sometime, I pick up as many as two gold ore before getting the \"you can\'t hold anymore\" message. Very frustrating.
maybe your inventory is already full O.o
-
Originally posted by Drey
Originally posted by BlackAcre
That\'s good to hear, \'cause even the healing fix doesn\'t work for me. Sometime, I pick up as many as two gold ore before getting the \"you can\'t hold anymore\" message. Very frustrating.
maybe your inventory is already full O.o
No, no, no....not at all. Two pieces, period. It\'s the bug, there doesn\'t need to be any analysis of it. My only workaround is to de-equip and re-equip my pick when I get the message telling me I can\'t carry anymore. It usually lets me pack on another two pieces before I get yet another message. Still frustrating, but I can pack up to my weight limit at least. Really nice to see this bug go.
-
Thank you *so* much, Dave. Nice debugging :).
-
Weird that I get so much praise for fixing a bug that I probably created. :)
-
Originally posted by DaveG
Weird that I get so much praise for fixing a bug that I probably created. :)
Um, I have yet to see a programmer that doesn\'t at times create bugs that, upon discovery, cause eyebrows to spontaneously achieve orbit... Fscking up is a fact of life. The art to *fix* the mess one inevitably creates is much rarer...