Pyro, I am looking at the primary Server folder. its actually not there, unfortunately.
Tasanar, I think this may be the case. I have been building my server for a few years- 4 or 5 atleast and have not really updated the new SVN. If I were to update it, my other altered files and such will be fine and unchanged?
Scripts/Accounting/AccountHandler.csCode:private static readonly int MaxAccountsPerIP = 1;
# Number of accounts allowed to be created from a single IP address
AccountsPerIp=5
Im trying to do the same thing but nothing is working for me!!i changed it in the config and base house in the line for the config got no results. so do i need to reedit what you sent to original?
and all i wanted was two houses per account.
[doublepost=1479927357][/doublepost]also i am using the newest svn
Ok I did this 3x and I still keep getting the same thing hereBasehouse.cs
Code:public static bool HasHouse( Mobile m ) { if ( m == null ) return false; List<BaseHouse> list = null; m_Table.TryGetValue( m, out list ); if ( list == null ) return false; // # of Houses per Account 0=1, 1=2, 2=3 per account etc etc for ( int i = 2; i < list.Count; ++i ) { BaseHouse h = list[i]; if ( !h.Deleted ) return true; } return false; }
/// <summary>
/// Checks for and returns the number of houses in an account.
/// </summary>
public static bool HasHouse(Mobile m)
{
if (m == null)
return false;
List<BaseHouse> list = null;
m_Table.TryGetValue(m, out list);
if (list == null)
return false;
// # of Houses per Account 0=1, 1=2, 2=3 per account etc etc
for (int i = 0; i < list.Count; ++i)
{
BaseHouse h = list[i];
if (!h.Deleted)
return true;
}
return false;
}
return numHouses;
}
return numHouses;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.