ekunuke / vagante_issues

Public issues-only github repo
3 stars 0 forks source link

OMP: Occasionally items just picked up, can't be equipped #109

Open mishapsi opened 8 years ago

mishapsi commented 8 years ago

title

k6l2 commented 8 years ago

Does the console print something when you are attempting to equip one of these bugged items?

mishapsi commented 8 years ago

I'll let you know the next time I come across it

k6l2 commented 8 years ago

I suspect that it could be related to either the Player revival routines, or leaving/rejoining a server... So keep a look out for those things specifically. Although I still have no idea what is actually causing it.

Edge-0 commented 7 years ago

Here @k10 , that's what is printed when the item can't be equipped: `16:14:13.547 CLIENT : Item::unequip Blessed Gem Studded Ring

16:14:13.547 DEBUG : Inventory::unequipItem: equipped item found! meleeWeapons.size()=2 rangedWeapons.size()=0 16:14:13.547 CLIENT : Client::onReceiveServerItemUse num items: 1 16:14:13.547 CLIENT : Client::onReceiveServerItemUse: SV_USE_ITEM received. unequipItem(16) 16:14:13.547 DEBUG : Inventory::unequipItem 16:14:13.547 DEBUG : Inventory::unequipItem: equipped item found! meleeWeapons.size()=2 rangedWeapons.size()=0 16:14:13.547 CLIENT : Client::onReceiveServerItemUse: Item Blessed Gem Studded Ring was waitingForServerUse. Used now, setting flag to false. item->netId=16 item->count=1 16:14:13.563 CLIENT : Received stat update for my player. 16:14:14.047 CLIENT : Inventory::useSelected 16:14:14.047 CLIENT : Inventory::useSelected: Could not use this Item! item->count=1 item->die=0 item->waitingForServerUse=1 16:14:14.391 CLIENT : Inventory::useSelected 16:14:14.391 CLIENT : Inventory::useSelected: Could not use this Item! item->count=1 item->die=0 item->waitingForServerUse=1 16:14:15.781 CLIENT : Inventory::useSelected 16:14:15.781 CLIENT : Inventory::useSelected: called on netId: 16, 16:14:15.781 CLIENT : Inventory::useSelected: useItemOnItem[0], useOnInventory[0] 16:14:15.781 CLIENT : Inventory::useSelected: waitingForServerUse = true, item->netId=16 item->count=1 16:14:15.109 CLIENT : Client::onReceiveServerItemUse num items: 1 16:14:15.109 CLIENT : Client::onReceiveServerItemUse: SV_USE_ITEM received. equipItem(16) 16:14:15.109 CLIENT : Inventory::useItemAt 16:14:15.109 CLIENT : Item::equip Blessed Gem Studded Ring 16:14:15.109 DEBUG : Item::equip: Blessed Gem Studded Ring 16:14:15.109 CLIENT : Client::onReceiveServerItemUse: Item Blessed Gem Studded Ring was waitingForServerUse. Used now, setting flag to false. item->netId=16 item->count=1 16:14:15.109 CLIENT : Received stat update for my player. 16:14:16.000 DEBUG : GuiTextBox::bindString() 16:14:17.266 DEBUG : GuiTextBox::bindString() 16:14:17.438 CLIENT : CHAT| -=CzS=- Edge[2]: fckin 16:14:20.453 CLIENT : CHAT| -=CzS=- Edge[2]: equipment bug 16:14:21.266 CLIENT : Inventory::useSelected 16:14:21.266 CLIENT : Inventory::useSelected: called on netId: 16, 16:14:21.266 CLIENT : Inventory::useSelected: useItemOnItem[0], useOnInventory[0] 16:14:21.266 CLIENT : Inventory::useSelected: waitingForServerUse = true, item->netId=16 item->count=1 16:14:21.516 DEBUG : Inventory::unequipItem 16:14:21.516 CLIENT : Item::unequip Blessed Gem Studded Ring 16:14:21.516 DEBUG : Inventory::unequipItem: equipped item found! meleeWeapons.size()=2 rangedWeapons.size()=0 16:14:21.516 CLIENT : Client::onReceiveServerItemUse num items: 1 16:14:21.516 CLIENT : Client::onReceiveServerItemUse: SV_USE_ITEM received. unequipItem(16) 16:14:21.516 DEBUG : Inventory::unequipItem 16:14:21.516 DEBUG : Inventory::unequipItem: equipped item found! meleeWeapons.size()=2 rangedWeapons.size()=0 16:14:21.516 CLIENT : Client::onReceiveServerItemUse: Item Blessed Gem Studded Ring was waitingForServerUse. Used now, setting flag to false. item->netId=16 item->count=1 16:14:21.516 CLIENT : Received stat update for my player. 16:14:22.938 CLIENT : Inventory::useSelected 16:14:22.938 CLIENT : Inventory::useSelected: Could not use this Item! item->count=1 item->die=0 item->waitingForServerUse=1 16:14:22.438 CLIENT : Inventory::useSelected 16:14:22.438 CLIENT : Inventory::useSelected: called on netId: 16, 16:14:22.438 CLIENT : Inventory::useSelected: useItemOnItem[0], useOnInventory[0] 16:14:22.438 CLIENT : Inventory::useSelected: waitingForServerUse = true, item->netId=16 item->count=1 16:14:22.703 CLIENT : Client::onReceiveServerItemUse num items: 1 16:14:22.703 CLIENT : Client::onReceiveServerItemUse: SV_USE_ITEM received. equipItem(16) 16:14:22.703 CLIENT : Inventory::useItemAt 16:14:22.703 CLIENT : Item::equip Blessed Gem Studded Ring 16:14:22.703 DEBUG : Item::equip: Blessed Gem Studded Ring 16:14:22.703 CLIENT : Client::onReceiveServerItemUse: Item Blessed Gem Studded Ring was waitingForServerUse. Used now, setting flag to false. item->netId=16 item->count=1 16:14:22.703 CLIENT : Received stat update for my player. 16:14:23.828 DEBUG : GuiTextBox::bindString() 16:14:26.453 CLIENT : TryDropItem. 11 16:14:26.453 DEBUG : Inventory::dropItemAt: dropping clientSideAttempt item=Grotesque Leaf Ring 16:14:26.453 CLIENT : Sending a request to Server to drop: 11 16:14:27.813 CLIENT : Item::setEntityState() - holder->inventory.dropItem 16:14:27.813 CLIENT : Inventory::dropItemAtPlayer: 2 dropping item=Grotesque Leaf Ring 16:14:27.875 DEBUG : GuiTextBox::bindString() 16:14:28.219 DEBUG : GuiTextBox::bindString() 16:14:28.313 CLIENT : CHAT| -=CzS=- Edge[2]: take this 16:14:30.750 CLIENT : CHAT| -=CzS=- Edge[2]: can't equip`

As a bonus, here's what appears when a similar bug happens. After being unable to equip the item, sometimes it can't be dropped as well:

`16:22:32.266 CLIENT : CHAT| -=CzS=- Edge[2]: can't equip this one too

16:22:32.484 CLIENT : TryDropItem. 16 16:22:32.484 DEBUG : Inventory::dropItemAt: dropping clientSideAttempt item=Blessed Gem Studded Ring 16:22:32.516 CLIENT : Sending a request to Server to drop: 16 16:22:33.422 CLIENT : TryDropItem. 16 16:22:33.422 DEBUG : Inventory::dropItemAt: dropping clientSideAttempt item=Blessed Gem Studded Ring 16:22:33.422 CLIENT : Sending a request to Server to drop: 16 16:22:33.594 CLIENT : TryDropItem. 16 16:22:33.594 DEBUG : Inventory::dropItemAt: dropping clientSideAttempt item=Blessed Gem Studded Ring 16:22:33.625 CLIENT : Sending a request to Server to drop: 16 16:22:34.766 CLIENT : TryDropItem. 16 16:22:34.766 DEBUG : Inventory::dropItemAt: dropping clientSideAttempt item=Blessed Gem Studded Ring 16:22:34.766 CLIENT : Sending a request to Server to drop: 16 16:22:34.031 DEBUG : GuiTextBox::bindString() 16:22:34.125 DEBUG : Do emote. 9 16:22:36.906 CLIENT : CHAT| TreeLife[1]: give him arrows 16:22:36.984 DEBUG : Do emote. 5 16:22:36.594 CLIENT : CHAT| -=CzS=- Edge[2]: can't drop it too`