This is for my own use. To connect to my server, I must use the ClassicUO that I have modified, and other clients and auxiliary logins cannot. Pay attention to the directory of the phone, which is different from the original directory path. Of course, I can't log in to other servers with this...
The meaning is to add verification code in ServUO and ClassicUO. If the verification code in ClassicUO is consistent with ServUO, it is allowed to connect to the server. If it does not match, it cannot connect to the server, and even the page where the server is selected cannot be seen
public static bool CheckConvert(BaseCreature bc, Point3D location, Map m)
{
if (!Core.AOS)
return false;
if (Array.IndexOf(Maps, m) == -1)
return false;
//EDIT
Region reg = Region.Find(location...