• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AAEmu / AAEmu / 12452648294
2%

Build:
DEFAULT BRANCH: develop
Ran 22 Dec 2024 08:28AM UTC
Jobs 1
Files 1985
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Dec 2024 08:24AM UTC coverage: 2.161% (+0.001%) from 2.16%
12452648294

push

github

web-flow
[Game] Fix looting rules (for NPCs) (#1118)

* [Game] Loot Packet Update

Updated loot packets and related functions to be more structured than just using the ulong as ID

* [Game] Update loot owner from uint to bc

It looks like the `uint` for the `lootOwnerObjId` is actually a `bc` and a `byte` instead.
Changed all the references to use this format.

* [Game] Added LootingContainer class

- Added ``LootingContainer`` and ``LootingContainerItemEntry`` classes as a property of ``BaseUnit`` that will now hold loot information instead of the LootManager.
- Removed ``GetLootDropItems`` and ``CreateLootDropItems`` from ``ItemManager`` and moved their functionality to the ``LootingContainer``.
- Partially implemented ``CSLootCloseBagPacket`` and changed ``CSLootOpenBagPacket`` to use the new functions.
- Changed some functions to use ``IBaseUnit`` instead of ``BaseUnit``.
- Added ``LootingRuleMethod`` enum for use in ``LootingRule``, also made the later more readable by giving more meaningful names to the properties.
- LootingRules for any drop will now be stored on the looting container so that it keeps the same rules as well when it was generated even if the party leader changes them (same as retail behavior AFAIK).
- Changed the ``ChangeLootingRule`` function to take into account the flags that the client sends.

* [Game] Fixed Rotate-Winner and LootMaster looting rules

- Added some descriptions to packet constructors related to looting.
- Added `TryDistributeLootToPlayer` function.
- Added `GetNextLootWinner` function to Team.
- Added basic loot method types implementation.
- Made it so corpses with loot take longer to despawn.
- Added consts for looting range, despawntimes with loot and minimum despawntime after looting.
- Fixed the `Rotate-Winner` looting rule to actually allow winning more than one round.
- Improved handling of `UpdateLootState`.
- Implemented `LootMaster` looting rule.
- Fixed displaying the wrong nam... (continued)

424 of 24859 branches covered (1.71%)

Branch coverage included in aggregate %.

9 of 574 new or added lines in 27 files covered. (1.57%)

22 existing lines in 19 files now uncovered.

1919 of 83572 relevant lines covered (2.3%)

2.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12452648294.1 22 Dec 2024 08:28AM UTC 0
2.16
GitHub Action Run
Source Files on build 12452648294
Detailed source file information is not available for this build.
  • Back to Repo
  • 8bbcb6b4 on github
  • Prev Build on develop (#12447947408)
  • Next Build on develop (#12454195425)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc