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 Follower (misc.js #1621) unit.fname is undefined #3184

Open
Danmanjo opened this issue Feb 25, 2023 · 0 comments
Open

Error in Follower (misc.js #1621) unit.fname is undefined #3184

Danmanjo opened this issue Feb 25, 2023 · 0 comments

Comments

@Danmanjo
Copy link

Randomly MFing and keep getting these errors across multiple keys on the same client, causing the bot to leave the game and wait in lobby until new game is created. This is mostly happening in the middle of MFing. It only started doing this today. Never edited nor opened misc.js so I know I didn't accidently change anything from the file.

Line 1621 is below.

let name = unit.fname.split("\n").reverse().join(" ").replace(/ÿc[0-9!"+<:;.*]|/|\/g, "").trim();

I confirmed that the information in that line is in the original kolbot file when I extracted, confirming that I never opened or changed the file.

Any suggestions to what unit.fname. is referencing and why it is randomly now coming back as undefined?

Thank you

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

1 participant