• Welcome to Valhalla Legends Archive.
 

Need some help if you could?

Started by Final, February 11, 2006, 10:07 PM

Previous topic - Next topic

Final

Um Well Ive been wondering about telnet and what information to send to bnet to connect to it could someone direect me to it or what format of data  i need to send in c++ that would help alot.

Kp

First, you must SYN.  If you're religious, you should then REPENT.  Otherwise wait for the peer to SYN|ACK.  Once you've got that down, return and we shall talk further.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Zorm

Quote from: Kp on February 11, 2006, 10:19 PM
First, you must SYN.  If you're religious, you should then REPENT.  Otherwise wait for the peer to SYN|ACK.  Once you've got that down, return and we shall talk further.

With jokes like that you're well on your way to becoming a teacher someday. Thats almost as bad as some of the ones my economics teacher tells.
"Now, gentlemen, let us do something today which the world make talk of hereafter."
- Admiral Lord Collingwood

Final

#3
?? I just wanted to know how would i connect to telnet using c++ winsock I use Asynchrounised sockets.

Opsy I didnt think that was a regular joke at the first but I didnt think you would tell me what i needed in one so my bad So i checked out SYN and ACK TCP SYN was Syncrhounized packets and ACK was acknoledge packets

Zorm

Theres a nice sample on the vL page in the documents section that you might be able to learn from. Look for MiniChat by Skywing.
"Now, gentlemen, let us do something today which the world make talk of hereafter."
- Admiral Lord Collingwood

Final

Uh That didnt help much anything else?

FrOzeN

Zorm said have a look at this, http://www.valhallalegends.com/skywing/files/MiniChat.cpp

It's a Telnet Bot made completely in C++ and it connects and works fine, I fail to see what more you want? :-\
~ FrOzeN

Explicit

It's as Lord said
Quote from: FrOzeN on February 12, 2006, 01:49 AM
Zorm said have a look at this, http://www.valhallalegends.com/skywing/files/MiniChat.cpp

It's a Telnet Bot made completely in C++ and it connects and works fine, I fail to see what more you want? :-\

It's how Eric said he was in a post from awhile ago:
http://forum.valhallalegends.com/index.php?topic=13906.msg141958#msg141958
I'm awake in the infinite cold.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Final

#8
no i didnt mean i didnt get the page location i got that but the source coding is for vc++ and i use devc++
and i looked it for a while but didnt see anything that could help me out or i wassent looking correctly.

Ok now i know i wassent looking correctly cuz i found some information that may help well ill give a heads up if i have any luck or need some help thanks again.

Kp

Quote from: Final on February 12, 2006, 02:46 PM
no i didnt mean i didnt get the page location i got that but the source coding is for vc++ and i use devc++
and i looked it for a while but didnt see anything that could help me out or i wassent looking correctly.

It's not that hard to convert from C++ code with Microsoft-specific extensions (if MiniChat even has any) to C++ code with gcc-specific extensions (or no extensions at all).  If you can't get it converted on your own, perhaps you should state so and ask for help performing that conversion instead of just giving up and moving on to some other program!
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Final

#10
No its not that ill just need to look at it for a while cuz my socket programming is in asynchrounous so i need to know what i need to send and what else so im not getting all of it im reading what i need.

Update*
1. I have gotten a conection.
2. I have a login error though.

Case #2
                About the login error I get  connected but then it tells  me to put in username and password or use anonymis  you know and type in my userrname then password but nothing happens i have a friends bot that connects to telnet and for somereason it conflicts with one another so i dont really know whats going on on the other side.

How would i send username and password with this information:
"\x03\x04""Anonymous\r\n"

*Update Fix ok now for some bazarr reason it keeps reconnecting ? i dk what happening but it reconnects everytime a new user connects to the channel or what ?


Kp

Your post has exceeded the complexity limit for the amount of structure present.  Please edit your post to be less complex, or add appropriate grammatical constructs and spelling corrections such that it could achieve at least a 'B' in an English course.  To make it easy, we'll grade to the standard of the American public school system.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Spilled

Quote from: Kp on February 12, 2006, 03:36 PM
To make it easy, we'll grade to the standard of the American public school system.
hahahahaha, that made my day.

@Final: I don't know what exactly your looking for. What I told you via AIM was more then enough to keep you busy. If it wasn't, there is pleny resources on this forum and BnetDocs.

Final

#13
Well Thanks everyone i made a connection thought id show it if you want to see what i came out with its my first attempt at a telnet bot. it was way easier than i made it out to be sorry for all that trouble i caused.

File:
~ Link Removed ~
- FrOzeN


Thanks Frozen Means alot that you care hehe.

FrOzeN

Final, I removed the link from your post. I don't think you realised that as you hardcoded your password in, when users login they'll notice that there on a different name and knowing the abilities of the members on these forums they could retrieve it with a simple packet log.

Seeing as your password is generic I just used it to logon to your account to remove the link, I suggest adding two textbox's to the Telnet Chat Bot for users to input there own username/password to connect with.
~ FrOzeN