Gmane
From: barakat barakat <barakatx2 <at> gmail.com>
Subject: RunUO 1.0.0 Source Code Exploit Fix
Newsgroups: gmane.comp.games.ultimaonline.sunuo
Date: 2005-11-29 03:21:46 GMT (2 years, 40 weeks, 2 days, 11 hours and 43 minutes ago)

I've been trying to figure out how to stop this exploit that a person has been using on us for days, and I finally figured it out. I do no know exactly how the exploit was working but I know how to fix it. It is because of an error by the RunUO developers, and asayre8 didn't really want to accept it. So here is the fix:

Network\PacketHandlers.cs

Search for "if ( info == null || a == null || cityIndex < 0 || cityIndex >= info.Length )"

The if statement executes the code if info == null. Here is the code:

                Console.WriteLine( cityIndex );
                Console.WriteLine( info.Length );
                Console.WriteLine( "New character name: '{0}'", name );
                state.Dispose();

if info == null, then Console.WriteLine( info.Length ); that will cause a crash, and that is what an exploiter has been using against our server. I just commented those lines out to stop the problem but you could fix it if you really want to.

-Barakat