some cleanup and modernization

This commit is contained in:
mark 2012-11-27 04:36:37 +00:00
parent 6d6866ea17
commit cfb2d9421a
4 changed files with 6 additions and 10 deletions

View file

@ -10,11 +10,11 @@ namespace Server.Engines.MyRunUO
public static bool Enabled = false;
// Details required for database connection string
public const string DatabaseDriver = "{MySQL ODBC 3.51 Driver}";
public const string DatabaseServer = "localhost";
public const string DatabaseName = "MyRunUO";
public const string DatabaseUserID = "username";
public const string DatabasePassword = "password";
public const string DatabaseDriver = "{MySQL ODBC 5.2w Driver}";
public const string DatabaseServer = "localhost";
public const string DatabaseName = "MyRunUO";
public const string DatabaseUserID = "username";
public const string DatabasePassword = "password";
// Should the database use transactions? This is recommended
public static bool UseTransactions = true;

View file

@ -134,9 +134,6 @@ namespace Server.Engines.Events
else
{
m_Timer.Stop();
}
}

View file

@ -2563,7 +2563,6 @@ namespace Server.Mobiles
if ( !bValid )
continue;
} else {
// Same goes for faction enemies.
if ( bFacFoe && !m_Mobile.IsEnemy( m ) )
continue;

View file

@ -1,6 +1,6 @@
using Server;
using System;
using System.Collections;
using Server;
using Server.Multis;
using Server.Targeting;
using Server.Items;