Automapper/Wordpad

Posted by Camulos on Tue 27 Sep 2005 04:32 AM — 4 posts, 15,232 views.

Canada #0
Alright, so I've been fairly consistently having problems with files I edit in Wordpad (My notepad doesn't work properly, more on this later). It invariably gives me dozens of parsing errors whenever I try to compile using a file I modified.

Is there a certain encoding or something I need to open .c files with? Seems to only happen with them, I can edit .h files fine for the most part.

Also, I've found an automapper I'd very much like to use, but when I install the snippet I receive the above mentioned parsing errors. It's at:

http://ftp.mudmagic.com/diku/merc/smaug/snippets/map.txt

I saw it mentioned in a previous post on here in which the user was recommended not to use this particular map snippet, but it seems to be the only one out there that does -exactly- what I need.

As for notepad, when I try to use 'Open With' and select notepad.exe it doesn't actually appear on the program list, instead it points to wordpad. In addition, when I use Start/Run/Notepad it loads just fine, but any .c file I open has all sorts of boxes and the like. Presumably this is due to the fact that I'm using Windows XP Home to edit linux files, but the other part-time coder does the same and his works fine?

Any help would be appreciated.
Canada #1
I forgot to mention, in case it's not obvious (hah) that I'm almost entirely inexperienced with C, the only programming I've done is small amounts in VB and Java. Snippets are just about the only thing I really do, since it saves our main coder time and effort if he doesn't have to worry about relatively small and simple things.

As such if you could make any replies as detailed as possible, I would be very thankful.
Canada #2
Well, I've solved the notepad/wordpad issue I think, but the automapper is still giving me trouble.
Canada #3
...And now the automapper is working nicely, except for only one problem, that being a segmentation fault it gives me when doing anything that requires the 'look' command in a certain room or rooms that connect to it. I can still use 'at vnum rstat', which strikes me as odd but allowed me to determine which room was the problem at least. Trying to figure out GDB now, for which I've seen several sets of instructions around here.

Therefore it would seem this whole post is/was a tad premature, and I apologize.