QuentinGruber / h1z1-server

Library used to emulate h1z1 game servers
https://h1emu.com
GNU General Public License v3.0
93 stars 54 forks source link

Display reward notification after case unboxing #2088

Closed QuentinGruber closed 2 months ago

QuentinGruber commented 2 months ago

TL;DR

Refactored lootAccountItem method to handle optional items and updated zone packet handlers to use this method with timeout adjustments.

What changed?

How to test?

  1. Run the server and ensure that the changes do not introduce any runtime errors.
  2. Test looting functionality in various scenarios to ensure the method handles optional items correctly.
  3. Verify timeout handling in the looting process.

Why make this change?

This change was made to improve the robustness of the looting functionality by ensuring that it can handle cases where no item is provided. The timeout adjustment ensures that the looting process is appropriately delayed.


QuentinGruber commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @QuentinGruber and the rest of your teammates on Graphite Graphite

QuentinGruber commented 2 months ago

Merge activity