Fix bot disconnection
parent
b1647f6d04
commit
43e07efbc8
|
@ -162,7 +162,7 @@ namespace pCampBot
|
||||||
client.Throttle.Total = 400000;
|
client.Throttle.Total = 400000;
|
||||||
client.Network.LoginProgress += this.Network_LoginProgress;
|
client.Network.LoginProgress += this.Network_LoginProgress;
|
||||||
client.Network.SimConnected += this.Network_SimConnected;
|
client.Network.SimConnected += this.Network_SimConnected;
|
||||||
// client.Network.Disconnected += this.Network_OnDisconnected;
|
client.Network.Disconnected += this.Network_OnDisconnected;
|
||||||
client.Objects.ObjectUpdate += Objects_NewPrim;
|
client.Objects.ObjectUpdate += Objects_NewPrim;
|
||||||
//client.Assets.OnAssetReceived += Asset_ReceivedCallback;
|
//client.Assets.OnAssetReceived += Asset_ReceivedCallback;
|
||||||
if (client.Network.Login(FirstName, LastName, Password, "pCampBot", "Your name"))
|
if (client.Network.Login(FirstName, LastName, Password, "pCampBot", "Your name"))
|
||||||
|
|
Loading…
Reference in New Issue