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

Plant AutoHarvest doesn't Harvest #1

Open
apamment opened this issue Sep 23, 2023 · 1 comment
Open

Plant AutoHarvest doesn't Harvest #1

apamment opened this issue Sep 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@apamment
Copy link

I'm new to VivoSim, but I expected my fields would produce items when set to auto harvest. They did not, but they did replant correctly.

I expect this line is the culprit:

llMessageLinked(LINK_THIS, 1, "HARVEST", NULL_KEY);

LSL scripts don't receive link messages they send, so the HARVEST command is never received. I'm not sure if some other script needs to hear this link message, so I left it in, but added doHarvest() underneath it.

@apamment
Copy link
Author

Its a bit more than that.. it doesn't receive the STATUS changes either, so that routine doesn't fire. I've now added a check after refresh() in the timer event to test if ripe and autoHarvest then doHarvest also changed the check for AUTOREPLANT in doHarvest to also check for autoHarvest.

now waiting to see if it works :)

@punyauk punyauk added the bug Something isn't working label Oct 17, 2023
@punyauk punyauk self-assigned this Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants