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

Loading a map with objects that don't exist crashes FastDMM #47

Open
Qbopper opened this issue Aug 12, 2017 · 1 comment
Open

Loading a map with objects that don't exist crashes FastDMM #47

Qbopper opened this issue Aug 12, 2017 · 1 comment

Comments

@Qbopper
Copy link

Qbopper commented Aug 12, 2017

This is a bit of a fringe case, but...

Dream Maker has a catch for when a map file contains nonexistent objects (usually created when you update your codebase and an object was removed for whatever reason) where it asks the user to change the file path for each "nonexistent" object (which is really obnoxious and slow, like everything in Dream Maker). FastDMM doesn't catch these errors nicely, and will immediately crash once you scroll over a tile containing one of these nonexistent objects. To be clear:

-create a map using objects 1, 2, 3, 4, and 5
-a codebase update removes object 5
-load the map in dream maker and it asks you to remove/provide a new path for all instances of object 5
-load the map using fastdmm and it crashes when the program sees a now nonexistent object

@monster860
Copy link
Owner

Well I suppose there's the option of creating an "invalid object" subtype.

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

2 participants