Hi everyone! I'm new to these forums. I've been programming for about a year, starting with VB.net and now working with C# :). I'm having trouble figuring out how WINSOCK works and I'm looking for a good bot sourcecode I can learn from, yea I've looked at Planet Sourcecode...but I havnt found anything I can use.
I own Visual Studio.NET Professional 2003, I don't want VB 6.0 code, can't upgrade it to .NET any help here would be greatly appreciated.
My ultimate goal so far is to create a battle.net bot from scratch for PDAs. Any help here would be appreciated, I've heard alot of great stuff about you guys.
Welcome to the forums. If you'd like to successfully create a bot for PDA's, then C# or VB6 will not do, unless the PDA has a Windows-based operating system on it. If you're looking for Battle.net bot source codes then you should check out zeroforce.net (http://zeroforce.net).
yes I know, but I want to learn the basics first
Do you know where I could get sourcecode for C#?
*Edit*
I looked at that site , alot of VB 6.0 and C++ but nothing else really. Nothing in .NET section :(
I would preferably like C# code, but its difficult to find. Help?
It would also be helpful if the program worked and connected to B.net :)
the sourcecode I do find I can never tell if it works or not cause either it won't compile, or its outdated and can't
connect anyway :(
Hey :P
Quote from: Stuck on November 23, 2005, 04:01 PM
yes I know, but I want to learn the basics first
Do you know where I could get sourcecode for C#?
*Edit*
I looked at that site , alot of VB 6.0 and C++ but nothing else really. Nothing in .NET section :(
I would preferably like C# code, but its difficult to find. Help?
why in the world do you need sourcecode for? are you looking to copy all of it, put it in your program and make it run?
here's another question. do you know C#?
Welcome.
I can code in C#, yes. However I know very little about winsock. I want a sourcecode to see exactly how it works, I learn by example. Maybe a tutorial would also be helpful? Winsock hasn't been covered in many books I've read or classes I've taken.
Quote from: Stuck on November 26, 2005, 06:29 PM
I can code in C#, yes. However I know very little about winsock. I want a sourcecode to see exactly how it works, I learn by example. Maybe a tutorial would also be helpful? Winsock hasn't been covered in many books I've read or classes I've taken.
Winsock isnt in .NET . however you can use the "System.Net" and "System.Net.Sockets" namespace to connect to the internet.
btw:just so you know, if you've used Winsock in VB6, then you're gonna have a hard time with .NET sockets :P
also you might wanna check this out.
http://www.ondotnet.com/pub/a/dotnet/2002/10/21/sockets.htm
also if you really want sourcecode badly, then follow the link below.
http://www.microsoft.com/downloads/details.aspx?FamilyID=08e3d5f8-033d-420b-a3b1-3074505c03f3&DisplayLang=en
I havn't coded with VB 6.0 at all, so far I've only worked with .NET. I can code pretty well in VB.Net and I'm just finishing up a class in C#. I like C# better so far ;).
TY for the links! Thats what I've been looking for. TY!
You can have the pieces of Hitmen Chat that I coded a while (~1 year or so, about a year and a half now! :)) ago. It's just a telnet chat client.
It's C# .NET.
Enjoy.
http://www.newbyproductions.net/downloads/frmMain.cs
http://www.newbyproductions.net/downloads/clsCommands.cs
http://www.newbyproductions.net/downloads/clsDatabase.cs
Thanks! I found a couple tutorials I'm looking at too, thanks guys you've all been a great help!!
*EDIT*
Thanks Newby!! Just what I needed TY!!! You'll be on the ty list on all of my bots! ;D . Do you have any bot code for a binary bot? Well you've been a great help TY!!