VGOEmulator.net

A Development Project for the Vanguard:Saga of Heroes MMO

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • Portal
  • Project Manager
  • Bug Tracker
  • Server List
  • Wiki
  • Donate
  • Login
  • Register
  • Board index Bugs Server Bugs Server Bugs (Closed)
  • Search

Bug 492: (zippyzee) When using the

Closed Server Bugs

Moderators: Community Managers, Developers

Locked
  • Print view
Advanced search
5 posts • Page 1 of 1
BugTracker
Posts: 810
Joined: Wed Aug 28, 2013 9:40 am
Bug 492: (zippyzee) When using the
  • Quote

Post by BugTracker » Tue Apr 12, 2016 4:20 pm

Bug ID       : 492 - When using the  
Bug Date     : 2016/04/12 11:11:03
Assigned To  : zippyzee
Priority     : Low

Category     : VGClient
Sub-Category : Gameplay: Inventory
Severity     : Minor (e.g. Cosmetic)
Reproducible : Every time
Details:
When using the "Loot All" button to loot an item that was added via Lua in a mob's death() function, do not get the "You have looted ..." message in chat. Right-clicking the item in the loot window does trigger the message as expected.
Originated From World: New Telon (1)
Chunk                : Lomshir (68)
Location             : -38657 9576 10689
Top

User avatar
Xinux
Project Leader
Project Leader
Posts: 2549
Joined: Wed Aug 28, 2013 2:20 pm
Re: Bug 492: (zippyzee) When using the
  • Quote

Post by Xinux » Wed Apr 13, 2016 2:48 pm

You do get a link for the second item if there is more then one item in the loot window.
Top

zippyzee
Developer
Developer
Posts: 1240
Joined: Wed Jul 23, 2014 2:11 pm
Re: Bug 492: (zippyzee) When using the
  • Quote

Post by zippyzee » Wed Apr 13, 2016 3:14 pm

Mental note to remember to look at this. I'm getting pretty scattered on Vanguard systems right now but will get to it.
Top

User avatar
Xinux
Project Leader
Project Leader
Posts: 2549
Joined: Wed Aug 28, 2013 2:20 pm
Re: Bug 492: (zippyzee) When using the
  • Quote

Post by Xinux » Thu Apr 14, 2016 1:15 pm

This should be fixed in the next update.


In void Loot::ClientLootItem(shared_ptr<Client>& client, PacketStruct *packet, bool loot_all) I had to change the following.

Code: Select all

			if ((out = packet_struct_list.GetPacketStruct2Server("WS_ServerLootListUpdate")) == NULL){
				LogError(LOG_CHUNK, 0, "Loot::ClientLootItem: %s:%u", __FILE__, __LINE__);
				delete out;
				return;
			}
			LogDebug(LOG_ITEM, 0, "Loot::ClientLootItem: Removing unique id %u from loot window.", unique_id);
			out->SetUInt32("unique_id", unique_id);

			// This seems to always be set to 1
			out->SetUInt8("unknown1", 1);

			client->QueuePacket(out->Serialize());

			delete out;
To this cause on loot all we were not sending the unique_id when loot all button was used

Code: Select all

			if ((out = packet_struct_list.GetPacketStruct2Server("WS_ServerLootListUpdate")) == NULL){
				LogError(LOG_CHUNK, 0, "Loot::ClientLootItem: %s:%u", __FILE__, __LINE__);
				delete out;
				return;
			}
			LogDebug(LOG_ITEM, 0, "Loot::ClientLootItem: Removing unique id %u from loot window.", unique_id);

         if (unique_id != 0) {
			out->SetUInt32("unique_id", unique_id);
         {
         else {
         out->SetUInt32("unique_id", pawn_item->unique_id);
         }

			// This seems to always be set to 1
			out->SetUInt8("unknown1", 1);

			client->QueuePacket(out->Serialize());

			delete out;
Top

zippyzee
Developer
Developer
Posts: 1240
Joined: Wed Jul 23, 2014 2:11 pm
Re: Bug 492: (zippyzee) When using the
  • Quote

Post by zippyzee » Thu Apr 14, 2016 1:17 pm

Thanks Xinux!
Top


Locked
  • Print view

5 posts • Page 1 of 1

Return to “Server Bugs (Closed)”

Jump to
  • Information
  • ↳   Announcements
  • ↳   Dev Chats
  • ↳   Events
  • Community
  • ↳   General Discussions
  • ↳   VGO Team Help Requests
  • ↳   Introductions
  • ↳   Game Features
  • ↳   Wish List
  • ↳   Off-Topic
  • Support
  • ↳   How-To's
  • ↳   General Support
  • ↳   Windows
  • ↳   Linux
  • Bugs
  • ↳   Server Bugs
  • ↳   Server Bugs (Closed)
  • ↳   Content Bugs
  • ↳   Content Bugs (Closed)
  • ↳   Database Bugs
  • ↳   Tools Bugs
  • Board index
  • All times are UTC-07:00
  • Delete cookies
  • Contact us
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD