Author | Message | Time |
---|---|---|
Blade_360 | ::) How do you a vb bot to get announcments from servers like in Raibot or Stealth Bot? Thanks | February 3, 2003, 7:12 PM |
St0rm.iD | Pull em from a webpage using internet transfer ocx. | February 3, 2003, 7:20 PM |
Atom | Yeah thats the easiest way, but i use a winsock control cuz it makes it one less file to be included with your bot. Heres the code.. [code] Private Sub sckHttp_Connect() On Error Resume Next With sckHttp .SendData "GET " & "/news.txt" & " HTTP/1.1" & vbCrLf .SendData "Accept: text/plain" & vbCrLf .SendData "Accept-Language: en-us" & vbCrLf .SendData "Accept-Encoding: gzip, deflate" & vbCrLf .SendData "User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)" & vbCrLf .SendData "Host: " & "www.hostnamehere.com" & vbCrLf .SendData "Connection: Keep-Alive" & vbCrLf & vbCrLf End With End Sub [/code] Somebody really needs to fix the font size of the code! | February 3, 2003, 7:25 PM |
Crypticflare | that would be the msinet.ocx control right? In my Clan Profile Organizer, I did somthing like that, except I wanted to have more complex, for pulling profiles off of a server, or perhaps a roster for events or activities | February 3, 2003, 7:26 PM |
Blade_360 | k thanks ;D no kidding about the code font size :o | February 3, 2003, 7:31 PM |
iago | I like Spht's method; he does it over Botnet | February 3, 2003, 9:01 PM |
Spht | [quote]I like Spht's method; he does it over Botnet[/quote] Yes, with my method, can post messages to all users using EternalChat at any time. Also, broadcasts that are sent by BNLS are received and displayed by all running EternalChat bots for notifications of server restarting, game updates, etc. | February 3, 2003, 9:11 PM |
St0rm.iD | Wow, stop making life so hard! [code] Private Sub sckHttp_Connect() On Error Resume Next With sckHttp .SendData "GET " & "/news.txt" & " HTTP/1.1" & vbCrLf & vbCrLf End With End Sub [/code] | February 3, 2003, 11:19 PM |
Arta | [quote] [code] Private Sub sckHttp_Connect() On Error Resume Next With sckHttp .SendData "GET " & "/news.txt" & " HTTP/1.1" & vbCrLf .SendData "Accept: text/plain" & vbCrLf .SendData "Accept-Language: en-us" & vbCrLf .SendData "Accept-Encoding: gzip, deflate" & vbCrLf .SendData "User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)" & vbCrLf .SendData "Host: " & "www.hostnamehere.com" & vbCrLf .SendData "Connection: Keep-Alive" & vbCrLf & vbCrLf End With End Sub [/code] [/quote] What on earth is the point in sending all those headers when half of them will be wrong anyway? | February 4, 2003, 5:59 AM |
Skywing | [quote] link=board=bot;num=1044313938;start=0#8 date=02/04/03 at 03:59:22] What on earth is the point in sending all those headers when half of them will be wrong anyway? [/quote] Yes. Especially accepting compressed data - why would you do that if you don't support compression? | February 4, 2003, 9:31 AM |
iago | I would imagine that he sniffed a http packet and it just imitating it exactly :) | February 4, 2003, 11:45 AM |
Skywing | [quote]Wow, stop making life so hard! [code] Private Sub sckHttp_Connect() On Error Resume Next With sckHttp .SendData "GET " & "/news.txt" & " HTTP/1.1" & vbCrLf & vbCrLf End With End Sub [/code][/quote]Yes, I suppose sending completely invalid requests will really make life easier. A "Host:" header is required for HTTP 1.1, btw. Suggest you check the protocol specification first next time :) [quote] - Both clients and servers MUST support the Host request-header. - A client that sends an HTTP/1.1 request MUST send a Host header. - Servers MUST report a 400 (Bad Request) error if an HTTP/1.1 request does not include a Host request-header.[/quote] | February 4, 2003, 2:04 PM |
Blade_360 | Not to be rude or anything ;D but we don't all have access to botnet :-/ Oh and congrats on joining [vL] I'm not really that jealous | February 4, 2003, 7:04 PM |
Noodlez | actually, we do all have the ability to access botnet. | February 4, 2003, 9:28 PM |
Blade_360 | ok then I don't know how to access botnet ;D | February 5, 2003, 5:55 PM |
St0rm.iD | Grr i meant http 1.0 lol | February 5, 2003, 9:13 PM |
Skywing | [quote]Grr i meant http 1.0 lol[/quote] More and more websites are multihomed now.. is that really a good idea? | February 5, 2003, 10:42 PM |
tA-Kane | You mean, is multihoming a good idea? It's only not a good idea if you're using a (really) old client, want to access a site on a multihomed server, and the server does not have that particular site as its default (or HTTP 1.0) site. Other than that, I have a hard time seeing why multihoming could be problematic. But, I have little experience with webservers and browsers, so it may just be my own ignorance. | February 6, 2003, 4:50 AM |
Skywing | [quote]You mean, is multihoming a good idea? It's only not a good idea if you're using a (really) old client, want to access a site on a multihomed server, and the server does not have that particular site as its default (or HTTP 1.0) site. Other than that, I have a hard time seeing why multihoming could be problematic. But, I have little experience with webservers and browsers, so it may just be my own ignorance.[/quote]No, I was stating that using HTTP 1.0, which does not support multihomed websites, when more and more sites are becoming multihomed is a bad idea. | February 6, 2003, 2:19 PM |
Spht | [quote]ok then I don't know how to access botnet ;D[/quote] What are you having problems with, specifically? | February 6, 2003, 2:23 PM |
Blade_360 | Well I really never learned any of that stuff I knew what it was but I thought it was something that only [vL] members had access to so I didn't even waste my time | February 6, 2003, 9:03 PM |
tA-Kane | Read the BotNet protocol documentation, http://www.valhallalegends.com/files/BotNetProtocol.txt The public botnet server is botnet.valhallalegends.com:21845. | February 7, 2003, 1:31 AM |