2 new Questions :D

Posted by Ardentcrest on Tue 02 Dec 2014 02:19 PM — 9 posts, 32,766 views.

#0
To start thanks for all the help everyone. I'm leaning a lot.

here's the questions.

I'm using the latest updates for 1.92 But I'm getting no logs anywhere. no error bug or even hotboot logs. what do I do to make them work.

and

the client prints out about 80 charactersper line. What am I looking for in the sever code to make it 70, 60 or even 50.


Ardentcrest
USA #1
Your first question is either a makefile or command line switch that's missing to enable logging, though I'm not familiar enough with SMAUG 1.92 to say which.

As for the second, why would you want (much less need) less than 80 characters displayed from the server unless you expect your main audience to be playing from smart phones? Most tablets manage 80 characters with ease and what you've asked means a massive amount of recoding, so much so that it might be easier to start with fresh code.
#2
for the first I will look.

for the second the mud will be really run on old 8 bit computers. some like the ZX spectrum only do 32 characters per line But can be pushed to do 64 max.

This will be fun :)
Australia Forum Administrator #3
I think, but am not sure, that the server has a configuration directive that lets you set the line width.

However, and this is important, the area files are generally pre-wrapped. That is, the descriptions are already done at 80 or so characters. If the server wraps that then lines will wrap in odd places.

For example, instead of:


Law Avenue
You are walking down a rather commercial part of Law Avenue.  Merchants
hassle you to spend your gold as you attempt to continue on your way.
Glancing to the north, you see the only shop worth visiting, owned by
the respectable Annir.  Law Avenue stretches to the east and west.


You would see (at 50 characters wrapping):


Law Avenue
You are walking down a rather commercial part of
 Law Avenue.  Merchants
hassle you to spend your gold as you attempt to
 continue on your way.
Glancing to the north, you see the only shop
 worth visiting, owned by
the respectable Annir.  Law Avenue stretches to
 the east and west.


Note that the wrapping occurs in the middle of sentences. You could try to "unwrap" the descriptions and then "rewrap" them, but this will take a bit of coding.
Amended on Tue 02 Dec 2014 08:01 PM by Nick Gammon
#4
Thanks for the replay

will look.

Any help on the

no logs anywhere. no error bug or even hotboot logs.

It not in the makefile and I cant find any other info on it.
USA #5
Are you running in Cygwin or on an actual 'nix box?
#6
Cygwin

also an old post.

would this work if so how

http://www.ngammon.com/forum/?id=5012&reply=1
USA #7
So, I did a bit of digging on where logs are set in SMAUG and you need to look at your startup file in your src directory to find/change where logs are supposed to be writing. There may also be a Cygwin switch to turn them on at startup but it's been forever since I remembered what those were. You'll also want to be sure you didn't put Cygwin somewhere write protected if you're using a Win 7 or 8 box or any server version newer than (I believe) 2008.
#8
ty will look