Go Back   RunUO - Ultima Online Emulation > RunUO > FAQ Forum

FAQ Forum A place to find answers to the most frequently asked questions, and a place to post said answers. Do NOT use this forum to ask questions.

Reply
 
Thread Tools Display Modes
Old 02-17-2006, 04:25 AM   #1 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: Virginia Beach, VA
Posts: 1,347
Default Scripts look weird in NotePad.

Some scripts look very odd when viewed in Notepad or other basic text editors, with lots of little boxes instead of line breaks. (See included example pic.) These scripts use a different style of line breaks instead of the DOS/Windows-style line breaks. This shouldn't affect the actual operation of the script, as RunUO can handle that, but can make the script difficult to modify if your text editor doesn't handle the formatting gracefully.

There are a few possible solutions or work-arounds for this problem.
As with anything that involves modifying a file, make sure you have a backup first.

You can:

Load the script with WordPad, formerly called Write. (Included with Windows, under Programs->Accessories) The script should look normal with that program. Now save it. This will convert the file to use the type of line breaks that Windows expects to see.

Or you can simply load the script with a program that can handle these type of line breaks. WordPad handles that just fine, though it will convert it when saved. JEdit, SharpDevelop, and many others (including VI/VIM =) will edit the file but preserve the type of line breaks that were originally used, unless otherwise instructed.


Good luck! ^.^
Attached Images
File Type: gif weird text.gif (5.3 KB, 256 views)
Alari is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5