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

AAEmu / AAEmu / 28883569849
5%

Build:
DEFAULT BRANCH: develop
Ran 07 Jul 2026 04:54PM UTC
Jobs 1
Files 2094
Run time 6min
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

07 Jul 2026 04:52PM UTC coverage: 4.763% (-0.6%) from 5.399%
28883569849

push

github

web-flow
feat(game): Implements comprehensive in-game justice and trial system (#1453)

* feat(game): Implement comprehensive in-game justice and trial system

This commit introduces a fully-fledged justice system, allowing for:
- Criminal reporting and evidence generation, tracked in the `CrimeManager`.
- Arrest and trial initiation for wanted players.
- Courtroom settings and jail locations configurable via `Justice.json`.
- Player participation as defendants, jury members, or audience.
- Dedicated chat channels for courtroom proceedings.
- Integration with existing game mechanics (portals, dungeons, combat, character buffs).
- Updated character stats for crime, infamy, and jury points.
- New client-server packets implementation for trial UI and interactions.
- GM commands for testing and administration of the justice system.
- Database schema updates for crime events to include judgement details.
- Fixes a bug in ChatManager initialization where the Judge channel did not have the correction faction Ids assigned.

* feat(game): More chat related fixes

* feat(game): Enhance justice system with pirate mechanics

This commit refines the in-game justice and trial system, particularly improving pirate character interactions and overall trial flow.

- **Pirate Justice**: Implements conditional arrests for pirates, allowing them only in non-desperado zones. Ensures trials proceed by defaulting to the arrestor's court region if the criminal is a pirate.
Manages the `Contemptuous` buff to identify pirate characters.
- **Trial Flow**: Adds a dedicated chat type for trial participants. Improves logic for finding active trial chat channels. Prevents players already involved in a trial from queuing for jury duty. Ensures defendants are alive at the start of a trial and removes selected jury members from queues.

* feat(game): Refine crime types

- Add new `CrimeKind` entries, `BotReport` and `FalseBotReport`.
- Renamed `CrimeKind.None` to `CrimeKind.Invalid` and `CrimeK... (continued)

6 of 1430 new or added lines in 77 files covered. (0.42%)

39 existing lines in 26 files now uncovered.

3292 of 69109 relevant lines covered (4.76%)

0.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
443
0.0
AAEmu.Game/Core/Managers/TrialManager.cs
189
0.0
AAEmu.Game/Models/Game/Crime/TrialData.cs
83
1.68
-0.07% AAEmu.Game/Models/Game/Char/Character.cs
68
0.0
AAEmu.Game/Scripts/SubCommands/Crimes/CrimeFakeTrialSubCommand.cs
64
0.0
0.0% AAEmu.Game/Core/Managers/CrimeManager.cs
52
0.0
AAEmu.Game/Scripts/SubCommands/Crimes/CrimeCourtSubCommand.cs
45
0.0
AAEmu.Game/Scripts/SubCommands/Crimes/CrimeAddPointSubCommand.cs
35
0.0
AAEmu.Game/Scripts/SubCommands/Crimes/CrimeSetTrialStateSubCommand.cs
30
0.0
AAEmu.Game/Scripts/SubCommands/Crimes/CrimeAskGuiltySubCommand.cs
30
0.0
AAEmu.Game/Scripts/SubCommands/Crimes/CrimeJuryInviteSubCommand.cs
28
0.0
0.0% AAEmu.Game/Scripts/Commands/TestChatChannel.cs
27
0.0
AAEmu.Game/Core/Packets/G2C/SCBountyListPacket.cs
26
0.0
0.0% AAEmu.Game/Core/Managers/ChatManager.cs
25
0.0
AAEmu.Game/Core/Packets/G2C/SCCrimeRecordsPacket.cs
24
0.0
0.0% AAEmu.Game/Core/Managers/World/SpawnManager.cs
20
0.0
AAEmu.Game/Scripts/Commands/CrimeCmd.cs
17
2.94
-0.13% AAEmu.Game/Models/Game/Char/CharacterCombat.cs
15
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/SpecialEffects/ReportBot.cs
12
0.0
0.0% AAEmu.Game/Program.cs
11
0.0
AAEmu.Game/Scripts/SubCommands/Crimes/CrimeCreateSubCommand.cs
9
0.0
AAEmu.Game/Core/Packets/G2C/SCCrimeDataPacket.cs
9
9.84
-0.13% AAEmu.Game/Models/Game/Units/Unit.cs
8
0.0
AAEmu.Game/Models/Game/Crime/TrialCourtRoom.cs
7
0.0
0.0% AAEmu.Game/Core/Managers/World/ZoneManager.cs
7
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCNpcChatMessagePacket.cs
7
0.0
AAEmu.Game/Models/Tasks/Crime/TrialUpdateTask.cs
6
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSJuryEndTestimonyPacket.cs
6
0.0
AAEmu.Game/Core/Packets/G2C/SCRulingStatusPacket.cs
6
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/SpecialEffects/ReportBotExpired.cs
5
0.54
-0.01% AAEmu.Game/Core/Managers/World/SpecialtyManager.cs
5
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSCancelTrialPacket.cs
5
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSJuryVerdictPacket.cs
5
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSReportCrimePacket.cs
5
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSSkipFinalStatementPacket.cs
5
0.0
AAEmu.Game/Core/Packets/G2C/SCCriminalArrestedPacket.cs
4
0.0
AAEmu.Game/Core/Managers/Id/ChatIdManager.cs
4
0.0
AAEmu.Game/Core/Managers/Id/TrialIdManager.cs
4
0.0
AAEmu.Game/Core/Packets/G2C/SCBotSuspectArrestedPacket.cs
4
0.0
AAEmu.Game/Core/Packets/G2C/SCBotSuspectReportedPacket.cs
4
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCTrialAudienceLeftPacket.cs
4
0.0
0.0% AAEmu.Game/Models/Game/Skills/SkillObject.cs
3
0.42
-0.01% AAEmu.Game/Core/Managers/PortalManager.cs
3
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSJoinTrialAudiencePacket.cs
3
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSReplyImprisonOrTrialPacket.cs
3
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSReplyInviteJuryPacket.cs
3
0.0
AAEmu.Game/Core/Packets/G2C/SCSummonDefendantPacket.cs
3
20.63
-1.03% AAEmu.Game/GameService.cs
3
0.0
0.0% AAEmu.Game/Models/Game/Indun/Dungeon.cs
3
0.41
-0.0% AAEmu.Game/Models/Game/Skills/Effects/DamageEffect.cs
2
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSLeaveTrialAudiencePacket.cs
2
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSNaviOpenBountyPacket.cs
2
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSRequestJuryWaitingNumberPacket.cs
2
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSSendChatMessagePacket.cs
2
0.0
AAEmu.Game/Core/Packets/G2C/SCRulingClosedPacket.cs
2
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCTrialInfoPacket.cs
2
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCTrialWaitStatusPacket.cs
2
0.0
0.0% AAEmu.Game/Models/Game/DoodadObj/Funcs/DoodadFuncEnterInstance.cs
2
71.43
AAEmu.Game/Models/Game/JusticeConfig.cs
2
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/SpecialEffects/Return.cs
1
3.4
0.0% AAEmu.Game/Core/Managers/ItemManager.cs
1
6.58
-0.09% AAEmu.Game/Core/Managers/SusManager.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSNotifyInGamePacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCChangeJuryOKCountPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCCrimeChangedPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCJuryWaitStatusPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCJuryWaitingNumberPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCSummonJuryPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCTrialAudienceJoinedPacket.cs
1
0.0
AAEmu.Game/Core/Packets/G2C/SCTrialCanceledPacket.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Crime/CrimeEvent.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/OpenPortalEffect.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/SpecialEffects/ReportBotArrested.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/SpecialEffects/SavePortal.cs
1
2.72
0.0% AAEmu.Game/Models/Game/Skills/Skill.cs
1
3.71
0.0% AAEmu.Game/Models/Game/Units/Buffs.cs
1
0.0
0.0% AAEmu.Game/Models/Game/World/Spawner.cs

Coverage Regressions

Lines Coverage ∆ File
6
1.68
-0.07% AAEmu.Game/Models/Game/Char/Character.cs
4
2.94
-0.13% AAEmu.Game/Models/Game/Char/CharacterCombat.cs
4
0.0
0.0% AAEmu.Game/Models/Game/Skills/SkillObject.cs
2
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSReportCrimePacket.cs
2
0.41
-0.0% AAEmu.Game/Models/Game/Skills/Effects/DamageEffect.cs
1
0.0
0.0% AAEmu.Game/Core/Managers/CrimeManager.cs
1
0.42
-0.01% AAEmu.Game/Core/Managers/PortalManager.cs
1
0.0
0.0% AAEmu.Game/Core/Managers/World/SpawnManager.cs
1
0.54
-0.01% AAEmu.Game/Core/Managers/World/SpecialtyManager.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSCancelTrialPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSJoinTrialAudiencePacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSJuryEndTestimonyPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSJuryVerdictPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSNaviOpenBountyPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSReplyImprisonOrTrialPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSReplyInviteJuryPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSRequestJuryWaitingNumberPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/C2G/CSSkipFinalStatementPacket.cs
1
0.0
0.0% AAEmu.Game/Core/Packets/G2C/SCJuryWaitingNumberPacket.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Crime/CrimeEvent.cs
1
0.0
0.0% AAEmu.Game/Models/Game/DoodadObj/Funcs/DoodadFuncEnterInstance.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Indun/Dungeon.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Quests/Acts/QuestActSupplyJuryPoint.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/SpecialEffects/ReportBot.cs
1
0.0
0.0% AAEmu.Game/Models/Game/Skills/Effects/SpecialEffects/ReportBotExpired.cs
1
0.0
0.0% AAEmu.Game/Scripts/Commands/TestChatChannel.cs
Jobs
ID Job ID Ran Files Coverage
1 28883569849.1 07 Jul 2026 04:54PM UTC 2094
4.76
GitHub Action Run
Source Files on build 28883569849
  • Tree
  • List 2094
  • Changed 62
  • Source Changed 62
  • Coverage Changed 46
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28883569849
  • e4df9b29 on github
  • Prev Build on develop (#27862010063)
  • Next Build on develop (#29352809280)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc