Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Compass Display Snippet and my own stupidity
|
Compass Display Snippet and my own stupidity
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Fri 22 Aug 2003 06:07 AM (UTC) |
| Message
| | I would remove (or comment-out) that code from nanny, and change the sequence of states so that it skips that state, and also set the race as the default when it creates a new character. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Rob Harper
(108 posts) Bio
|
| Date
| Reply #1 on Fri 22 Aug 2003 06:42 AM (UTC) |
| Message
| | Ahh, thanks nick, orignally thats what I did (removing the asking part). My problem is I dont know where to set the default race so that it knows to make every new charecter "Human". | | Top |
|
| Posted by
| Jach
USA (25 posts) Bio
|
| Date
| Reply #2 on Sat 23 Aug 2003 12:29 AM (UTC) |
| Message
| This may be my own blatant idiocy but I've installed the Compass Display Snippet from Samson and am running into a small problem.
After editing the color codes and changing the basic spacing I've hit a snag. What's happening is when the room I'm in has only N,S,E, or W exits everything is fine. However, when the room has NW or SW exits everything on that line, after that exit gets shifted 1 space to the right. This only affects the N, NE and S, SE exit display.
I know there is a way to stop this, but I seem to be unable to figure it out. Any help will be greatly appreciated. |
"Adults are obsolete children."
Dr. Seuss | | Top |
|
| Posted by
| Rob Harper
(108 posts) Bio
|
| Date
| Reply #3 on Sat 23 Aug 2003 03:13 AM (UTC) |
| Message
| | How the hell did my message merge with this one... | | Top |
|
| Posted by
| Jach
USA (25 posts) Bio
|
| Date
| Reply #4 on Sat 23 Aug 2003 03:14 AM (UTC) |
| Message
| | Good question...I'm curious myself. |
"Adults are obsolete children."
Dr. Seuss | | Top |
|
| Posted by
| Greven
Canada (835 posts) Bio
|
| Date
| Reply #5 on Sat 23 Aug 2003 03:33 AM (UTC) |
| Message
| | As for your compass display stuff, is any part of it referencing strlen for the formatting part? Cause if so, and you added some colors, it will count the color code as well, but that seems unlikely if only N, Ne and S, Se are affected. Are you using something like "%-2s" to format the spacing? |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | | Top |
|
| Posted by
| Jach
USA (25 posts) Bio
|
| Date
| Reply #6 on Sat 23 Aug 2003 07:44 AM (UTC) |
| Message
| Ok...it was my stupidity. After thinking about it away from the computer I realized my mistake. Thanks for the reply anyway.
One more thing however, Players still aren't able to save. I've done just about everything suggested in all the threads I searched up and it still isn't working. I'm running the winsmaug distribution downloaded from this site and compiling with Visual Studio 6 on an XP machine. I tried compiling with Cygwin and it still didn't work. Any further suggestions would be greatly appreciated. |
"Adults are obsolete children."
Dr. Seuss | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #7 on Sun 24 Aug 2003 05:12 AM (UTC) |
| Message
| | If you are using Visual Studio, do a debug build and put a breakpoint on the save code, then see what happens. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Jach
USA (25 posts) Bio
|
| Date
| Reply #8 on Sun 24 Aug 2003 07:05 AM (UTC) |
| Message
| | Did that and got nothing...everything compiled normally but still won't save. Unless I did it wrong, which is a possibility since I just got back from work and am extremely tired. |
"Adults are obsolete children."
Dr. Seuss | | Top |
|
| Posted by
| Jach
USA (25 posts) Bio
|
| Date
| Reply #9 on Sun 24 Aug 2003 08:59 PM (UTC) |
| Message
| | Problem solved. Thanks for the help. |
"Adults are obsolete children."
Dr. Seuss | | 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.
29,305 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top