Quote: [WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 729: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 730: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 731: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 732: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 733: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 734: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 735: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 736: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 737: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 738: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 739: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 740: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 741: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 742: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 743: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 744: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 745: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 746: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 747: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 748: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 749: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 750: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 751: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 752: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 753: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 754: Tag not used: <include> (muclient)
[WARNING] Z:\home\avi\Documents\aardwolfclientpackage\MUSHclient\worlds\Aardwolf (copy).mcl
Line 755: Tag not used: <include> (muclient)
Hmm, not totally sure when you would want to use that, but I have relaxed the rules so that when doing a File -> Import, or hit the Paste button for triggers etc., it skips loading plugins and other include files. You will now just get a warning, not an error, about include tags being skipped.
Import is also very noisy about not loading plugins. Actually, it's very noisy about NOT loading plugins, because it seems that the file load button will never like the plugin section of a world file.
What are you saying here? You want to be able to load a plugin into the world file, discarding the plugin part? Is this to get a GUI interface to edit the triggers etc.?
Amended on Mon 12 Dec 2011 04:09 AM (UTC) by Fiendish
Message
Duplicates are already not added (albeit rather noisily) on a label collision. There's just no similar block currently when there are no labels. I think "removing duplicates" is not quite the way to consider it. I prefer "not add duplicates". But no matter, I suppose the distinction is arbitrary.
As far as I can reason, the only time I think one might legitimately desire a duplicate trigger or alias is with the intent to change it right away as you suggested earlier. And I think the only mechanism that makes sense for that is the Paste GUI button.
So perhaps block duplicates for everything except Paste.
Also, if File->Import is never going to load plugins anyway (Plugin not expected here. Use File -> Plugins to load plugins), maybe it shouldn't read that section of the world file?
@Fiendish: Can you clarify when exactly you want to be able to remove duplicates? ...
When pasting in the GUI (Paste button)
When opening a world file
When loading a plugin
When doing a File -> Import
When using ImportXML directly, or via a plugin
When doing AddTrigger, AddAlias, AddTimer etc.
I can imagine it will be easy enough to pass a flag around to make the duplicate removal only happen on some of those occasions.
Or maybe, without changing the GUI (DLL) it could be that Shift-click-on-Paste-button would cancel the duplicate check (that might be a bit obscure though).
Nick Gammon said: Oh, wait. That would make it impossible to copy and paste a trigger with a view to changing it. This may require a bit more thought...
A "Duplicate" button would solve that issue nicely, I think. Sidestep the export/import steps and just duplicate the selected entries.
I don't remember the last time the resources DLL was updated though....
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.