[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  make import a bit smarter

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: make import a bit smarter
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Sat 07 Jan 2012 08:39 AM (UTC)  quote  ]
Message
Nick Gammon said:

Well, it's warning you those tags weren't processed.
Many times. :)

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Fri 06 Jan 2012 05:26 AM (UTC)  quote  ]
Message


Well, it's warning you those tags weren't processed.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Thu 05 Jan 2012 06:47 AM (UTC)  quote  ]
Message
spam intentional?

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)

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Mon 12 Dec 2011 10:52 PM (UTC)  quote  ]
Message
Just checking we are on the same page here.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Mon 12 Dec 2011 10:51 PM (UTC)  quote  ]
Message
To get useful things from another world file, of course.

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Mon 12 Dec 2011 09:45 PM (UTC)  quote  ]
Message
Maybe I didn't phrase my question right.

Why are you wanting to load (import) a world file into a world file?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Mon 12 Dec 2011 09:04 PM (UTC)  quote  ]
Message
Nick Gammon said:
Hmm, not totally sure when you would want to use that
Just about every established world file has plugins loaded. I'm not sure when it would *not* be the case.

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Mon 12 Dec 2011 07:37 PM (UTC)  quote  ]
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Mon 12 Dec 2011 01:37 PM (UTC)  quote  ]
Message
I'm saying that if you use File->Import and then choose a world file that happens to have plugin lines in it, you get inundated with many instances of

Quote:
Plugin not expected here. Use File -> Plugins to load plugins

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Mon 12 Dec 2011 05:03 AM (UTC)  quote  ]
Message
Fiendish said:

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.?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Mon 12 Dec 2011 05:01 AM (UTC)  quote  ]
Message
Altered change to allow the Paste button to make duplicates.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Mon 12 Dec 2011 03:58 AM (UTC)  quote  ]

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?

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nick Gammon   Australia  (18,800 posts)  [Biography] bio   Forum Administrator
Date Mon 12 Dec 2011 03:41 AM (UTC)  quote  ]
Message
@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

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Twisol   USA  (2,230 posts)  [Biography] bio
Date Sun 11 Dec 2011 11:54 PM (UTC)  quote  ]
Message
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....

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Sun 11 Dec 2011 10:12 PM (UTC)  quote  ]
Message
Nick Gammon said:
I can't see any real use in having...

Oh, wait. That would make it impossible to copy and paste a trigger with a view to changing it.
Yeah. I can see use in having, just not in importing.

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

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.


2,811 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]