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

Gammon Forum

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

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Scrambled xml files after editing
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Scrambled xml files after editing

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by forral   USA  (79 posts)  [Biography] bio
Date Wed 25 Jul 2012 04:51 PM (UTC)
Message
Hi all,

Haven't had to post in a while. I recently downloaded an updated list of plugins for the MUD I play (Materia Magica) and some of the plugin names were convoluted and confusing (meh_prompt instead of 'Abridged Prompt' or 'Extended Prompt'), etc. So, I went on the simple mission of just editing the instances of the Plugin name within the .xml files. I have Notepad++ installed (FOSS editor, absolutely awesome) and I edited most of the files using Windows' built-in notepad, and just checked the syntax by opening them in Notepad++.

After editing all the files, some of them started scrambling. What I mean by that is instead of everything being spaced out and in an order the client can interpret, all the lines jumbled up into one big mess.

I'm not sure how it happened and I will attempt to take steps to re-create it as much as possible, but does anyone have any insight as to how/why this happened, and how I can potentially restore the files without manually going through and spacing everything out?

I've found scrambled plugins before, and opening them with a syntax-highlighting editor like Notepad++ has done wonders in readability, but these scrambled files are showing up scrambled even in Notepad++.

If I have the forum permissions to do so, I will upload a small plugin to demonstrate what I am talking about.
[Go to top] top

Posted by Worstje   Netherlands  (899 posts)  [Biography] bio
Date Reply #1 on Thu 26 Jul 2012 10:00 AM (UTC)
Message
MUSHclient does not write to plugins, save for the initial plugin creation wizard. It only reads them, and as such cannot be responsible for garbling plugins in the manner you say. :)

Perhaps you hit some keys in Notepad++ to do this? Perhaps converted the file to Linux line-endings, just to venture a guess?
[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.


3,051 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]