Re: Mob bugs

From: Luca (wetwork@terra.com.br)
Date: 08/19/01


At 11:45 18/08/01 +0200, you wrote:
>----- Original Message -----
>From: "Luca" <wetwork@terra.com.br>
> > At 19:51 18/08/01 -0500, you wrote:
> > > >         I'm adding a new area to my mud and I don't know why but my mob
> > > > file never work....  I'm getting this when i try to start my MUD:
> > > >   in mob #170128 :: SYSERR: Warning: unrecognized espec keyword E
> > > > Aug 18 16:14:28 :: SYSERR: Unterminated E section in mob #1701
> > > > And this is my Mob 1701:
> > > >
> > > > abgilmno k 500 E
> > > > 46 6 2 4d13+789 4d4+6
> > > > 7500 237000
> > > > 8 8 1
> > > > Str: 18
> > > > Dex: 18
> > > > E
> > > >
>hmm... you've been editing that file with a DOS (ie -nonlinux) editor, right ?
>
>the syslog entry is actually:
>Aug 18 16:14:28 :: SYSERR: Warning: unrecognized espec keyword E\r in mob
>#1701
>
>Since the mob loading routine scans for "%s\n" it actually loads not just the
>E but also the \r (carriage return) that follows it.
>
>The simple solution:
>
>dos2unix lib/world/mob/17.mob
>
>This should fix the problem.
>
>You'll probably get the same type of errors in the other world files, but
>try out the dos2unix solution on these errors too.
>
>This problem is closely related to the ASCII pfile problems others (me :)
>have reported lately. The deformed syslogs is a practical giveaway to the
>solution/reason for the problem.
>
>Welcor

How can I do that dos2unix???
I use the Cygwin to compile and stuff and i edit the files with the devc++
4.0, but somtimes I use WinWord.
Luca

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST