RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

@network crash

Cathayan

Wanderer
@network crash

i am trying to combine 181svn with my svn161

all okey, but this is crash report on start.
i think i
Code:
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2143 items, 545 mobiles)
Regions: Loading...done
World: Loading...done (36915 items, 2944 mobiles) (4,85 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Error:
System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.Enter(Object obj)
   at Server.Network.SocketPool.AcquireSocket() in D:\RunUO\Server-src\Netw
ork\SocketPool.cs:line 78
   at Server.Network.Listener.Bind(IPAddress ip, Int32 port) in D:\RunUO\Se
rver-src\Network\Listener.cs:line 84
   at Server.Network.Listener..ctor(Int32 port) in D:\RunUO\Server-src\Netw
ork\Listener.cs:line 62
   at Server.Core.Main(String[] args) in D:\RunUO\Server-src\Main.cs:line 3
80
Crash: Backing up...done
Crash: Generating report...done
Crash: Restarting...done

I think I that have forgotten to change in scripts connected with network but I can not understand what exactly. I ask the help from developers.
 

Cathayan

Wanderer
i catch this:
Code:
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2143 items, 545 mobiles)
Regions: Loading...done
World: Loading...done (36915 items, 2944 mobiles) (2,85 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
[COLOR="Red"]Listener BIND exception:[/COLOR]
System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.Enter(Object obj)
   at Server.Network.SocketPool.AcquireSocket() in D:\RunUO\Server-src\Netw
ork\SocketPool.cs:line 78
   at Server.Network.Listener.Bind(IPAddress ip, Int32 port) in D:\RunUO\Se
rver-src\Network\Listener.cs:line 86
Address: 127.0.0.1:7777
Address: 10.19.6.125:7777
Warning: 24 bad spawns detected, logged: 'badspawn.log'

Code:
		private Socket Bind( IPAddress ip, int port )
		{
			IPEndPoint ipep = new IPEndPoint( ip, port );

            try
            {
                Socket s = SocketPool.AcquireSocket();

			    try
			    {
				    s.LingerState.Enabled = false;
				    s.ExclusiveAddressUse = false;

				    s.Bind( ipep );
				    s.Listen( 8 );

				    IAsyncResult res = s.BeginAccept( SocketPool.AcquireSocket(), 0, m_OnAccept, s );

				    return s;
			    }
			    catch ( Exception e )
			    {
				    Console.WriteLine( "Listener bind exception:" );
				    Console.WriteLine( e );

				    return null;
			    }
            }
            catch (Exception e)
            {
                Console.WriteLine([COLOR="Red"]"Listener BIND exception:"[/COLOR]);
                Console.WriteLine(e);

                return null;
            }
		}

but i don't understand where i type a mistake..
 
Top