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

crash - area of zero size not supported #67

Closed
judos opened this issue Aug 7, 2016 · 1 comment
Closed

crash - area of zero size not supported #67

judos opened this issue Aug 7, 2016 · 1 comment

Comments

@judos
Copy link

judos commented Aug 7, 2016

As of factorio 0.13.10 using find_entities with area = { {x,y},{x,y} } is now longer working.
To fix this you should simply specify: position = {x,y} for this case.

Error while running event on_tick (ID 0)
An area of zero size is not supported. Either don't define area to search the entire surface or use 'position'.
stack traceback:
    __Surfaces__/script/lib/api.lua:322: in function 'find_entities'
    __Surfaces__/script/lib/pair-util.lua:144: in function 'clear_ground'
    __Surfaces__/script/lib/pair-util.lua:95: in function 'create_paired_entity'
    __Surfaces__/script/events.lua:250: in function '?'
    __Surfaces__/script/events.lua:40: in function 'on_tick'
    __Surfaces__/control.lua:171: in function <__Surfaces__/control.lua:171>

Thanks for the great mod!
Please also update the versions on mods.factorio.com.

@judos
Copy link
Author

judos commented Aug 7, 2016

Wait I came to the wrong repo here somehow. Report is invalid ;)
But I had an issue due to the older version of treefarm on mods.factorio.com so please upload the newest version of Treefarm there also. Thanks!

@judos judos closed this as completed Aug 7, 2016
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