|
||
|
|||||||
| Network Modifications This forum is for modifications to the networking code of RunUO |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
Join Date: Mar 2007
Age: 23
Posts: 37
|
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 |
|
|
|
|
|
#2 (permalink) |
|
Forum Newbie
Join Date: Mar 2007
Age: 23
Posts: 37
|
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;
}
}
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|