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

Error In Targeting Loop #53

Closed
cullumar opened this issue Feb 6, 2022 · 2 comments
Closed

Error In Targeting Loop #53

cullumar opened this issue Feb 6, 2022 · 2 comments

Comments

@cullumar
Copy link

cullumar commented Feb 6, 2022

Hello - relatively newbie here, recently downloaded the full repository on a clean install and am giving it a shot in BN8.1 (Ghost of Wall Street).

After launching daemon.js either with or without arguments, I shortly get the warning:

"daemon.js: WARNING: Caught an error in the targeting loop: TypeError: Cannot read properties of undefined (reading 'name')"

This error pops continuously every 20 seconds or so, and it's not clear to me if it's a serious issue or even what it's trying to tell me. Since 8.1 restricts all profit except from stock trading, I'm wondering if it's an issue with not buying or using player servers or hacknet nodes?

stockmanager.js appears to be functioning normally - no issues there

Any idea what I might be doing wrong to cause this error? I have not purchase or delete any servers on this bitnode - certainly not while the script was running.

Thanks!

@no-realm
Copy link

no-realm commented Feb 6, 2022

Hello - relatively newbie here, recently downloaded the full repository on a clean install and am giving it a shot in BN8.1 (Ghost of Wall Street).

After launching daemon.js either with or without arguments, I shortly get the warning:

"daemon.js: WARNING: Caught an error in the targeting loop: TypeError: Cannot read properties of undefined (reading 'name')"

This error pops continuously every 20 seconds or so, and it's not clear to me if it's a serious issue or even what it's trying to tell me. Since 8.1 restricts all profit except from stock trading, I'm wondering if it's an issue with not buying or using player servers or hacknet nodes?

stockmanager.js appears to be functioning normally - no issues there

Any idea what I might be doing wrong to cause this error? I have not purchase or delete any servers on this bitnode - certainly not while the script was running.

Thanks!

@cullumar Yeah, the bug was introduced in one of the recent commits, but it has been reverted for now, until a proper patch is going to be applied. Just re-download the daemon.js, and it should work just fine.

@cullumar
Copy link
Author

cullumar commented Feb 6, 2022

Can confirm - I think I just got very unlucky with my download timing. Re-downloading daemon.js appears to have fixed the issue. Thank you!

@cullumar cullumar closed this as completed Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants