Skype plugin !?

Xlobby plugin development

Postby sagitaz on Wed May 31, 2006 9:58 pm

hi dalanik !

i'm testing this plugin and i have some problem.

1 - if i wan restart xlobby, i need close skype, if i don't close it, xlobby bug on startup.

2 - when i post a chat message, my contact receive two identical message.

3 - when my contact send me a chat message, xlobby bug and i need kill it with ctlr + alt + suppr

i'm using xlobby2.exe ( today release ) and skype 2.0.0.107
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby dalanik on Wed May 31, 2006 10:10 pm

Does 1) happen EVERY time? It is happening to me like once in 30-40 restarts (with skype 2.0.0.90, but I doubt version has something to do with it).

I'll have a look at this and let you know....

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby sagitaz on Wed May 31, 2006 10:25 pm

happen EVERY time?


yes, this is the error message :

Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.Sockets.SocketException: Une seule utilisation de chaque adresse de socket (protocole/adresse réseau/port) est habituellement autorisée
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at System.Net.Sockets.TcpListener.Start(Int32 backlog)
   at System.Net.Sockets.TcpListener.Start()
   at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)
   at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider)
   at xlobby2.Control.LoadAll()
   at xlobby2.GdiScreenForm.GdiScreenForm_Shown(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnShown(EventArgs e)
   at System.Windows.Forms.Form.CallShownEvent()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
xlobby2
    Assembly Version: 1.0.2342.26558
    Win32 Version: 1.0.2342.26558
    CodeBase: file:///C:/Program%20Files/xlobby/xlobby2.exe
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
XPluginSDK
    Assembly Version: 1.0.2280.31294
    Win32 Version: 1.0.2280.31294
    CodeBase: file:///C:/Program%20Files/xlobby/XPluginSDK.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system>
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby dalanik on Thu Jun 01, 2006 8:18 am

1 - if i wan restart xlobby, i need close skype, if i don't close it, xlobby bug on startup.

I have an idea on this, let me just check it for a couple of days...

2 - when i post a chat message, my contact receive two identical message.

I found why this happened, should be OK in next version, I'll post it over weekend.

regards,

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby dalanik on Thu Jun 01, 2006 9:44 am

3) Yes, you're right it is happening to me too :-)

I must have messed something up....

Yes... the plugin>XSkype>ChatAdderHandle is causing this.. if you remove it from overlay-skype-chat it should be OK. I'll have look at the source for a permanent fix.

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby tka on Thu Jun 01, 2006 5:02 pm

does this plugin support videoconference on skype?
tka
 
Posts: 25
Joined: Fri Nov 12, 2004 3:44 am

Postby dalanik on Thu Jun 01, 2006 7:14 pm

Nope, not at this time. I'm not even sure this is possible in the API, but I'll have a look :-)
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby dalanik on Fri Jun 02, 2006 1:49 pm

New version.... :-)

Let me know if it fixes the bugs mentioned...

http://xlobby.lanik.org/XSkype_v025.zip

D.
Last edited by dalanik on Sat Jun 03, 2006 10:10 am, edited 1 time in total.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby sagitaz on Fri Jun 02, 2006 3:50 pm

thanks.

when i send a message, my contact receive just one message, good :wink:

xlobby don't bug when my contact send me a message :wink:

but i've another problem, if I send a message, I does not see it. I see it only when I have an answer.
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby dalanik on Fri Jun 02, 2006 7:11 pm

Hmm, If I understand you correctly, the problem is that when you send the message, it is not added to the chat list? Yes, I'll have a look, maybee it can be sorted out through skin...
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby sagitaz on Fri Jun 02, 2006 7:40 pm

yes you understand correctly my bad english :D

i test with my skin and with you skin ( Xskype ) and i have the same problem.

i think the plugin dont add the message on database skype_chat when valid the message.
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby dalanik on Fri Jun 02, 2006 8:44 pm

Hey - your English is better than my French - and I am ashamed to admit that I learned French for 5 years - and that I can't speak or understand at all :-(

You are right - the plugin is not adding the message, because it would take to long to do it through the API - I would have to re-read all messages for given chat number and re-create the skype_chat database and then refresh it... (and rely on event from Skype API to notify me that the chat message has been sent)...

I'll try to manually write the message in database on send...

P.S. and what's with the bug when you restart XLobby (that you have to exit and re-enter SKype)?

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby dalanik on Sat Jun 03, 2006 10:09 am

OK, this should fix the own message display:

http://xlobby.lanik.org/XSkype_v025.zip

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Postby sagitaz on Sun Jun 04, 2006 11:59 pm

P.S. and what's with the bug when you restart XLobby (that you have to exit and re-enter SKype)?


this bug already exits, i add a event kill process for close skype when i close xlobby.

else, the chat is now very good. now i'm going to test the call possibilitty :wink:
sagitaz
 
Posts: 114
Joined: Mon Jul 05, 2004 11:17 pm

Postby dalanik on Mon Jun 05, 2006 7:53 am

sagitaz wrote:
P.S. and what's with the bug when you restart XLobby (that you have to exit and re-enter SKype)?


this bug already exits, i add a event kill process for close skype when i close xlobby.

else, the chat is now very good. now i'm going to test the call possibilitty :wink:


Funny, it is now not happening to me.... don't remember when I last saw it...
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

PreviousNext