Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Network Modifications

Network Modifications This forum is for modifications to the networking code of RunUO

Reply
 
Thread Tools Display Modes
Old 05-07-2007, 09:40 AM   #1 (permalink)
Forum Newbie
 
Join Date: Mar 2007
Age: 23
Posts: 37
Default @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 is offline   Reply With Quote
Old 05-07-2007, 09:56 AM   #2 (permalink)
Forum Newbie
 
Join Date: Mar 2007
Age: 23
Posts: 37
Default

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
Listener BIND exception:
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("Listener BIND exception:");
                Console.WriteLine(e);

                return null;
            }
		}
but i don't understand where i type a mistake..
Cathayan is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5