Strangest error I've ever seen

Posted by Atrox on Tue 16 Feb 2010 04:16 PM — 4 posts, 20,259 views.

USA #0
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?
USA #1
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.
USA #2
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.
#3
Check your call to help_greeting?