Skip to content
Browse files

JabberGateway now attempts to handle xmpp pings using a task

JabberGateway now offers bidirectional jabber support (incoming messages to an endpoint are broadcast as JabberMessage events through the messaging module)
Fixed bug in EventNotifications where you would get duplicate notifications when running multiple eve clients
Wait longer before attaching to EVE processes (maybe this will fix a crash bug)
  • Loading branch information...
1 parent cde4281 commit 2b22d509631fd55467c891450d5db9d571213a9c @kg committed Dec 22, 2010
View
20 Common/Common.cs
@@ -163,14 +163,18 @@ public Common (ScriptName name)
continue;
}
- foreach (var queue in MessageQueues.Values)
- queue.Enqueue(mdata);
-
- EventBus.Broadcast(process, "Message", mdata);
- EventBus.Broadcast(process, mdata.Name, mdata);
+ OnNewMessage(process, mdata);
}
}
+ public void OnNewMessage (object source, MessageData message) {
+ foreach (var queue in MessageQueues.Values)
+ queue.Enqueue(message);
+
+ EventBus.Broadcast(source, "Message", message);
+ EventBus.Broadcast(source, message.Name, message);
+ }
+
private IEnumerator<object> MessageDispatcherTask (ProcessInfo process) {
var queue = MessageQueues[process.Process.Id];
var sleep = new Sleep(0.01);
@@ -181,7 +185,11 @@ public Common (ScriptName name)
var msg = fNext.Result;
// Result intentionally discarded
- Program.CallFunction(process, "common.messaging", "notifyNewMessage", msg.Source.Process.Id, msg.Data);
+ object sourceId = null;
+ if ((msg.Source != null) && (msg.Source.Process != null))
+ sourceId = msg.Source.Process.Id;
+
+ Program.CallFunction(process, "common.messaging", "notifyNewMessage", sourceId, msg.Data);
}
}
View
13 Common/common.eve.state.py
@@ -1,10 +1,13 @@
serviceInstance = None
-TargetableCategories = set([
- const.categoryShip, const.categoryDrone,
- const.categoryEntity, const.categoryStructure,
- const.categoryStation
-])
+try:
+ TargetableCategories = set([
+ const.categoryShip, const.categoryDrone,
+ const.categoryEntity, const.categoryStructure,
+ const.categoryStation
+ ])
+except:
+ TargetableCategories = set()
class ItemDataCache(object):
__slots__ = ("id", "_ball", "_slimItem", "_flag", "_flagCached")
View
6 EventNotifications/eventnotifications.py
@@ -1,4 +1,4 @@
-from shootblues.common import log, remoteCall, playSound, showBalloonTip, showMessageBox
+from shootblues.common import log, remoteCall, playSound, showBalloonTip, showMessageBox, pid
from shootblues.common.service import forceStart, forceStop
from shootblues.common.messaging import subscribe, unsubscribe
from shootblues.common.messaging import send as messageSend
@@ -47,6 +47,10 @@ def getLines(text):
def handleEvent(source, name, data):
global notificationSettings
+ import shootblues.common
+ if source != shootblues.common.pid:
+ return
+
settings = notificationSettings.get(name, None)
if settings:
sound = data.get("sound", settings.get("sound", None))
View
96 JabberGateway/JabberGateway.cs
@@ -97,18 +97,52 @@ public class Endpoint : IDisposable {
return f;
}
- protected static void HandlePing (Session session, string xml, long socketID) {
- var doc = new XmlDocument();
- doc.LoadXml(xml);
+ protected static IEnumerator<object> HandlePing (Session session, string xml, long socketID) {
+ try {
+ var si = Program.GetScriptInstance<Common>("Common.Script.dll");
+ if (si != null)
+ si.LogPrint(null, "Attempting to respond to jabber ping.");
+ else
+ Console.WriteLine("Attempting to respond to jabber ping.");
+ } catch {
+ }
+
+ var fDoc = Future.RunInThread(() => {
+ var doc = new XmlDocument();
+ doc.LoadXml(xml);
+ return doc;
+ });
+
+ yield return fDoc;
- var toJID = new JabberID(doc.Attributes["to"].InnerText);
- var fromJID = new JabberID(doc.Attributes["from"].InnerText);
- string packetID = doc.Attributes["id"].InnerText;
+ var root = fDoc.Result.FirstChild;
+ var toJID = new JabberID(root.Attributes["to"].InnerText);
+ var fromJID = new JabberID(root.Attributes["from"].InnerText);
+ string packetID = root.Attributes["id"].InnerText;
Packet packet = new SoapboxCore.IQ.IQResultResponse(
- toJID, fromJID, packetID, socketID
+ fromJID, toJID, packetID, socketID
);
- session.Send(packet);
+ yield return session.AsyncSend(packet);
+ }
+
+ protected static void HandleIncomingMessage (JabberGateway gateway, string endpointName, JabberID from, string body) {
+ try {
+ var si = Program.GetScriptInstance<Common>("Common.Script.dll");
+ if (si != null) {
+ var mdata = new ShootBlues.Script.Common.MessageData(
+ null, new Dictionary<string, object> {
+ {"__name__", "JabberMessage"},
+ {"endpoint", endpointName},
+ {"from", from.FullJabberID},
+ {"text", body}
+ }
+ );
+ si.OnNewMessage(gateway, mdata);
+ }
+ } catch (Exception ex) {
+ Program.Scheduler.OnTaskError(ex);
+ }
}
protected static IEnumerator<object> DoConnect (JabberGateway gateway, EndpointSettings settings, Action<float> setStatus) {
@@ -121,21 +155,41 @@ public class Endpoint : IDisposable {
setStatus(0.5f);
// Fucking soapbox doesn't handle pings or let you handle them with strongly typed packets, wee
- session.OnXMLReceived += (xml, socket) => {
- if (xml.Contains("<ping xmlns=\"urn:xmpp:ping\"")) {
- HandlePing(session, xml, socket);
-
- var si = Program.GetScriptInstance<Common>("Common.Script.dll");
- if (si != null)
- si.LogPrint(null, "Attempting to respond to jabber ping.");
- else
- Console.WriteLine("Attempting to respond to jabber ping.");
+ session.OnXMLReceived += (xml, socketID) => {
+ if (xml.Contains("<ping xmlns=\"urn:xmpp:ping\""))
+ Program.Scheduler.Start(HandlePing(session, xml, socketID), TaskExecutionPolicy.RunAsBackgroundTask);
+ };
+
+ var messagePrefix = settings.ChatAlias.ToLowerInvariant() + ":";
+
+ session.AddHandler(typeof(SoapboxCore.Message.ChatMessagePacket), (p) => {
+ var cm = (SoapboxCore.Message.ChatMessagePacket)p;
+
+ string bodyText = null;
+ try {
+ bodyText = cm.Body;
+ } catch {
}
- };
- session.StreamCloseEvent += (e) => {
- Console.WriteLine("Stream closed: {0}", e);
- };
+ if (bodyText != null)
+ HandleIncomingMessage(gateway, settings.Name, cm.From, bodyText);
+ });
+
+ session.AddHandler(typeof(MUC.Message.GroupChatMessage), (p) => {
+ var gcm = (MUC.Message.GroupChatMessage)p;
+
+ string bodyText = null;
+ try {
+ bodyText = gcm.Body;
+ } catch {
+ }
+
+ if ((bodyText != null) && (bodyText.ToLowerInvariant().Trim().StartsWith(messagePrefix))) {
+ bodyText = bodyText.Substring(bodyText.IndexOf(':') + 1);
+ HandleIncomingMessage(gateway, settings.Name, gcm.From, bodyText);
+ }
+ });
+
session.OnAsynchronousException += (e) => {
Program.Scheduler.OnTaskError(e);
};
View
5 JabberGateway/JabberGateway.csproj
@@ -95,6 +95,11 @@
<Name>ShootBlues</Name>
<Private>False</Private>
</ProjectReference>
+ <ProjectReference Include="..\Common\Common.csproj">
+ <Project>{390A5CD1-F8DE-491E-BECC-AD16FD237E50}</Project>
+ <Name>Common</Name>
+ <Private>False</Private>
+ </ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="AddEndpointDialog.resx">
View
26 JabberGateway/JabberGatewayConfig.Designer.cs
@@ -28,6 +28,7 @@ partial class JabberGatewayConfig {
this.AddNew = new System.Windows.Forms.Button();
this.List = new System.Windows.Forms.ListBox();
this.TestEndpoint = new System.Windows.Forms.Button();
+ this.Edit = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// Remove
@@ -36,7 +37,7 @@ partial class JabberGatewayConfig {
this.Remove.Enabled = false;
this.Remove.Image = ((System.Drawing.Image)(resources.GetObject("Remove.Image")));
this.Remove.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.Remove.Location = new System.Drawing.Point(99, 170);
+ this.Remove.Location = new System.Drawing.Point(170, 170);
this.Remove.Name = "Remove";
this.Remove.Size = new System.Drawing.Size(90, 27);
this.Remove.TabIndex = 6;
@@ -68,7 +69,7 @@ partial class JabberGatewayConfig {
this.List.ItemHeight = 16;
this.List.Location = new System.Drawing.Point(3, 3);
this.List.Name = "List";
- this.List.Size = new System.Drawing.Size(294, 161);
+ this.List.Size = new System.Drawing.Size(384, 161);
this.List.TabIndex = 4;
this.List.SelectedIndexChanged += new System.EventHandler(this.List_SelectedIndexChanged);
this.List.DoubleClick += new System.EventHandler(this.List_DoubleClick);
@@ -79,7 +80,7 @@ partial class JabberGatewayConfig {
this.TestEndpoint.Enabled = false;
this.TestEndpoint.Image = ((System.Drawing.Image)(resources.GetObject("TestEndpoint.Image")));
this.TestEndpoint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.TestEndpoint.Location = new System.Drawing.Point(232, 170);
+ this.TestEndpoint.Location = new System.Drawing.Point(322, 170);
this.TestEndpoint.Name = "TestEndpoint";
this.TestEndpoint.Size = new System.Drawing.Size(65, 27);
this.TestEndpoint.TabIndex = 7;
@@ -88,8 +89,24 @@ partial class JabberGatewayConfig {
this.TestEndpoint.UseVisualStyleBackColor = true;
this.TestEndpoint.Click += new System.EventHandler(this.TestEndpoint_Click);
//
+ // Edit
+ //
+ this.Edit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.Edit.Enabled = false;
+ this.Edit.Image = ((System.Drawing.Image)(resources.GetObject("Edit.Image")));
+ this.Edit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.Edit.Location = new System.Drawing.Point(99, 170);
+ this.Edit.Name = "Edit";
+ this.Edit.Size = new System.Drawing.Size(65, 27);
+ this.Edit.TabIndex = 8;
+ this.Edit.Text = "&Edit";
+ this.Edit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ this.Edit.UseVisualStyleBackColor = true;
+ this.Edit.Click += new System.EventHandler(this.Edit_Click);
+ //
// JabberGatewayConfig
//
+ this.Controls.Add(this.Edit);
this.Controls.Add(this.TestEndpoint);
this.Controls.Add(this.Remove);
this.Controls.Add(this.AddNew);
@@ -98,7 +115,7 @@ partial class JabberGatewayConfig {
this.Margin = new System.Windows.Forms.Padding(0);
this.MinimumSize = new System.Drawing.Size(300, 200);
this.Name = "JabberGatewayConfig";
- this.Size = new System.Drawing.Size(300, 200);
+ this.Size = new System.Drawing.Size(390, 200);
this.ResumeLayout(false);
}
@@ -109,6 +126,7 @@ partial class JabberGatewayConfig {
private System.Windows.Forms.Button AddNew;
private System.Windows.Forms.ListBox List;
private System.Windows.Forms.Button TestEndpoint;
+ private System.Windows.Forms.Button Edit;
}
View
9 JabberGateway/JabberGatewayConfig.cs
@@ -34,7 +34,7 @@ public JabberGatewayConfig (JabberGateway script)
List.Sorted = true;
List.EndUpdate();
- TestEndpoint.Enabled = Remove.Enabled = (List.SelectedIndices.Count > 0);
+ Edit.Enabled = TestEndpoint.Enabled = Remove.Enabled = (List.SelectedIndices.Count > 0);
}
}
@@ -101,7 +101,7 @@ public JabberGatewayConfig (JabberGateway script)
}
private void List_SelectedIndexChanged (object sender, EventArgs e) {
- TestEndpoint.Enabled = Remove.Enabled = (List.SelectedIndices.Count > 0);
+ Edit.Enabled = TestEndpoint.Enabled = Remove.Enabled = (List.SelectedIndices.Count > 0);
}
private void List_DoubleClick (object sender, EventArgs e) {
@@ -113,5 +113,10 @@ public JabberGatewayConfig (JabberGateway script)
var name = List.SelectedItem as string;
Script.GetQueue(name).Enqueue("Testing");
}
+
+ private void Edit_Click (object sender, EventArgs e) {
+ var name = List.SelectedItem as string;
+ Start(EditEndpoint(name));
+ }
}
}
View
58 JabberGateway/JabberGatewayConfig.resx
@@ -121,35 +121,30 @@
<data name="Remove.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
- dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJrSURBVDhPpZPrS1NxGMf9W/RFlCDRjZAwCgpzXubO
- WpvbvJ1letxiEUtz7AzTDGoYuvBFOGvaVSvfZJrYKLWM1K5Dy2Olrp2a1No8Z9eUb9ugTXP4on7wffOD
- z+fh9zzPLwVAyv9kHbyg0aTNU9WGj1QlM6siuRlVGfeBVDJTpNxgL5em/V1sjcCh1hCfKYr9YW5GcMSG
- 0LsJhMZHwd/vxoK2Am+KCfalUkislsQFUXiuiuKX7nZjZfY9woP3EO5qQdhyAb9ut2N5bBAuvRYT8lz+
- hTQ7LokJ5tXq1Ajs5G52YYWxI3z5HDwtRnib6xC8ZESolUbQdArBB7fgOE5i7MgB51PJvtQoGxNEYHqx
- wYBl+2SsYsBMw31eB3+jek240ySCvdfwuiALw+IsOi74RB1jfL3XEe6xwGOqwfcScdIs1ZDgm+vhMtbi
- MZHJxAVMlcofetiLsNkIz1lt5D75ccny4KaK4bW0wVawyx8XzJAl/kCPFcEmLfxnKjcULFYo4G1vw5Bw
- W0IwXa5g3KZ6BFpocCeViFZKGnkBPA16LOh1GBRkJJ5gL5XSjEQAf08nPCoJ3BWidQJWmgu2SARf1xWM
- CndgIGdLoolvS8Spr8oIp6O6DL471lgDFxXCmISV5YOVRGCJEHxnB6ZKxVHY2SfYnBhjtBmTRXnEuOwQ
- P3dUAd8NK3420XCRcnxVyuBuNIC/2oFpZSH6c9L5CLx2kf6s5nPpQeLZ4f3shGgPvtXp4G69GMuX2hN4
- krc9CrOr4fgUVu/2iHhv2rAw02AjdjOPCndyQ4Kt3EB+BtOfm27oy9608Wf6l2/9Gx3Szrlf6bESAAAA
+ dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHzSURBVDhPzVJBiFJRFDW+EzSzajcEEbNIaCGkm2ij
+ OdP8hfoT3XxXQfTFUluY1WgKpeAsBAMVdDUuWomgrQqNMdDcRGQrCxd/BilCijRoGm3G8fSu0G/7YTY9
+ OHA595zz7rs8DQDNcXAsM138HwWYTKYln893P5lMDovFImKxWD8QCFxiWGa1TBz1SEPav3ubP8FoNJ60
+ 2+2pTCaDwWAAWZbRbDYRj8d3otFoq9frTYhrt9sgDWnJo+zAYDBcC4VCP7rd7tDtdr+w2WxTj8eDbDaL
+ SCQCqomjXqlU6pOWPEoAS0slEolxLpfzOhyORbPZ/LPRaKDT6aDVaqFSqYA46pGGtORRAvR6/W2v1zvK
+ 5/P3XC5X3WKxHPA8D6fTOQfVxFGPNKQljxJwgR1BED6m0+lRuVz+Xq1WUSgUEAwGEQ6H53Vt04dX4rmj
+ 7dUFPOMXD55aTj1RAnQ6HcdGvGi1WnclSdrz+/1jht+iKF5nWMvf4CfvQ5cxfp7G7EMNv0p38davn75c
+ 095R9ZHqVzl5n5mRFYCN08DmCr6lroDxO6oCtle1s9m7Kpv43xk9WgbxqgLq69ynva2bADNNHmgwZOjf
+ 4sD4z6oCXotnHr+Rzh9+2VjB18gCZOkEGoJ2WlvnHqoKoG23xbNhduMujU0TkZn4PyTzlHJQScaLAAAA
AElFTkSuQmCC
</value>
</data>
<data name="AddNew.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
- dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKASURBVDhPpZPvS5NRFMf9W9ybAqFRYhYKakoJFsrK
- ZlNU/NW2nLMpOtuzuXTqNnVkOif+qKgN3UYj3ebmdKRiJk5Xukh9HEq0UQRBbeztt+dRfKYGvqgLBy5c
- Pp9zz7nnJgBI+J/4C9Z6Glhd7nqi3SkiW6cEEdmbmkjT6wpSYikjROPFrNPJTgi0Hgmn01UffrXej9Xw
- IgI//Fj/vgJX0AaFuxZ8Izdc9eI257iEERzC4qhn14b937uY++qEkRzG8209bHtGLH17C82CFKVj+VHe
- cB4jORBoZiSJFBya3jFj99cWRrf68HStC72+dugDWgwENOjdaMP0vg2EW4hCw41QQX92Is0eCChYPris
- wuefG1TGAfRvaqB+r6CODpdqTQrZohDy5To49qy4O5aDvCcZckbQ5qglnUErdVUTuleV6FiRQTonYgQC
- Kw9Ns2WQzBRj6KMWfUutuN6bRjIC+SQ/5v3ixOAnLQW3MODpjdhVBPk8H+bAKLK0qTFG0GKrik0FJ6Dx
- E1D6Gs8UEN4aWAIjSO9KjgsareWkwaeBflONlndCiOcrUGW5w4jozHQ8dPMw6FOhx/sIV1TseAniiRL5
- fQsH9qAZ0vlK1HtLD2o+WjQscnDRMF0M+44J13SpSH6cFG+i0FSUWP2yMES4BZgkx5mG0WCdgw4a5mFq
- 24gH5ns0HGIrzsefkW5G+bMCTsnIzWizvRIOSmLwdYKYrYZsphKG1Q7YKVho5iJZmRSl4JODdDSa3KFc
- DkefE84fyoRugYDpgx4mvx5qbzOyelJoOHwcZl7h+Gzf6stk5erSiezuq2SGOiWS1nkxcrn9AnlJmUSw
- FefO/kz/8q3/AEFGyx+xaI5YAAAAAElFTkSuQmCC
+ dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHhSURBVDhPY/j//z8DJZgizSCLB5EBdnZ23FlZWaWt
+ ra3v5s2b97+mpuZhTk6OORBLANl3QWIgOZAakFpYuIG9YGRkxObj49M1ceLE/y9evPh/9+7d/wcPHvzf
+ 2Nh4r7q6+tDNmzd/gMSOHDnyH6QGpBakBx4GhoaGfsXFxR+uXr36LiIiYpu3t/ef1NTU/5MmTfpfWVn5
+ H8QGiYHkVqxY8RCkFqQHbgDQtK6mpqbvkydPTvf39+eyt7f/vHfv3v/nzp37f+jQof9r1679DxIDyYHU
+ gNSC9MAN0NXVzUxPT38/bdq0kqCgoJ2Ojo6/3Nzc/gcGBoIxiA0SA8mB1IDUgvTADdAEAl9f3+u9vb3v
+ V61a9XbdunX/p0+f/r+wsPB/RUUFmN2/sPV/4dSYf2l9/v8jmhz/uuTqToQboKamxgx0ooGXl9f9lJSU
+ L9nZ2d+B+Gd4eHgcEDtn1sb9bFyd+H/Llan/Lzzb9b9/d9b/8H7d/+bZkj1EJaTYdpfvGy9P+L/x2iSg
+ pf//9+xJ/d+/Jx1kwHeiDPCpNvy/7cocsGYY2HRpKsgA4jKSZY709+5dSf/bdyWA9bfvTCDNBUCbWoJ7
+ NP737kr5D7IZRIP4RIcBKLSBijuA+BPI2VC6AyQOAFE7ljyBF2g2AAAAAElFTkSuQmCC
</value>
</data>
<data name="TestEndpoint.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -166,4 +161,21 @@
RK5CYII=
</value>
</data>
+ <data name="Edit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
+ dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJlSURBVDhPzVNdaJJhFBaCLuqqu4qC6EKKZW3S2i5q
+ m1tI27ShNZDG5sV0tmkXZmH+EOiQbE3Kvxmt1kV0Iyn0w2qQI8UYWyROc9Oc7aeGBtPZfvxmbjz5jYI1
+ 19VueuGBw/Oe87wP7zmHAoCyHWyrmHz4PxGoqKjY3dHRcV2n06X6+vqgVqunJRJJWR5783GM5Mg7MofM
+ 3fhnFDqdvpPFYnUZjUYkEgnEYjG43W5oNJovKpXKE4lEVkjO6/XC3nsV4ac8RJ/r4H/ExKi1qIVSUlJy
+ XiaTpUOhUIrH4/XX19evCoVCmEwmKBQKkDHJWTRV/vigHOnAK2BxFvOBZxjqPpcgHXRptVrCbDaLGhoa
+ dlVWVi66XC74fD54PB44HA7IL5cSqdDNbPbrC8Tf3UEm6MTqlBfBx20EhUajtYtEovmenp5rXC53gMFg
+ /GQymeBwOOuQtZ1GMqjGWsaLTEyC5MgVjD9pRaC3eW7ExKFSjuYPm80eNxgM83a7Pel0OmGz2SCVSmHV
+ 85EKKrBGDGF5gg9ipgkLY0pM2KrmPhrOFq/PAZVK3ZG3XVxXVzcpEAiWxGIxkUf2rpRuiX+Q/y5uATF9
+ CT8+qRC1VC8F9aWn/nRiy0Hq79x3YeyNLLuW8YCYbMXKTDPSeSdRa00m3F1+6K82bt6Dh+0HW0P9Soy+
+ vodvw41YnmxC0n8Dny2M72FD+eHN+QUO7LdrgIUphB9cxKByP97fr4Vbe3I2oC87ttXSFQh0Coty2SEL
+ ssNGDOsYsAsOLA4ojp/418YWCDSe2UPc4h/JufS1ubeGavdLOa3A9kaxX2R0t1p6g+A+AAAAAElFTkSu
+ QmCC
+</value>
+ </data>
</root>
View
2 Profile_EVE/EVE.cs
@@ -41,7 +41,7 @@ public EVE ()
yield break;
}
- yield return new Sleep(0.5);
+ yield return new Sleep(10);
ProcessWindows[process.Id] = hWnd;
yield return BaseOnNewProcess(process);

0 comments on commit 2b22d50

Please sign in to comment.
Something went wrong with that request. Please try again.