taltamir
Member
when using the create() command to distill an item in the nash crosby still it causes an inventory desync
a simple while loop trying to make multiple tonic waters gets an error due to the inventory desync
modify the code to perform a
cli_execute("refresh inv");
after every time create is called and it has no such issues
a simple while loop trying to make multiple tonic waters gets an error due to the inventory desync
Code:
buy 1 soda water for 66 each from The General Store
You spent 66 Meat
You acquire an item: soda water
> [DEBUG] distill(item target) called to create [tonic water]
You acquire an item: tonic water
> [DEBUG] distill(item target) called to create [tonic water]
Stack trace:
modify the code to perform a
cli_execute("refresh inv");
after every time create is called and it has no such issues
Code:
buy 1 soda water for 66 each from The General Store
You spent 66 Meat
You acquire an item: soda water
> [DEBUG] distill(item target) called to create [tonic water]
You acquire an item: tonic water
buy 1 soda water for 66 each from The General Store
You spent 66 Meat
You acquire an item: soda water
> [DEBUG] distill(item target) called to create [tonic water]
You acquire an item: tonic water
buy 1 soda water for 66 each from The General Store
You spent 66 Meat
You acquire an item: soda water
> [DEBUG] distill(item target) called to create [tonic water]
You acquire an item: tonic water
buy 1 soda water for 66 each from The General Store
You spent 66 Meat
You acquire an item: soda water
> [DEBUG] distill(item target) called to create [tonic water]
You acquire an item: tonic water
buy 1 soda water for 66 each from The General Store
You spent 66 Meat
You acquire an item: soda water
> [DEBUG] distill(item target) called to create [tonic water]
You acquire an item: tonic water