|
Post by Armstrong on Dec 18, 2003 9:19:29 GMT -5
Viper 3.83.15c's connection is programmable. The sample doesn't have a working connection but it shows the format for the addon. Viper 3.83.15c: vipercentral.vze.com/downloads/dl.php?dfile=FullSetup_3_83_15c.exeConnection Addon Sample: vipercentral.vze.com/downloads/dl.php?dfile=MSNConnectionVProxy.zip Guidelines for building Viper's connection: ' #1 Don't mess with the IIProxy Class
' #2 Don't mess with the Form1 form
' #3 Whenever connected to the server 1 or 2, raise REventConnectionState event or viper won't open connection to the ocx
' #4 Upon close of server 1 or 2 sockets, send the event to viper (already done in this module)
' #5 Upon or right before connecting to server 2 send the connecting to server 2 event (already done in this module). Viper needs to initialize certain variables before connecting to server 2.
' #6 Viper doesn't automatically register the addon's with the system, you have to do that yourself for the users of your addon.
' #7 Last but not the least; don't change the name of the IIProxy class or name of the dll file. The name of the connection dll file should always be MSNConnectionVProxy.dll
' #8 Enjoy ;]
|
|
|
Post by †Đeådwa†cђer† on Dec 18, 2003 17:05:32 GMT -5
The Viper dont connect. Message from MSn: Network Problems are preventing you fromm Connection to the Chat Service........ I installe the Addon, MSN Connection and copy to the Viper Foulder.
Please Help
|
|
|
Post by Yahoo on Dec 18, 2003 17:41:42 GMT -5
Viper 3.83.15c's connection is programmable. The sample doesn't have a working connection but it shows the format for the addon.
|
|
|
Post by †Đeådwa†cђer† on Dec 18, 2003 17:51:14 GMT -5
Ok, Thanks Greets ©
|
|
|
Post by Tester007 on Dec 18, 2003 17:53:50 GMT -5
|
|
|
Post by Webagent007 on Dec 18, 2003 23:42:22 GMT -5
lol thanks ;D
never made a dll before so I am trying to find a way to see what it is doing in runtime so I get to understand it.. but I dont know how to do that if I cant make Viper use the dll source uncompiled (to watch it).. so ehh give me some time lol
|
|
|
Post by Crayfish on Dec 18, 2003 23:48:57 GMT -5
Time's up........ Just kiddin webby, take ya time...(nowhere to use it anyway unless someone can figure out how to get it into Eye Chat)
|
|
|
Post by Webagent007 on Dec 18, 2003 23:55:25 GMT -5
its like an ocx or exe though.. I just cannot see what I am doing lol, I'll try it blind first and hope for the best lol
|
|
|
Post by ik000ike on Dec 19, 2003 9:55:09 GMT -5
hi is this a viper to connect to other servers ??
|
|
WhiteRaven
New Member
A clear breeze has no price, the bright moon no owner..
Posts: 61
|
Post by WhiteRaven on Dec 19, 2003 11:58:32 GMT -5
Almost ***Under construction, if i'am right*** White
|
|
|
Post by Yahoo on Dec 19, 2003 13:18:21 GMT -5
this is a connection for msn! As raven has sed irc viper is still under construction will be quite a while yet before there is a release!
|
|
|
Post by Webagent007 on Dec 19, 2003 13:36:22 GMT -5
Im making progress lol, I'm till the redirection
|
|
|
Post by Webagent007 on Dec 19, 2003 14:25:46 GMT -5
allright I must be dooing something wrong, but I am stuck at the redirect
Private Sub sck_serv1_DataArrival(ByVal bytesTotal As Long) Dim strServ1 As String
sck_serv1.GetData strServ1, vbString If strServ1 Like ":* 613 * :*" Then ServerIp = Split(strServ1, " ")(3) ServerIp = Replace(ServerIp, ":", "") MsgBox "old ip = 207.68.167.253, new ip = " & ServerIp ServerNum = 2 MsgBox "servernum = 2" 'object variable is not set RaiseEvent REventCloseServ2 MsgBox "raised event close server 2" RaiseEvent REventConnectingServ2 MsgBox "raised event connecting server 2" sck_serv2.Connect ServerIp, 6667 MsgBox "connect is sent" End If RaiseEvent REventDataServ1(strServ1) End Sub
at the point of that red line I get "Object variable not set" (what object!? both winsocks objects are set) and I have:
Dim ServerNum As String Dim ServerIp As String
in the declarations.
You would think if you leave out the whole redirect part of the new ip and connecting to server 2, it would just hang connected with server1 waiting what you tell it to do, but it doesnt do that.. when I have just:
Private Sub sck_serv1_DataArrival(ByVal bytesTotal As Long) Dim strServ1 As String
sck_serv1.GetData strServ1, vbString RaiseEvent REventDataServ1(strServ1) End Sub
I get "Run-Time error "40020" Invalid operation at current state" from prjObject.. what is it doing? I dont tell it to do something (accept send what I receive to viper)
*edit, can it be it is because the MSNChat.ocx will automatically close its connection once it receives (:TK2CHATWBA10 613 NickName :207.68.167.159 6667) the new ip from server 1?, because you dont need to tell it to close because the ocx simply will, will the MSNConnectionVProxy.dll loose the "clsMSN" connection with it then?
|
|
|
Post by Tester007 on Dec 19, 2003 19:20:58 GMT -5
seems JJ set ya a challeng huh..........lol i know u love it tho web
|
|
|
Post by Webagent007 on Dec 20, 2003 2:18:24 GMT -5
|
|