[Mudlet-makers] [Bug 1633796] Re: Add map load pre- and post- events

2017-03-31 Thread Vadim Peretokin
Migrating issues to Github, please follow the new discussion here: https://github.com/Mudlet/Mudlet/issues/705 This issue needs to be closed and there is no appropriate status, so will set it to "Opinion" just for migration purposes. ** Bug watch added: github.com/Mudlet/Mudlet/issues #705

Re: [Mudlet-makers] [Bug 1633796] Re: Add map load pre- and post- events

2016-10-15 Thread Vadim Peretokin
How about instead of having an xml map pre-import event, we have a generic one somewhere at the start of loadMap() that also says the location and/or filename of the map it's loading from? Then the user can figure out for themselves what kind of a map is getting loaded, and act accordingly. On

[Mudlet-makers] [Bug 1633796] Re: Add map load pre- and post- events

2016-10-15 Thread Stephen Lyons
It would not be too hard to put a sysMapPreImport event before the call to TMap::mapClear() in TMap::readXmlMapFile() which would fire for an Xml map file import from: 1 a lua loadMap(...) 2 the profile preferences dialog's "Load Map" for an Xml file 3 the successful result of clicking the