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

fix: better logic of load boosted boss function #1000

Merged
merged 10 commits into from
Apr 19, 2023

Conversation

dudantas
Copy link
Member

Description

In case of custom servers with few monsters (such as pack canary) the server will not enter a loop if there are not enough bosses registered or if there is no boss archfoe.

Behaviour

Actual

If you don't have a boss archfoe registered or more than one boss registered, the server goes into a loop

Expected

It sends an error stating that there is no boss registered and continues to load normally.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested

Open the pack without any bosses or without Archfoe race bosses, the server will enter a loop when loading boosted bosses.

Test Configuration:

  • Server Version: 2.6.1 (main updated)
  • Client: 1291
  • Operating System: Windows 11 x64

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I checked the PR checks reports

dudantas and others added 2 commits April 18, 2023 17:53
In case of custom servers with few monsters (such as pack canary) the server will not enter a loop if there are not enough bosses registered or if there is no boss archfoe.
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dudantas dudantas merged commit 5a6c30b into main Apr 19, 2023
@dudantas dudantas deleted the fix-bosstiary-load-boosted-boss branch April 19, 2023 19:43
libergod referenced this pull request in libergod/canary_baiak Apr 24, 2023
libergod referenced this pull request in libergod/canary_baiak Jun 2, 2023
luan pushed a commit that referenced this pull request Jul 11, 2023
In case of custom servers with few monsters (such as pack canary) the server will not enter a loop if there are not enough bosses registered or if there is no boss with race archfoe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants