* Four more warnings, etc etc.
parent
810d2126ea
commit
1410210b84
|
@ -364,23 +364,12 @@ namespace OpenSim.Region.ClientStack
|
|||
public void ServerListener()
|
||||
{
|
||||
uint newPort = listenPort;
|
||||
m_log.Info("[SERVER]: Opening UDP socket on " + listenIP.ToString() + " " + newPort + ".");// Allow alternate ports: " + Allow_Alternate_Port.ToString());
|
||||
try
|
||||
{
|
||||
ServerIncoming = new IPEndPoint(listenIP, (int)newPort);
|
||||
Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
|
||||
Server.Bind(ServerIncoming);
|
||||
listenPort = newPort;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// We are not looking for alternate ports?
|
||||
//if (!Allow_Alternate_Port)
|
||||
throw (ex);
|
||||
m_log.Info("[SERVER]: Opening UDP socket on " + listenIP.ToString() + " " + newPort + ".");
|
||||
|
||||
// We are looking for alternate ports!
|
||||
//m_log.Info("[SERVER]: UDP socket on " + listenIP.ToString() + " " + listenPort.ToString() + " is not available, trying next.");
|
||||
}
|
||||
ServerIncoming = new IPEndPoint(listenIP, (int)newPort);
|
||||
Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
|
||||
Server.Bind(ServerIncoming);
|
||||
listenPort = newPort;
|
||||
|
||||
m_log.Info("[SERVER]: UDP socket bound, getting ready to listen");
|
||||
|
||||
|
|
|
@ -82,11 +82,9 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
private bool m_wascolliding = false;
|
||||
private bool m_wascollidingGround = false;
|
||||
private bool m_iscollidingObj = false;
|
||||
private bool m_wascollidingObj = false;
|
||||
private bool m_alwaysRun = false;
|
||||
private bool m_hackSentFall = false;
|
||||
private bool m_hackSentFly = false;
|
||||
private bool m_foundDebian = false;
|
||||
public uint m_localID = 0;
|
||||
|
||||
private CollisionLocker ode;
|
||||
|
@ -105,9 +103,6 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
| CollisionCategories.Body
|
||||
| CollisionCategories.Character
|
||||
| CollisionCategories.Land);
|
||||
|
||||
private bool jumping = false;
|
||||
//private float gravityAccel;
|
||||
public IntPtr Body;
|
||||
private OdeScene _parent_scene;
|
||||
public IntPtr Shell;
|
||||
|
@ -126,7 +121,6 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
|
||||
if (System.Environment.OSVersion.Platform == PlatformID.Unix)
|
||||
{
|
||||
m_foundDebian = true;
|
||||
m_tensor = 2000000f;
|
||||
}
|
||||
else
|
||||
|
@ -409,7 +403,6 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
|
||||
if (System.Environment.OSVersion.Platform == PlatformID.Unix)
|
||||
{
|
||||
m_foundDebian = true;
|
||||
m_tensor = 2000000f;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -120,8 +120,6 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
|
||||
private IntPtr m_linkJoint = (IntPtr)0;
|
||||
|
||||
private int debugcounter = 0;
|
||||
|
||||
public OdePrim(String primName, OdeScene parent_scene, PhysicsVector pos, PhysicsVector size,
|
||||
Quaternion rotation, IMesh mesh, PrimitiveBaseShape pbs, bool pisPhysical, CollisionLocker dode)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue