brentbxr / omeglespyx

Automatically exported from code.google.com/p/omeglespyx
0 stars 0 forks source link

One stranger remained connected after other stranger disconnects with linger mode disabled #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Description of the issue:
(Auto-Reconnect is enabled. Linger is disabled.)
Stranger 1A and Stranger 2A are in a conversation where they are talking about 
topic A. At some point, Stranger 1A disconnects.  OmegleSpyX automatically 
disconnects the conversation and finds two new strangers, we'll call them 
Stranger 1B and Stranger 2B.  These two strangers start talking about topic B.  
However, a message appears to come from Stranger 2B that must actually be 
coming from Stranger 2A, because it is a continuation of topic A which Stranger 
2B could not know about.

I have seen messages which must be coming from the same Stranger 2A continue to 
show up even after OmegleSpyX has auto-reconnected to three or four new 
conversations.  (Continuing the example above, Stranger 1B disconnects, 
OmegleSpyX disconnects conversation and finds Strangers 1C/2C who start talking 
about topic C when again a message about topic A appears to come from Stranger 
2C, one of those strangers disconnects, Strangers 1D/2D start talking about 
topic D, and a message appears to come from Stranger 2D again about topic A.)

What version of OmegleSpyX are you using? On what operating system?
3.2.1
Windows 7 x64

How often do you experience this issue?
This only happens when Linger mode is disabled.
Only saw it once in version 3.2.1, but pretty sure I saw it at least once in a 
previous version. In 3.2.1 it happened after OmegleSpyX reported the new 
"experiencing network issues" error message.

Original issue reported on code.google.com by dedb...@gmail.com on 6 May 2013 at 2:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Actually just saw this again, and this time it happened without the 
"experiencing network issues" error message ever being displayed, so the two 
don't seem to be directly related.

In this case, Stranger 1A and 2A were talking (about 2A's mother, humorously 
enough).  Stranger 1A disconnected.  Linger mode disabled and auto-reconnect 
enabled, so OmegleSpyX disconnected the conversation and found two new 
strangers (Stranger 1B and Stranger 2B).

Two seconds after the new conversation started, Stranger 2B sent messages about 
his mother, which were obviously actually still from Stranger 2A.  So somehow 
OmegleSpyX is keeping the stranger around who did not disconnect when linger 
mode is enabled.

Original comment by dedb...@gmail.com on 7 May 2013 at 4:16

GoogleCodeExporter commented 8 years ago
Just noticed that last comment sentence was incorrect. Obviously it should say 
"when linger mode is disabled." Sorry for the confusion!

Original comment by dedb...@gmail.com on 9 May 2013 at 1:30

GoogleCodeExporter commented 8 years ago
I believe the problem to be in OmegleSpyPanel around like 660 from v3.2 source, 
under "if (spies[k].disconnected){" it disconnects one on the spies but not the 
other because it breaks so I added this under the if:

if (k == 0) spies[1].disconnect(3);
if (k == 1) spies[0].disconnect(3);

and haven't had the issue so far...

Original comment by lazycode...@gmail.com on 21 May 2013 at 5:42

GoogleCodeExporter commented 8 years ago
Above should actually be:
if (!mnLinger.isSelected()) {
if (k == 0) spies[1].disconnect(3);
if (k == 1) spies[0].disconnect(3);
}

now it linger will still work when you disconnect someone but have to 
disconnect the other person to start a new chat which is good enough for me.

Original comment by lazycode...@gmail.com on 21 May 2013 at 6:39

GoogleCodeExporter commented 8 years ago
Fixed in the up-coming update.

Original comment by malaco...@gmail.com on 6 Jun 2013 at 10:27