loblao / libpandadna

A parser for Disney's DNA files. It focus primarily on Toontown's DNA.
Other
38 stars 17 forks source link

[cxx-parser] getSuitPath always fails on Sellbot Factory exterior, Cashbot and Lawbot HQ files. #61

Closed LittleToonCat closed 5 years ago

LittleToonCat commented 5 years ago

When reading the original TTO DNA files for the three locations (zones: 11200, 12000, 13000), assigned SuitPlanners appears to be failing to spawn any cogs in those areas, with them printing out a "Couldn't get a destination" message when notify level for it is set to debug, leaving the player with empty areas.

This issue may have something to do with the recent rewrite that occured in https://github.com/loblao/libpandadna/commit/bdcccd69ae488f8e310a31224cab4a45ce941e64, because when set to debug, the function results in an spam of "path is too short", or "path not found" messages.

jwcotejr commented 5 years ago

Indeed, https://github.com/loblao/libpandadna/commit/bdcccd69ae488f8e310a31224cab4a45ce941e64 introduces this issue. Investigating.

jwcotejr commented 5 years ago

Let me know if this fix works for you.