Register forum user name Search FAQ

Gammon Forum

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 ➜ Strangest error I've ever seen

Strangest error I've ever seen

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


Posted by Atrox   USA  (18 posts)  Bio
Date Tue 16 Feb 2010 04:16 PM (UTC)
Message
I am at a complete loss for this one. I changed practically nothing, but now whenever someone connects to my mud, instead of displaying the greeting or anything, it just repeats the characters "3/@Nw1@_1@" over and over. They can, however, still enter their login name, once they do that and hit enter, it stops repeating the string and continues as normal, displaying the greeting and everything. Anyone have any clue what would cause this?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Tue 16 Feb 2010 04:28 PM (UTC)
Message
Atrox said:
I changed practically nothing,

Well, what did you change? :-)

You should look over your changes carefully and see if you did everything correctly. Diff against an unmodified version if it helps.

You could also try using gdb and put a break where output is sent to the player to see the callstack for what is printing that string.

Or, run it through valgrind to see if you're sending uninitialized memory or something of that sort.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Atrox   USA  (18 posts)  Bio
Date Reply #2 on Tue 16 Feb 2010 04:32 PM (UTC)
Message
I feel kinda dumb for not thinking of valgrind or GDB. =/ As far as changes go, the only thing different between the build before it and this one is I added a quick toggle to disable my MySQL connection... which definitely shouldn't do this. I took it out and it's still doing it. I'm gonna go hook it with GDB and see what I can find.
Top

Posted by Syriac   (46 posts)  Bio
Date Reply #3 on Fri 30 Jul 2010 09:59 AM (UTC)
Message
Check your call to help_greeting?
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.


15,983 views.

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

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.