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

getOffersForBuild errors when no Offers are found on Flea. #1067

Open
tetrisdev opened this issue Jan 11, 2025 · 1 comment
Open

getOffersForBuild errors when no Offers are found on Flea. #1067

tetrisdev opened this issue Jan 11, 2025 · 1 comment
Labels
bug Something isn't working fixed
Milestone

Comments

@tetrisdev
Copy link
Contributor

tetrisdev commented Jan 11, 2025

SPT Version

3.10

Project Type

Server

Expected Result

3.10.5: Using Edit Build -> Buying parts off of flea doesn't error.

Actual Result

At [2025-01-11T00:23:18.710Z] error: TypeError: matchingOffers is not iterable in the server log.
const matchingOffers = this.ragfairOfferService.getOffersOfType(desiredItemTpl); can be undefined when no errors are found resulting in an error.

Steps To Reproduce

  1. Modify what can be sold on flea so a weapon part that we're looking for is banned -> no offers
  2. Edit Weapon build -> select that part -> buy parts off of flea -> error.

Server Log

server-2025-01-11.log

BepinEx Log

FullLogOutput.log

Client Log

2025.01.10_23-28-41_0.15.5.1.33420 traces.log

Player Profile

No response

Screenshots

No response

@tetrisdev tetrisdev added the triage New issue. Who dis? label Jan 11, 2025
@chompDev chompDev added this to the 4.0.0 milestone Jan 11, 2025
@chompDev chompDev added bug Something isn't working and removed triage New issue. Who dis? labels Jan 11, 2025
@chompDev
Copy link
Contributor

Fixed with: accedf2

@chompDev chompDev added the fixed label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants