Server icon indicating copy to clipboard operation
Server copied to clipboard

UCS.exe crashes if server shortname+character name exceeds 63 characters.

Open Techungry opened this issue 6 years ago • 3 comments

Line 604 in ucs/clientlist.cpp declares char MailBox[64]; If the value attempted to put into that string is is larger than 63 characters+terminator UCS.exe eventually crashes with the following crash report. When Database::VerifyMailKey is executed and the query there returns 0 results EXCEPTION_ACCESS_VIOLATION occurs. ucs_14764.log UCS.exe crashes. crash_ucs_14764.log

Techungry avatar Feb 01 '19 20:02 Techungry

Correction. The entire string of server name+character name read in by UCS at login needs to be less than 63 characters or crash happens. For example "SOE.EQ.!The King's Lair (Solo Tuned EQEmu Server).Test" works, "SOE.EQ.!The King's Lair (Solo Tuned EQEmu Server).Tester" does not.

Techungry avatar Feb 01 '19 22:02 Techungry

First off, why is your short name stupidly long?

mackal avatar Feb 02 '19 00:02 mackal

lazyness...I just made long and short the same as I falsely assumed it had no limitations and its value really did not matter.

Techungry avatar Feb 02 '19 05:02 Techungry

Closing this as it's a non-issue, just can't use super long server short names.

Kinglykrab avatar Jan 02 '23 00:01 Kinglykrab