Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: sk8terboi360 on August 06, 2005, 12:31 AM

Title: VB OSCAR Socket Help
Post by: sk8terboi360 on August 06, 2005, 12:31 AM
I need some help with making a socket... if anybody can be kind enough to help please im me at sk8terb0i360 and please dont flame like some other forums have

Any sites for OSCAR Protocol tutorials for vb? and yes i have seached google and i found an explination on how it works not now to program it in vb, im not a n00b i am just a n00b in oscar :P im good in programing vb.
Title: Re: VB OSCAR Socket Help
Post by: R.a.B.B.i.T on August 06, 2005, 01:23 AM
You're a newb.  You can't figure out how to add sockets.  Please try reading a tutorial, then come back and check the AIM/Oscar Client/Bot Development Board (http://forum.valhallalegends.com/phpbbs/index.php?board=20.0).
Title: Re: VB OSCAR Socket Help
Post by: Yegg on August 06, 2005, 08:23 AM
Why can't you just use Winsock control?
Title: Re: VB OSCAR Socket Help
Post by: Warrior on August 06, 2005, 11:44 AM
..because he doesn't know how even?
Title: Re: VB OSCAR Socket Help
Post by: MyndFyre on August 06, 2005, 01:34 PM
Quote from: Warrior on August 06, 2005, 11:44 AM
..because he doesn't know how even?

That's presumptuous.  I'm not a noob fan, you all know, but there's a difference between not knowing how and not knowing what.  Who's to say the guy doesn't actually have a legit version of VB that doesn't come with the Winsock control license?
Title: Re: VB OSCAR Socket Help
Post by: R.a.B.B.i.T on August 06, 2005, 02:55 PM
Google.
Title: Re: VB OSCAR Socket Help
Post by: Tontow on August 06, 2005, 05:07 PM
Or he could look at http://forum.valhallalegends.com/phpbbs/index.php?topic=11582.0 .  (note: start->run->regedit)
Title: Re: VB OSCAR Socket Help
Post by: Mangix on August 06, 2005, 05:10 PM
Set sckAIM = CreateObject("MSWinsock.Winsock")
Title: Re: VB OSCAR Socket Help
Post by: Grok on August 07, 2005, 09:11 PM
Quote from: rabbit on August 06, 2005, 02:55 PM
Google.

You're too useful a community member to post useless replies such as this one Rabbit.  If you're going to reference someone towards a search engine, give them the keywords you used to find their answer.  Naturally, you have googled and reviewed the results, as well as viewed the actual web page(s) on which you believe the answer is found.
Title: Re: VB OSCAR Socket Help
Post by: R.a.B.B.i.T on August 07, 2005, 09:39 PM
Googling 'OSCAR Protocol tutorials for vb' (direct quote from our mystery guest), yeilds the following as the top 5:
http://meltingwax.net/?page=programmingresources
http://bot-depot.com/phpBB2/viewforum.php?f=2&
http://www.bleepingcomputer.com/startups/Cat-G.html (not really useful)
http://www.codeproject.com/cs/miscctrl/
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=61943&lngWId=1

He gave me everything, quite plainly, to find what he needed.  I would assume he would try the same thing I did, or similar, as he was quite specific as to what he wanted.
Title: Re: VB OSCAR Socket Help
Post by: Warrior on August 07, 2005, 11:36 PM
Okay, I'm sorry for making assumptions.

Here:
I'd suggest learning about how sockets are handled in VB6 (either control or by using something like CSocket, whatever) and once you have done and are confident (make some simple client <> server apps) you can move on to invesitating the Oscar protocol by means of reversing or packetlogging or finding an online documentation, whatever you're confortable with.
I'd assume Oscar being the more complicated protocol would be a binary one you'd learn the packets and any method of sending secure data such as passwords they use and implement them in VB6 (I believe it's MD5, not sure) . I think once you're done with the logon sequence it should start to get pretty easy (for a lack of words) from there.

This forum has a (generally unused) AIM development forum but I'm sure people here have some knowledge on the area.

I've compiled links for things you may need:

Ethereal, a packet logger that might come in handy (http://www.ethereal.com/)
An example of a simple Server and Client Chat application. (http://vbnet.mvps.org/index.html?code/internet/chat.htm)
A Winsock tutorial (http://www.developerfusion.co.uk/show/78/)
Information on the OSCAR protocol (http://www.oilcan.org/oscar/)
More information on the OSCAR protocol (http://iserverd1.khstu.ru/oscar/)

*Note: I simply found these by using google, you may find more if these arn't what you need
since I didn't take the time to go over them

Good luck.
Title: Re: VB OSCAR Socket Help
Post by: DeTaiLs on August 07, 2005, 11:40 PM
I just found this aim server on pscode lol just came out today it might help you test stuff so u dont risk getting ipbanned on the aim server
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=62118&lngWId=1
Title: Re: VB OSCAR Socket Help
Post by: Grok on August 08, 2005, 07:52 PM
Very nice helping.  Now that's what I'm talking about!
Title: Re: VB OSCAR Socket Help
Post by: Warrior on August 09, 2005, 09:24 AM
That AIM server looks cool.
Title: Re: VB OSCAR Socket Help
Post by: TehUser on August 09, 2005, 10:39 AM
There's also CupHead's source for his AIM control.
Title: Re: VB OSCAR Socket Help
Post by: Networks on August 09, 2005, 02:24 PM
Which can be found:
http://www.zeroforce.net/pafiledb/pafiledb.php?action=file&id=204