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

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Strangest error I've ever seen
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Strangest error I've ever seen

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


Posted by Atrox   USA  (18 posts)  [Biography] 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?
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Atrox   USA  (18 posts)  [Biography] 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.
[Go to top] top

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


4,393 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 FutureQuest]