Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Adding "Origin" of the loot created to item_instance #20942

Open
TheSCREWEDSoftware opened this issue Dec 16, 2024 · 3 comments
Open

Comments

@TheSCREWEDSoftware
Copy link
Contributor

TheSCREWEDSoftware commented Dec 16, 2024

Describe your feature request or suggestion in detail

The idea currently would be to update/add ato the existing table item_instance another column(s) that could reflect mainly on Origin where the Item was created.

Something roughly (adding columns):

InstanceID | MapID (maybe?) |ZoneID (maybe?) |AreaID (maybe?) | CreatureID/GUID (maybe?)

InstanceID would give the group instanceID where it was looted from. (because idk if instanceID tells what Map/Instance Map)
MapID would reflect what Map it was on (for instance, what instance).
Zone and Area IDs for more precise information in the wolrd outside of the Instance
And what creature either ID or GUID, maybe GUID for specific creature.

Describe a possible solution to your feature or suggestion in detail

An instance example:
1940 | 603 (Ulduar) | 4273 (Ulduar) | 4653 (Razorscale's Aerie) | 137611 (Razorscale)
You would know the person got the Item originally from Razorscale in Ulduar Raid in the Zone Razorscale's Aerie.

An world example:
0 (No Instance) | 0 (Easteren Kingdoms) | 267 (Hillsbrad Foothills) | 286 (Hillbrad Fields) | 16530
You would know the person got the Item originally from Citizen Wilkes in Hillsbrad Foothils

This information probably could be toggle via the worldconfig.

Similiar to Calculate.Creature.Zone.Area.Data = 0 but for Enabled or Disable the logging into the table

Additional context

As i was giving an example probably ZoneID could be ignored

@Grimdhex
Copy link
Contributor

What is the utility ?

@TheSCREWEDSoftware
Copy link
Contributor Author

Knowing the origin of the items. More towards server management over regular user usage.

@heyitsbench
Copy link
Contributor

I'd say this is best suited for a module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants