Diesel

Member
Is there a way to disable client verification?

So there is a clientverification.cs file.

Would setting

private static readonly bool m_DetectClientRequirement = true;

to false stop the verification and allow older clients to connect and not get kicked?
 
Last edited:
Haven't tried that. I have OldClientResponse set to Warn...warns players that they should update their client but doesn't prevent them from playing with an older client
 
Where would I change it to warn? Would it be what I colored in red?


public class ClientVerification
{
private static readonly bool m_DetectClientRequirement = true;
private static readonly OldClientResponse m_OldClientResponse = OldClientResponse.LenientKick;
private static readonly TimeSpan m_AgeLeniency = TimeSpan.FromDays(10);
private static readonly TimeSpan m_GameTimeLeniency = TimeSpan.FromHours(25);
private static ClientVersion m_Required;

public static TimeSpan KickDelay = TimeSpan.FromSeconds(Config.Get("Client.KickDelay", 20.0));
public static bool AllowRegular = Config.Get("Client.AllowRegular", true);
public static bool AllowUOTD = Config.Get("Client.AllowUOTD", true);
public static bool AllowGod = Config.Get("Client.AllowGod", true);

private enum OldClientResponse
{
Ignore,
Warn,
Annoy,
LenientKick,
Kick
}
public static ClientVersion Required
{
get
{
return m_Required;
}
set
{
m_Required = value;
}
 
Thanks, someone wanting to connect to my server couldn't upgrade from 7.0.59 to 7.0.60. Hopefully, that will help them out. Which will help me!
 
Setting the Detect Client to false would mean anyone with a lower client patch could still play. They just wouldn't be able to see any newer items & such from the higher clients. And they wouldn't get any warnings.
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 133 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 89 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 85 Online
    • 105 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 81 Online
    • 190 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 34 Online
    • 85 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 22 Online
    • 48 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 21 Online
    • 172 Peak
  • Arth
    Custom (Modern)
    • Players
    • 20 Online
    • 34 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 17 Online
    • 32 Peak
  • Heritage
    New Legacy
    • Players
    • 13 Online
    • 41 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back