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

Infinite cokain pile production #39

Closed
Flobbah opened this issue Apr 29, 2022 · 6 comments
Closed

Infinite cokain pile production #39

Flobbah opened this issue Apr 29, 2022 · 6 comments

Comments

@Flobbah
Copy link
Contributor

Flobbah commented Apr 29, 2022

It's possible to infinitly process cocaleafs to cocain piles.

@Alivemonstor
Copy link
Contributor

looking at the code it shouldnt be?
coca leaves are check to make sure you have the item

@Alivemonstor
Copy link
Contributor

do you mind posting a video?

@Flobbah
Copy link
Contributor Author

Flobbah commented Apr 29, 2022

Here is a video of it.
In console it shows "You have this item HA"
https://streamable.com/ut0tmn

@Flobbah Flobbah closed this as completed Apr 29, 2022
@Flobbah Flobbah reopened this Apr 29, 2022
@Flobbah
Copy link
Contributor Author

Flobbah commented Apr 29, 2022

The local "hasitem1" and "hasitem2" are missing.
Maybe thats what's wrong

EDIT:
added locals but now if I once have the item once, i can repeat the process infinitly.
https://streamable.com/dcrc0g

@Flobbah
Copy link
Contributor Author

Flobbah commented Apr 29, 2022

Found something else. "hasitem1" is never set to false after setting it to true. So yeah, its possible to infinit make coke atm.
Here you can see how I (maybe) fixed it: https://streamable.com/180heb
I'm too stupid to do PR's so maybe someone could do it?

@Flobbah Flobbah changed the title Infinite kokain pile production Infinite kcokain pile production Apr 30, 2022
@Flobbah Flobbah changed the title Infinite kcokain pile production Infinite cokain pile production Apr 30, 2022
@MonkeyWhisper
Copy link
Member

Alright, pretty sure it was almost impossible since as you Alive did, I hade an item check. I deployed your PR already. Thank you sir!

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

3 participants