fix: use netracell search pulse only when container item was picked up #2687

Merged
Sainan merged 1 commits from netracell-fix into main 2025-08-24 15:16:08 -07:00
Owner
No description provided.
Sainan added 1 commit 2025-08-23 12:55:46 -07:00
fix: use netracell search pulse only when container item was picked up
All checks were successful
Build / build (pull_request) Successful in 1m2s
efd616fed1
Contributor

Search pulses may have a negative value, which should not be the case

Search pulses may have a negative value, which should not be the case
Author
Owner

What do you mean?

What do you mean?
Contributor

What do you mean?

If you pass Netracell when there are 0 search pulses available, then upon successful completion of the mission, there will be -1/5 search pulses. Next -2/5, -3/5 ... -999/5, it shouldn't work like that.

> What do you mean? If you pass Netracell when there are 0 search pulses available, then upon successful completion of the mission, there will be -1/5 search pulses. Next -2/5, -3/5 ... -999/5, it shouldn't work like that.
Author
Owner

Does this PR not fix that?

Does this PR not fix that?
Contributor

Does this PR not fix that?

Of course not, here the value always increases ( inventory.EntratiVaultCountLastPeriod! += 1; ), while in the game it always decreases, ultimately reaching a negative value.

> Does this PR not fix that? Of course not, here the value always increases ( inventory.EntratiVaultCountLastPeriod! += 1; ), while in the game it always decreases, ultimately reaching a negative value.
Contributor

Does this PR not fix that?

Of course not, here the value always increases ( inventory.EntratiVaultCountLastPeriod! += 1; ), while in the game it always decreases, ultimately reaching a negative value.

You made sure that you force grabbed the PR before testing?

> > Does this PR not fix that? > > Of course not, here the value always increases ( inventory.EntratiVaultCountLastPeriod! += 1; ), while in the game it always decreases, ultimately reaching a negative value. You made sure that you force grabbed the PR before testing?
Author
Owner

I assume you did not apply this patch locally, but just in case, could you provide a log of a netracell completion past your 5 search pulses?

I assume you did not apply this patch locally, but just in case, could you provide a log of a netracell completion past your 5 search pulses?
Contributor

I assume you did not apply this patch locally, but just in case, could you provide a log of a netracell completion past your 5 search pulses?

> I assume you did not apply this patch locally, but just in case, could you provide a log of a netracell completion past your 5 search pulses?
Author
Owner

Yeah, you definitely didn't apply this patch locally.

Yeah, you definitely didn't apply this patch locally.
Contributor

Yeah, you definitely didn't apply this patch locally.

Check it out for yourself, search pulses will receive a negative value.

> Yeah, you definitely didn't apply this patch locally. Check it out for yourself, search pulses will receive a negative value.
Contributor

I rewrote it manually, the fix works, not thanks to Animan8000.

I rewrote it manually, the fix works, not thanks to Animan8000.
Sainan merged commit f06a3b8187 into main 2025-08-24 15:16:08 -07:00
Sainan deleted branch netracell-fix 2025-08-24 15:16:08 -07:00
Sign in to join this conversation.
No description provided.