Are you using the ServerUO server? It should be right next to the Data folder. You should be seeing this when you open the main server folder itself.ScreenHunter_178 Dec. 11 09.09.jpg
 
I am running the ServUO server but i do not see the Config folder. it is odd...very odd. Thank you for the visual as well :)
 
are you using the newest SVN? The one that is updated weekly sometimes daily?
[doublepost=1481568913][/doublepost]if you do not have a config folder you are using an out of date version I would think.
 
the config folder is there since a looong time. Either its a really old version or you are looking in some sub folders. Its in your ServUO folder next to Data, Scripts and Server.
 
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?
 
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?


Only way for that to happen is if you merge the changes in manually and that will take u some time
 
Scripts/Accounting/AccountHandler.cs
Code:
private static readonly int MaxAccountsPerIP = 1;

you may rather want to use
\Config\Accounts.cfg:
Code:
# Number of accounts allowed to be created from a single IP address
AccountsPerIp=5

...if that isn't too late or answered already :)
 
Hi! There is anyone who have tried to set the house owner by Character ad not by Account? I'm tryng to do it, in order to have vendors&houses with a unique owner, but I'm miserably failing...
 
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
Im trying to do the same thing but nothing is working for me!!
 
Basehouse.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;
        }
Ok I did this 3x and I still keep getting the same thing here :(
------------------------------------------------------------------------------------------------------------------------
ServUO - [ServUO - Ultima Online Emulation] Version 0.5, Build 6437.20990
Publish 54
Core: Optimizing for 4 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 1 errors, 0 warnings
Errors:
+ Multis/BaseHouse.cs:
CS1519: Line 3670: Invalid token 'return' in class, struct, or interface member declaration
CS1519: Line 3670: Invalid token ';' in class, struct, or interface member declaration
CS1518: Line 3673: Expected class, delegate, enum, interface, or struct
CS1518: Line 3703: Expected class, delegate, enum, interface, or struct
CS1518: Line 3703: Expected class, delegate, enum, interface, or struct
CS0116: Line 3709: A namespace cannot directly contain members such as fields or methods
CS1022: Line 3710: Type or namespace definition, or end-of-file expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
here is my house.cs not sure why I keep getting this error. Any help would be great! trying to set it for 1 house per ip.
 

Attachments

  • BaseHouse.cs
    103.3 KB · Views: 1
Not sure what you cut off or didn't include but you have extra code below your method causing the issue!

Code:
        /// <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;
        }


What is this from? Its causing your errors, better review your edits more carefully in the future!
Code:
            return numHouses;
        }
 
I do not understand I have tried both servuo and runuo and for some reason nothing is working for me this is the .cs that works on my live server
 

Attachments

  • BaseHouse.cs
    103.2 KB · Views: 1
Back