this bug was reported by Gangrenous, on discord
just noticed if you delete an item from within a bag, the item still shows in the bag description. You can fix it by dragging another item into the bag, but still an issue that needs fixing.
It does not do it if you move an item out of the bag, only if you destroy the item from within the bag
BUG:Deleting item from bag
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: BUG:Deleting item from bag
looked into this, the destroy command does not seem to be sending a SendBagUpdate() command to update the bag info
whereas move and add inventory does
whereas move and add inventory does
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: BUG:Deleting item from bag
this has been fixed and commited , added code to the destroy command to update the bag
this will b in commands.cpp
void Commands::Command_Inventory
committed to SVN Rev # 2827
Code: Select all
int32 bag_id = item->details.inv_slot_id; // this lined added for detroy item not updateing bag list
database.DeleteItem(client->GetCharacterID(), item, 0);
client->GetPlayer()->item_list.DestroyItem(index);
EQ2Packet* outapp = client->GetPlayer()->SendInventoryUpdate(client->GetVersion());
client->QueuePacket(outapp);
outapp = client->GetPlayer()->SendBagUpdate(bag_id, client->GetVersion());// this lined added for detroy item not updateing bag list
if (outapp)// this lined added for detroy item not updateing bag list
client->QueuePacket(outapp);// this lined added for detroy item not updateing bag listvoid Commands::Command_Inventory
committed to SVN Rev # 2827
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: BUG:Deleting item from bag
Did you push your change? I am only seeing up to Revision 2824
Resident Dirty Hippy
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: BUG:Deleting item from bag
You do not have the required permissions to view the files attached to this post.
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: BUG:Deleting item from bag
Dev svn syncs with public svn every mon (maybe sun night)
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Who is online
Users browsing this forum: No registered users and 0 guests