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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  2 new Questions :D

2 new Questions :D

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


Posted by Ardentcrest   (47 posts)  [Biography] bio
Date Tue 02 Dec 2014 02:19 PM (UTC)
Message
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
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #1 on Tue 02 Dec 2014 02:52 PM (UTC)
Message
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.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Ardentcrest   (47 posts)  [Biography] bio
Date Reply #2 on Tue 02 Dec 2014 07:03 PM (UTC)
Message
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 :)
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Tue 02 Dec 2014 07:58 PM (UTC)

Amended on Tue 02 Dec 2014 08:01 PM (UTC) by Nick Gammon

Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ardentcrest   (47 posts)  [Biography] bio
Date Reply #4 on Tue 02 Dec 2014 08:40 PM (UTC)
Message
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.
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #5 on Tue 02 Dec 2014 10:11 PM (UTC)
Message
Are you running in Cygwin or on an actual 'nix box?

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Ardentcrest   (47 posts)  [Biography] bio
Date Reply #6 on Tue 02 Dec 2014 10:20 PM (UTC)
Message
Cygwin

also an old post.

would this work if so how

http://www.ngammon.com/forum/?id=5012&reply=1
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #7 on Tue 02 Dec 2014 10:37 PM (UTC)
Message
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.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Ardentcrest   (47 posts)  [Biography] bio
Date Reply #8 on Tue 02 Dec 2014 10:45 PM (UTC)
Message
ty will look
[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.


20,664 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 HostDash]